-
Notifications
You must be signed in to change notification settings - Fork 70
/
ChangeLog2021
7968 lines (6342 loc) · 289 KB
/
ChangeLog2021
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
commit 09dc2de3f1de72197b76373fe09a15769972a6f0
Author: David Anderson <[email protected]>
Date: Fri Dec 31 07:18:36 2021 -0800
Turned off sorting, want the ordering to be
as in libdwarf.h
modified: doc/Doxyfile
Now with doxygen comments initiated.
modified: src/lib/libdwarf/libdwarf.h
commit 8d60a7e39406733bbed28cb4511cb6cef579118f
Author: David Anderson <[email protected]>
Date: Sun Dec 26 14:54:06 2021 -0800
Small changes.
modified: ../src/lib/libdwarf/libdwarf.h
commit b7864fc2b51a655863a0a59c5b70128e7b4145bb
Author: David Anderson <[email protected]>
Date: Sun Dec 26 14:18:27 2021 -0800
This is just a start with doxygen.
new file: Doxyfile
Found some typedefs and a struct here
that are no longer used anywere, so removed
from libdwarf.h
Plus adding doxygen commands.
modified: ../src/lib/libdwarf/libdwarf.h
2021-12-29: David Anderson
commit 907225d2f3d1785db07e254aeb7389fc36f54ae1
offset = offset;
appeared at around lines 1146 and 1205
and recent clang warns about them.
Lines deleted.
modified: src/bin/dwarfdump/print_frames.c
2021-12-26: David Anderson
commit 130db599f5b4843a110527b72db0c6cab917f9bc
Removed the 'if 0' code that was
once necessary.
We do not include dd_dwconf.[ch] in
test_canonical.c
modified: test/test_canonical.c
2021-12-26: David Anderson
commit f7dfb630603ca4baf1e3c3b0b9e10566c306b795
Updated by 'make rebuild' to get the new
version: 0.3.3
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
2021-12-26: David Anderson
commit fbcdc9ec5b3a88d30e29c25d1c219cf6c8d73741
Now with version 0.3.3
modified: libdwarf.pdf
modified: libdwarfp.pdf
2021-12-26: David Anderson
commit 194c1e882260a18900c95acb1738a67c2d2c2e7a
Updated version to 0.3.3
modified: CMakeLists.txt
modified: configure.ac
modified: doc/libdwarf.mm
modified: doc/libdwarfp.mm
modified: src/lib/libdwarf/libdwarf.h
2021-12-26: David Anderson
commit 9d13137e5ebc96e2e06de82e32752db4173fb845
Now reference the new dd_canonical_append.[ch]
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
Separated _dwarf_canonical_append from dd_dwconf.[ch]
into dd_canonical_append.[ch]
new file: src/bin/dwarfdump/dd_canonical_append.c
new file: src/bin/dwarfdump/dd_canonical_append.h
Removed _dwarf_canonical_append
modified: src/bin/dwarfdump/dd_dwconf.c
modified: src/bin/dwarfdump/dd_dwconf.h
Now uses dd_canonical_append.c,.h, not dd_dwconf.c,.h
modified: test/CMakeLists.txt
modified: test/test_canonical.c
2021-12-26: David Anderson
commit b7848e06bc4f84a90bbb0377aa320f956afc2d52
Reformatted with black, a python reformatter
modified: updatesemanticversion.py
2021-12-24: David Anderson
commit f5477b747cd1c650ca933d2d1f17d623cc0cf3fc
Trivial typo corrections.
modified: libdwarf.mm
2021-12-22: David Anderson
commit 89966beb45ef36bc393e184162470db58f8ddcb3
Up todate with git log
modified: ChangeLog
2021-12-22: David Anderson
A placeholder to start 2022 ChangeLog
commit 3ce7a354202027e9403c3fc9681a16982eb47074
2021-12-22: David Anderson
commit 3ce7a354202027e9403c3fc9681a16982eb47074
Updated and improved consistency between these two.
modified: codingstyle.md
modified: src/bin/dwarfdump/CODINGSTYLE
2021-12-22: David Anderson
commit c8477173ad85bd58e3d5712d9f33e188aafb1bcb
Now all the text tables used to generate .h and .c files
are with the C code generating .c and .h. Moved out of
the dwarfdump directory.
modified: src/bin/attr_form/Makefile.am
renamed: src/bin/dwarfdump/attr_formclass.list -> src/bin/attr_form/attr_formclass.list
renamed: src/bin/dwarfdump/attr_formclass_ext.list -> src/bin/attr_form/attr_formclass_ext.list
modified: src/bin/dwarfdump/Makefile.am
modified: src/bin/tag_attr/Makefile.am
renamed: src/bin/dwarfdump/tag_attr.list -> src/bin/tag_attr/tag_attr.list
renamed: src/bin/dwarfdump/tag_attr_ext.list -> src/bin/tag_attr/tag_attr_ext.list
modified: src/bin/tag_tree/Makefile.am
renamed: src/bin/dwarfdump/dd_tag_common.c -> src/bin/tag_tree/tag_common.c
renamed: src/bin/dwarfdump/tag_tree.list -> src/bin/tag_tree/tag_tree.list
renamed: src/bin/dwarfdump/tag_tree_ext.list -> src/bin/tag_tree/tag_tree_ext.list
2021-12-22: David Anderson
commit 2c542eaf7d13899d62afed57ec6d0cf88492aebf
This is kep in the regressiontests content,
we have no need for it here in code.
deleted: src/bin/dwarfdump/testdwarfdump.conf
2021-12-21: David Anderson
commit e7b9082f29b4edefbb4a2d2853a348b525791973
ChangeLog now brought up to date with source file renaming
in dwarfdump.
modified: ChangeLog
2021-12-21: David Anderson
commit 67ca2c685feddf4c200bb03cfb9292c6d1518b00
This completes, for now, the dwarfdump source file renaming.
No function names were changed
(aside from tsearch, using #define in dd_tsearch.h)
And there is no logic change.
modified: Makefile.am
modified: configure.ac
modified: src/bin/attr_form/Makefile.am
modified: src/bin/attr_form/attr_form_build.c
new file: src/bin/builduritable/Makefile.am
renamed: src/bin/dwarfdump/dd_uritablebuild.c -> src/bin/builduritable/uritablebuild.c
renamed: src/bin/dwarfdump/glflags.c -> src/bin/dwarfdump/dd_glflags.c
renamed: src/bin/dwarfdump/glflags.h -> src/bin/dwarfdump/dd_glflags.h
renamed: src/bin/dwarfdump/globals.h -> src/bin/dwarfdump/dd_globals.h
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
modified: src/bin/dwarfdump/dd_addrmap.c
modified: src/bin/dwarfdump/dd_attr_form.c
modified: src/bin/dwarfdump/dd_checkutil.c
modified: src/bin/dwarfdump/dd_command_options.c
modified: src/bin/dwarfdump/dd_compiler_info.c
modified: src/bin/dwarfdump/dd_dwconf.c
modified: src/bin/dwarfdump/dd_helpertree.c
modified: src/bin/dwarfdump/dd_macrocheck.c
modified: src/bin/dwarfdump/dd_makename.c
modified: src/bin/dwarfdump/dd_naming.c
modified: src/bin/dwarfdump/dd_sanitized.c
modified: src/bin/dwarfdump/dd_section_bitmaps.c
modified: src/bin/dwarfdump/dd_strstrnocase.c
modified: src/bin/dwarfdump/dd_tag_common.c
modified: src/bin/dwarfdump/dd_true_section_name.c
modified: src/bin/dwarfdump/dd_uri.c
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/print_abbrevs.c
modified: src/bin/dwarfdump/print_aranges.c
modified: src/bin/dwarfdump/print_debug_gnu.c
modified: src/bin/dwarfdump/print_debug_names.c
modified: src/bin/dwarfdump/print_debug_sup.c
modified: src/bin/dwarfdump/print_debugfission.c
modified: src/bin/dwarfdump/print_die.c
modified: src/bin/dwarfdump/print_frames.c
modified: src/bin/dwarfdump/print_gdbindex.c
modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
modified: src/bin/dwarfdump/print_lines.c
modified: src/bin/dwarfdump/print_llex_codes.c
modified: src/bin/dwarfdump/print_loclists.c
modified: src/bin/dwarfdump/print_loclists_codes.c
modified: src/bin/dwarfdump/print_macinfo.c
modified: src/bin/dwarfdump/print_macro.c
modified: src/bin/dwarfdump/print_origloclist_codes.c
modified: src/bin/dwarfdump/print_pubnames.c
modified: src/bin/dwarfdump/print_ranges.c
modified: src/bin/dwarfdump/print_rnglists.c
modified: src/bin/dwarfdump/print_section_groups.c
modified: src/bin/dwarfdump/print_sections.c
modified: src/bin/dwarfdump/print_static_funcs.c
modified: src/bin/dwarfdump/print_static_vars.c
modified: src/bin/dwarfdump/print_str_offsets.c
modified: src/bin/dwarfdump/print_strings.c
modified: src/bin/dwarfdump/print_tag_attributes_usage.c
modified: src/bin/dwarfdump/print_types.c
modified: src/bin/dwarfdump/print_weaknames.c
modified: src/bin/tag_attr/Makefile.am
modified: src/bin/tag_attr/tag_attr.c
modified: src/bin/tag_tree/Makefile.am
modified: src/bin/tag_tree/tag_tree.c
modified: test/helpertree_test.c
modified: test/makename_test.c
modified: test/section_bitmaps_test.c
2021-12-21: David Anderson
commit 8ba6d77c77bfcb5646b7d97035c29e93e2e17e96
Renaming for name consistency in dwarfdump.
renamed: src/bin/dwarfdump/helpertree.c -> src/bin/dwarfdump/dd_helpertree.c
renamed: src/bin/dwarfdump/helpertree.h -> src/bin/dwarfdump/dd_helpertree.h
renamed: src/bin/dwarfdump/macrocheck.c -> src/bin/dwarfdump/dd_macrocheck.c
renamed: src/bin/dwarfdump/macrocheck.h -> src/bin/dwarfdump/dd_macrocheck.h
renamed: src/bin/dwarfdump/opscounttab.c -> src/bin/dwarfdump/dd_opscounttab.c
renamed: src/bin/dwarfdump/opscounttab.h -> src/bin/dwarfdump/dd_opscounttab.h
Minor changes required as a result:
modified: src/bin/buildopstab/Makefile.am
modified: src/bin/buildopstab/buildopscounttab.c
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/print_die.c
modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
modified: src/bin/dwarfdump/print_llex_codes.c
modified: src/bin/dwarfdump/print_loclists_codes.c
modified: src/bin/dwarfdump/print_macinfo.c
modified: src/bin/dwarfdump/print_macro.c
modified: src/bin/dwarfdump/print_origloclist_codes.c
modified: src/bin/dwarfdump/print_tag_attributes_usage.c
modified: test/CMakeLists.txt
modified: test/Makefile.am
modified: test/helpertree_test.c
2021-12-21: David Anderson
commit bafcb2da90236352f9303dfbc1ffc9bed72f60fe
Renamings forcing the other changes .
renamed: src/bin/dwarfdump/section_bitmaps.c -> src/bin/dwarfdump/dd_section_bitmaps.c
renamed: src/bin/dwarfdump/section_bitmaps.h -> src/bin/dwarfdump/dd_section_bitmaps.h
renamed: src/bin/dwarfdump/strstrnocase.c -> src/bin/dwarfdump/dd_strstrnocase.c
renamed: src/bin/dwarfdump/tag_common.c -> src/bin/dwarfdump/dd_tag_common.c
renamed: src/bin/dwarfdump/tag_common.h -> src/bin/dwarfdump/dd_tag_common.h
renamed: src/bin/dwarfdump/true_section_name.c -> src/bin/dwarfdump/dd_true_section_name.c
renamed: src/bin/dwarfdump/uritablebuild.c -> src/bin/dwarfdump/dd_uritablebuild.c
modified: src/bin/attr_form/Makefile.am
modified: src/bin/attr_form/attr_form_build.c
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
modified: src/bin/dwarfdump/dd_command_options.c
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/print_die.c
modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
modified: src/bin/dwarfdump/print_llex_codes.c
modified: src/bin/dwarfdump/print_loclists_codes.c
modified: src/bin/dwarfdump/print_origloclist_codes.c
modified: src/bin/dwarfdump/print_tag_attributes_usage.c
modified: src/bin/tag_attr/Makefile.am
modified: src/bin/tag_attr/tag_attr.c
modified: src/bin/tag_tree/Makefile.am
modified: src/bin/tag_tree/tag_tree.c
modified: test/CMakeLists.txt
modified: test/Makefile.am
modified: test/section_bitmaps_test.c
2021-12-21: David Anderson
commit f31940c5ad21d9c58a390fb36f9679a9595bb11a
File Renaming for naming consistency and clarity.
renamed: src/bin/dwarfdump/dwarf_getopt.c -> src/bin/dwarfdump/dd_getopt.c
renamed: src/bin/dwarfdump/dwarf_getopt.h -> src/bin/dwarfdump/dd_getopt.h
modified: src/bin/dwarfdump/dd_makename.c
renamed: src/bin/dwarfdump/dwarf_tsearch.h -> src/bin/dwarfdump/dd_tsearch.h
renamed: src/bin/dwarfdump/dwarf_tsearchbal.c -> src/bin/dwarfdump/dd_tsearchbal.c
renamed: src/bin/dwarfgen/dwarf_getopt.c -> src/bin/dwarfgen/dg_getopt.c
renamed: src/bin/dwarfgen/dwarf_getopt.h -> src/bin/dwarfgen/dg_getopt.h
These next two do not belong in libdwarf.
deleted: src/lib/libdwarf/dwarf_getopt.c
deleted: src/lib/libdwarf/dwarf_getopt.h
Renaming things leads to lots of places that
need a tiny modification.
modified: src/bin/attr_form/Makefile.am
modified: src/bin/attr_form/attr_form_build.c
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
modified: src/bin/dwarfdump/attr_formclass_ext.list
modified: src/bin/dwarfdump/dd_addrmap.c
modified: src/bin/dwarfdump/dd_attr_form.c
modified: src/bin/dwarfdump/dd_command_options.c
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/helpertree.c
modified: src/bin/dwarfdump/macrocheck.c
modified: src/bin/dwarfdump/print_macro.c
modified: src/bin/dwarfgen/CMakeLists.txt
modified: src/bin/dwarfgen/Makefile.am
modified: src/bin/dwarfgen/dwarfgen.cc
modified: src/bin/gennames/Makefile.am
modified: src/bin/gennames/gennames.c
modified: src/bin/tag_attr/Makefile.am
modified: src/bin/tag_attr/tag_attr.c
modified: src/bin/tag_tree/Makefile.am
modified: src/bin/tag_tree/tag_tree.c
modified: src/lib/libdwarf/Makefile.am
modified: src/lib/libdwarf/dwarf_tsearch.h
modified: src/lib/libdwarf/dwarf_tsearchhash.c
modified: test/CMakeLists.txt
modified: test/Makefile.am
modified: test/dwarfdumpLinux.sh
modified: test/dwarfdumpMacos.sh
modified: test/dwarfdumpPE.sh
modified: test/dwarfdumpsetup.sh
modified: test/getopttest.c
2021-12-20: David Anderson
commit 4e030c5f159849348acfd8328ccdfc69b539c020
modified: src/bin/attr_form/Makefile.am
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
modified: src/bin/dwarfdump/dd_attr_form.c
modified: src/bin/dwarfdump/dd_command_options.c
modified: src/bin/dwarfdump/dd_compiler_info.c
modified: src/bin/dwarfdump/dd_dwconf.c
More renaming and altering use names.
renamed: src/bin/dwarfdump/makename.c -> src/bin/dwarfdump/dd_makename.c
renamed: src/bin/dwarfdump/makename.h -> src/bin/dwarfdump/dd_makename.h
renamed: src/bin/dwarfdump/naming.c -> src/bin/dwarfdump/dd_naming.c
renamed: src/bin/dwarfdump/naming.h -> src/bin/dwarfdump/dd_naming.h
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/print_abbrevs.c
modified: src/bin/dwarfdump/print_aranges.c
modified: src/bin/dwarfdump/print_debug_gnu.c
modified: src/bin/dwarfdump/print_debug_names.c
modified: src/bin/dwarfdump/print_debug_sup.c
modified: src/bin/dwarfdump/print_debugfission.c
modified: src/bin/dwarfdump/print_die.c
modified: src/bin/dwarfdump/print_frames.c
modified: src/bin/dwarfdump/print_gdbindex.c
modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
modified: src/bin/dwarfdump/print_lines.c
modified: src/bin/dwarfdump/print_llex_codes.c
modified: src/bin/dwarfdump/print_loclists_codes.c
modified: src/bin/dwarfdump/print_macinfo.c
modified: src/bin/dwarfdump/print_macro.c
modified: src/bin/dwarfdump/print_origloclist_codes.c
modified: src/bin/dwarfdump/print_pubnames.c
modified: src/bin/dwarfdump/print_section_groups.c
modified: src/bin/dwarfdump/print_sections.c
modified: src/bin/dwarfdump/print_static_funcs.c
modified: src/bin/dwarfdump/print_static_vars.c
modified: src/bin/dwarfdump/print_str_offsets.c
modified: src/bin/dwarfdump/print_strings.c
modified: src/bin/dwarfdump/print_tag_attributes_usage.c
modified: src/bin/dwarfdump/print_types.c
modified: src/bin/dwarfdump/print_weaknames.c
modified: src/bin/dwarfdump/tag_common.c
modified: src/bin/tag_attr/Makefile.am
modified: src/bin/tag_tree/Makefile.am
modified: test/CMakeLists.txt
modified: test/Makefile.am
modified: test/makename_test.c
2021-12-20: David Anderson
commit 61c5addad4eda58cad5cd5d7100f01f62b25305e
A fix because make dist was broken by renaming.
modified: src/bin/dwarfdump/Makefile.am
2021-12-20: David Anderson
commit d080afc3f86cb254d39b4efd694359b14a0480f6
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
modified: src/bin/dwarfdump/dd_command_options.c
modified: src/bin/dwarfdump/dd_common.c
Another set of file names prefixed with dd_
renamed: src/bin/dwarfdump/defined_types.h -> src/bin/dwarfdump/dd_defined_types.h
renamed: src/bin/dwarfdump/dwconf.c -> src/bin/dwarfdump/dd_dwconf.c
renamed: src/bin/dwarfdump/dwconf.h -> src/bin/dwarfdump/dd_dwconf.h
renamed: src/bin/dwarfdump/dwconf_using_functions.h -> src/bin/dwarfdump/dd_dwconf_using_functions.h
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/glflags.c
modified: src/bin/dwarfdump/globals.h
modified: src/bin/dwarfdump/print_frames.c
modified: test/CMakeLists.txt
modified: test/Makefile.am
modified: test/test_canonical.c
2021-12-20: David Anderson
commit 1fb7c5ac8c433af0768a644797786918717d26fe
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
File renaming for consistency forces the changes.
renamed: src/bin/dwarfdump/command_options.c -> src/bin/dwarfdump/dd_command_options.c
renamed: src/bin/dwarfdump/command_options.h -> src/bin/dwarfdump/dd_command_options.h
renamed: src/bin/dwarfdump/compiler_info.c -> src/bin/dwarfdump/dd_compiler_info.c
renamed: src/bin/dwarfdump/compiler_info.h -> src/bin/dwarfdump/dd_compiler_info.h
modified: src/bin/dwarfdump/dwarfdump.c
2021-12-20: David Anderson
commit 09df54da594e7d7922826c1681c4204c5670cf5e
modified: src/bin/attr_form/Makefile.am
modified: src/bin/attr_form/attr_form_build.c
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
The renaming for consistency forces the other changes
renamed: src/bin/dwarfdump/addrmap.c -> src/bin/dwarfdump/dd_addrmap.c
renamed: src/bin/dwarfdump/addrmap.h -> src/bin/dwarfdump/dd_addrmap.h
renamed: src/bin/dwarfdump/attr_form.c -> src/bin/dwarfdump/dd_attr_form.c
renamed: src/bin/dwarfdump/attr_form.h -> src/bin/dwarfdump/dd_attr_form.h
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_tag_attributes_usage.c
2021-12-20: David Anderson
commit d5dd38fac03ae74422893228d0ec11f6db6cea87
Beginning wholesale renaming of dwarfdump source file]
names to begin with dd_
modified: src/bin/attr_form/Makefile.am
modified: src/bin/attr_form/attr_form_build.c
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
modified: src/bin/dwarfdump/command_options.c
The renaming forces many changes.
renamed: src/bin/dwarfdump/checkutil.c -> src/bin/dwarfdump/dd_checkutil.c
renamed: src/bin/dwarfdump/checkutil.h -> src/bin/dwarfdump/dd_checkutil.h
renamed: src/bin/dwarfdump/common.c -> src/bin/dwarfdump/dd_common.c
renamed: src/bin/dwarfdump/common.h -> src/bin/dwarfdump/dd_common.h
renamed: src/bin/dwarfdump/esb.c -> src/bin/dwarfdump/dd_esb.c
renamed: src/bin/dwarfdump/esb.h -> src/bin/dwarfdump/dd_esb.h
renamed: src/bin/dwarfdump/esb_using_functions.h -> src/bin/dwarfdump/dd_esb_using_functions.h
modified: src/bin/dwarfdump/dd_sanitized.c
modified: src/bin/dwarfdump/dd_uri.c
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/dwconf.c
modified: src/bin/dwarfdump/glflags.c
modified: src/bin/dwarfdump/globals.h
modified: src/bin/dwarfdump/macrocheck.c
modified: src/bin/dwarfdump/naming.c
modified: src/bin/dwarfdump/print_abbrevs.c
modified: src/bin/dwarfdump/print_aranges.c
modified: src/bin/dwarfdump/print_debug_gnu.c
modified: src/bin/dwarfdump/print_debug_names.c
modified: src/bin/dwarfdump/print_debug_sup.c
modified: src/bin/dwarfdump/print_debugfission.c
modified: src/bin/dwarfdump/print_die.c
modified: src/bin/dwarfdump/print_frames.c
modified: src/bin/dwarfdump/print_gdbindex.c
modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
modified: src/bin/dwarfdump/print_lines.c
modified: src/bin/dwarfdump/print_llex_codes.c
modified: src/bin/dwarfdump/print_loclists.c
modified: src/bin/dwarfdump/print_loclists_codes.c
modified: src/bin/dwarfdump/print_macinfo.c
modified: src/bin/dwarfdump/print_macro.c
modified: src/bin/dwarfdump/print_origloclist_codes.c
modified: src/bin/dwarfdump/print_pubnames.c
modified: src/bin/dwarfdump/print_ranges.c
modified: src/bin/dwarfdump/print_rnglists.c
modified: src/bin/dwarfdump/print_sections.c
modified: src/bin/dwarfdump/print_static_funcs.c
modified: src/bin/dwarfdump/print_static_vars.c
modified: src/bin/dwarfdump/print_str_offsets.c
modified: src/bin/dwarfdump/print_strings.c
modified: src/bin/dwarfdump/print_tag_attributes_usage.c
modified: src/bin/dwarfdump/print_types.c
modified: src/bin/dwarfdump/print_weaknames.c
modified: src/bin/dwarfdump/true_section_name.c
modified: src/bin/tag_attr/Makefile.am
modified: src/bin/tag_attr/tag_attr.c
modified: src/bin/tag_tree/Makefile.am
modified: src/bin/tag_tree/tag_tree.c
modified: test/CMakeLists.txt
modified: test/Makefile.am
modified: test/testesb.c
2021-12-20: David Anderson
commit 31467f0faa0ac37d2b84609fc4e29b8fcb7d73ba
copyright year to 2021.
modified: src/lib/libdwarf/dwarf_form.c
modified: src/lib/libdwarf/dwarf_util.c
2021-12-20: David Anderson
commit 9e59de10790ba8b449eadcf4c8effdfbfed31976
Regenerated with new LLVM content
modified: src/bin/dwarfdump/dwarf_names.c
modified: src/lib/libdwarf/dwarf_names.c
Some new LANG codes. Minor formatting improvements.
modified: src/lib/libdwarf/dwarf.h
Now handling DW_FORM_LLVM_addrx_offset.
modified: src/lib/libdwarf/dwarf_form.c
modified: src/lib/libdwarf/dwarf_util.c
2021-12-19: David Anderson
commit 9cd3621d9250ede5ba259695adb336ab1f252029
Corrected commentary on DW_TAG_template* defines.
modified: dwarf.h
2021-12-18: David Anderson
commit a281874a55a149fd678194348492af5b8d3a13c5
Cobra noticed some possible issues, so here
we simplify the logic and add the
default: case to switches.
modified: src/bin/buildopstab/buildopscounttab.c
modified: src/bin/dwarfexample/dwdebuglink.c
modified: src/bin/dwarfexample/frame1.c
modified: src/bin/dwarfexample/jitreader.c
modified: src/bin/dwarfexample/simplereader.c
Removed some if 0 dead code from here.
modified: src/bin/dwarfexample/findfuncbypc.c
2021-12-18: David Anderson
commit 448e9fbcde0a504324cfdc712036e17b7d309aa7
Removing trailing whitespace and eliminating
duplicated blank lines.
modified: src/lib/libdwarfp/dwarf_pro_frame.h
modified: src/lib/libdwarfp/dwarf_pro_line.h
modified: src/lib/libdwarfp/dwarf_pro_opaque.h
modified: src/lib/libdwarfp/libdwarfp.h
2021-12-18: David Anderson
commit b8efa9f750d381c456de97bd976324da1c0e469c
Eliminating an strncpy, initializing local variable.
modified: src/bin/dwarfdump/dd_regex.c
Moved error handling up a few lines, clarifying
the logic, but not changing the logic.
modified: src/bin/dwarfdump/print_die.c
2021-12-18: David Anderson
commit fb277879ee4cf6155d0776a106cab76948d2f834
latest git log entries now in ChangeLog
modified: ChangeLog
2021-12-18: David Anderson
commit 7b702f45602b4b7a8513c0f421af5476e54c7448
Minor changes based on observations
Cobra made about the source.
No change in what libdwarf does.
modified: dwarf_debugnames.c
modified: dwarf_form.c
modified: dwarf_frame.c
modified: dwarf_macro.c
modified: dwarf_object_detector.c
modified: dwarf_peread.c
Here, also noticed a pointless local variable
and memcpy into and then out of to the real target.
Removed the unneeded lines.
modified: dwarf_xu_index.c
2021-12-18: David Anderson
commit 57ad9b599e4d0f662ca262f0c0804fbc3d325357
More information now.
modified: codingstyle.md
2021-12-18: David Anderson
commit 8081ae04e0d437c80c8720f6c59ab60813fbb2ad
Added commentary.
modified: src/lib/libdwarf/dwarf_leb.c
Now tests more corner cases where more bits
presented than fit in 64bits. Signed and unsigned.
modified: test/dwarf_leb_test.c
2021-12-17: David Anderson
commit f180f6003164b67613369765a2eaba04b0d83f5a
Fixed reference to tsearch directory
for the other tsearch versions available. It's
now in a separate project.
modified: codingstyle.md
2021-12-17: David Anderson
commit b1b95f91ab6dc9503401dd9a8272c5459ec2d92d
Accidental leftover of a term removed.
modified: codingstyle.md
2021-12-17: David Anderson
commit 3286355c73ccdfa2ff726b1097a0f3a3ef443ea9
Refined the text to make it look better.
modified: codingstyle.md
2021-12-17: David Anderson
commit 297cc6c1ee35268f3cf395a116816a78fa9a1cf5
Changed a debug message to just be informative.
modified: dwarfgen/CMakeLists.txt
Removed leftover debug printf lines.
modified: ../lib/libdwarf/dwarf_leb.c
2021-12-17: David Anderson
commit 6949228a8f3e7072969135ae7264e08ef06189c3
Now with the dwarf_safe_strcpy.c and dd_safestrcpy.c
files listed.
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/lib/libdwarf/CMakeLists.txt
New test for safe_strcpy to match the configure test set.
modified: test/CMakeLists.txt
2021-12-17: David Anderson
commit 15b7443b40164e2fcb2d127ed4b28b1060906364
Fixed typos in the test program.
modified: test/test_safe_strcpy.c
2021-12-17: David Anderson
commit bf7a17372b6f6d1bcf39e290dd14979cd6f2bdce
Added new tests that showed errors in decoding
leb or sleb with padding.
modified: test/dwarf_leb_test.c
Corrected leb sleb decoding
modified: src/lib/libdwarf/dwarf_leb.c
2021-12-17: David Anderson
commit 54eec9c3cf737c644a4b4431e68ccdca38509b42
codingstyle.txt renamed and revised as codingstyle.md
modified: Makefile.am
2021-12-17: David Anderson
commit 270a178cf523690f77b6221136074b1d84d4939c
Now we do not need this. See the codingstyle.md
deleted: codingstyle.txt
2021-12-17: David Anderson
commit b0202c0c688a4babe8ceb24668a4660625fbf7d5
Moving to md for the comments
new file: codingstyle.md
2021-12-15: David Anderson
commit 6375d89a48c22c7a9525fecb48bd90b19427ba93
Bringing ChangeLog to have latest git log data.
modified: ChangeLog
2021-12-15: David Anderson
commit 2161cbe6b3d775dbb51f3a2b1c55000b8c961d34
Now this one correct using _dwarf_safe_strcpy
instead of strcat.
modified: gennames.c
2021-12-15: David Anderson
commit 248f171fa5420deb60e03f3a7623c9596e79f899
Removing all dwarfdump and tests of strcpy and strncpy
in favor of dd_safe_strcpy.
DO NOT USE THIS COMMIT.
modified: src/bin/attr_form/Makefile.am
modified: src/bin/attr_form/attr_form_build.c
modified: src/bin/dwarfdump/Makefile.am
modified: src/bin/dwarfdump/command_options.c
modified: src/bin/dwarfdump/compiler_info.c
modified: src/bin/dwarfdump/dd_regex.c
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/dwconf.c
modified: src/bin/dwarfdump/glflags.c
modified: src/bin/dwarfdump/globals.h
modified: src/bin/dwarfdump/print_die.c
modified: src/bin/dwarfdump/print_frames.c
modified: src/bin/dwarfdump/print_macro.c
modified: src/bin/gennames/Makefile.am
modified: src/bin/gennames/gennames.c
modified: src/bin/tag_attr/Makefile.am
modified: src/bin/tag_attr/tag_attr.c
modified: src/bin/tag_tree/Makefile.am
modified: src/bin/tag_tree/tag_tree.c
modified: test/Makefile.am
2021-12-15: David Anderson
commit ed0be6942d79def1b7466369b4ae199346e946a2
Now with dwarf_safe_strcpy.[ch]
modified: src/lib/libdwarf/Makefile.am
All uses of strcpy and strncpy replaced with calls
to _dwarf_safe_strcpy(). Much better fit with
what we do in libdwarf.
modified: src/lib/libdwarf/dwarf_debuglink.c
modified: src/lib/libdwarf/dwarf_debugnames.c
modified: src/lib/libdwarf/dwarf_die_deliv.c
modified: src/lib/libdwarf/dwarf_harmless.c
modified: src/lib/libdwarf/dwarf_line.c
modified: src/lib/libdwarf/dwarf_machoread.c
modified: src/lib/libdwarf/dwarf_macro.c
modified: src/lib/libdwarf/dwarf_macro5.c
modified: src/lib/libdwarf/dwarf_object_read_common.c
modified: src/lib/libdwarf/dwarf_opaque.h
modified: src/lib/libdwarf/dwarf_peread.c
2021-12-15: David Anderson
commit 0456103f5dbe5255b564bdf6d1562ac0ef686bf5
Working version, safely replacing strcpy and strncpy.
modified: src/lib/libdwarf/dwarf_safe_strcpy.c
modified: src/lib/libdwarf/dwarf_safe_strcpy.h
Added access to dwarf_safe_strcpy.[ch] for test_safe_strcpy.c
modified: test/Makefile.am
Added access to dwarf_safe_strcpy.[h]
modified: test/test_errmsglist.c
modified: test/test_linkedtopath.c
New test for _dwarf_safe_strcpy function
new file: test/test_safe_strcpy.c
2021-12-15: David Anderson
commit 489fde55cc5a081b3b2229569e1a37d19a582ed1
Not used yet. Soon to be used.
new file: dwarf_safe_strcpy.c
new file: dwarf_safe_strcpy.h
2021-12-15: David Anderson
commit 544971b70a3daf87c313489e3bb69aef4639a8db
Refined the comments.
modified: dd_safe_strcpy.c
2021-12-15: David Anderson
commit a5f8a1d8d9d5367d41c76b423afe733df38653ea
Replacing the old safe_strcpy shortly.
This is not yet in use.
new file: dd_safe_strcpy.c
new file: dd_safe_strcpy.h
2021-12-14: David Anderson
commit 52c8d9f512abb5c5b5d0b3314eb5b61a64cb67a3
ChangeLog updated from git log
modified: ChangeLog
2021-12-14: David Anderson
commit 7f84ab9a1df3d70e3e3b400bd697439d5ef0ff13
All instances of strcpy calls have been
replaced by _safe_strcpy
modified: src/bin/dwarfdump/print_frames.c
All instances of strcpy calls have been
replaced by _dwarf_safe_strcpy
modified: src/lib/libdwarf/dwarf_debuglink.c
modified: src/lib/libdwarf/dwarf_die_deliv.c
modified: src/lib/libdwarf/dwarf_global.h
modified: src/lib/libdwarf/dwarf_line.c
modified: src/lib/libdwarf/dwarf_macro.c
modified: src/lib/libdwarf/dwarf_macro5.c
modified: src/lib/libdwarf/dwarf_object_read_common.c
modified: src/lib/libdwarf/dwarf_opaque.h
2021-12-14: David Anderson
commit b1f5486b54093afe31fb221ad20c9c431a9ec05e
Now with TRIVIAL_NAMES flag set it uses the latest
safe_strcpy() source from dwarfdump
No more strcpy here at all.
modified: src/bin/dwarfdump/glflags.c
2021-12-14: David Anderson
commit fb762a7089906f75ca3201021cbaca86268d5765
Removing trailing whitespace in everything below.
Fixing a small number of indentation errors.
Removing all use of strcpy() from dwarfdump
modified: src/bin/dwarfdump/attr_form.c
modified: src/bin/dwarfdump/checkutil.c
modified: src/bin/dwarfdump/command_options.c
modified: src/bin/dwarfdump/compiler_info.c
modified: src/bin/dwarfdump/dd_regex.c
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/glflags.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/dwarfdump/print_static_vars.c
modified: src/bin/dwarfdump/true_section_name.c
Just the whitespace/indent fixes
modified: src/lib/libdwarf/dwarf.h
modified: src/lib/libdwarf/dwarf_die_deliv.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_generic_init.c
modified: src/lib/libdwarf/dwarf_global.h
modified: src/lib/libdwarf/dwarf_harmless.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_macro.c
modified: src/lib/libdwarf/dwarf_object_read_common.h
modified: src/lib/libdwarf/dwarf_peread.c
modified: src/lib/libdwarf/dwarf_print_lines.c
modified: src/lib/libdwarf/dwarf_query.c
modified: src/lib/libdwarf/dwarf_ranges.c
modified: src/lib/libdwarf/dwarf_string.c
modified: src/lib/libdwarf/dwarf_tied.c
modified: src/lib/libdwarf/libdwarf.h
2021-12-14: David Anderson
commit a3daaaf0de40c03ba4bdefbe8e76ddc4b9fd665e
Ensuring macro definitions using their args put ()
arount each use.
Add default:break where appropriate.
Simplify checks for DW_DLV_ERROR/NO_ENTRY where
appropriate.
modified: ../../bin/dwarfdump/compiler_info.c
modified: ../../bin/dwarfdump/dd_regex.c
modified: ../../bin/dwarfdump/dwarfdump.c
modified: ../../bin/dwarfdump/print_abbrevs.c
modified: ../../bin/dwarfdump/print_die.c
modified: ../../bin/dwarfdump/print_hipc_lopc_attr.c
modified: ../../bin/dwarfdump/print_static_vars.c
modified: ../../bin/dwarfdump/true_section_name.c
2021-12-14: David Anderson
commit f1fb333b4329cccd73ae12bbe359f99ac577a8c1
Small changes to harden the code as recommended
by cobra. No change in logic, just improving readability.
modified: src/bin/dwarfdump/attr_form.c
modified: src/bin/dwarfdump/checkutil.c
modified: src/bin/dwarfdump/dwarfdump.c
2021-12-14: David Anderson
commit 21b156df60a96c1a7a70f279791669b9d5967695
Now updates dwarf_names in both dwarfdump and
libdwarf directories. Was a bug not to do that.
modified: src/bin/gennames/Makefile.am
Regenerated.
modified: src/bin/dwarfdump/dwarf_names.c
2021-12-14: David Anderson
commit 0ac94309cce195b3bf4810aedf35b572d3874369
Bringing ChangeLog up to date with git log.
modified: ChangeLog
2021-12-14: David Anderson
commit 1b15d2766506a28e47b59d882086f939cd7ab3d0
Using () around uses of the arguments inside macros
with arguments.
Fixing cobra complaints with missing else clause
where that makes sense.
modified: ../../lib/libdwarf/dwarf_elfstructs.h
modified: ../../lib/libdwarf/dwarf_global.h
modified: ../../lib/libdwarf/dwarf_line.h
modified: ../../lib/libdwarf/dwarf_line_table_reader_common.h
modified: ../../lib/libdwarf/dwarf_macho_loader.h
modified: ../../lib/libdwarf/dwarf_opaque.h
modified: ../../lib/libdwarf/dwarf_pe_descr.h
modified: ../../lib/libdwarf/dwarf_tied_decls.h
modified: ../../lib/libdwarf/dwarf_util.h
modified: ../../lib/libdwarf/libdwarf_private.h
2021-12-14: David Anderson
commit 4d5566123c687e1f962af0f6ad14c45fc198c48a
Correcting macros so arguments have () around
argument use inside the macro definition.
Added default: break; to switch statements
for clarity to the reader.
Slight modifications of some DW_DLV_ERROR tests
for greater clarity.
This eliminates all the .c warnings cobra emits
that I think should be eliminated.
modified: src/lib/libdwarf/dwarf_die_deliv.c
modified: src/lib/libdwarf/dwarf_elfread.c
modified: src/lib/libdwarf/dwarf_form_class_names.c
modified: src/lib/libdwarf/dwarf_frame.c
modified: src/lib/libdwarf/dwarf_frame2.c
modified: src/lib/libdwarf/dwarf_harmless.c
modified: src/lib/libdwarf/dwarf_init_finish.c
modified: src/lib/libdwarf/dwarf_line.c
modified: src/lib/libdwarf/dwarf_loc.c
modified: src/lib/libdwarf/dwarf_loclists.c
modified: src/lib/libdwarf/dwarf_machoread.c
modified: src/lib/libdwarf/dwarf_macro.c
modified: src/lib/libdwarf/dwarf_macro5.c
modified: src/lib/libdwarf/dwarf_object_detector.c
modified: src/lib/libdwarf/dwarf_peread.c
2021-12-14: David Anderson
commit 6881dc7f9a6bf89ef4a0a1484a6b4193642045f8
Regenerated with the default: break; in each switch().
modified: src/lib/libdwarf/dwarf_names.c
2021-12-14: David Anderson
commit ae61bd5195410f00ccc5a9d3828d18144f95a4b5
In all the switch() statements we generate here
add a default: break;
to avoid cobra warnings and clarify for the reader
that the code is intentional as written..
modified: src/bin/gennames/gennames.c
2021-12-13: David Anderson
commit 1ff4e2d7c0e79ad0579e73fe7cdec716c9fcf80d
Clearing up some things cobra noted.
Simplifying by unnesting if where nesting was silly
(Involving DW_DLV_ERROR DW_DLV_NO_ENTRY).
Ensuring macros have use of the arguments in ()
Adding default: break; in switch statements
without a default.
Putting for loop control variable updates in the
third part of the for rather than in the body.
modified: src/lib/libdwarf/dwarf_die_deliv.c
modified: src/lib/libdwarf/dwarf_generic_init.c
modified: src/lib/libdwarf/dwarf_peread.c
modified: src/lib/libdwarf/dwarf_print_lines.c
modified: src/lib/libdwarf/dwarf_query.c
modified: src/lib/libdwarf/dwarf_ranges.c
modified: src/lib/libdwarf/dwarf_str_offsets.c
modified: src/lib/libdwarf/dwarf_string.c
modified: src/lib/libdwarf/dwarf_tied.c
The above plus noted the dereference of extension_size
was preceded by testing offset_size in