-
Notifications
You must be signed in to change notification settings - Fork 71
/
ChangeLog2022
8181 lines (6110 loc) · 265 KB
/
ChangeLog2022
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
2022-12-31: David Anderson
commit 1aa419e3c8c4e32397532a9ffc03bb89a7d99d53
Improved error messages for empty or really short
files dwarfdump is asked to look at.
modified: dwarfdump.c
2022-12-29: David Anderson
commit 2e2eae77fdf848c4af3c1e0340716ee1ad44791b
Now up to date with git log
modified: ChangeLog
2022-12-29: David Anderson
commit b6af42015d91df10dca09f4f8607076e0e248d89
Alter the postioning of calls to print_version_details
to make the output more consistent overall.
modified: src/bin/dwarfdump/dd_command_options.c
Removing a print_version_details() call as it's now
done in dd_command_options.c
modified: src/bin/dwarfdump/dwarfdump.c
Adding checks of a few API calls (when using -ka)
that were previously not called from dwarfdump.
modified: src/bin/dwarfdump/print_frames.c
2022-12-29: David Anderson
commit e63643d5f24cfbf2203d185b432ef4b56b1edc07
Clarifying doxygen comments.
modified: src/lib/libdwarf/libdwarf.h
2022-12-27: David Anderson
commit 312ac6f05dc573dbdf7c686c586de6ffdf1784b5
Fix silly typo, fixing a comment.
modified: src/lib/libdwarf/dwarf_memcpy_swap.h
2022-12-27: David Anderson
commit a5df21f0eb961e1280c4c09a0c4828ad6c76f41c
Documenting access to the word copy function
libdwarf uses to deal with endian differences
between an object being read and the the
running system library doing the reading.
modified: doc/libdwarf.dox
modified: doc/libdwarf.pdf
modified: src/lib/libdwarf/dwarf_memcpy_swap.h
modified: src/lib/libdwarf/libdwarf.h
2022-12-27: David Anderson
commit cb506fb532653167cd631adfa530de3efa86df1c
Bringing up to date with git log
modified: ChangeLog
2022-12-27: David Anderson
commit 99081b97a0c3cc2e312ea5f15d0fe47699bc86f0
Removed a useless function
The remaining functions are executed in testing.
modified: dwarf_crc.c
modified: dwarf_crc32.c
Removed the now-unused non-API _dwarf_crc32()
modified: dwarf_opaque.h
Added doxygen comments about the crc functions.
modified: libdwarf.h
2022-12-26: David Anderson
commit b966a1964b0711f7791383a01d3473250507cfee
Fix indents and remove trailing whitespace.
modified: src/lib/libdwarf/dwarf_alloc.c
modified: src/lib/libdwarf/dwarf_crc32.c
modified: src/lib/libdwarf/dwarf_debugnames.c
modified: src/lib/libdwarf/dwarf_die_deliv.c
modified: src/lib/libdwarf/dwarf_dsc.c
modified: src/lib/libdwarf/dwarf_elf_load_headers.c
modified: src/lib/libdwarf/dwarf_form.c
modified: src/lib/libdwarf/dwarf_frame.c
modified: src/lib/libdwarf/dwarf_frame2.c
modified: src/lib/libdwarf/dwarf_gdbindex.c
modified: src/lib/libdwarf/dwarf_global.c
modified: src/lib/libdwarf/dwarf_groups.c
modified: src/lib/libdwarf/dwarf_query.c
2022-12-26: David Anderson
commit 8825b8280394deb8df28514164317317a9a424cb
Fix indents and remove trailing whitespace.
modified: dwarfdump.c
modified: print_die.c
modified: print_pubnames.c
2022-12-26: David Anderson
commit 6ce0f705f8931e095e4334ebe33ec1f220042367
Now with latest date.
modified: doc/libdwarf.pdf
Add new calls (with -ka) testing
additional library API functions.
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/print_die.c
Add new calls (with -ka) testing
additional library API functions.
Refactor to pull checking code out of the
main line. For clarity.
modified: src/bin/dwarfdump/print_pubnames.c
if 0 out a local unusable function
modified: src/lib/libdwarf/dwarf_arange.c
Clarify some comments and spacing.
modified: src/lib/libdwarf/dwarf_form.c
modified: src/lib/libdwarf/dwarf_opaque.h
2022-12-26: David Anderson
commit 8c03d27394d69f06271dc5298cc7956c77e4ca53
updating date in the document.
modified: doc/libdwarf.dox
2022-12-23: David Anderson
commit 169a8639254511ecbbd0d5ae15406e36a576e8e5
Remove trailing whitespace and
correct indents.
modified: src/bin/dwarfdump/print_die.c
modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
2022-12-23: David Anderson
commit 24197dd18e8682a1fb8859b797062e777fafa0aa
Removing trailing whitespace
modified: src/lib/libdwarf/dwarf_base_types.h
modified: src/lib/libdwarf/dwarf_global.h
modified: src/lib/libdwarf/dwarf_string.h
modified: src/lib/libdwarf/libdwarf.h
2022-12-23: David Anderson
commit a4bf108310059bc04306de7aa11b788041e31c6e
Corrected error cases in dwarf_offset_list
by adding free_dwarf_offsets_chain() in those
cases.
modified: src/lib/libdwarf/dwarf_query.c
Minor change in format, no change in content.
modified: src/lib/libdwarf/dwarf_string.h
2022-12-23: David Anderson
commit 382fc73ca8146c7aa364fc2f7e90b77e7dfde688
Changes in dwarfstring_constructors,
one of them a fix.
modified: src/lib/libdwarf/dwarf_line.c
2022-12-23: David Anderson
commit b46cbc3e7134bdb3c7ebb8c9d3b74ca17102248a
Now using dwarfstring_constructor* better and added
comments in places about those..
Corrected a dwarfstring_destructor(&incdir)
to dwarfstring_reset(&incdir) in create_fullest_file_path
error case.
modified: src/lib/libdwarf/dwarf_print_lines.c
2022-12-23: David Anderson
commit 801a5e278bb753ea9df68abab953e603bb425e83
Add casts to avoid compiler warnings.
modified: src/lib/libdwarf/dwarf_global.c
2022-12-23: David Anderson
commit a4a10e6c1e77d5a054b3200201638e461bff69fd
Removed unreachable code to avoid compiler warning.
modified: src/lib/libdwarf/dwarf_generic_init.c
2022-12-23: David Anderson
commit b35972b2c7910585bc0515ec289871e8ee390ca6
Adding cast to target type to avoid compiler warnings.
modified: src/lib/libdwarf/dwarf_frame.c
modified: src/lib/libdwarf/dwarf_frame2.c
modified: src/lib/libdwarf/dwarf_gdbindex.c
modified: src/lib/libdwarf/dwarf_gdbindex.h
2022-12-23: David Anderson
commit 554e754d588941023f1f1bf7f57548ccbfbde907
Some modifications of local data types to avoid
compiler warnings.
Correction of error handling in
find_sig8_target_as_global_offset()
to avoid leak of a Dwarf_Error.
modified: src/lib/libdwarf/dwarf_form.c
2022-12-23: David Anderson
commit 5519cdc5582ffdeadac865f6bb8de15a60ab798d
Adding casts to avoid compiler warnings.
Correcting a return tykpe which has long been wrong:
DW_DLV_NO_ENTRY changed to DW_DLV_OK
modified: src/lib/libdwarf/dwarf_fission_to_cu.c
2022-12-23: David Anderson
commit c3f3babcd7c0ba6620e19b11d7079fa53e10b7e8
Added an if (resdwo == DW_DLV_NO_ENTRY)
for clarity.
Updated a dwarfstring constructor to use
a local char array instead of all malloc.
modified: src/lib/libdwarf/dwarf_die_deliv.c
2022-12-23: David Anderson
commit e4c58a7ab39a8f28d938dfc2e6f89e61ea27eae9
Fix a number of minor errors and
add casts where needed to avoid compiler warnings.
modified: src/bin/dwarfdump/print_die.c
2022-12-20: David Anderson
commit 98e7e804427e979ba4140b1725553dbfa0f4e3b7
Using casts to ensure no compiler warnings on assigning
a big unsigned to a smaller unsigned type.
modified: src/lib/libdwarf/dwarf_debug_sup.c
A simple and clead way to ininialize local structs.
modified: src/lib/libdwarf/dwarf_elf_load_headers.c
2022-12-20: David Anderson
commit cc347303b0a019f3e352303e866a305a3c2e0c48
Now up to date with ChangeLog
modified: ChangeLog
2022-12-20: David Anderson
commit 04f3722747e3991fced621cef60fd91654ef2e2d
Now allows DW_LANG codes including the latest.
modified: src/bin/dwarfdump/print_die.c
Updated DW_LANG codes with known items, the
with a bit of help.
modified: src/lib/libdwarf/dwarf.h
make rebuild
regenerated these with the new DW_LAN codes.
modified: src/bin/dwarfdump/dwarf_names.c
modified: src/lib/libdwarf/dwarf_names.c
2022-12-20: David Anderson
commit a7d3d5eb322d462729df089415ca761df729f054
Implemented the changed API of dwarf_dietype_offset()
modified: src/lib/libdwarf/dwarf_die_deliv.c
modified: src/lib/libdwarf/dwarf_query.c
Update doxygen on dwarf_dietype_offset()
modified: src/lib/libdwarf/libdwarf.h
2022-12-20: David Anderson
commit 7d146dcf5c4c3e51b992b97a81145276f11f85a5
Now (with -ka or --check-functions) checks 8 more libdwarf
functions for correct operation.
modified: src/bin/dwarfdump/print_die.c
2022-12-20: David Anderson
commit c95e8ea6bcf391f8e6f034dc848399fbef424731
dwarf_dietype_offset() now has an incompatible change.
Before the change it could not work properly
if .debug_info referred
to .debug_types via a DW_FORM_ref_sig8 (DWARF4).
modified: doc/libdwarf.dox
2022-12-20: David Anderson
commit 649b0716f1a336b09efcd06deb43c363435c7742
Checking additional functions for
correct operation.
modified: print_abbrevs.c
modified: print_die.c
2022-12-19: David Anderson
commit 137985198b36899b5ff703acf9359d81967017ae
Ensure the check_function_result summary numbers
print out when the summary counts are requested.
modified: src/bin/dwarfdump/dd_compiler_info.c
Improved the wording of a failed check on
abbreviations.
modified: src/bin/dwarfdump/print_abbrevs.c
Added full check of the values returned by
dwarf_offset_list()
Refactored blocks of checking-code into
new static functions to make the important
code easier to read.
modified: src/bin/dwarfdump/print_die.c
Refactored into static functions some checking
code to make the printing code easier to follow.
modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
2022-12-19: David Anderson
commit fbbd626cd21b2fcbbbe150b40deaaa7a1778b9d0
Deleted an obsolete comment line.
modified: src/lib/libdwarf/dwarf_query.c
2022-12-19: David Anderson
commit e11da35379e23b7c7a989da4eb0b196e34986451
Updating presentation of a few function interfaces
(no change in content) and improved some doxygen
comments.
modified: src/lib/libdwarf/libdwarf.h
2022-12-19: David Anderson
commit 28c33ca700c82d6086e759fcd52312b569ed3119
Added a new example for dwarf_hithpc_b and added
(void)parent_index; (etc) to avoid a compiler
warning.
modified: doc/checkexamples.c
2022-12-18: David Anderson
commit c3d319584df050ea46c35dd97ca84871d2c239ad
Corrected a doxygen comment.
modified: doc/checkexamples.c
corrected --check-functions option to enable
checks of previously unchecked libdwarf calls.
modified: src/bin/dwarfdump/dd_command_options.c
Implemented checks of the dwarf_offset_list() function.
Refactored the print_die_and_children_internal
function: checking code is pushed to
nearby static functions so the overall logic is clearer.
modified: src/bin/dwarfdump/print_die.c
Clarified documentation of dwarf_offset_list().
modified: src/lib/libdwarf/libdwarf.h
2022-12-17: David Anderson
commit f335fada3a1ed97dc4df9d5593d25a9af88a19c1
Renamed glflags DIE_global_offset to
DIE_section_offset to be specific
about its meaning.
modified: dd_glflags.c
modified: dd_glflags.h
modified: dwarfdump.c
modified: print_aranges.c
modified: print_die.c
modified: print_frames.c
modified: print_ranges.c
2022-12-17: David Anderson
commit 3f0c2b6cf67462b71daa9401220b196d29425851
Making a new --check-functions option
and a place to record such.
No meaningful implementation yet.
modified: dd_command_options.c
modified: dd_glflags.c
modified: dd_glflags.h
Comment changes.
modified: print_die.c
2022-12-17: David Anderson
commit 3668a15c80a00f6914a623c64a69f947b49419bf
Removed some duplicated paragraphs about
section groups.
Reformatted a number of paragraphs
for the convenience of the editor.
modified: libdwarf.dox
2022-12-17: David Anderson
commit 94b4892b8adbab9316af03301b629d08acf30d8b
Bringing up to date with git log.
modified: ChangeLog
2022-12-17: David Anderson
commit 17ed6be737a6b9082be1f7014d68c9494e509898
Changing function defs that did not follow codingstyle.
Now
int
xxx(yyy...)
per library standard.
modified: dwarf_frame.c
modified: dwarf_line.c
Correcting doxygen comment typos.
modified: libdwarf.h
2022-12-14: David Anderson
commit 33fa9c10e06829754432547c15ad5a91a28eb119
I think this will fix two more warnings.
modified: dwarf_debugnames.c
2022-12-14: David Anderson
commit 144fc3396c06dc0a9f487468e6b127fe9ba2fc60
Adjusting a type and casting to avoid
compiler warnings about some type conversions.
modified: dwarf_dsc.c
modified: dwarf_elfread.c
modified: dwarf_fill_in_attr_form.c
2022-12-14: David Anderson
commit 087b5e44360609f53951a30d0f6700346607977d
Fixing type and adding casts to avoid warnings from a compiler.
modified: dwarf_elf_load_headers.c
modified: dwarf_elfread.h
2022-12-14: David Anderson
commit b2865d4b2be65e2d512088f015ada43ea82a0f6a
Fixing three issues of the output-type
of READ_UNALIGNED macro
modified: dwarf_debugnames.c
2022-12-13: David Anderson
commit f24c5387c6aac43d1fbb6f0199ff5f0ea7ce51e7
removing all instandes of UNUSEDARG
and using (void)name; in the function body instead
so compilers that do not have the gcc unusedarg
feature can compile things without warnings.
modified: src/bin/attr_form/attr_form_build.c
modified: src/bin/dwarfdump/dd_attr_form.c
modified: src/bin/dwarfdump/dd_esb_using_functions.h
modified: src/bin/dwarfdump/dd_macrocheck.c
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/print_die.c
modified: src/bin/dwarfdump/print_frames.c
modified: src/bin/dwarfdump/print_macro.c
modified: src/bin/dwarfexample/dwdebuglink.c
modified: src/bin/dwarfexample/findfuncbypc.c
modified: src/bin/dwarfexample/showsectiongroups.c
modified: src/bin/dwarfexample/simplereader.c
modified: src/bin/dwarfgen/createirepfrombinary.cc
modified: src/bin/dwarfgen/dwarfgen.cc
modified: src/bin/dwarfgen/irepattrtodbg.cc
modified: src/bin/dwarfgen/irepdie.h
modified: src/bin/dwarfgen/irepform.h
modified: src/bin/dwarfgen/ireptodbg.cc
modified: src/bin/tag_attr/tag_attr.c
modified: src/bin/tag_tree/tag_tree.c
modified: src/lib/libdwarf/dwarf_base_types.h
modified: src/lib/libdwarf/dwarf_debugnames.c
modified: src/lib/libdwarf/dwarf_dsc.c
modified: src/lib/libdwarf/dwarf_elf_load_headers.c
modified: src/lib/libdwarf/dwarf_elfread.c
modified: src/lib/libdwarf/dwarf_form.c
modified: src/lib/libdwarf/dwarf_frame.h
modified: src/lib/libdwarf/dwarf_frame2.c
modified: src/lib/libdwarf/dwarf_gdbindex.c
modified: src/lib/libdwarf/dwarf_generic_init.c
modified: src/lib/libdwarf/dwarf_groups.c
modified: src/lib/libdwarf/dwarf_line.c
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
modified: src/lib/libdwarf/dwarf_loc.h
modified: src/lib/libdwarf/dwarf_machoread.c
modified: src/lib/libdwarf/dwarf_macro5.c
modified: src/lib/libdwarf/dwarf_object_detector.c
modified: src/lib/libdwarf/dwarf_opaque.h
modified: src/lib/libdwarf/dwarf_peread.c
modified: src/lib/libdwarf/dwarf_query.c
modified: src/lib/libdwarf/dwarf_ranges.c
modified: src/lib/libdwarf/dwarf_xu_index.c
modified: src/lib/libdwarf/libdwarf.h
modified: src/lib/libdwarf/libdwarf_private.h
Here, in addition, we remove a nested-include
of libdwarf.h and make all includes single-level.
modified: src/lib/libdwarfp/dwarf_pro_alloc.c
modified: src/lib/libdwarfp/dwarf_pro_arange.c
modified: src/lib/libdwarfp/dwarf_pro_debug_sup.c
modified: src/lib/libdwarfp/dwarf_pro_die.c
modified: src/lib/libdwarfp/dwarf_pro_dnames.c
modified: src/lib/libdwarfp/dwarf_pro_error.c
modified: src/lib/libdwarfp/dwarf_pro_expr.c
modified: src/lib/libdwarfp/dwarf_pro_finish.c
modified: src/lib/libdwarfp/dwarf_pro_frame.c
modified: src/lib/libdwarfp/dwarf_pro_funcs.c
modified: src/lib/libdwarfp/dwarf_pro_init.c
modified: src/lib/libdwarfp/dwarf_pro_log_extra_flag_strings.c
modified: src/lib/libdwarfp/dwarf_pro_macinfo.c
modified: src/lib/libdwarfp/dwarf_pro_opaque.h
modified: src/lib/libdwarfp/dwarf_pro_pubnames.c
modified: src/lib/libdwarfp/dwarf_pro_reloc.c
modified: src/lib/libdwarfp/dwarf_pro_reloc_stream.c
modified: src/lib/libdwarfp/dwarf_pro_reloc_symbolic.c
modified: src/lib/libdwarfp/dwarf_pro_section.c
modified: src/lib/libdwarfp/dwarf_pro_types.c
modified: src/lib/libdwarfp/dwarf_pro_vars.c
modified: src/lib/libdwarfp/dwarf_pro_weaks.c
modified: src/lib/libdwarfp/libdwarfp.h
2022-12-13: David Anderson
commit 38a55205d492c11178c7ed31c29c74bee6577d2b
To make this test pass with the renaming.
modified: test/Makefile.am
modified: test/README.testcases
modified: test/test_dwarfdumpLinux.sh
modified: test/testuriLE64ELf.base
renamed: test/testuriLE64ELf.sourcecode -> test/testuriLE64ELfsource.c
2022-12-13: David Anderson
commit 80930c4de0ac12124a80337f300d4ed5640a045a
Another attemt to prevent test/ testcase being rebuilt.
renamed: testuriLE64ELf.c -> testuriLE64ELf.sourcecode
2022-12-13: David Anderson
commit 88434de76e9966e6ec43d08a0767cfcaf4e3ac44
removing UNUSEDARG in favor of (void)name; sort of thing.
modified: Makefile.am
modified: README.testcases
modified: test_dwarf_tied.c
modified: test_dwarfdump.py
modified: test_esb.c
modified: test_extra_flag_strings.c
modified: test_linkedtopath.c
Changed the name to deter (I hope) the compiler from recompiling
when running tests. This object must not be recreated.
renamed: testuriLE64ELf.obj -> testuriLE64ELf.testme
2022-12-12: David Anderson
commit 7affdd2b7b20a620be28c3de3f9582978568d626
Ensure testuriLE64ELf.c shows up in a release,
modified: test/Makefile.am
2022-12-12: David Anderson
commit 98a8840b2b292d91c427a596a2f5b6d85a8eab08
Source to build testuriLE64ELf.obj.
The correct cc command is a comment
in this file.
new file: testuriLE64ELf.c
The generated object, to be read, not
executed.
modified: testuriLE64ELf.obj
2022-12-12: David Anderson
commit 839a134ea6d8e4e77a96702b5533c4a6f7e5d399
Improving doxygen wording
modified: doc/libdwarf.dox
modified: src/lib/libdwarf/libdwarf.h
Regenerated.
modified: doc/libdwarf.pdf
2022-12-12: vtorri
commit 4520c3ce53e7ffb9b9466d69bc50135678d1df92
fix some warnings with Visual Studio (#142)
* fix some warnings with Visual Studio
Remove some stupid warnings with Visual Studio about deprecated signatures
modified: meson.build
Fix some types with Visual Studio
modified: src/lib/libdwarf/dwarf_crc32.c
modified: src/lib/libdwarf/dwarf_debuglink.c
Run some tests only if sh shell is found (mainly with msys2 on Windows)
modified: test/meson.build
* fix typo
Co-authored-by: Vincent Torri <[email protected]>
Co-authored-by: David Anderson <[email protected]>
2022-12-12: David Anderson
commit 662eefb2d1888aeac0420c95625a6064f4be37a8
Merge: 693baa16 10b2231a
Merge branch 'master' of https://github.com/davea42/libdwarf-code
Due to a workflow update, not code.
2022-12-12: David Anderson
commit 693baa1668960511701ce23429e80e438e41adc1
Update to get latest git log data
modified: ChangeLog
2022-12-12: David Anderson
commit 37bb274fb9724e7e81db2a66a9266ff21cad60e8
Now setting address_size: to improve test
coverage in dwarfdump and libdwrf.
modified: src/bin/dwarfdump/dwarfdump.conf
Now using the correct type in the macro
READ_UNLIGNED_CK to avoid compiler warnings.
modified: src/lib/libdwarf/dwarf_debugaddr.c
2022-12-12: David Anderson
commit 3d06c94f016edfe0e987f43d1e3344e41bafa9bc
Now with the correct datatype in an argument
to initialize the hash table default size
to a useful value.
modified: src/lib/libdwarf/dwarf_alloc.c
2022-12-08: David Anderson
commit 4961fee9343c816e058c9da1f6789d9d90e39dc2
Coverity Scan noted a bug: assigning *error when
error could be NULL. Fixed.
modified: src/lib/libdwarf/dwarf_die_deliv.c
2022-12-08: David Anderson
commit cb3ffd809659ce7eabe45474c01372c8e2b27f1f
make rebuild
regenerated these source files with version 0.6.0
modified: src/bin/dwarfdump/dwarf_names.c
modified: src/bin/dwarfdump/dwarfdump-af-table.h
modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
modified: src/bin/dwarfdump/dwarfdump-ta-table.h
modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
modified: src/bin/dwarfdump/dwarfdump-tt-table.h
modified: src/lib/libdwarf/dwarf_names.c
2022-12-08: David Anderson
commit f721e4014795541ea5a68e1dc21d1d22e64038ce
Used tools/updatesemanticversion.py 0.6.0
to update all the places the version appears
in the source
modified: CMakeLists.txt
modified: configure.ac
modified: doc/libdwarf.dox
modified: doc/libdwarfp.mm
modified: meson.build
modified: src/lib/libdwarf/libdwarf.h
2022-12-08: David Anderson
commit 027e169211bcf71384bd9a0f04466551934ecc4a
Fixing trailing whitespace.
modified: src/bin/dwarfdump/dd_globals.h
modified: src/lib/libdwarf/dwarf_global.c
Fixing trailing whitespace and adding the dwarf_globals_dealloc()
where I forgot to insert it.
modified: src/bin/dwarfdump/print_pubnames.c
2022-12-08: David Anderson
commit 99ab17c5a9edad3f32cc786acd8d3fe02ace3391
Now using the new interfaces.
modified: doc/checkexamples.c
Now describes the changed API applicable
to calling dwarf_get_pubtypes() (and therefore
using Dwarf_Type).
modified: doc/libdwarf.dox
2022-12-08: David Anderson
commit 78814d95c2494b9b063fa5a8960890d89a9c1765
We now allow for missing python3 and sh
for Windows Visual Studio users.
modified: test/meson.build
2022-12-07: David Anderson
commit e817d984ec486ff17e1e9f0544ae542ebb038e56
debugging message (normally ifdef out)
now say debugging: instead of the meaningless dadebug.
modified: src/lib/libdwarf/dwarf_alloc.c
modified: src/lib/libdwarf/dwarf_tsearchhash.c
modified: src/lib/libdwarf/dwarf_util.c
Zero the pointer and counter whose address
the caller provided to ensure no segfaults
due to caller being a bit careless.
modified: src/lib/libdwarf/dwarf_global.c
2022-12-07: David Anderson
commit 7d369fc0eed520d01be2973b187561cfa940be25
Fixed a comment on print_error_maybe_continue.
modified: src/bin/dwarfdump/dwarfdump.c
Fixed an error message and ensured an ERROR output
is counted as that.
modified: src/bin/dwarfdump/print_frames.c
Corrected the typenames and stdsecname arrays
to have the correct contents.
Made the behavior on error a bit easier to
understand when looking at printed output.
modified: src/bin/dwarfdump/print_pubnames.c
2022-12-07: David Anderson
commit c896c08aefcc0c1f1cc9b3be34cffaf7f6d907ef
Alterations for reading .debug_pubtypes were
incorrect. Now fixed.
modified: src/bin/dwarfgen/createirepfrombinary.cc
2022-12-07: David Anderson
commit 22fdb8cf229177edaab6c9bca583eaa54c8e838d
When sh or python3 cannot be found to run
scripts in the tests those tests are simple
not attempted. make test failure
was a problem for a Windows
Visual Studio user.
modified: test/meson.build
2022-12-06: David Anderson
commit 5744cb9cd44299d1415eb7a07d6bc55a659baffe
No longer need 4 source files in dwarfdump.
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
modified: src/bin/dwarfdump/meson.build
Function no longer needed here.
modified: src/bin/dwarfdump/dd_globals.h
Now uses the new pubnames-style functions,
and only needs one sourcefile to do all..
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/print_pubnames.c
Now correct for pubtypes reading.
modified: src/bin/dwarfgen/createirepfrombinary.cc
2022-12-06: David Anderson
commit 278fe12b7caf4a88acb627db7cc2a6c5f4a216d3
Corrected new bug leading to crash.
modified: src/lib/libdwarf/dwarf_global.c
Removed unwanted defines.
modified: src/lib/libdwarf/libdwarf.h
2022-12-06: David Anderson
commit 3199b6a42e1902b16b5edf24f3732d9ae078665f
First try at compatibility statement.
modified: doc/libdwarf.dox
These files no longer needed.
deleted: src/bin/dwarfdump/print_static_funcs.c
deleted: src/bin/dwarfdump/print_static_vars.c
deleted: src/bin/dwarfdump/print_types.c
deleted: src/bin/dwarfdump/print_weaknames.c
2022-12-06: David Anderson
commit 1433bca543788d027bed1359fb79aaca6f15a1fd
A working version of the new pubtypes etc interfaces.
modified: src/lib/libdwarf/dwarf_global.c
modified: src/lib/libdwarf/dwarf_global.h
With #defines simplifying use of debug_pubtypes
modified: src/lib/libdwarf/libdwarf.h
2022-12-05: David Anderson
commit dfde62d0ab951970d2121e6348fb02862c03d914
New simpler 0.6.0 source for
access to pubnames-like DWARF
sections.
modified: CMakeLists.txt
modified: Makefile.am
modified: dwarf_alloc.c
deleted: dwarf_funcs.c
deleted: dwarf_funcs.h
modified: dwarf_global.c
deleted: dwarf_pubtypes.c
deleted: dwarf_types.c
deleted: dwarf_types.h
deleted: dwarf_vars.c
deleted: dwarf_vars.h
deleted: dwarf_weaks.c
deleted: dwarf_weaks.h
modified: libdwarf.h
modified: meson.build
2022-12-05: David Anderson
commit e020568521917d1641174b465003311e47f3c8a1
whitespace corrections, indent corrections.
modified: src/bin/dwarfdump/dd_checkutil.c
modified: src/bin/dwarfdump/dd_tsearchbal.c
2022-12-05: David Anderson
commit 5321e211d4dd426bb49e04ba731c3ab97c155aba
Removing trailing whitespace.
modified: dwarf_global.c
modified: dwarf_loclists.c
modified: libdwarf.h
2022-12-05: David Anderson
commit e86a2fc3b31806e5c34f5d841cabfc73f562b39d
Improved the reporting from --trace=0
Added comments where only short options mentioned
to show also the long option.
modified: src/bin/dwarfdump/dd_command_options.c
Minor comment clarification.
modified: src/bin/dwarfdump/print_ranges.c
Comment clarifications.
Some accidental duplicate checking
(not a recent mistake)
is now enclosed in #if 0 #endif
modified: src/lib/libdwarf/dwarf_global.c
Completed a set of doxygen @see mentions
close to dwarf_dealloc_error.
modified: src/lib/libdwarf/libdwarf.h
2022-12-05: David Anderson
commit 4093a0f2bc70889f3b37b60e3e8179f5214fe011
Fixed a typo in the most recent Changes item.
modified: doc/libdwarf.dox
modified: doc/libdwarf.pdf
2022-12-02: David Anderson
commit b51b0efb18ffcfadfae615f9e6dc0b243d7967a1
Updated from git log
modified: ChangeLog
2022-12-02: David Anderson
commit 20915dba4e49be38109820e7e9b6ff2001b8ba7e
Fixed to say CODINGSTYLE.md
and adding CONTRIBUTIONS.md
modified: Makefile.am
updates the dealloc comments for
dwarf_load_loclists() and dwarf_load_rnglists().
modified: src/lib/libdwarf/libdwarf.h
2022-12-02: David Anderson
commit da32f0e282fb1129ef10332245c4f0ffb832837c
Mention fix to libdwarf dwarf_load_rnglists and
dwarf_load_loclists.
modified: doc/libdwarf.dox
Removing a blank line of no value.
modified: src/lib/libdwarf/dwarf_alloc.c
Correcting a memory leak in dwarf_load_rnglists and
dwarf_load_loclists.
These are functions which are designed for
dwarfdump to use, it is unlikely any other code
calls them.
modified: src/lib/libdwarf/dwarf_loclists.c
modified: src/lib/libdwarf/dwarf_rnglists.c
2022-12-01: David Anderson
commit 1913eabdeefaf3d62182a327bfafae3574d4be32
Now 'if 0' functions not used anywhere.
Not public functions (though one is named
like a public function!)
modified: dwarf_elf_load_headers.c
2022-12-01: David Anderson
commit 1f462173f1c905954733c5228d80b1fe64124a5f
Removed unused and unusable code.
modified: src/bin/dwarfdump/dd_checkutil.c
Removed pointless argument from PrintBucketGroup().
modified: src/bin/dwarfdump/dd_checkutil.h
Removed lots of code relating to unusable options:
-o (was used for printing Elf relocation records)
modified: src/bin/dwarfdump/dd_command_options.c
Removing unneeded arg from PrintBucketGroup() call.
modified: src/bin/dwarfdump/dwarfdump.c
Removing unneeded arg from PrintBucketGroup() call.
Removed very old #if 0 set of lines.
modified: src/bin/dwarfdump/print_die.c
Removed code once used to process archives.
We do not process those now.
modified: src/bin/dwarfdump/print_tag_attributes_usage.c
2022-12-01: David Anderson
commit 43bef7874680fabe426f3fcd101e5d7d9e162394
Added a comment.
modified: src/bin/dwarfdump/dwarfdump.c
Altered argument in one place so called function
will return a value. More complete coverage.
modified: src/lib/libdwarf/dwarf_die_deliv.c
2022-12-01: David Anderson
commit eca433525439234fbc7a5d37e12476532d4478cf
ifdef BUILD_TDUMP on all the functions
related to dumping trees as neither dwarfdump nor
libdwarf call the dwarf_tdump functions.
modified: src/bin/dwarfdump/dd_tsearchbal.c
modified: src/lib/libdwarf/dwarf_tsearchhash.c
2022-12-01: David Anderson
commit 07e16fa515f779dc17a83fcd7d15eb5778ae5ef1
These files & functions implement some
checking. Verifying addresses in .debug_info
or .debug_line are at least in bounds
of some code section.
The dwarfdump options --trace=1 --trace=3
show the table info for debugging this
aspect of checking in dwarfdump.
The printed tables no longer print
pointers as values, but contain an index
value (assigned unique
to each struct) so regression tests can pass.
The pointer value was never very useful anyway.
modified: dd_checkutil.c
modified: dd_checkutil.h
2022-11-30: David Anderson
commit ec18b95e687907999ec8fb5b0f2ceba2a40ce632
Renamed DUMP_VISITED_INFO to KIND_VISITED_INFO
DUMP_RANGES_INFO
DUMP_LINKONCE_INFO
similarly renamed.
modified: src/bin/dwarfdump/dd_checkutil.c
modified: src/bin/dwarfdump/dd_glflags.h
Removed def of KIND_VISITED_INFO etc since
dd_glflags.h has such names spelled right.
modified: src/bin/dwarfdump/dwarfdump.c
2022-11-30: David Anderson
commit a1dcff70b2216ea137b74e7c18a811ad529d786d
Documented what this does, and removed assert()
and improved the printf output so one knows
what the data is about (the KIND shows one of
DUMP_RANGES_INFO DUMP_LINKONCE_INFO or
DUMP_VISITED_INFO ).
Removed unused DUMP_LOCATION_SECTION_INFO DUMP_RANGES_SECTION_INFO.
modified: src/bin/dwarfdump/dd_checkutil.c
Added a kind field to struct bucket for improved reporting.
modified: src/bin/dwarfdump/dd_checkutil.h
Improved and clarified the usage_debug_text
That applies with --trace=0 (which prints the text
and stops).
modified: src/bin/dwarfdump/dd_command_options.c
deleted unused DUMP_LOCATION_SECTION_INFO DUMP_RANGES_SECTION_INFO
modified: src/bin/dwarfdump/dd_glflags.h
References KIND_RANGES_INFO, KIND_LINKONCE_INFO ,
KIND_VISITED_INFO which are identical to
DUMP_RANGES_INFO, DUMP_LINKONCE_INFO,DUMP_VISITED_INFO.
modified: src/bin/dwarfdump/dwarfdump.c