| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
dwarf_endianity_string for DW_END codes used with DW_AT_endianity.
dwarf_decimal_sign_string for DW_DS codes used with DW_AT_decimal_sign.
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
|
|
|
| |
Only build and tested by self tests if a g++ with C++x0 is available.
Almost empty C++ program, can be extended to test more features.
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
| |
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Introduce dwarf_access_string, dwarf_attr_string,
dwarf_calling_convention_string, dwarf_discr_list_string,
dwarf_encoding_string, dwarf_form_string, dwarf_identifier_case_string,
dwarf_inline_string, dwarf_lang_string, dwarf_line_extended_opcode_string,
dwarf_line_standard_opcode_string, dwarf_locexpr_opcode_string,
dwarf_ordering_string, dwarf_tag_string, dwarf_virtuality_string,
dwarf_visibility_string from dwarf branch.
Remove similar functions from readelf and tests.
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
|
|
|
|
| |
readelf and tests were using hard coded string tables to produce DWARF
string constants. Use the known-dwarf macros to redefine these and
reduce code. Technique comes from dwarf branch dwarfstrings.c.
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
| |
Signed-off-by: Roland McGrath <[email protected]>
|
|
|
|
| |
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
| |
Signed-off-by: Jan Pokorný <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
DWZ multifile forms http://www.dwarfstd.org/ShowIssue.php?issue=120604.1
DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt reference an alternative
debuginfo file. dwarf_begin and dwarf_begin_elf will try to use this
automatically. There are no user visible changes to the libdw interface.
dwarf_formref_die, dwarf_formstring and dwarf_formudata can now return
a Dwarf_Die which comes from a CU in the alternative Dwarf descriptor.
__libdw_read_offset was adjusted to take an alternative Dwarf descriptor
into account.
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
|
|
| |
This caused failures of 32-bit builds.
Signed-off-by: Petr Machata <[email protected]>
|
|
|
|
| |
Signed-off-by: Petr Machata <[email protected]>
|
|
|
|
| |
Signed-off-by: Petr Machata <[email protected]>
|
|
|
|
| |
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
| |
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
|
|
|
| |
It is required that formatting string that uses $-style references lists
all arguments.
Signed-off-by: Petr Machata <[email protected]>
|
|
|
|
|
| |
Not all patches from the dwarfstrings branch were applied, causing compile
failures.
|
|
|
|
|
|
|
| |
Generated header had wrong file names for config/known-dwarf.awk
and libdw/dwarf.h contents.
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
|
|
|
| |
DW_OP_GNU_parameter_ref takes as operand a 4 byte CU relative reference
to the abstract optimized away DW_TAG_formal_parameter.
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
|
|
| |
Fix usage in dwarf_aggregate_size.
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
| |
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
|
| |
Reported-by: Nick Alcock <[email protected]>
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
| |
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
| |
Signed-off-by: Mark Wielaard <[email protected]>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Mark Wielaard <[email protected]>
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Add version 7 support. Keep track of cu_nr. Print kind and static/global
flag for each symbol. When a symbol is in the TU list add 'T'. Add
testfilegdbindex test files.
Signed-off-by: Mark Wielaard <[email protected]>
|
| |
| |
| |
| |
| |
| | |
Fails before commit bc0f74 on x86, succeeds after.
Signed-off-by: Mark Wielaard <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
See this bug report for more details:
https://bugzilla.redhat.com/show_bug.cgi?id=835877
Signed-off-by: Petr Machata <[email protected]>
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The test binaries are only needed by make check, so change the PROGRAMS
category from noinst_ to check_ to speed up default `make && make install`.
If people want to run the tests, then the utilities will be compiled
automatically when they run `make check`, so the normal workflow should
be unchanged.
Signed-off-by: Mike Frysinger <[email protected]>
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
| |
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
| |
Signed-off-by: Mark Wielaard <[email protected]>
|
| |
|
|
|
|
| |
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
| |
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
| |
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change name from "Red Hat elfutils" to "elfutils".
* Update license of standalone tools and test from GPLv2 to GPLv3+.
* Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+.
* Add Developer Certificate of Origin based contributor policy.
top-level:
- COPYING: Upgraded from GPLv2 to GPLv3.
- CONTRIBUTING, COPYING-GPLv2, COPYING-LGPLv3: New files.
- NEWS: Added note about new contribution and license policy.
- Makefile.am: Updated to GPLv3, added new files to EXTRA_DIST.
- configure.ac: Update to GPLv3, changed AC_INIT name to 'elfutils'.
backends, lib, libasm, libcpu, libdw, libdwfl, libebl, libelf:
- All files updated to GPLv2/LGPLv3+. Except some very small files
(<5 lines) which didn't have any headers at all before, the linker
.maps files and the libcpu/defs files which only contain data and
libelf/elf.h which comes from glibc and is under LGPLv2+.
config:
- elfutils.spec.in: Add new License: headers and new %doc files.
- Update all license headers to GPLv2/LGPLv3+ for files used by libs.
src, tests:
- All files updated to GPLv3+. Except for the test bz2 data files, the
linker maps and script files and some very small files (<5 lines)
that don't have any headers.
Signed-off-by: Richard Fontana <[email protected]>
Signed-off-by: Mark Wielaard <[email protected]>
|
|
|
|
| |
We use .gitignore these days.
|
|
|
|
|
| |
ylwrap is now placed in config through AC_CONFIG_AUX_DIR.
The checked in src copy of the file wasn't used.
|
|
|
|
|
|
| |
Some tests rely on sort order and output of tools that might be localized.
Reported-by: Paweł Sikora <[email protected]>
|
| |
|
|
|
|
|
| |
GCC < 4.7 had a bug where no code CUs got a highpc == lowpc.
Allow that, because it is not the main purpose of this test.
|
| |
|
| |
|
|
|
|
| |
DW_OP_GNU_push_tls_address, DW_OP_GNU_uinit and DW_OP_GNU_encoded_addr.
|
| |
|
|
|
|
|
|
| |
readelf -d doesn't work if a SHT_NOBITS section is right before the actual
.dynamic section at the same offset. elflint also fails on such binaries.
So skip SHT_NOBITS sections at the same offset in [g]elf[32|64]_offscn().
|
| |
|
|
|
|
|
|
| |
* readelf.c (print_debug_abbrev_section): Check there is Dwarf
section data.
(print_debug_str_section): Likewise.
|
| |
|