-
Notifications
You must be signed in to change notification settings - Fork 70
/
ChangeLog
3815 lines (2881 loc) · 125 KB
/
ChangeLog
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
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2024-09-10: David Anderson
commit b608cead3f2eee17e962ca970ae5c35805bc3ebd
Merge: 96bd4edd 721d3d82
Merge branch 'threekey'
Replaced much of the code generating tag/attr statistics
from the dwarfdump -ku option.
All these changes are in dwarfdump, none in libdwarf.
The old approach of generating statistics
left out things about non-standard
TAGs and ATtributes as it would have been extra work
at the time. Now, using dwarf_tsearch and building
searchable and sortable data, additional targeted
reports become easy to add and update.
No doubt more will be added.
2024-09-10: David Anderson
commit 721d3d824976a80ce2c7128e2a123a11d5217ed0
Removed debug printf
modified: dd_attr_form.c
modified: print_tag_attributes_usage.c
2024-09-10: David Anderson
commit e175de85d37df08c5b7791a1b5b2636228b7ad44
Now with more statistics from -ku
modified: src/bin/dwarfdump/dd_attr_form.c
modified: src/bin/dwarfdump/dwarfdump-ta-table.h
modified: src/bin/dwarfdump/print_tag_attributes_usage.c
Corrected an accidental omission.
modified: src/bin/tag_attr/tag_attr.list
2024-09-10: David Anderson
commit f2c1cb8269bdc225ef720d16a73fd15ee63998a7
DO NOT USE THIS COMMIT
Now with the beginnings working (of
the new records of usages)
modified: src/bin/dwarfdump/dd_attr_form.c
modified: src/bin/dwarfdump/dd_attr_form.h
modified: src/bin/dwarfdump/print_tag_attributes_usage.c
Fixed an old bug in this file: DW_TAG_subprogram listed
as a row twice.
modified: src/bin/tag_tree/tag_tree.list
2024-09-10: David Anderson
commit 01266626c48005afb15467da74f6bb0d0488982a
DO NOT USE THIS COMMIT.
Contains debug printf and is a step toward the new
tag-tree tag-attr reporting.
Works but does little but build trees (so far).
modified: src/bin/dwarfdump/dd_attr_form.c
modified: src/bin/dwarfdump/dd_attr_form.h
modified: src/bin/dwarfdump/dd_command_options.c
modified: src/bin/dwarfdump/dd_globals.h
modified: src/bin/dwarfdump/dd_tag_common.h
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/print_die.c
modified: src/bin/dwarfdump/print_tag_attributes_usage.c
2024-09-10: David Anderson
commit 839979975aed0a8ccd3319fb489dab64bde10813
Regenerated
modified: dwarfdump/dwarfdump-ta-ext-table.h
modified: dwarfdump/dwarfdump-ta-table.h
modified: dwarfdump/dwarfdump-tt-table.h
There were some duplicate entries, tne latest dwarfdump code
noticed the errors and quit in 'make rebuild'
modified: tag_attr/tag_attr.list
modified: tag_attr/tag_attr_ext.list
modified: tag_tree/tag_tree.list
2024-09-01: David Anderson
commit 96bd4edd09167a1b4b8776c35c85049a0bfe0150
OUp to date with git log
modified: ChangeLog
2024-09-01: David Anderson
commit 65f52d2e095636571d01e8311cd8610ac1c7260a
Now dated Sept (changes each month)
modified: bugxml/dwarfbug.html
modified: bugxml/dwarfbuglohi.html
2024-09-01: David Anderson
commit 84bd9a6f42caacf323d31e403de1f7693df7fd26
Revising the formatting of the report on the .debug_names
section for clarity.
modified: src/bin/dwarfdump/print_debug_names.c
2024-08-31: David Anderson
commit d8b55ace8276e2e5eac071adf3dca2edce127dfe
Adjust debug_name final tables for better look
and acurate values.
modified: print_debug_names.c
2024-08-30: David Anderson
commit 1038e7c77c0179d181c7a42dea11ee7b96eac1c5
Fixed error in reading .debug_names
(with DW_FORM_ref4 in .debugnames the 4 byte length
was counted twice).
modified: src/bin/dwarfdump/print_debug_names.c
modified: src/bin/dwarfdump/print_die.c
modified: src/lib/libdwarf/dwarf_debugnames.c
2024-08-29: David Anderson
commit a2ac6d2b32394812f2397513415587d798f5ce6c
Updated from gitlog and more.
modified: ChangeLog
2024-08-29: David Anderson
commit 164771d2ed375c2d162ac28f968e4437bebc80f9
With this we complete some fixes:
github issue #259 now reads .debug_rnglists data from
its tied-file.
github issue #260 We now report DW_FORM_flag and DW_FORM_flag_present
when used in .debug_names (DWARF5) and everywhere else.
We altered the (internal) struct Dwarf_Debug_s
with better naming for loclists rnglists fields merged
from a skeleton to the dwp/dwo.
We revised DW_DLV_ERROR reports to always use
the main-object, not the tied-object (if any)
to report errors. Simpler and saver now we
read more from the tied-object. Made possible
by 3 new fields in dwarf_opaque.h (a libdwarf-private
header).
Removed trailing whitespace.
modified: src/bin/dwarfdump/dd_globals.h
modified: src/lib/libdwarf/dwarf_alloc.c
modified: src/lib/libdwarf/dwarf_die_deliv.c
modified: src/lib/libdwarf/dwarf_form.c
modified: src/lib/libdwarf/dwarf_generic_init.c
modified: src/lib/libdwarf/dwarf_line.c
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
modified: src/lib/libdwarf/dwarf_loclists.c
modified: src/lib/libdwarf/dwarf_opaque.h
modified: src/lib/libdwarf/dwarf_query.c
modified: src/lib/libdwarf/dwarf_rnglists.c
modified: src/lib/libdwarf/dwarf_setup_sections.c
2024-08-29: David Anderson
commit c7054db271ee668aef5ef4eb9fd47fc139ecb36b
Removed all debug printf
modified: src/lib/libdwarf/dwarf_die_deliv.c
modified: src/lib/libdwarf/dwarf_fission_to_cu.c
modified: src/lib/libdwarf/dwarf_query.c
modified: src/lib/libdwarf/dwarf_rnglists.c
modified: src/lib/libdwarf/dwarf_tied.c
2024-08-29: David Anderson
commit 3e364da8aea38a9e8eb22747d3abb7744f121c50
Now we print skeleton .debug_rnglists (DW5)
and .debug_ranges (DW4 extension)
properly, we think.
Many #ifdef TEST_MER code blocks must now be
deleted.
DO NOT USE THIS COMMIT
modified: src/lib/libdwarf/dwarf_die_deliv.c
modified: src/lib/libdwarf/dwarf_form.c
modified: src/lib/libdwarf/dwarf_opaque.h
modified: src/lib/libdwarf/dwarf_rnglists.c
modified: src/lib/libdwarf/dwarf_tied.c
modified: test/test_dwarf_tied.c
2024-08-28: David Anderson
commit c3e72e2da521c6679309056fe4639e4dfcc2d897
Fixes for rnglists with tied-file .debug_rnglists
modified: dwarf_die_deliv.c
modified: dwarf_opaque.h
modified: dwarf_query.c
modified: dwarf_rnglists.c
DO NOT USE THIS COMMIT
2024-08-25: David Anderson
commit faa0ac96241387a662d0aad7a8b68b9a7d2cad37
Now seems to get skeleton data correctly from a tied-file.
Now reads DW_AT_accessibility and DW_FORM_flag
sensibly.
Still with lots of printf (but all #ifdef out).
DO NOT USE THIS COMMIT.
modified: ../../lib/libdwarf/dwarf_debugnames.c
modified: ../../lib/libdwarf/dwarf_die_deliv.c
modified: ../../lib/libdwarf/dwarf_fission_to_cu.c
modified: ../../lib/libdwarf/dwarf_form.c
modified: ../../lib/libdwarf/dwarf_opaque.h
modified: ../../lib/libdwarf/dwarf_query.c
modified: ../../lib/libdwarf/dwarf_tied.c
2024-08-25: David Anderson
commit c2310f8e499725ece9c5fb0af9191315aa8e2ceb
DO NOT USE THIS COMMIT. it is a work in progress.
Contains debug related to DWARF5 rnglists.
modified: src/bin/dwarfdump/print_die.c
Now all DW_DLV_ERROR allocations appear on
the 'main file' errors allocations, never on the tied-file
allocations. Simplifies dealing with reading from the tied-file.
modified: src/lib/libdwarf/dwarf_alloc.c
Lots of temporary debug printf (with ifdefs).
Small but important changes dealing with tied-file.
Includes eliminating de_tied_data.td_tied_object.
modified: src/lib/libdwarf/dwarf_die_deliv.c
Ensures all ERROR instances are on the main-file
error list, even when reading from tied-file.
Changes reflecting the new field de_tied_dbg
modified: src/lib/libdwarf/dwarf_error.c
Changes reflecting the new field de_tied_dbg
Some debug printf (with #ifdef).
modified: src/lib/libdwarf/dwarf_fission_to_cu.c
Now all error deletes use dwarf_dealloc_error().
Changes reflecting the new field de_tied_dbg
modified: src/lib/libdwarf/dwarf_form.c
Big change in dwarf_set_tied_dbg() for correctness
involving the new fields related to de_tied_dbg.
And dwarf_get_tied_dbg().
No change in API.
modified: src/lib/libdwarf/dwarf_generic_init.c
Big changes in dwarf_object_init_b related to
de_tied_dbg and de_errors_dbg etc. No API change.
modified: src/lib/libdwarf/dwarf_init_finish.c
renamed ll_cu_addr_base_present to
ll_cu_addr_base_offset_present and a couple
other fields to reflect the
meaning of the field. Clarifying relationship
to the DWARF5 specification.
modified: src/lib/libdwarf/dwarf_loc.c
modified: src/lib/libdwarf/dwarf_loc.h
modified: src/lib/libdwarf/dwarf_loclists.c
Now all error deletes use dwarf_dealloc_error().
modified: src/lib/libdwarf/dwarf_macro5.c
Renamed cc_addr_base_present
cc_base_address_present for clarity.
Added
struct Dwarf_Debug_s * de_main_dbg;
struct Dwarf_Debug_s * de_tied_dbg;
struct Dwarf_Debug_s * de_errors_dbg;
for simplicity and clarity in handling
main-file and tied-file requirements.
modified: src/lib/libdwarf/dwarf_opaque.h
Renaming
cc_addr_base;
to cc_addr_base_offset
for clarity on the meaning of the field.
Now all error deletes use dwarf_dealloc_error().
Removed de_tied_data.td_tied_object reference
and use de_tied_dbg != de_main_dbg
in its place.
Removed completely an ill-advised #if 0 code block.
Left debug printf in place (within #ifdef)
Added cc_addr_base_offset[_present]
to the fields merged from tied-file to main-file.
modified: src/lib/libdwarf/dwarf_query.c
Now using dbg->de_tied_dbg where needed.
modified: src/lib/libdwarf/dwarf_ranges.c
Using renamed-to rh_cu_addr_base_offset[_present]
where needed.
Left debug printf in place (within #ifdef)
modified: src/lib/libdwarf/dwarf_rnglists.c
renamed two fields to rh_cu_addr_base_offset[_present].
modified: src/lib/libdwarf/dwarf_rnglists.h
Left debug printf in place (within #ifdef)
modified: src/lib/libdwarf/dwarf_tied.c
Deleted -_dwarf_error_mv_s_to_t() as it is no longer
needed due to use of de_errors_dbg instead of plain dbg.
modified: src/lib/libdwarf/dwarf_util.c
modified: src/lib/libdwarf/dwarf_util.h
Fully document dwarf_get_tied_dbg() for the first time.
No change in API.
modified: src/lib/libdwarf/libdwarf.h
2024-08-15: David Anderson
commit 2511d3eea2aff3a570333c3f2cbe0c8520abf91a
Removed an accidental dot (.) character that broke the build.
modified: src/bin/dwarfdump/dd_true_section_name.c
2024-08-15: David Anderson
commit 61d283637eab47b762db58b9d408803d223b3c0c
Updated version to 0.11.1 before doing new work.
modified: CMakeLists.txt
modified: configure.ac
modified: doc/libdwarf.dox
modified: doc/libdwarfp.mm
modified: src/lib/libdwarf/libdwarf.h
modified: tools/makerelease.sh
2024-08-15: David Anderson
commit b3af76c32326cca960ff723e0f0948c689cf174d
Show cflags.
modified: meson.build
sprintf->snprintf
modified: src/bin/dwarfdump/dd_true_section_name.c
sprintf->snprintf (only compiled for debugging).
modified: src/lib/libdwarf/dwarf_util.c
2024-08-15: David Anderson
commit 285d9d34f3e9f56cc1c487d0055f6dc54a9c54a1
Now with date today
modified: doc/libdwarf.pdf
2024-08-15: David Anderson
commit 9bba69fa73f925cc793e5a7456798e46d5a60d8a
Updated document date to today.
modified: doc/libdwarf.dox
2024-08-15: David Anderson
commit 5c2899c95634ac60f7afe65a2ef5b37d1a08f73e
Noted change to scripts/buildandreleasetest.sh
modified: ChangeLog
2024-08-15: David Anderson
commit e65fc8c50072f07fefd1017650c97e7282125e1d
cmake and meson builds here defaulted to shared,
which was not working on MacOS, possibly due to
issues with copying libraries around (without
the proper details for MacOS).
So now we just default all build mechanisms
to be static library builds.
Works on Linux and MacOS without other changes.
modified: scripts/buildandreleasetest.sh
2024-08-14: David Anderson
commit b2a9ab26cadb7f52bab3e91f645d5659ce823f4a
Latest from git log
modified: ChangeLog
2024-08-14: David Anderson
commit 1cf037cb0f990dc904bb6d1e9e2e46d4194c985d
Each file has 1 to 3 trivial casts added and all
involve things whose known range ensures
the change is ok (boolean, address-size, and other known things)..
Changes fix new-ish warnings from MSVC.
modified: src/bin/dwarfdump/dd_uri.c
modified: src/lib/libdwarf/dwarf_debugaddr.c
modified: src/lib/libdwarf/dwarf_generic_init.c
modified: src/lib/libdwarf/dwarf_gnu_index.c
modified: src/lib/libdwarf/dwarf_init_finish.c
modified: src/lib/libdwarf/dwarf_line.c
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
modified: src/lib/libdwarf/dwarf_loc.c
modified: src/lib/libdwarf/dwarf_setup_sections.c
modified: src/lib/libdwarfp/dwarf_pro_log_extra_flag_strings.c
modified: test/test_dwarfstring.c
modified: test/test_errmsglist.c
modified: test/test_linkedtopath.c
2024-08-10: David Anderson
commit 3c8422df4d775a4d5ed4d7422c35688aeb05ca77
Changed all instances of macro use s follows:
true->TRUE
false->FALSE
and removed the macro defines of true(1) and false(0).
It was really strange to have two different names
for each idea.
The majority of uses were spelled TRUE/FALSE already.
The inconsistent usage was present at least as far back
as 2016.
modified: src/lib/libdwarf/dwarf_arange.c
modified: src/lib/libdwarf/dwarf_base_types.h
modified: src/lib/libdwarf/dwarf_die_deliv.c
modified: src/lib/libdwarf/dwarf_frame.c
modified: src/lib/libdwarf/dwarf_global.c
modified: src/lib/libdwarf/dwarf_line.c
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
modified: src/lib/libdwarf/dwarf_print_lines.c
modified: src/lib/libdwarf/dwarf_query.c
modified: src/lib/libdwarfp/dwarf_pro_line.h
2024-08-09: David Anderson
commit 9f65ccc57a7597c65e881693d8d129c6ab0b68e3
Latest tiny changes. No logic change.
modified: ChangeLog
2024-08-09: David Anderson
commit 24285c53118e24a620e1004e2025e2c613932b4b
Removing trailing whitespace and fixing a couple
indent mistakes.
modified: dd_trace_abstract_origin_etc.c
modified: print_die.c
2024-08-06: David Anderson
commit e16794254d24364862bfbf54deeaf9de9326dc99
For the 20000 or so regressiontests do larger diff using
cmp as on many systems multiple differences affecting
many tests will be painfully slow. Affects
tests generating text over 30MB (some individual
tests generate 3GB to 5GB of text)..
modified: scripts/run-all-tests.sh
2024-08-05: David Anderson
commit b6140a57f20ce4b3680f10468aeeb0615d5ef296
Adjusted cmake build to use Ninja instead of Unix Makefiles
modified: scripts/buildandreleasetest.sh
Now stops early on fail.
modified: scripts/run-all-tests.sh
New baselines due to output of Refers to:
by dwarfdump.
modified: test/testobjLE32PE.base
modified: test/testuriLE64ELf.base
2024-08-03: David Anderson
commit 52650573c771588ece2d027a623951f2a53f34c9
Now with improvements in checking by dwarfdump.
modified: ChangeLog
2024-08-03: David Anderson
commit 526b8792a274c28a83929dc66c34375b50265415
Now checks and reports on all DIE references, meaning
the DWARF reference class.
Try dwarfdump -ka <someobj>
or even just
dwarfdump -i <someobj>
Before it only checked a subset of references.
modified: print_die.c
2024-08-03: David Anderson
commit 5ef4ae65ccfec51490f46f9cf6c023544fa7cd60
More references are followed and checked for error/recursion.
modified: src/bin/dwarfdump/print_die.c
2024-08-03: David Anderson
commit c768b93dfc4f19faa2ef6a33ab4c3b9881bfe4f5
Up to date with recent changes.
modified: ChangeLog
2024-08-03: David Anderson
commit ec7a5aaf1a9fbcd2780f7d2c7e95cbf5cc8af2ba
Latest.
modified: libdwarf.pdf
2024-08-03: David Anderson
commit 57d39467f624905e6448ef047165cff7643eadc9
Now uses a macro for 0x%08llx clarifying printf on Dwarf_Unsigned.
Also removes an accidental trailing space in printed output.
Also removes trailing whitespace from the code.
modified: checkexamples.c
2024-08-01: David Anderson
commit d7c15b0938b0bfdbbdf2f904c37d789bc46ce50b
Now up to date.
modified: ChangeLog
2024-08-01: David Anderson
commit 2ff13502e25275fdec0318747980a2997b44ef1e
A mistaken printf %lx in examplev
resulted in the printed output looking
strange and wrong. Now uses %llx so
it prints correctly even on a 32bit
system.
modified: doc/checkexamples.c
2024-08-01: David Anderson
commit aa6512dc9f13ed4a6ff745fa633b3e5263e38798
New month so the month reported changes.
modified: bugxml/dwarfbug.html
modified: bugxml/dwarfbuglohi.html
2024-08-01: David Anderson
commit da97110fa0ebdc9377c2a2e213d4da09303cb6b1
In one place in code added yesterday an explicit dealloc
of a Dwarf_Error was omitted. Found by the usual
export NLIZE=y
export SUPPRESSDEALLOCTREE=y
regressiontest.
modified: src/bin/dwarfdump/dd_trace_abstract_origin_etc.c
2024-08-01: David Anderson
commit a8a619644df73191bf82e25780d480a5610ddf34
Now we add the target type to DW_AT_type references
so we have to update these baselines to match
the change in dwarfdump output.
modified: test/test-mach-o-32.base
modified: test/testobjLE32PE.base
modified: test/testuriLE64ELf.base
2024-07-31: David Anderson
commit b72853b5468bc46e00f89fe84457eb3d1e4ddaac
The code refactoed to print attributes:
DW_AT_specification:
DW_AT_abstract_origin:
DW_AT_type:
is now in place and this commit
deletes the lines extracted to the new source file.
modified: src/bin/dwarfdump/print_die.c
2024-07-31: David Anderson
commit 3e5d521cd327af8642ff97eb70a0bf375171a3d6
Factored 300 lines out of print_die.c and
added support to print the name (DW_AT_name)
of the referred-to attribute (if the referred-to
has a DW_AT_name field).
new file: src/bin/dwarfdump/dd_trace_abstract_origin_etc.c
Added the new souce file
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
modified: src/bin/dwarfdump/meson.build
A few functions now are visible throughtout
dwarfdump. Needed due to the refactoring.
modified: src/bin/dwarfdump/dd_globals.h
modified: src/bin/dwarfdump/print_die.c
2024-07-30: David Anderson
commit 5aad8984359ea8d5007e3b279747415b101b626d
Fixing to match project codingstyle.
Remove trailing whitespace.
Fix indents.
Other minor violations.
modified: dwarfdump.c
modified: print_die.c
modified: print_ranges.c
2024-07-30: David Anderson
commit 1f4dae5e7cfb410efbf567de872a3f4aed53573b
Removing trailing whitespace.
Fixing indents to follow project codingstyle.
modified: dwarf_die_deliv.c
modified: dwarf_loclists.h
modified: dwarf_opaque.h
modified: dwarf_ranges.c
modified: dwarf_rnglists.h
modified: libdwarf.h
2024-07-30: David Anderson
commit 1bf563fb648f741a7cbd936f3b989bb9fd9b6b7d
Merge: e85227a2 b58af607
Merge branch 'abstract'
Using the proper dwarf_global_formref_b(),
the original dwarf_global_formref() cannot handle
all of DWARF4
2024-07-30: David Anderson
commit b58af60787c748cfc3b1d0b1c197c6ca48d8e773
Change the original dwarf_global_formref()
to use the current dwarf_global_formref_b()
so things reflect the realities of DWARF4.
modified: print_die.c
modified: print_frames.c
2024-07-31: vtorri
commit e85227a2dc39f304e41ed2894c7101f44305adfb
build: fix arguments order in calloc calls (#258)
2024-07-30: David Anderson
commit 94432777d4719241e877c411f178dc30bccf375e
Updated date
modified: doc/libdwarf.dox
2024-07-30: David Anderson
commit 5865f274adf91ef1ac7464084dd01cd9e0209c03
Improvements to doc of dwarf_get_ranges_baseaddress
modified: src/lib/libdwarf/libdwarf.h
2024-07-28: David Anderson
commit b17c69f4c4e2ae48c38f65db2c8bd9a05382eb04
Updated the bugs fixed today.
modified: bugxml/dwarfbug.html
modified: bugxml/dwarfbug.xml
modified: bugxml/dwarfbuglohi.html
2024-07-28: David Anderson
commit 301d1d08f1a48d2d16cd390046b29c91c7e909c6
Up to date.
modified: ChangeLog
2024-07-28: David Anderson
commit c704bb966f3e62d9d9e7f018f0478c82ecea84b9
Adding git fix id to 70753 and 70763
modified: bugxml/data.txt
2024-07-28: David Anderson
commit 1b79d618bf5aab2bda9be495c531b13e94ae056a
Initial addition of ossfuzz 70753 and ossfuzz 70763
modified: bugxml/data.txt
Fixing ossfuzz 70753 and ossfuzz 70763
by calling an internal version of global_formref_b()
so we can avoid infinite recursion.
The bug here was introduced two days ago in
git id 6b40a0ed378826273080a7b11e7274c2b61d018b
modified: src/lib/libdwarf/dwarf_die_deliv.c
2024-07-27: David Anderson
commit 10e7b7f4ca5f612169e049efe7173bde55c3ebec
Valgrind noticed a situation where in homeify()
we could touch a piece of uninitialized memory. Fixed.
modified: src/bin/dwarfdump/dwarfdump.c
2024-07-27: David Anderson
commit 1719fc4b616eb5eb53ae3b18f3aa274856d4202b
Up to date, with new version 0.11.0
modified: ChangeLog
2024-07-27: David Anderson
commit fdcbe2c75fd8ccbb5bda03520713a21a00c08b1b
Changed release id to 0.11.0 due to new, added, function.
modified: CMakeLists.txt
modified: bugxml/dwarfbug.html
modified: bugxml/dwarfbug.xml
modified: bugxml/dwarfbuglohi.html
modified: configure.ac
modified: doc/libdwarf.dox
modified: doc/libdwarfp.mm
modified: meson.build
modified: src/lib/libdwarf/libdwarf.h
modified: tools/makerelease.sh
2024-07-27: David Anderson
commit f324fd54b584ce7ae5d011572dd84bd15f48d3af
Identifies git fix id now for ossfuzz 70721
DW202407-010
modified: bugxml/data.txt
2024-07-27: David Anderson
commit 46fa96f95e043bac9b98ca6f7a9a542dae8f46cd
Correcting use-after-free with a specific corrupted
DWARF section.
ossfuzz 70721 DW202407-010.
The bug has been in the source for several years.
modified: src/lib/libdwarf/dwarf_die_deliv.c
2024-07-26: David Anderson
commit 6b40a0ed378826273080a7b11e7274c2b61d018b
Using the new API function
modified: doc/checkexamples.c
modified: src/bin/dwarfdump/print_die.c
modified: src/lib/libdwarf/dwarf_die_deliv.c
modified: src/lib/libdwarf/dwarf_opaque.h
Implementing the new API function
dwarf_get_ranges_baseaddress()
modified: src/lib/libdwarf/dwarf_ranges.c
2024-07-26: David Anderson
commit 6c67c2df1408177dd3b3ceba6c9251b136a06504
Adding a new API function:
dwarf_get_ranges_baseaddress()
This simplfies getting correct cooked
addresses for entries from .debug_ranges
(which is in DWARF2,3,4);
modified: src/lib/libdwarf/libdwarf.h
2024-07-23: David Anderson
commit d95ee1f7ddde0bf195109167356157cd1b90746b
Up to date with git log
modified: ChangeLog
2024-07-23: David Anderson
commit 14a9f14d06ce32f3bc156e60740e1ce3d1be25b2
The new code about .debug_ranges had
small leaks when the library was told
not to record or clean-up most memory allocations.
Shown by -fsanitize.
Would not affect most users, but for the few
that use the feature this fixes the issue.
modified: doc/checkexamples.c
modified: src/bin/dwarfdump/print_die.c
2024-07-23: David Anderson
commit f34c3affa79ed7741345b58cc027050bf4884abc
Now up to date with git log.
modified: ChangeLog
2024-07-23: David Anderson
commit 68f5082d293e81ec869ff83deb701d9e92268fa3
The 'examplev()' function reading and showing
.debug_ranges is fully worked out and is
now tested in regressiontests.
modified: doc/checkexamples.c
2024-07-23: David Anderson
commit 7b4e7a71820a2eca6d679d9bd371b4a93fd2f6c5
Cleaned up debugging helper functions (which are #if 0
so not part of the build).
modified: src/lib/libdwarf/dwarf_machoread.c
2024-07-22: David Anderson
commit c51750363a5eef5c15ee8b2fc2d20f4372df8f6f
Fixed a mistake in examplev, .debug_ranges
modified: doc/checkexamples.c
2024-07-21: David Anderson
commit f04ef392df7ec51265d9ea8994e1e80f6a5ee31f
Removed trailing whitespace from one line.
modified: src/lib/libdwarf/dwarf_query.c
2024-07-21: David Anderson
commit 6fdabfb2b11d72d952633faa493ec66db447938d
Added new argument to print_ranges_list_to_extra()
so it can print both raw and cooked values.
modified: src/bin/dwarfdump/dd_esb_using_functions.h
Now calculates and prints Dwarf_Ranges data
with raw and cooked values.
modified: src/bin/dwarfdump/print_die.c
Remove leftover #if 0 debugging blocks of code.
modified: src/bin/dwarfdump/print_loclists.c
Add extra arg to print_ranges_list_to_extra()
appropriately.
modified: src/bin/dwarfdump/print_ranges.c
2024-07-21: David Anderson
commit 9445464f338dc58dac5847d22770e769ad087e29
Now calulates the cooked value of .debug_ranges
and prints both raw and cooked values.
modified: doc/checkexamples.c
New date, some Dwarf_Ranges doc has been updated
in libdwarf.
modified: doc/libdwarf.dox
2024-07-21: David Anderson
commit da5b269cab0058f313d62c89c15d83e0f1dbef4b
An inconsistency in using true vs TRUE
and false vs FALSE is still present but
at least one place acknowledges both.
This should be corrected touse TRUE/FALSE
everywhere.
modified: src/lib/libdwarf/dwarf_base_types.h
2024-07-21: David Anderson
commit ed80e7fd06d43554dcd7bda2f1522b3e24eb57ba
Minor corrections of formatting.
modified: src/lib/libdwarf/dwarf_query.c
2024-07-21: David Anderson
commit 41bab201a0c5e26b56ec2269769ce3f55fac2efa
Added clarifying comment paragraphs about Dwarf_Ranges
modified: src/lib/libdwarf/libdwarf.h
2024-07-16: David Anderson
commit 37dfec2a0d9cacda16d2a27b1a3822ae3f37e635
make git status less noisy.
modified: .gitignore
2024-07-14: David Anderson
commit b66bf7e1fe2b15943b2bb08ac958880bca6df538
Final on the rnglists ossfuzz issues so far.
modified: bugxml/data.txt
modified: bugxml/dwarfbug.html
modified: bugxml/dwarfbug.xml
modified: bugxml/dwarfbuglohi.html
2024-07-10: David Anderson
commit fff358d23488c6442c65495193758a8ff435c3b6
Up to date with git log.
modified: ChangeLog
2024-07-10: David Anderson
commit 34d2ee2dd7eba9af38dcac600a3663bb23c5f7ed
Three new oss-fuzz issues. 70266 70263 70256
modified: data.txt
modified: dwarfbug.html
modified: dwarfbug.xml
modified: dwarfbuglohi.html
2024-07-10: David Anderson
commit 1f3b7ed15a773e89b7d2fddc09efac3144bf3d28
Now with 70246 fixed.
modified: ChangeLog
2024-07-10: David Anderson
commit 593e794c43006e3fa3805cd070f128d61b5b7a4a
New bug entries.
modified: bugxml/data.txt
2024-07-10: David Anderson
commit d7c4efdcc7952b38a237a36ccedf364018e0fb1c
ossfuzz 70246 DW202407-002 fixed.
In reading a .debug_rnglists header a corrupt
value in the offset-count field lead to
a gigantic malloc.
This bug is just a week old.
We now check for a sane value.
modified: src/lib/libdwarf/dwarf_rnglists.c
2024-07-09: David Anderson
commit e2ab28a547ed8a53f2c96a825247a7cc8f7e40bb
Removing esb_append_printf()
which is the last use of *sprintf()
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/print_macro.c
2024-07-09: David Anderson
commit 906a4428a5d92e17948da4249cfccbe8f5ae8005
ossfuzz 70244 fixed.
DW202407-001
These were bugs intruduced a couple days ago.
The array in Dwarf_Rnglists_Context_s was
not being freed in every situation.
modified: src/lib/libdwarf/dwarf_rnglists.c
2024-07-09: David Anderson
commit 4620365ad3308481928f8d545adb79bdd57c9cc4
Removing esb_append_printf() as it is no
longer necessary.
modified: src/bin/dwarfdump/dd_esb.c
modified: src/bin/dwarfdump/dd_esb.h
Replacing with esb_append_printf_i()
modified: test/test_esb.c
2024-07-09: David Anderson
commit 179c6997ca67f654b78384fddd8135a6ce970851
Updated semantic version to 0.10.2
modified: CMakeLists.txt
modified: configure.ac
modified: doc/libdwarf.dox
modified: doc/libdwarfp.mm
modified: meson.build
modified: src/lib/libdwarf/libdwarf.h
2024-07-09: David Anderson
commit c165590fd07e5f6dec79af5855ccd8f779434154
Added blank line after d= semantic version
so tools/updatesemanticversion.py
works right.
modified: tools/makerelease.sh
Now updates tools/makerelease.sh too
modified: tools/updatesemanticversion.py
2024-07-09: David Anderson
commit 69f85bbdc2717cd4b4e1345d522f6919ae459a44
Now with latest changes.
modified: ChangeLog
2024-07-09: David Anderson
commit e2c8f88ccc962d7a26d8f110687f25f5aebaf902
Fixed trailing whitespace and indents.
Remove debugging #if 0. Corrected comment about
DWARF4 GNU extension split dwarf.
modified: dwarf_die_deliv.c
modified: dwarf_fission_to_cu.c
Remove debugging #if 0
Fixed trailing whitespace and indents.
modified: dwarf_loclists.c
Added in merge of DWARF4 GNU extension cc_ranges_base
from skeleton to dwo/dwp
modified: dwarf_query.c
Corrected comment about
DWARF4 GNU extension split dwarf.
modified: dwarf_ranges.c
Remove debugging #if 0
Fixed trailing whitespace and indents.
modified: dwarf_rnglists.c
2024-07-08: David Anderson
commit 7c67f294febe9af123557b71b933d3656bb38332
Refine the information on rnglists base with
cc_rnglists_base_via_at (similar to loclists)
modified: src/lib/libdwarf/dwarf_die_deliv.c
RNGLISTS now like LOCLISTS
and we remove some pointless cpu cycles
via the second arg to _dwarf_internal_read_loclists_header
_dwarf_internal_read_rnglists_header
modified: src/lib/libdwarf/dwarf_fission_to_cu.c
Add arg to _dwarf_internal_read_loclists_header so
we can save cpu when appropriate.
modified: src/lib/libdwarf/dwarf_loc.h
Refining
_dwarf_internal_read_loclists_header()
and similar to _dwarf_internal_read_rnglists_header()
to rnglists with both using less cpu cycles.
modified: src/lib/libdwarf/dwarf_loclists.c
Refined a comment.
modified: src/lib/libdwarf/dwarf_loclists.h
Added cc_loclists_base_via_at and
cc_rnglists_base_via_at
modified: src/lib/libdwarf/dwarf_opaque.h
Added comment about split dwarf inheritance.
modified: src/lib/libdwarf/dwarf_query.c
Now freeing the modified Dwarf_Rnglists_Context
data and _dwarf_internal_read_rnglists_header() stops
using cpu cycles where the result is ignored.
modified: src/lib/libdwarf/dwarf_rnglists.c
Refined comments on struct Dwarf_Rnglists_Context_s.
modified: src/lib/libdwarf/dwarf_rnglists.h