forked from davea42/libdwarf-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog
More file actions
1904 lines (1463 loc) · 61.6 KB
/
ChangeLog
File metadata and controls
1904 lines (1463 loc) · 61.6 KB
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
2025-08-20: David Anderson
commit 550d3570b2fbebe2f9dd28d7e8df754543a1d45f
When LIBDWARFTEMP is defined change the name
of the temp file to start with junk
to better match what is routine in the regressiontests.
And to something that works just fine with Win msys2.
(in msys2 "/tmp/anything" will not work for open( "wb")
whereas "anything" will work.)
modified: fuzz/fuzz_aranges.c
modified: fuzz/fuzz_crc.c
modified: fuzz/fuzz_crc_32.c
modified: fuzz/fuzz_debug_addr_access.c
modified: fuzz/fuzz_debug_str.c
modified: fuzz/fuzz_debuglink.c
modified: fuzz/fuzz_die_cu.c
modified: fuzz/fuzz_die_cu_attrs.c
modified: fuzz/fuzz_die_cu_attrs_loclist.c
modified: fuzz/fuzz_die_cu_e.c
modified: fuzz/fuzz_die_cu_e_print.c
modified: fuzz/fuzz_die_cu_info1.c
modified: fuzz/fuzz_die_cu_offset.c
modified: fuzz/fuzz_die_cu_print.c
modified: fuzz/fuzz_dnames.c
modified: fuzz/fuzz_findfuncbypc.c
modified: fuzz/fuzz_gdbindex.c
modified: fuzz/fuzz_globals.c
modified: fuzz/fuzz_gnu_index.c
modified: fuzz/fuzz_init_b.c
modified: fuzz/fuzz_init_binary.c
modified: fuzz/fuzz_init_path.c
modified: fuzz/fuzz_macro_dwarf4.c
modified: fuzz/fuzz_macro_dwarf5.c
modified: fuzz/fuzz_rng.c
modified: fuzz/fuzz_set_frame_all.c
modified: fuzz/fuzz_showsectgrp.c
modified: fuzz/fuzz_simplereader_tu.c
modified: fuzz/fuzz_srcfiles.c
modified: fuzz/fuzz_stack_frame_access.c
modified: fuzz/fuzz_str_offsets.c
modified: fuzz/fuzz_tie.c
modified: fuzz/fuzz_xuindex.c
modified: src/lib/libdwarf/libdwarf.h
2025-08-20: David Anderson
commit 06ba15c0576f3747f6bf68eefcaa451519a2d77b
Corrected the project name here to "libdwarf"
modified: doc/Doxyfile
2025-08-14: David Anderson
commit a6a4e37656ac8df696d7fee26c696fcbc6ae0566
Adding release information to places it was
accidentally omitted for previous releases.
modified: bugxml/dwarfbug.html
modified: bugxml/dwarfbug.xml
modified: bugxml/dwarfbuglohi.html
2025-08-09: David Anderson
commit bc1a83a568347519e37fce070d4bc7ea679b5a84
Documenting DW202508-001.
modified: ChangeLog
modified: bugxml/data.txt
2025-08-08: David Anderson
commit 67c26c25f776303c154079a419bab34f29f35547
Regenerated with bug 202508-001
modified: bugxml/dwarfbug.html
modified: bugxml/dwarfbug.xml
modified: bugxml/dwarfbuglohi.html
2025-08-08: David Anderson
commit aedc3c4cebdc84fe1e4b342df18b1b53110df534
Noting bug ossfuzz 437060549 in vulnerabilities.
modified: bugxml/data.txt
2025-08-08: David Anderson
commit efa242489a69b13bc6eedc6766880335ac42d158
Fixing ossfuzz 437060549 .
Also known as DW202508-001.
An addition of offsets was not checked for overflow.
Now we check.
The code has been unsafe (in reading a carefully
corrupted object file) for many years.
The bug was in release 20060308 (March 2006)
(look for MIN_CU_HDR_SIZE).
modified: dwarf_global.c
2025-08-08: David Anderson
commit 2da2b4059e477600e359483bdbcfd9fa492369aa
Previous changes update.
modified: ChangeLog
Now --print-all-srcfiles adds the count of
duplicated (across the entire object) DWARF file names.
modified: src/bin/dwarfdump/dd_all_srcfiles.c
2025-08-08: David Anderson
commit 587e95c21f519b59d11ee7cc34fd61c74058dbec
Removing trailing whitespace,
fixing indents.
modified: src/bin/dwarfdump/dd_all_srcfiles.c
modified: src/bin/dwarfdump/dd_all_srcfiles.h
modified: src/bin/dwarfdump/dd_command_options.c
modified: src/bin/dwarfdump/print_die.c
2025-08-08: David Anderson
commit 55a987c7918bc34c4fb8f5f3ed362c875b08c18e
Adding the dwarfdump option
--print-all-srcfiles
which prints, at the end of a dwarfdump run,
all the sourcefiles named in the DWARF.
This fixes github issue 272.
dd_all_srcfiles.{c,h}
are new and do all the work.
Mentions new file(s)
modified: CMakeLists.txt
Mentions new file(s)
modified: Makefile.am
This does all the work.
modified: dd_all_srcfiles.c
Tidying up formatting
modified: dd_attr_form.c
Implementing the new option.
modified: dd_command_options.c
New internal flag gf_print_all_srcfiles
modified: dd_glflags.c
modified: dd_glflags.h
Nothing, really.
modified: dd_tsearchbal.c
Does final print of the new option
modified: dwarfdump.c
Mentions new file(s)
modified: meson.build
Adds the filenames for later final print
modified: print_die.c
2025-08-07: David Anderson
commit 4d6b01c3a325d1ea52bc5b4b885809cff054da23
New dwarfdump functions.
Not complete yet.
new file: dd_all_srcfiles.c
new file: dd_all_srcfiles.h
2025-08-06: David Anderson
commit 8f82593cff046c28d3687e10348264b191c325ef
Fixing typos c99,c17
modified: test.yml
2025-08-06: David Anderson
commit 9c12914402481483de6746a515c87101ce11263a
Now testing autotools, meson, cmake using
CFLAGS="-std=c99" and c17.
modified: test.yml
2025-08-06: David Anderson
commit 31cf52113189c0a1c1551b66695091f42473483e
test -std=c99 and -std=c17
new file: linuxc99meson.yml
2025-08-06: David Anderson
commit 4569ad202eabf9dbfa82b28937f819fdd690c4da
Now testing c99 and c17
modified: linuxc99autotools.yml
Now testing c99 and c17
new file: linuxc99cmake.yml
modified: test.yml
2025-08-06: David Anderson
commit 0be6609cdff5c7f9941e8fd7730361afe1ad8815
use c99 & c17, c23 not yet availabl
modified: linuxc99autotools.yml
2025-08-05: David Anderson
commit 5e429d5a40fdebb7f53003f03f107d9c250e4a1b
Added c23 test too
modified: linuxc99autotools.yml
2025-08-05: David Anderson
commit 5f3a5f101204a2d54e954c3ddac4f7e5b67556e0
Now with -std
new file: linuxc99autotools.yml
2025-08-05: David Anderson
commit cb0f3248a4ba2d68ed2c2178e2af21adfd533658
Correcting a typo as contents: needs a space before 'read'
modified: freebsd_autotools.yml
2025-08-04: David Anderson
commit 631b42d911819207810bdae36361d55e70f1af6c
Up to date
modified: ChangeLog
2025-08-04: David Anderson
commit dd550f959e0173dff3f91526121d18e291298909
Now documenting use of _GNU_SOURCE
for builds with certain gcc flags set,
such as -std=c99. Some packages that
include and build libdwarf do insert
such options.
modified: README.md
modified: READMEcmake.md
modified: doc/libdwarf.dox
2025-08-04: David Anderson
commit 7f8abdcd9f85ee2be202b90e7bb3632bb256b3dd
Testing revealed that the earlier use of
-D__USE_OPEN_EXTENDED really did not
work though that is what stddef.h wants.
Now uses -D_GNU_SOURCE which has the wanted effect.
Only needed one place to apply everywhere for GNU confiture.
modified: configure.ac
2025-08-04: David Anderson
commit 2cd13a5117337b9557f7ef723e3e58f9c56872cd
Simple in meson. One place with _GNU_SOURCE
modified: meson.build
2025-08-04: David Anderson
commit 63a9c1d19937654b01ad0679f63c55a61c44a748
Getting -D_GNU_SOURCE to appear everywhere properly
took many entries.
Whether we use cmake target_compile_definitions
or target_compile_options is not critical, but
the syntax is not quite identical for these.
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfexample/CMakeLists.txt
modified: src/bin/dwarfexample/dwdebuglink.c
modified: src/lib/libdwarf/CMakeLists.txt
modified: src/lib/libdwarfp/CMakeLists.txt
modified: test/CMakeLists.txt
2025-08-03: David Anderson
commit 252efd134ad37c1f4984ca9644c3b8cc7a7859f9
Up to date with git log
modified: ChangeLog
2025-08-03: David Anderson
commit 57d24c2a571b0218956752e465e1b74ba77a25cf
If a user builds libdwarf/dwarfdump with certain
options (for example -std=c99 ) this results
in a build failure (see github issue #302).
So now we set, and document the
definition of __USE_OPEN_EXTENDED in
all builds to avoid the failure.
modified: README.md
modified: READMEcmake.md
modified: configure.ac
modified: doc/libdwarf.dox
modified: meson.build
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/lib/libdwarf/CMakeLists.txt
2025-08-02: David Anderson
commit e259eb2a3278e520fe62f146a9f5f6ceb7397de0
Added to the list where FORM_block cannot be
a text string.
modified: print_die.c
2025-08-02: David Anderson
commit 509388e64d0d72e2a0f98c38cc8eaf18216f4e90
Now, when a FORM_block
has what looks like a valid text string, add output
with that string preceded by Block As Quoted String followed
by the string value enclosed in ''.
No attempt is made to escape such a quote in the string.
modified: src/bin/dwarfdump/print_die.c
2025-08-02: David Anderson
commit 188f7b7d884c34c3563e14a8cc6e90f9ae0a8368
Now August, changing the line mentioning month name.
modified: bugxml/dwarfbug.html
modified: bugxml/dwarfbuglohi.html
2025-08-02: David Anderson
commit d3c2479f4efe8fbb9cb3b88aae92d2d643526d99
Mention new header 'Block As Quoted String' printed
with some attributes. Eases finding such
instances.
modified: doc/dwarfdump.1
2025-08-01: David Anderson
commit af1093563bcefd41ce4ddca64635902e8c972101
Up to date with latest commits.
modified: ChangeLog
2025-08-01: David Anderson
commit c3909758894e1a8b9eabc64c9830b0465c05aba7
Added DW_FORM_exprloc as a block form per DWARF5 (one place).
modified: src/bin/dwarfdump/print_die.c
2025-08-01: David Anderson
commit a8e69832df00deba4d5fbd62624d91a80cae70ca
Completed the list of attributes that
have exprloc as only, or possible, form.
modified: src/lib/libdwarf/dwarf_query.c
2025-08-01: David Anderson
commit 4ddbda72a7520c302d2f8fabf060205f857a7c18
Removing trailing whitespace.
modified: src/lib/libdwarf/libdwarf.h
2025-07-31: David Anderson
commit 80692811b3ce2d034d57fa664547ba4b012dbce8
Small changes to doxygen comments for more uniformity
and clarity.
modified: src/lib/libdwarf/libdwarf.h
2025-07-31: David Anderson
commit bf4161e124831ffb3ce74e036fb5f26e663f3194
Corrected the new Doxyfile doxygen kind of forced on us.
Now again we get everything.
modified: doc/Doxyfile
modified: doc/libdwarf.dox
modified: doc/libdwarf.pdf
2025-07-30: David Anderson
commit 6276577b665e93d362e567e9678c13c7419fa706
This is a fix for github issue 263 where library build
was failing.
Now including "sys/types.h" whereever off_t used.
modified: src/bin/dwarfgen/dwarfgen.cc
modified: src/lib/libdwarf/dwarf_elfread.c
modified: src/lib/libdwarf/dwarf_seekr.c
Removed horrible typedef of off_t for Windows builds.
modified: src/lib/libdwarf/libdwarf_private.h
2025-07-30: David Anderson
commit 1f7e3e0973bb28966433843a06b2a0e1ebea4617
Now each build mechanism has the same list of
standard headers checked-for in the same order.
The resulting config.h at build time is
does not always show the #defines in the
same order as in these files.
modified: CMakeLists.txt
modified: cmake/config.h.in
modified: configure.ac
modified: meson.build
2025-07-29: David Anderson
commit 6a7a25804cab63566a8b1db5d976f8601effcec1
Up to date.
modified: ChangeLog
2025-07-29: David Anderson
commit da649ae15c061ad51e7b1248f8e32cafdc0aeab8
Changes to be committed:
Implements a new dwarfdump option:
'--print-language-version-table'
which prints the DWARF6 specified values
related to DW_AT_language_version.
It prints the available values as specified in
www.dwarfstd.org , not the usage of such in an object file.
Dwarfdump automatically reports all the details
when reporting DW_AT_language_name and
DW_AT_language_version attributes, no special options required.
modified: src/bin/dwarfdump/dd_command_options.c
modified: src/bin/dwarfdump/dd_glflags.h
modified: src/bin/dwarfdump/dd_globals.h
modified: src/bin/dwarfdump/dd_lvn_table.c
modified: src/bin/dwarfdump/dwarfdump.c
modified: src/bin/dwarfdump/print_die.c
2025-07-29: David Anderson
commit a0ebe21ae4431f31ddacd70e03335e94114270ad
Now the new file dd_lvn_table.c is built.
lvn refers to DWARF6 language version name
modified: src/bin/dwarfdump/CMakeLists.txt
modified: src/bin/dwarfdump/Makefile.am
modified: src/bin/dwarfdump/meson.build
2025-07-29: David Anderson
commit f2928fbd53692dd1c6cf7be1a4388b8e6bd4eaf2
Latest doxygen required update of Doxyfile. Done.
modified: doc/Doxyfile
Now with correct date, today.
modified: doc/libdwarf.dox
2025-07-29: David Anderson
commit 484f2597fed9a4af90ccbe11f5e1130d3d37ff66
All about DWARF6 language_version is now available
and reportable.
Some trailing whitespace removed.
new file: src/bin/dwarfdump/dd_lvn_table.c
modified: src/lib/libdwarf/dwarf_lvn_name.c
modified: src/lib/libdwarf/libdwarf.h
2025-07-28: David Anderson
commit 9c4390966458b4c6f7564d8f8c48159f63758260
More complete reporting on DW_AT_language_version
modified: src/bin/dwarfdump/print_die.c
Now with new API functions
dwarf_lvn_name_direct()
dwarf_lvn_name()
dwarf_lvn_table_entry()
for the language version name values.
modified: src/lib/libdwarf/dwarf_die_deliv.c
modified: src/lib/libdwarf/dwarf_opaque.h
modified: src/lib/libdwarf/dwarf_query.c
modified: src/lib/libdwarf/libdwarf.h
Now with data about DWARF6 DW_AT_language_version
and DW_AT_language name
new file: src/lib/libdwarf/dwarf_lvn_name.c
Build the new source file
modified: src/lib/libdwarf/CMakeLists.txt
modified: src/lib/libdwarf/Makefile.am
modified: src/lib/libdwarf/meson.build
2025-07-27: David Anderson
commit d02b4bebe45a1eb7c6bc340d9e3db8d256d7f1c6
Comments now show the release id for next release of 2.2.0
modified: src/bin/dwarfdump/dwarfdump-af-table-ext.h
modified: src/bin/dwarfdump/dwarfdump-af-table-std.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
2025-07-27: David Anderson
commit 9a0118b12fbe33d5a19765f7604c717535664b3e
Remove trailing spaces and fix indents.
modified: src/lib/libdwarf/dwarf_elfread.c
2025-07-26: David Anderson
commit f3830639c80d00bfba17b73d6f7d99da69ba1ff3
This fixes the Coverity Scan CID 531843 possible
overflow issue by recoding the calculations
for mmap very carefully into a new private
function _dwarf_mmap_calc().
modified: src/lib/libdwarf/dwarf_elfread.c
2025-07-22: David Anderson
commit 06b794b7c0da080b7933223493b89f2512975de7
Was 2.1.0 now is 2.2.0
because will add new functions soon.
modified: CMakeLists.txt
modified: configure.ac
modified: doc/libdwarf.dox
modified: doc/libdwarfp.mm
modified: meson.build
modified: scripts/allsimplebuilds.sh
modified: src/lib/libdwarf/libdwarf.h
modified: tools/makerelease.sh
2025-07-20: David Anderson
commit 1c7ec08565bc5ea8ae952b8ffc1a3ebc77d9cab2
Move packaging status to the end.
modified: README.md
2025-07-20: David Anderson
commit 00de1e28c1c04ee001160ccaf2b1642932eeb91c
Packaged libdwarf by vtorri
modified: README.md
2025-07-19: David Anderson
commit 2fb65851ff757eb8f6f6777954bdfa4bced2911e
Up to date
modified: ChangeLog
2025-07-18: David Anderson
commit 11e987538f2820e2598bec6d18f77c6f90500323
Version for release 2.1.0
modified: doc/libdwarf.pdf
2025-07-17: David Anderson
commit 6b133ed3deb1a871d7289c5a80ae39ca9befeace
All had trailing whitespace.
One or two had an indent error.
modified: src/bin/dwarfdump/print_die.c
modified: src/bin/dwarfgen/ireptodbg.cc
modified: src/lib/libdwarf/dwarf_debugnames.c
modified: src/lib/libdwarf/dwarf_elfread.c
modified: src/lib/libdwarf/dwarf_macro5.c
modified: src/lib/libdwarf/dwarf_query.c
modified: src/lib/libdwarf/libdwarf.h
2025-07-17: David Anderson
commit 42352f2d6bdd517177ccf261537c03a5d0bb18d0
Recording cleanup of a few #if 0 for clarity.
modified: ChangeLog
2025-07-17: David Anderson
commit b0bef35daf7397dbb8447f5fa2e8e7f9e157a94c
Now all #if 0 have a comment explaining why.
modified: src/lib/libdwarf/dwarf_elf_load_headers.c
modified: src/lib/libdwarf/dwarf_generic_init.c
modified: src/lib/libdwarf/dwarf_global.c
modified: src/lib/libdwarf/dwarf_init_finish.c
modified: src/lib/libdwarf/dwarf_line.h
modified: src/lib/libdwarf/dwarf_macro5.c
modified: src/lib/libdwarf/dwarf_object_detector.c
2025-07-17: David Anderson
commit 896bd621035d78a1682a63504579bc83c408b2f2
Changes to be committed:
Updated for release, all changes shown.
modified: ChangeLog
2025-07-17: David Anderson
commit eae750bf66c1b4cb787cfb061a116ba6dbe748d9
July 20 is now official.
modified: doc/libdwarf.dox
2025-07-17: David Anderson
commit 8457e97f361f2aab5a539480a5bcd9fc39139587
Release date and documentation now set 20 July 2025
modified: README.md
modified: doc/libdwarf.dox
2025-07-16: David Anderson
commit fa54975b6a94425f61a0e5c3cf502d871b37827c
coverity scan CID 531843 is a false positive.
There is no real problem though the scan says
overflow is possible in the arithmetic.
The analysis is wrong.
modified: ../../lib/libdwarf/dwarf_elfread.c
2025-07-16: David Anderson
commit 7cff033f87b3458d75cf8aad3da40e81d345cb35
Changes to be committed:
Coverity scan CID 531838. Mem leak.
Free the block h points to here too.
modified: src/lib/libdwarf/dwarf_dsc.c
2025-07-15: David Anderson
commit fa68586b0a310180d2bde8ea9ed8c091c694a12d
Changes to be committed:
Removed duplicate check for level == 0
as coverity scan emitted a warning.
modified: src/bin/dwarfgen/ireptodbg.cc
2025-07-15: David Anderson
commit 140d08c5238be21aeb754426dfd79270c8bd26d1
Fixing Coverity Scan CID 591830, 531842 531840.
Update so DW_DLA_MACRO_CONTEXT
has zero for a destruct
This revision allows coverity to understand
there is no leak.
modified: dwarf_alloc.c
modified: dwarf_debugnames.c
modified: dwarf_errmsg_list.h
ensure the necessary free done in
dwarf_dealloc_macro_context().
Remove source and refs to _dwarf_dealloc_macro_context().
modified: dwarf_macro5.c
modified: dwarf_macro5.h
modified: libdwarf.h
2025-07-07: David Anderson
commit 77064325bb007dfd1b2415ef0496766c27ca01c1
Corrected typos and spelling inconsistencies.
modified: doc/libdwarf.dox
2025-07-07: David Anderson
commit 89e17f52904a70667c964aeada57eac9d5955971
A handful of the corrections to Macos were
wrong. Now fully consistent.
modified: src/lib/libdwarf/libdwarf.h
2025-07-07: David Anderson
commit 605cd1e71cef7a859a2d4ac5914d120292c19030
Up to date.
modified: ChangeLog
2025-07-07: David Anderson
commit 46d7f5cf651bf010c5f71e061ae4a62d73e461b0
Corrected date of the document.
Mention tentative release 20 July 2024.
modified: doc/libdwarf.dox
2025-07-07: David Anderson
commit 14782677e994860707b969ade3f47fc798edccb6
Unified spelling to Macos.
Corrected spelling errors on a few words.
Corrected wording clarifying that
dwarf_language_version_data()
and dwarfsrclanglname_version() returned
string pointers must never be freed or
dealloc'd by library callers.
modified: src/lib/libdwarf/libdwarf.h
2025-07-06: David Anderson
commit d60d790043895728716a06c0f79c85486fead270
explaining the fix to meson.build.
modified: ChangeLog
2025-07-07: MrSmör
commit 6a0ace2b192bd0e3b6c9bb465685280c5e85db8d
Make meson generate a proper pkg-config file when absolute paths (#298)
are specified for includedir and libdir etc.
Showing just one example, the other two lines
are equivalent
Prefix and @0@ are in the output so if @0@ is full path
it does not work, as it has mixed full paths onto prefix.
-pkgconf.set('libdir', '${prefix}/@0@'.format(get_option('libdir')))
A full path in @0@ means (via join_paths) that
the prefix gets dropped (that is, path joining
works sensibly).
+pkgconf.set('libdir', join_paths('${prefix}','@0@'.format(get_option('libdir'))))
modified: meson.build
2025-07-05: David Anderson
commit 6c54cee95eadaa5456db03ac617774de1b0399ee
make rebuild so these files now say (n comments)
they are part of 2.1.0
modified: src/bin/dwarfdump/dwarfdump-af-table-ext.h
modified: src/bin/dwarfdump/dwarfdump-af-table-std.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
2025-07-04: David Anderson
commit 4f073405c2814ae16397935b7a6b9a4dbef90bdc
Up to date.
modified: ChangeLog
2025-07-04: David Anderson
commit 6ecf529a3034c126f4cdf2b46c864f5590048072
Latest version, 2.1.0
modified: doc/libdwarf.pdf
2025-07-03: David Anderson
commit 76009e416585394ef10df1889a49de7c53e80c1a
Now with data from git log on DW_AT_language_name (etc).
modified: ChangeLog
2025-07-03: David Anderson
commit 9a54519688244efa3c52c36f3cf0b605f7cbb902
Documented changes so far for 2.1.0
modified: doc/libdwarf.dox
The API is unchanged. version now 2.1.0.
modified: doc/libdwarfp.mm
2025-07-03: David Anderson
commit 8db56d8e7a5a75f2daa03fd4741e19e2dc4abc8f
Now returns data on DW_AT_language_name
and DW_AT_language_version (from DWARF6) correctly
and fully.
modified: src/lib/libdwarf/dwarf_query.c
2025-07-03: David Anderson
commit 3c7c9df3412a2e485d1380aabd113df95d3179d5
Now prints DW_AT_language_name and DW_AT_language_version
appropriately.
modified: src/bin/dwarfdump/print_die.c
2025-07-03: David Anderson
commit c129e191114e3c28926c22dd77a7fd17d831d337
Now with the complete set of LNAME functions
and improved doxygen comments on LNAME functions.
modified: src/lib/libdwarf/libdwarf.h
2025-07-03: David Anderson
commit b911a58738249deef6372cfb6e068fd647a2bae8
For dwarfdump use, added function get_LNAME_name()
modified: src/bin/dwarfdump/dd_naming.c
modified: src/bin/dwarfdump/dd_naming.h
2025-07-03: David Anderson
commit 5040ea4cf38a70d39fce150ea6c4f4c93f549dcf
Month name changed. July now
modified: bugxml/dwarfbug.html
modified: bugxml/dwarfbuglohi.html
2025-07-03: David Anderson
commit b30f156873af9a88850c6b58e2e081854a4ab7f1
Since DW_AT_language_version has a string value
needed to add it to the relevant switch case.
modified: src/lib/libdwarfp/dwarf_pro_forms.c
2025-07-03: David Anderson
commit f2c38c0138c6e296cefb3e39024b8fe350f00bff
Added a new option to dwarfgen that tells it
to emit DW_AT_language_name and DW_AT_language_version
to the output object if they are not already present.
Needed for testing the handling of those DWARF6
attributes.
modified: src/bin/dwarfgen/dwarfgen.cc
modified: src/bin/dwarfgen/general.h
modified: src/bin/dwarfgen/ireptodbg.cc
2025-07-03: David Anderson
commit f1df1c69c20c61409f521ef3ed0271c2759930e8
Changes to be committed right now
required changing new version from 2.0.1 to 2.1.0
modified: CMakeLists.txt
modified: configure.ac
modified: meson.build
modified: scripts/allsimplebuilds.sh
modified: tools/makerelease.sh
2025-06-21: David Anderson
commit 71240faa5e5fae178b5cddeb009d2eb43a779065
Describing recent changes (from git log)
modified: ChangeLog
2025-06-21: David Anderson
commit bd417fb77cd507c51ea5e611a3c30aef8dbef8e3
Fixed a bug in libdwarf for an unusual use of deebug link.
See Issue 297 (github) for details.
modified: doc/libdwarf.dox
modified: src/lib/libdwarf/dwarf_debuglink.c
modified: src/lib/libdwarf/dwarf_errmsg_list.h
modified: src/lib/libdwarf/dwarf_object_detector.c
modified: src/lib/libdwarf/dwarf_setup_sections.c
modified: src/lib/libdwarf/libdwarf.h
2025-06-06: David Anderson
commit 176f1f043d35a92e19c0d95e43834ebfcc0e769f
An output argument was not sensibly named,
buf -> out_buf
modified: dwarf_object_read_common.c
2025-06-02: David Anderson
commit 91ab2091dea9bbd4eb64c4f88c2b51d3879df527
Correcting indent mistakes.
modified: src/lib/libdwarf/dwarf_init_finish.c
2025-06-02: David Anderson
commit debe7f8bb7926ba230f34be23a3b231c25a9c355
Small preparation for reading in-memory object (if 0 / endif)
and removes seekr readr call to use the
generic (private) function to achieve the same thing.
modified: src/lib/libdwarf/dwarf_object_detector.c
2025-06-02: David Anderson
commit 0b3cb6016fb00a541cfd5ec9b7a721ca30f456d1
Tiny preparation for reading in-memory object. Is #if 0 so
invisible to code.
modified: src/lib/libdwarf/dwarf_object_detector.h
2025-06-02: David Anderson
commit 312c9f10e3bdd59a1e282e0ae85816fc85d05f52
Fixing indent mistakes.
modified: src/lib/libdwarf/dwarf_query.c
2025-06-02: David Anderson
commit 724ca877904f87cae99eb7d9b122ef66d28328c9
Fixing indent mistakes and adding a doxygen
comment referring to dwarf_object_detector
modified: src/lib/libdwarf/libdwarf.h
2025-06-02: David Anderson
commit 5ad8780cf0ab61a7ee292515e6c9fff7942166ec
Correcting indent mistakes.
modified: src/lib/libdwarf/dwarf_generic_init.c
2025-06-02: David Anderson
commit cb14048fb1249574ad1724efa163dca5df91eca4
Corrected spelling error in a comment.
modified: src/lib/libdwarf/dwarf_crc32.c
2025-06-02: David Anderson
commit 396855c397314c6fff710f03a602292165038c4a
Minor changes to Changes wording.
modified: doc/libdwarf.dox
2025-06-02: David Anderson
commit 197c07fe7bd89f8019d952f805a0eacdfd52effe
New month, so these generated files show the new current
month.
modified: bugxml/dwarfbug.html
modified: bugxml/dwarfbuglohi.html
2025-05-31: David Anderson
commit 442cd4f9b094a92ac7b8f493507cd0d4f3e7947a
Minor clarification of libdwarfp/CMakeLists.txt
change
modified: ChangeLog
2025-05-31: David Anderson
commit f89bdb3ed04943f798a16bf6441479ef1fa6b091
Documented fix to libdwarfp/CMakeLists.txt.
modified: doc/libdwarf.dox
Now
target_link_libraries(dwarfp PRIVATE dwarf)
is unconditional. Needed for MSYS2 and APPLE
but accepted everywhere supported.
modified: src/lib/libdwarfp/CMakeLists.txt
2025-05-31: David Anderson
commit 199b24b0258fec5829bec11f369784f8a3c16f9a
Up to date with latest CMakeLists.txt for libdwarfp
modified: ChangeLog
2025-05-31: David Anderson
commit 1ff164059b46b630d05c93a1a44ab8f955ee7b77
Simplification of the fix to github Issue 293.
On current MacOS (as with MSYS2) we need a
target_link_libraries(dwarfp PRIVATE dwarf)
when building shared libdwarfp
modified: src/lib/libdwarfp/CMakeLists.txt
2025-05-31: David Anderson
commit 1c233af544f82acdcf6d1a63acf5cc9a7c660a15
Now all the builds request dwarfgen build too.
Just for completeness, not because it's necessary
(except for running full regression tests).
modified: scripts/allsimplebuilds.sh
2025-05-30: David Anderson
commit ebb64d792278b8f2656e465b7676daa3b5ebd37c
github Issue 293: cmake building dwarfgen and libdwarfp
failed.
The file failed to include three libdwarf files that
needed to be compiled here to expose hidden libdwarf
objects (to the libdwarfp context)
+../libdwarf/dwarf_memcpy_swap.c
+../libdwarf/dwarf_string.c
+../libdwarf/dwarf_tsearchhash.c
In addition added
+if(MINGW OR MSYS OR WIN32)
+ target_link_libraries(dwarfp PRIVATE dwarf)
+endif()
In 1ff164059b46b630d05c93a1a44ab8f955ee7b77 above
simplified to just
+ target_link_libraries(dwarfp PRIVATE dwarf)
Plus, revised the compiler flags settings to make this
as much like the libdwarf CMakeLists.txt as possible:
if (BUILD_SHARED)
- set(COMPILER_FLAGS -DLIBDWARF_BUILD -DPIC)
+ if(NOT BUILD_DWARFGEN)
+ set(CMAKE_C_VISIBILITY_PRESET hidden)
+ endif()
+ set(DEFS LIBDWARF_BUILD PIC)
else()
- set(COMPILER_FLAGS -DLIBDWARF_STATIC)
+ set(DEFS LIBDWARF_STATIC)
endif()
modified: src/lib/libdwarfp/CMakeLists.txt
Now we can build shared-library libdwarfp-2.dll on
msys2.
2025-05-28: David Anderson
commit 3af021f64c698bb87c4b39f911a9612ab0b7b901
Noted removal of compression heuristics
modified: ChangeLog
2025-05-28: David Anderson
commit bd3aaa0c50e698266777e07381dbfe71540a2a52
This removes the only reference to LIBDWARFP_BUILD
in the project. Harmless, but it was never used.
modified: src/lib/libdwarfp/Makefile.am
2025-05-28: David Anderson
commit 2640238cc0a9a41507830b83546ce26f38196471
The heuristics trying to identify a bogus
decompression do not work properly, real
compression ratios can be extreme.
Now eliminated by #if 0
modified: dwarf_init_finish.c
2025-05-27: David Anderson
commit e773c9fe00b27f1a6ea53232546d7de4874b6140
Now up to date.
modified: ChangeLog
2025-05-27: David Anderson
commit 241d7df49baba5203b6fb7b0dbd686384e486741
Clarifying. Minor.
modified: doc/libdwarf.dox
2025-05-27: David Anderson
commit 7ba7e631834563fb5e29fd0b067618eec5999729
Merge: cb0ad9a8 60739f37
Merge branch 'zwilcox-make_libdwarfp_build'
Fixing libdwarfp with dwarfgen build issue
2025-05-26: zwilcox
commit 60739f376b27be9286e8781143ffeebd9e9fe08a
meson build when trying to build libdwarfp. Updating Makefile.am
(correction: this is about autoconf, nothing to
do with meson libdwarfp/Makefile.am)