| 1 |
2017-12-01 David Anderson |
| 2 |
* common.c, dwarfdump.c, tag_attr.c, tag_tree.c:Update |
| 3 |
version string. |
| 4 |
2017-11-20 David Anderson |
| 5 |
* configure.in: Just do TRY_COMPILE instead of TRY_RUN |
| 6 |
to avoid issues in a cross-compile. |
| 7 |
* configure: Regenerated. |
| 8 |
2017-10-20 David Anderson |
| 9 |
* print_die.c: Now handles DW_FORM_data16. |
| 10 |
2017-10-16 David Anderson |
| 11 |
* dwarfdump.c,globals.h,print_ranges.c,print_section_groups.c: a large group |
| 12 |
of per-object totals/values were not free()d or zeroed for each member |
| 13 |
of an archive. Some of the zero/free() was moved from the end of main() |
| 14 |
to be done per-object and some were simply never completely reset before. |
| 15 |
These problems were only visible when running dwarfdump on an archive. |
| 16 |
2017-10-15 David Anderson |
| 17 |
* dwarfdump.c: Added a call to destruct_abbrev_array() |
| 18 |
per object so the archive case can work properly with -ka. |
| 19 |
* dwgetopt.c: Unused local variable 'found' deleted. |
| 20 |
* print_abbrevs.c: Now -ka can handle bogus large |
| 21 |
abbreviation number |
| 22 |
without crashing when checking abbreviations.. |
| 23 |
2017-10-15 David Anderson |
| 24 |
* dwgetopt.c,dwgetopt.h: Now handles simple long argument |
| 25 |
names cases. |
| 26 |
* getopttest.c: Added tests of long (--) argument names. |
| 27 |
2017-10-13 David Anderson |
| 28 |
* common.c, dwarfdump.c, tag_attr.c, tag_tree.c:Update |
| 29 |
version string. |
| 30 |
2017-10-12 David Anderson |
| 31 |
* dwarfdump.c: Now more careful with archive |
| 32 |
names presented by libelf and Elf_Arhdr. |
| 33 |
2017-10-12 David Anderson |
| 34 |
* print_section_groups.c: Added a cast on a free() call |
| 35 |
to avoid a compiler warning. |
| 36 |
* dwarfdump.c: On an archive (.a) dwarfdump would print |
| 37 |
a useless warning on encountering a special / or // |
| 38 |
member. Now just skips those, and if some other member |
| 39 |
is not an object dwarfdump prints a more useful message |
| 40 |
to identify the particular member. |
| 41 |
* print_die.c: The attributes_encoding_table was not |
| 42 |
getting reset properly in the case of reading an archive, |
| 43 |
and that is now fixed. |
| 44 |
2017-10-05 David Anderson |
| 45 |
* tag_attr.list: Changed the spelling from DW_AT_ranges_base |
| 46 |
to the final DWARF5 spelling, DW_AT_rnglists_base. |
| 47 |
2017-10-05 David Anderson |
| 48 |
* dwconf.c: Open the config file "r", not "rw". |
| 49 |
2017-09-26 David Anderson |
| 50 |
* common.c, dwarfdump.c, tag_attr.c, tag_tree.c:Update |
| 51 |
version string. |
| 52 |
2017-08-22 David Anderson |
| 53 |
* common.c, dwarfdump.c, tag_attr.c, tag_tree.c:Update |
| 54 |
version string. |
| 55 |
2017-08-21 David Anderson |
| 56 |
* CMakeLists.txt: Fix the TAG_TREE_SOURCES and TAG_ATTR_SOURCES |
| 57 |
entries. |
| 58 |
* Makefile.in: Fix a misuse of LD_LIBRARY_PATH and use |
| 59 |
LIBDWARF_PATH as the path to libdwarf.so. |
| 60 |
* common.c, dwarfdump.c, tag_attr.c, tag_tree.c:Update |
| 61 |
version string. |
| 62 |
* common.c: #include changes help for builds on Windows. |
| 63 |
Rename a parameter to avoid accidental name-shadowing. |
| 64 |
* configure.cmake: Fix ac_check_lib() uses. |
| 65 |
* dwarfdump.c,dwconf.c,esb.c: Modify #ifdefs to ease building on Windows. |
| 66 |
* getopttest.c: Cast/printf changes avoid warnings on 32 and 64 bit |
| 67 |
builds. |
| 68 |
* macrocheck.c: An extra newline makes the 'make test' output |
| 69 |
easier to understand. |
| 70 |
* testesb.c: The check() function is local, so call it 'static' to |
| 71 |
avoid a compiler warning. |
| 72 |
2017-07-24 David Anderson |
| 73 |
* configure.in, configure.cmake, config.h.in: Renamed |
| 74 |
LOCATION_OF_LIBELFHEADER to HAVE_LOCATION_OF_LIBELFHEADER |
| 75 |
for consistency with config.h.in generally. |
| 76 |
* configure: Regenerated |
| 77 |
2017-07-24 David Anderson |
| 78 |
* configure.in, configure.cmake: Consistent use of |
| 79 |
LOCATION_OF_LIBELFHEADER so Windows can build libdwarf with |
| 80 |
configure or cmake. |
| 81 |
* configure: Regenerated |
| 82 |
2017-07-09 David Anderson |
| 83 |
* common.c, dwarfdump.c, tag_attr.c, tag_tree.c:Update |
| 84 |
version string. |
| 85 |
2017-05-28 David Anderson |
| 86 |
* common.c, dwarfdump.c, tag_attr.c, tag_tree.c:Update |
| 87 |
version string. |
| 88 |
2017-05-28 David Anderson |
| 89 |
* macrocheck.c: Trivial revision of main() declaration |
| 90 |
to our standard format. |
| 91 |
* print_reloc.c: We were reading one-past the end |
| 92 |
of symtab entries(now fixed). |
| 93 |
Now relocation sections show the Elf section index |
| 94 |
and we print them in order as in the object file |
| 95 |
(earlier it printed in a fixed order not related to |
| 96 |
the object file). |
| 97 |
Deleted the rel/rela section name arrays, |
| 98 |
we already have the section name at hand. |
| 99 |
2017-05-27 David Anderson |
| 100 |
* esb.c: For selftest now indents report lines |
| 101 |
to make it easier to see the overview pass/fail. |
| 102 |
* Makefile.in,macrocheck.c,print_reloc.c: Makes macrocheck |
| 103 |
self test results clearer (pass/fail) and adds a check |
| 104 |
on the array of relocation section data in print_reloc.c. |
| 105 |
2017-05-26 David Anderson |
| 106 |
* section_bitmaps.h,section_bitmaps.c: Added comments. |
| 107 |
2017-05-25 David Anderson |
| 108 |
* common.c,tag_attr.c,tag_tree.c: Update version string. |
| 109 |
* dwarfdump.c: Update version string. |
| 110 |
Instead of using bitmaps for printing sections and relocations |
| 111 |
use char arrays instead. Faster, easier to read, and much |
| 112 |
easier to expand to the longer lists of sections. |
| 113 |
By using fixed size arrays for this the compiler can check |
| 114 |
for simple errors. |
| 115 |
* print_reloc.c: Moved #defines over to section_bitmap.h |
| 116 |
Arrays are now fixed size to give compiler the ability to |
| 117 |
notice simple coding errors. Added the new DWARF5 sections |
| 118 |
to lists of what is to print. We do not use zero as a section |
| 119 |
number so we add an unused zero element to each array. |
| 120 |
* print_reloc.h: Made idempotent with ifndef. |
| 121 |
* section_bitmaps.c: Now uses the char array id |
| 122 |
and indexes starting at 1 (per the #defines in section_bitmaps.h). |
| 123 |
Revised the code in 'make selftest' to do more complete checking. |
| 124 |
* section_bitmaps.h: Now all the REL and RELA #defines are here |
| 125 |
so it's easy to see them all at once. Now using indexes |
| 126 |
starting at 1, not bitfields. Faster,simpler, and for a given |
| 127 |
dwarfdump run the switch from bitmaps will expand |
| 128 |
static data by well under 20 bytes total. |
| 129 |
2017-05-18 David Anderson |
| 130 |
* dwarfdump.c: Fixed a small memory leak in special_program_name(). |
| 131 |
Deleted four lines of test code that never got removed. |
| 132 |
2017-05-17 David Anderson |
| 133 |
* CMakeLists.txt: Add section_bitmaps.h,.c. |
| 134 |
* Makefile.in: Add section_bitmaps.o, section_bitmaps.h. |
| 135 |
Add section_bitmaps 'make selftest' rules. |
| 136 |
* section_bitmaps.h, section_bitmaps.c: The bit field code |
| 137 |
used to control the -E option set was out of date and |
| 138 |
difficult to get right. Now 'make selftest' ensures that |
| 139 |
the bits match up with the strings. |
| 140 |
* glflags.h, glflags.c: Fixed the misnamed gf_type_flag to be |
| 141 |
gf_types_flag. |
| 142 |
* globals.h: Move defines to section_bitmaps.h |
| 143 |
* common.c: Use sanitized() on incoming strings we print. |
| 144 |
* print_aranges.c,print_debugfission.c: Names from elf now |
| 145 |
get sanitized() for printing. |
| 146 |
* print_section_groups.c: Improved one interface. |
| 147 |
* print_die.c: Critical fixes so we get the section names on output |
| 148 |
when we want them, and sanitized(). |
| 149 |
* common.c, print_aranges.c, print_debugfission.c,print_ranges.c, |
| 150 |
print_strings.c: Calling sanitized() to ensure printf safety. |
| 151 |
* print_section_groups.c: Revised function interface. |
| 152 |
Do not use May 13 interface. |
| 153 |
* print_die.c: Crucial revision so DWARF4 debug_types prints. |
| 154 |
* dwarfdump.c: Revised flags so the gf_section_groups_flag works. |
| 155 |
Revised the section bitmaps code. |
| 156 |
* print_section_groups.c: Delete a printf left in |
| 157 |
for debugging. |
| 158 |
2017-05-13 David Anderson |
| 159 |
* CMakeLists.txt, Makefile.in: Mention new |
| 160 |
print_section_groups.c or .o. |
| 161 |
* dwarfdump.c: Add needed section names in |
| 162 |
print_object_header() data. |
| 163 |
Implement glflags.gf_section_groups_flag. |
| 164 |
* print_section_groups.c: New, implementing handling of section |
| 165 |
groups (aka COMDAT). |
| 166 |
2017-04-20 David Anderson |
| 167 |
* common.c, dwarfdump.c, tag_attr.c, tag_tree.c:Update |
| 168 |
version string. |
| 169 |
2017-04-17 David Anderson |
| 170 |
* common.c, dwarfdump.c, tag_attr.c, tag_tree.c:Update |
| 171 |
version string. |
| 172 |
2017-04-16 David Anderson |
| 173 |
* CMakeLists.txt: Added in new files glflangs.c, .h |
| 174 |
2017-04-12 David Anderson |
| 175 |
* common.c, dwarfdump.c, tag_attr.c, tag_tree.c:Update |
| 176 |
version string. |
| 177 |
2017-04-06 David Anderson |
| 178 |
* Makefile.in: Add glflags.o. Instead of dozens of |
| 179 |
boolean variables, a struct with the booleans |
| 180 |
makes understanding them much easier. |
| 181 |
* glflags.h, glflags.c: define and initialize all these |
| 182 |
flags and settings. |
| 183 |
* dwarfdump.c: Use the new glflags.h setting fields. |
| 184 |
Add one new one for debug_names (nothing useful |
| 185 |
implemented yet). |
| 186 |
* globals.h: Remove the flag global extern lines. |
| 187 |
* naming.c,print_abbrevs.c, print_aranges.c, print_die.c, |
| 188 |
print_frames.c, print_gdbindex.c, print_lines.c, |
| 189 |
print locs.c, print_macro.c, print_macros.c, |
| 190 |
print_pubnames.c, print_ranges.c, print_static_funcs.c, |
| 191 |
print_static_vars.c, print_strings.c, print_types.c, |
| 192 |
print_weaknames.c: Using the new |
| 193 |
flag globals as glflags.gf_<member> |
| 194 |
* print_dnames.c: New for .debug_names printing. |
| 195 |
2017-04-06 David Anderson |
| 196 |
* dwarfdump.c, Makefile.in, globals.h: |
| 197 |
This is a small start on dealing with DWARF5 .debug_names. |
| 198 |
2017-04-02 David Anderson |
| 199 |
* common.c, dwarfdump.c, tag_attr.c, tag_tree.c:Update |
| 200 |
version string. |
| 201 |
2017-04-02 David Anderson |
| 202 |
* dwarfdump.c: If printing group 2 (DWARF5 dwo sections) |
| 203 |
ensure that printing of those sections only possible |
| 204 |
in group 1 is turned off. |
| 205 |
2017-03-30 David Anderson |
| 206 |
2017-03-30 David Anderson |
| 207 |
* dwarfdump.1: Documenting the new -x groupnumber=<n> option. |
| 208 |
* dwarfdump.c: Adding groupnumber option support. |
| 209 |
* sanitized.c: Removed trailing whitespace |
| 210 |
2017-03-24 David Anderson |
| 211 |
* dwarfdump.c: Now argv[0] is checked before setting the |
| 212 |
program_name global variable. If it contains /dwarfdump.O |
| 213 |
that part of the string is shortened to /dwarfdump. |
| 214 |
Doing this removes a need for the regressiontests to use sed |
| 215 |
and shortens the regressiontests runtime on a one machine from |
| 216 |
77 minutes to 23 minutes. |
| 217 |
2017-03-23 David Anderson |
| 218 |
* common.c, dwarfdump.c, tag_attr.c, tag_tree.c:Update |
| 219 |
version string. |
| 220 |
2017-03-21 David Anderson |
| 221 |
* sanitized.c: Now all non-ascii bytes are changed to %xx |
| 222 |
and a % input character is changed to %xx too |
| 223 |
iso-8859 and for html are now sanitized using URI |
| 224 |
%xx notation so the printf output looks sensible. |
| 225 |
These usually represent a corrupted string in an object file. |
| 226 |
2017-03-21 David Anderson |
| 227 |
* print_die.c: Added casts to call args match with the |
| 228 |
function declaration. So a fussy compiler will |
| 229 |
be less likely to complain. |
| 230 |
* sanitized.c: Added explicit initializers to global variables. |
| 231 |
Moved a static var to the function that uses it. |
| 232 |
2017-01-31 David Anderson |
| 233 |
* esb.c(esb_force_allocation): Code was wrong all this time. |
| 234 |
Fixed and corrected commentary. Updated copyright. |
| 235 |
2017-01-30 David Anderson |
| 236 |
* esb.c(esb_force_allocation): Add commentary about to clarify |
| 237 |
the purpose of the function. |
| 238 |
2017-01-23 David Anderson |
| 239 |
* dwarf_tsearchbal.c(dwarf_tsearch): In memory exhausted situation the |
| 240 |
function could leak a little bit of memory. |
| 241 |
|