1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257
|
2021-05-28 David Anderson
* dwarf_names.c,dwarf_names.h,dwarfdump-af-table.h,
dwarfdump-ta-ext-table.h,dwarfdump-ta-table.h,
dwarfdump-tt-ext-table.h,dwarfdump-tt-table.h:
Regenerated with new version string.
2021-05-25 David Anderson
* attr_form.c,command_options.c,compiler_info.c,dwarfdump.c,
dwconf.c,print_tag_attributes_usage.c: Fixed indents,
removed trailing whitespace.
2021-05-20 David Anderson
* print_die.c: If a DW_OP_skip or DW_OP_bra
went to a previous offset the correctness check
did not find it and issued an erroneous error.
2021-05-16 David Anderson
* runtests.sh: A few small temporary files were
overlooked and left behind. Now they are deleted.
2021-03-06 David Anderson
* command_options.c,dwconf.c: When a dwarfdump.conf
is not findable the messages are now more meaningful
and not quite so mysterious.
Added new option --show-dwarfdump-conf to show
the .dwarfdump.conf in use. The old and broken
depencence on -v is gone.
* glflags.c,glflags.h: New flag gf_show_dwarfdump_conf
for the new option.
* dwarfdump.1: Documented new option --show-dwarfdump-conf
2021-03-05 David Anderson
* dwarf_names.c,dwarf_names.h,dwarfdump-af-table.h,
dwarfdump-ta-ext-table.h,dwarfdump-ta-table.h,
dwarfdump-tt-ext-table.h,dwarfdump-tt-table.h:
Regenerated with new version string.
2021-03-05 David Anderson
* dwconf.c: In case no dwarfdump.conf file found
in one of the standard places (such as $HOME)
the message printed is much clearer
and more specific.
2021-02-24 David Anderson
* attr_form_build.c: Catastophic error texts
now all have a trailing newline.
* attr_formclass_ext.list: The _ghs_
attributes are now properly named as GreenHillls
spells them
* dwarf_names.c: Regenerated with the proper
_ghs_ names.
* dwarfdump-af-table.h,dwarfdump-ta-ext-table.h: Regenerated
with the proper _ghs_ names.
2021-02-20 David Anderson
* tag_attr.c,tag_tree.c: When creating
the tables below insert the precise array
length in the array declarations so the
compiler can check them.
* dwarfdump-ta-table.h,dwarfdump-tt-table.h:
Regenerated, now with precise array sizes
everywhere.
2021-02-19 David Anderson
* attr_form.c: Now checks attr/form-class
combinations and reports on them. The -ku
option lets one see interesting counts
without details cluttering the output.
* attr_form.h: Argument list updates
to support latest functionality.
* attr_formclass.list,attr_formclass_ext.list:
New declarations of attr/formclass combinations
one expects to see. No doubt there will be
more such to do.
* attr_form_build.c: Deleted unused locals,
fixing some compiler warnings.
* dwarf_names.h: Regenerated.
* dwarfdump-af-table.h: Regenerated the attr/formclass
table.
* dwarfdump-ta-ext-table.h: New extensions added.
* dwarfdump-tt-table.h: Regenerated with explicit
array sizes so compilers can check array references.
* dwarfdump.c: Added calls to certain cleanups
that have long been needed for correct
-ku output when reading an Elf Archive
* glflags.h: Added a new Dwarf_Check_Catetories entry
of attr_formclass_result.
* globals.h: New function declarations for
form_class and tag-tree tag-attr counts
in the Elf archive case.
* print_die.c: Added arguments to record_attr_form_use
now that we check and count usages.
* print_tag_attributes_usage.c(reset_usage_rate_tag_tree):
added reset function so printing of Elf archive
member objects usages are correct.
* tag_attr_ext.list: Added GHS attributes to list.
* tag_common.h: Increased column counts due to
adding the GHS attributes to tag_attr_ext.list.
* tag_tree.c: Added array size to emitted C
source so compiler can check references when
that emitted source is built into dwarfdump.
2021-02-16 David Anderson
* command_options.c,compiler_info.c,glflags.c,
glflags.h,print_tag_attributes_usage.c:
sed 's/gf_check_attr_tag/gf_check_tag_attr/' fixed the
ever-confusing name reversal unique to this flag.
* print_die.c,dwarfdump.c: The above plus correcting
minor mistakes in handling of -ku -kuf options.
* dwarfdump.1: Clarified the meaning and use of
-kr -ku -kuf -C as the descriptions have been
misleading for a long time.
2021-02-16 David Anderson
* attr_form.c: Fixed indents and trailing whitespace.
* dwarfdump.c: Fixed trailing whitespace.
* print_die.c(append_useful_die_name): was not doing
proper dealloc (which only mattered if one
had turned off automatic cleanup at dwarf_finish()),
but now it deallocs as desired.
2021-02-15 David Anderson
* dwarf_names.c,dwarf_names.h,dwarfdump-af-table.h,
dwarfdump-ta-ext-table.h,dwarfdump-ta-table.h,
dwarfdump-tt-ext-table.h,dwarfdump-tt-table.h:
Regenerated with new version string.
2021-02-15 David Anderson
* CMakeLists.txt: Added the new source files.
* Makefile.am: Added the new list and build files
so they get into releases and the build.
* Makefile.in: Regenerated.
* attr_form.c: Added printing of attr/form/formclass
reports with the existing -kE option.
* globals.h: Renamed tag_specific_checks_setup()
to tag_specific_globals_setup() to better reflect
the meaning of the function.
* attr_form.h: Added declaration so dwarfdump.c can
call attr_form.c functions. Added idempotency
in include and __cplusplus ifdefs.
* attr_form_build.c: now we add idempotency
code when generating dwarfdump-af-table.h.
* dwarf_tsearch.h: Commentary improvements.
* dwarfdump-af-table.h: Regenerated.
* dwarfdump.c: When doing checks, set up
the 3key tables using attr_form.c functions.
* naming.c,naming.h: Added new function
get_FORM_CLASS_name() to both.
* print_abbrevs.c: Renaming per globals.h function rename.
* print_die.c: Include attr_form.h, call
record_attr_form_use(). Renamin here too per
the globals.h function rename.
* attr_form_build.c: Added idempotency
and __cplusplus guards to the output
file generated: dwarfdump-af-table.h.
* print_tag_attributes_usage.c: Improvements in
the specificity of some summary header lines.
Now calls print_attr_form_usage() to print
the attr/formclass/form tables (option -kE
or -ka ).
* tag_common.c: Removed unused local variables.
* test-mach-o-32.base,testobjLE32PE.base,testuriLE64ELf.base,
New baseline based on recent changes.
2021-02-14 David Anderson
* print_die.c: Move the last few hundred lines to
the new file print_tag_attributes_usage.c.
* tag_common.c: Fixed large indent botch.
* globals.h: Now with print_tag_attributes_usage,
record_tag_usage, legal_tag_attr_combination,
legal_tag_tree_combination public for access from
print_die.c.
* dwarfdump.c: Reflects the simpler arguments to
call print_tag_attributes_usage().
2021-02-14 David Anderson
* Makefile.am: Added print_tag_attributes_usage.c
* print_tag_attributes_usage.c: New file. Extracted
this code (which prints a summary of tag/attr use)
from print_die.c and put in this new file.
* Makefile.in: Regenerated.
* dwarfdump.1: Made the description of -kE a bit more
specific.
2021-02-14 David Anderson
* command_options.c: Improved some commentary.
* attr_form.c, attr_form_build.c: Fixed indents,
trailing whitespace.
2021-02-14 David Anderson
* attr_form.c,attr_form.h,attr_form_build.c: Code to build
and use date for recording and checking attr/form
combinations. Not yet used by dwarfdump.
* attr_formclass.list: List of standard attr/form-class
combinations.
* attr_formclass_ext.list: List of extension attr/form-class
combinations.
* dwarfdump-af-table.h: Generated C array of attr/form-class
combinations in easy-to-use form for dwarfdump.
* dwarfdump-af-table.h: New, a table to quickly
load attr/form(class) standard matches.
* tag_common.c: Added code to turn FORM_CLASS
names into their enum values.
* tag_common.h: Added define of HAVE_USAGE_ATTR_FORMCLASS
(not strictly necessary at this point).
2021-02-13 David Anderson
* print_die.c: Somehow hundreds of lines got indented
4 spaces for no reason. Fixed that mistake.
Added a trailing > where intended in printing
DW_AT_decl_file when the file name is unavailable.
2021-02-06 David Anderson
* print_die.c: Refactoring for clarity and adding
following DW_FORM_ref_sig8 links to find DW_AT_type
targets. Also reporting line table file numbers
as file names.
2021-01-31 David Anderson
* dwarfdump.c: Ensures ERROR printf appear in the error count
(A couple errors printed at the end were not counted.)
* globals.h: Defining LoHiPc_s struct so we can calculate
the high_pc from low_pc and offset-from-low-pc values.
Simpler and better type checking than before.
* print_die.c: Eliminate sets of 4 arguments,
replace with LoHiPc pointer.
* print_hipc_lopc_attr.c: Implement filling in
LoHiPc_s and printing the calculated high_pc
when appropriate. Much easier to understand than
the earlier use of bSawLowp etc.
2021-01-29 David Anderson
* tag_attr_ext.list: Added some DW_AT_GNU entries to
DW_TAG_skeleton unit as common extensions.
2021-01-29 David Anderson
* dwarfdump.c: Added commentary and slightly modified the
producer names produced on CU DIE issues with the producer
string.
* glflags.c: Added commentary about the default producer name.
2021-01-28 David Anderson
* print_die.c: Cleared out dead #if 0 and fixed indents.
* compiler_info.c,getopttest.c,makename_test.c,
print_hipc_lopc_attr.c,testesb.c: Cleared out dead code
and fixed indents.
2021-01-28 David Anderson
* compiler_info.c: Added comments about an unusual
aspect of a couple arrays here.
* dwarfdump.c: Removed a stray back-quote from a comment.
* print_die.c: Revised printing of dwarf expressions
and ensured such appear in more places. Revised error
detection of attributes requiring a string yet
that do not have any sort of string FORM.
Some #if 0 present to be removed shortly.
* print_hipc_lopc_attr.c: A new #if 0 here is a non-functional
improvment in printing high-pc. Not ready for prime time.
* print_origloclist_codes.c: added DW_LLE_start_end case
seen in test object.
2021-01-23 David Anderson
* buildopscounttab.c,checkutil.c,command_options.c,common.c,
dwarf_tsearch.h,dwarf_tsearchbal.c,dwarfdump-tt-table.h,dwarfdump.c,
dwconf.c,dwgetopt.c,esb.c,esb.h,getopttest.c,glflags.h,globals.h,
makename.c,naming.c,opscounttab.h,print_die.c,print_frames.c,
print_gdbindex.c,print_macro.c,print_pubnames.c,print_ranges.c,
print_reloc.c,sanitize.c,section_bitmaps.c,tag_attr.c,
tag_common.c,tag_tree.c,testesb.c: Fixed indentation
errors.
2021-01-23 David Anderson
* print_die.c: Now checks all instances of DW_OP_bra
and DW_OP_skip to be sure the target offset actually
is a valid target in this expression block.
2021-01-22 David Anderson
* glflags.h: Moved _dwarf_print_one_expr_op() out,
it is now static in print_die.c
* print_die.c: Now notices if DW_OP_skip or DW_OP_bra
is in a set of operations and prefixes each operation
with its block offset so its easy to understand the target
offset.
|