Debian Codegraph @

ChangeLog

raw
1 2024-11-29: David Anderson
2 commit 0f640f587a66277961bda4aabb44d6637a406f5d
3
4 Added release of 1 Dec 2024
5 modified: README.md
6
7 2024-11-28: David Anderson
8 commit 046aca5f5a5f1fa161752cbc3f87ca0de702bb02
9
10 Fixed an indent.
11 modified: dwarf_errmsg_list.h
12 Removde trailing whitespace.
13 modified: dwarf_opaque.h
14
15 2024-11-28: David Anderson
16 commit 3b2303c76806958cd8e8430b8db1dc034da8d55d
17
18 Coverity scan noted two blocks of
19 structurally dead code in two pretty much
20 identical cases.
21 _dwarf_which_loclists_context
22 _dwarf_which_rnglists_context
23 modified: src/lib/libdwarf/dwarf_loclists.c
24 modified: src/lib/libdwarf/dwarf_rnglists.c
25 Renoved the dead code and realigned the lines
26 to avoid useless indentation.
27
28 2024-11-28: David Anderson
29 commit fc51f91e8a28a1f0d2625f8e962f1c2c176daf29
30
31 Fixing too-long lines and indent mistakes and
32 trailing whitespace.
33 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
34 modified: src/lib/libdwarf/dwarf_loc.c
35 Also removed #if 0 dead code.
36 modified: src/lib/libdwarf/dwarf_loclists.c
37 modified: src/lib/libdwarf/dwarf_rnglists.c
38
39 2024-11-28: David Anderson
40 commit 716db1eee00862c53e6185c8776cbcf6cf55410c
41
42 New internal function _dwarf_has_SECT_fission
43 to unify access .debug_cu/tu_* sections for .debug_rnglilsts
44 and .debug_loclists.
45 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
46 Added prototype for the function.
47 modified: src/lib/libdwarf/dwarf_opaque.h
48
49 Corrected an error report string to ensure it is not identical
50 to another report here.
51 modified: src/lib/libdwarf/dwarf_form.c
52
53 Significan correction for DWARF5 loclists
54 modified: src/lib/libdwarf/dwarf_loc.c
55 modified: src/lib/libdwarf/dwarf_loclists.c
56 Slight modification of library internal function
57 prototype.
58 modified: src/lib/libdwarf/dwarf_loc.h
59
60 Significan correction for DWARF5 rnglists
61 Now rnglists and loclists handling is as similar
62 as possible (or close to it).
63 modified: src/lib/libdwarf/dwarf_rnglists.c
64
65 2024-11-22: David Anderson
66 commit b27b8cbc675db87b4810846c3fdb8e1ffaf3c6e1
67
68 Made the fix for github issue 270
69 about .debug_rnglists in DWARF5.
70 modified: dwarf_rnglists.c
71
72 2024-11-22: David Anderson
73 commit 46c4ebea1a8a66d8a3baddb9cdf3947c214ad4e5
74
75 Corrected trailing whitespace and indents.
76 modified: dwarf_query.c
77
78 2024-11-22: David Anderson
79 commit 48f0da072578076b9f25472cca79609efaa9631a
80
81 Corrected indent mistakes.
82 modified: dwarf_util.c
83
84 2024-11-22: David Anderson
85 commit 324bdd94517465e7d85fdcd1307db2a0e0a7c5ec
86
87 Correcting trailing whitespace.
88 modified: dwarf_generic_init.c
89
90 2024-11-22: David Anderson
91 commit 78ef7b939eb1bf241e29c918f45a4b4c31ea1469
92
93 Fixing trailing whitespace.
94 modified: dwarf_init_finish.c
95
96 2024-11-22: David Anderson
97 commit dd1ed5fd203856cf21555484b74a7714506a3519
98
99 Correcting indents, trailing whitespace and a too-long line.
100 modified: dwarf_die_deliv.c
101
102 2024-11-22: David Anderson
103 commit 3be32bb07bbef37e656d3f485d90d45f529a4521
104
105 Corrected an indent mistake.
106 modified: dwarf_peread.c
107
108 2024-11-22: David Anderson
109 commit 87d534479414c2a43d96fccf60e3203e3172e269
110
111 Adjusting line length to match CODINGSTYLE
112 modified: dwarf_loclists.c
113
114 2024-11-21: Jeremy Rifkin
115 commit 9a9d1725889f679ca3f0f67a0caadffd5b90e271
116
117 Add an export set (#268)
118
119 2024-11-19: David Anderson
120 commit e88395d8f86770dc6a5ec66fedec62438634ab1e
121
122 Adding __debug_names to .debug_names
123 though it is unclear of Apple generates that section.
124 modified: src/lib/libdwarf/dwarf_machoread.c
125
126 2024-11-19: David Anderson
127 commit a7a83e3ef56e68ef2db8699b0fc25cba8740fa92
128
129 DWARF5 MacOS objects have new sections.
130 Adding the name translations so they are seen.
131 + { "__debug_addr", ".debug_addr" },
132 + { "__debug_rnglists", ".debug_rnglists" },
133 + { "__debug_loclists", ".debug_loclists" },
134 + { "__debug_str_offs", ".debug_str_offsets" },
135 + { "__debug_line_str", ".debug_line_str" },
136
137 modified: src/lib/libdwarf/dwarf_machoread.c
138
139 2024-11-16: David Anderson
140 commit de25355d90730eae2e56ecd7aeaa49de87a81480
141
142 Now with all the rnglists fixes in place.
143 modified: ChangeLog
144
145 2024-11-29: David Anderson
146 commit 0f640f587a66277961bda4aabb44d6637a406f5d
147
148 Added release of 1 Dec 2024
149 modified: README.md
150
151 2024-11-28: David Anderson
152 commit 046aca5f5a5f1fa161752cbc3f87ca0de702bb02
153
154 Fixed an indent.
155 modified: dwarf_errmsg_list.h
156 Removde trailing whitespace.
157 modified: dwarf_opaque.h
158
159 2024-11-28: David Anderson
160 commit 3b2303c76806958cd8e8430b8db1dc034da8d55d
161
162 Coverity scan noted two blocks of
163 structurally dead code in two pretty much
164 identical cases.
165 _dwarf_which_loclists_context
166 _dwarf_which_rnglists_context
167 modified: src/lib/libdwarf/dwarf_loclists.c
168 modified: src/lib/libdwarf/dwarf_rnglists.c
169 Renoved the dead code and realigned the lines
170 to avoid useless indentation.
171
172 2024-11-28: David Anderson
173 commit fc51f91e8a28a1f0d2625f8e962f1c2c176daf29
174
175 Fixing too-long lines and indent mistakes and
176 trailing whitespace.
177 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
178 modified: src/lib/libdwarf/dwarf_loc.c
179 Also removed #if 0 dead code.
180 modified: src/lib/libdwarf/dwarf_loclists.c
181 modified: src/lib/libdwarf/dwarf_rnglists.c
182
183 2024-11-28: David Anderson
184 commit 716db1eee00862c53e6185c8776cbcf6cf55410c
185
186 New internal function _dwarf_has_SECT_fission
187 to unify access .debug_cu/tu_* sections for .debug_rnglilsts
188 and .debug_loclists.
189 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
190 Added prototype for the function.
191 modified: src/lib/libdwarf/dwarf_opaque.h
192
193 Corrected an error report string to ensure it is not identical
194 to another report here.
195 modified: src/lib/libdwarf/dwarf_form.c
196
197 Significan correction for DWARF5 loclists
198 modified: src/lib/libdwarf/dwarf_loc.c
199 modified: src/lib/libdwarf/dwarf_loclists.c
200 Slight modification of library internal function
201 prototype.
202 modified: src/lib/libdwarf/dwarf_loc.h
203
204 Significan correction for DWARF5 rnglists
205 Now rnglists and loclists handling is as similar
206 as possible (or close to it).
207 modified: src/lib/libdwarf/dwarf_rnglists.c
208
209 2024-11-22: David Anderson
210 commit b27b8cbc675db87b4810846c3fdb8e1ffaf3c6e1
211
212 Made the fix for github issue 270
213 about .debug_rnglists in DWARF5.
214 modified: dwarf_rnglists.c
215
216 2024-11-22: David Anderson
217 commit 46c4ebea1a8a66d8a3baddb9cdf3947c214ad4e5
218
219 Corrected trailing whitespace and indents.
220 modified: dwarf_query.c
221
222 2024-11-22: David Anderson
223 commit 48f0da072578076b9f25472cca79609efaa9631a
224
225 Corrected indent mistakes.
226 modified: dwarf_util.c
227
228 2024-11-22: David Anderson
229 commit 324bdd94517465e7d85fdcd1307db2a0e0a7c5ec
230
231 Correcting trailing whitespace.
232 modified: dwarf_generic_init.c
233
234 2024-11-22: David Anderson
235 commit 78ef7b939eb1bf241e29c918f45a4b4c31ea1469
236
237 Fixing trailing whitespace.
238 modified: dwarf_init_finish.c
239
240 2024-11-22: David Anderson
241 commit dd1ed5fd203856cf21555484b74a7714506a3519
242
243 Correcting indents, trailing whitespace and a too-long line.
244 modified: dwarf_die_deliv.c
245
246 2024-11-22: David Anderson
247 commit 3be32bb07bbef37e656d3f485d90d45f529a4521
248
249 Corrected an indent mistake.
250 modified: dwarf_peread.c
251
252 2024-11-22: David Anderson
253 commit 87d534479414c2a43d96fccf60e3203e3172e269
254
255 Adjusting line length to match CODINGSTYLE
256 modified: dwarf_loclists.c
257
258 2024-11-21: Jeremy Rifkin
259 commit 9a9d1725889f679ca3f0f67a0caadffd5b90e271
260
261 Add an export set (#268)
262
263 2024-11-19: David Anderson
264 commit e88395d8f86770dc6a5ec66fedec62438634ab1e
265
266 Adding __debug_names to .debug_names
267 though it is unclear of Apple generates that section.
268 modified: src/lib/libdwarf/dwarf_machoread.c
269
270 2024-11-19: David Anderson
271 commit a7a83e3ef56e68ef2db8699b0fc25cba8740fa92
272
273 DWARF5 MacOS objects have new sections.
274 Adding the name translations so they are seen.
275 + { "__debug_addr", ".debug_addr" },
276 + { "__debug_rnglists", ".debug_rnglists" },
277 + { "__debug_loclists", ".debug_loclists" },
278 + { "__debug_str_offs", ".debug_str_offsets" },
279 + { "__debug_line_str", ".debug_line_str" },
280
281 modified: src/lib/libdwarf/dwarf_machoread.c
282
283 2024-11-16: David Anderson
284 commit de25355d90730eae2e56ecd7aeaa49de87a81480
285
286 Now with all the rnglists fixes in place.
287 modified: ChangeLog
288
289 2024-11-16: David Anderson
290 commit 577159d68854f11e58821cc8d42c4f9e547f7cc0
291
292
293 github Issue 267 is now fixed.
294
295 Cleaning up debug printf and ensuring
296 that sanity checks in dwarf_rnglists.c
297 are written correctly.
298 undefining 2 libdwarf variables:
299 DEBUG_RNGLIST
300 DEBUG_PRIMARY_DBG
301 (Neither visible or referred to in libdwarf.h or dwarf.h)
302 as they should not be on in normal use.
303 modified: src/bin/dwarfdump/dwarfdump.c
304 modified: src/bin/dwarfdump/print_rnglists.c
305 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
306 modified: src/lib/libdwarf/dwarf_opaque.h
307 modified: src/lib/libdwarf/dwarf_query.c
308 modified: src/lib/libdwarf/dwarf_rnglists.c
309 modified: src/lib/libdwarf/dwarf_util.c
310
311 2024-11-14: David Anderson
312 commit 7202d80878cb8ff476ab8cf73825a940caadb9ab
313
314 Added a DBG_IS_PRIMARY(dbg) check to know when
315 to merge to primary from secondary.
316 modified: src/lib/libdwarf/dwarf_die_deliv.c
317 Now depends on DEBUG_PRIMARY_DBG to turn on/off
318 debugging functions
319 _dwarf_print_is_primary
320 _dwarf_dump_prim_sec
321 _dwarf_dump_optional_fields
322 COrrected DBG_HAS_SECONDARY macro.
323 modified: src/lib/libdwarf/dwarf_opaque.h
324
325 Corrected the merge fields
326 Removed a bogus test of cc_addr_base_offset_present
327 from _dwarf_merge_all_base_attrs_of_cu_die()
328 modified: src/lib/libdwarf/dwarf_query.c
329 Implementation of debugging
330 function _dwarf_dumpsig() protected
331 by DEBUG_PRIMARY_DBG.
332 modified: src/lib/libdwarf/dwarf_tied.c
333 Added new debug functions protected by thes
334 same macro.
335 _dwarf_dump_optional_fields() is particulary
336 useful for debugging split-dwarf merges.
337 modified: src/lib/libdwarf/dwarf_util.c
338
339 2024-11-14: David Anderson
340 commit ab86377bced3e22fc0de3335dc6c96ad89057fdb
341
342 Corrected as the test for base group is now
343 groupnumber
344 DW_GROUPNUMBER_BASE
345 instead of a simple 1.
346 modified: print_section_groups.c
347
348 2024-11-14: David Anderson
349 commit a7e37e351eb38602ff6948723e13df14135ad1b1
350
351 Shortened two too-long lines.
352 modified: print_die.c
353
354 2024-11-13: David Anderson
355 commit 6c6c905aaeca65721043c664361377b30acb1ba9
356
357 DO NOT USE THIS COMMIT. work continues.
358 Major change in how Dwarf_Debug_s records and names
359 the dbg fields of split-dwarf.
360 modified: src/lib/libdwarf/dwarf_die_deliv.c
361 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
362 modified: src/lib/libdwarf/dwarf_form.c
363 modified: src/lib/libdwarf/dwarf_generic_init.c
364 modified: src/lib/libdwarf/dwarf_init_finish.c
365 Revised naming for split-dwarf to de_primary_dng
366 and de_secondary_dbg, adding HAS_SECONDARY_DGB and
367 other macros so places in the text depending on these
368 names are readily located..
369 modified: src/lib/libdwarf/dwarf_opaque.h
370 modified: src/lib/libdwarf/dwarf_query.c
371 modified: src/lib/libdwarf/dwarf_ranges.c
372 modified: src/lib/libdwarf/dwarf_rnglists.c
373 New small general-purpose debug function added related
374 about split-dwarf objects.
375 modified: src/lib/libdwarf/dwarf_util.c
376
377 2024-11-11: David Anderson
378 commit 76b253aaff46a8df8a3c121b557c956e2828e170
379
380 Renamed de_main.dbg to de_primary_dbg
381 de_tied_dbg to de_secondary_dbg
382 in dwarf_opaque.h and whereever required
383 as those original name were confusing in comments
384 and...well... everywhere.
385
386 modified: ../../lib/libdwarf/dwarf_die_deliv.c
387 modified: ../../lib/libdwarf/dwarf_error.c
388 modified: ../../lib/libdwarf/dwarf_form.c
389 modified: ../../lib/libdwarf/dwarf_generic_init.c
390 modified: ../../lib/libdwarf/dwarf_init_finish.c
391 modified: ../../lib/libdwarf/dwarf_opaque.h
392 modified: ../../lib/libdwarf/dwarf_query.c
393 modified: ../../lib/libdwarf/dwarf_ranges.c
394 modified: ../../lib/libdwarf/dwarf_rnglists.c
395
396 2024-11-10: David Anderson
397 commit f4f6f782a06ab0618861cf0c4474989376c69c76
398
399 With all recent changes noted, including
400 fix for Issue 265 and Issue 266 on github.
401 modified: ChangeLog
402
403 2024-11-09: David Anderson
404 commit c44c0d807acfdda5e22f4e38d44cff7afbde820d
405
406 In new code yesterday we omitted dwarf_dealloc_error()
407 when we were intending to ignore it harmlessly.
408 modified: print_die.c
409
410 2024-11-09: David Anderson
411 commit 1bb1cb5fb93f0ee67e73d395f86e2299a4d08ab6
412
413 Removing debnug-only code
414 modified: src/lib/libdwarf/dwarf_ranges.c
415
416 2024-11-09: David Anderson
417 commit 8874d929daf966b867ad2118fa27e8ab892147cd
418
419 This completes the fixes for github Issue 265
420 Reports .debug_ranges more fully when DWARF4 split-dwarf
421 extension is in use.
422 modified: src/bin/dwarfdump/print_ranges.c
423
424 2024-11-09: David Anderson
425 commit b71911394c4d089e5dc43dafd1f1f1eb7f714d41
426 Now for .debug_ranges does a better job
427 in reporting DWARF4 split-dwarf extension ranges actual locations.
428 modified: src/bin/dwarfdump/print_die.c
429
430 2024-11-09: David Anderson
431 commit 12bae7a6095cb7b78ea558d2c88d062693ad6c02
432
433 Removing some debug code.
434 modified: src/lib/libdwarf/dwarf_ranges.c
435
436 2024-11-09: David Anderson
437 commit f62b865a955f02a560a46ffcef02060fd9cf9f94
438
439 Correcting _dwarf_merge_all_base_attrs_of_cu_die() so split dwarf
440 works properly. Was omitting the inheritance of ranges base offset
441 from the merge of skeleton data.
442 modified: src/lib/libdwarf/dwarf_query.c
443
444 2024-11-09: David Anderson
445 commit e71971a92131e83e9935749dbee4e5aff4ca5e80
446
447 Correct a comment spelling error.
448 modified: src/lib/libdwarf/dwarf_opaque.h
449
450 2024-11-07: David Anderson
451 commit 2db518897e30ea942dc0af0afe677de782a9fe06
452
453 Remove obsolete #if 0 code.
454 modified: dwarf_die_deliv.c
455
456 2024-11-07: David Anderson
457 commit e6148786f5dbf5a2e046de3aec88e1b0fa1fafd2
458
459 Adding checks to complete the
460 fixes for github Issue #266
461 modified: dwarf_rnglists.c
462
463 2024-11-07: David Anderson
464 commit fd5e13a6b5826d1de0588d41b7cbf33b6e466130
465
466 Removed a whitespace character at end of line
467 modified: dwarf_setup_sections.c
468
469 2024-11-07: David Anderson
470 commit 4f4b2e7d459bad59475b0e39f8f0f591aeb8f132
471
472 Removing unusable code (was #if 0)
473 modified: dwarf_tied.c
474
475 2024-11-07: David Anderson
476 commit 54f2e9539521644d0aed8a2d298d6f69e9f811a8
477
478 Cleaning up some unused code.
479 modified: dwarf_ranges.c
480
481 2024-11-07: David Anderson
482 commit 030ffb4c68af2e25232a2cfa02515f1f8a94ec8a
483
484 A port of fixing a crash reading loclists, as shown in github issue #266
485 modified: dwarf_loclists.c
486
487 2024-11-07: David Anderson
488 commit 3353fec2ebc893607128a7054860b20b4fce1c9a
489
490 Adding
491 define DW_DLE_LLE_ERROR 505
492 define DW_DLE_RLE_ERROR 506
493 for new error checks in dwarf_loclists.c dwarf_ranges,c dwarf_rnglists.c
494 Related to github issue #266
495 modified: dwarf_errmsg_list.h
496 modified: libdwarf.h
497
498 2024-11-07: David Anderson
499 commit 2cfd1f75d5accfab505fb18b7e63792354a20270
500
501 Remove #if 0 code. two useless leftovers.
502 modified: dwarf_alloc.c
503
504 2024-11-07: David Anderson
505 commit 963e0392dd33c7314325ea37269addc18f19336e
506
507 A set of changes reflecting corrections following
508 a detailed review of the handling of and
509 correct interpretation of .debug_rnglists
510 and .debug_loclists data.
511 Some errors (not affecting correctness, thankfully)
512 were present.
513
514 Removing a now-unused argument from
515 _dwarf_next_cu_header_internal()
516 and refinement of the test for entry_pc with
517 if (entry_pc_attrnum >= 0 &&
518 cucon->cc_producer == CC_PROD_Apple)
519 And rearrangement of the DW_AT_low_pc vs
520 DW_AT_entry_pc (Apple only) checks
521 modified: src/lib/libdwarf/dwarf_die_deliv.c
522
523 Mainly debug printouts and preparation for
524 a validity check of data read from a DWARF section.
525 modified: src/lib/libdwarf/dwarf_loclists.c
526 Added CC_PROD_Apple for sharpened handling of
527 DW_AT_entry_pc.
528 And new internal function _dwarf_entrypc()
529 modified: src/lib/libdwarf/dwarf_opaque.h
530
531 Refactoring
532 Now dwarf_lowpc() and the new _dwarf_entrypc()
533 use the same implementation code.
534 modified: src/lib/libdwarf/dwarf_query.c
535
536 Lots of ifdefed-out debug printf (to be removed pretty soon)
537 and crucial correction of _dwarf_determine_die_range_offset()
538 to get 'base address' correct.
539 Leaving a superflous argument in dwarf_get_ranges_baseaddress()
540 as the function is public.
541 And corrected its code returning CU base address.
542 Added (void)have_die_ranges_offset; /* FIXME */
543 to avoid compiler issues.
544 modified: src/lib/libdwarf/dwarf_ranges.c
545
546 Some #if 0 code will be deleted very soon.
547 modified: src/lib/libdwarf/dwarf_rnglists.c
548 Ill advised code in _dwarf_loop_reading_debug_info_for_cu()
549 is now #if 0 out. To be deleted very soon.
550 modified: src/lib/libdwarf/dwarf_tied.c
551 Fixed dummy _dwarf_next_cu_header_internal()
552 to reflect the revised internal function prototype.
553 modified: test/test_dwarf_tied.c
554
555 2024-11-07: David Anderson
556 commit ca4ee1438d54c31dcccb5dcec1ff13ba930c133f
557
558 corrected a comment
559 modified: src/lib/libdwarf/dwarf_rnglists.h
560
561 2024-11-07: David Anderson
562 commit ee38cd9b8490d1ca6ca8dcd0e56d7df384360dd4
563
564 Corrected a comment and added a 1-line comment.
565 modified: src/lib/libdwarf/dwarf_loc.c
566
567 2024-11-07: David Anderson
568 commit 5a5426e2642d51cd2a647b1ad251f02a54a70d2c
569
570 Reformatted the call arguments
571 calling dwarf_get_ranges_baseaddress()
572 Added a comment.
573 modified: src/bin/dwarfdump/print_die.c
574
575 2024-11-07: David Anderson
576 commit 9d3224578dcf9c0560c92f1f7c2136280fb3bdee
577
578 October->November in the heading.
579 modified: bugxml/dwarfbug.html
580 modified: bugxml/dwarfbuglohi.html
581
582 2024-11-03: David Anderson
583 commit 62be899578e664f90455f00bffb8e70263d6c8a5
584
585 Report better on what cmake finds about libz zstd
586 modified: CMakeLists.txt
587
588 2024-11-03: David Anderson
589 commit 754d5627c2d2d6f48a7e444fa5173ef447ae0c07
590
591 copyright
592 modified: src/lib/libdwarf/libdwarf.h
593
594 2024-10-29: David Anderson
595 commit 852d30d733099c2c914c0715c0d28a5abb409942
596
597 October
598 modified: bugxml/dwarfbuglohi.html
599
600 2024-10-29: David Anderson
601 commit 4d8560204d189555d021a4bc659d6065692346bf
602
603 October
604 modified: bugxml/dwarfbug.html
605
606 2024-10-21: David Anderson
607 commit 1bedfea64dd349d1638cc0b75ddfa4876b0bce9c
608
609 Small static function both_strings_nonempty() avoids compiler warning
610
611 2024-09-28: David Anderson
612 commit c658d71f036e082ecf0bcfff6613ea24560ad429
613
614 Further refinement of heuristic, distinguishing
615 32bit from 64 bit PE objects in the check.
616 modified: dwarf_peread.c
617
618 2024-09-23: David Anderson
619 commit a095d0db09700bc82411ff776e67a22dbded78e6
620
621 Fix violations of codingstyle:
622 line length, trailing spaces, indent, if(
623 etc.
624 modified: libdwarf/dwarf_debugnames.c
625 modified: libdwarf/dwarf_harmless.c
626 modified: libdwarf/dwarf_line.c
627 modified: libdwarf/dwarf_loc.c
628 modified: libdwarf/dwarf_rnglists.c
629 modified: libdwarf/dwarf_tsearchhash.c
630
631 2024-09-23: David Anderson
632 commit a1ef665e1d2c21fd2555699dea1f442f23fcbfd3
633
634 Another set of violations of codingstandard:
635 trailing whitespace, indent, and line length.
636 modified: src/bin/attr_form/attr_form_build.c
637 modified: src/bin/dwarfdump/print_debug_names.c
638 modified: src/bin/gennames/gennames.c
639 modified: src/bin/tag_attr/tag_attr.c
640 modified: src/bin/tag_tree/tag_tree.c
641
642 2024-09-23: David Anderson
643 commit aa21630b4b119dfdeaf6585cd2353238506293cc
644
645 Fix violations of the codingstandard:
646 removing trailing whitespace, fixing indents
647 and the like.
648 modified: src/bin/dwarfdump/dd_attr_form.c
649 modified: src/bin/dwarfdump/dd_attr_form.h
650 modified: src/bin/dwarfdump/dwarfdump.c
651 modified: src/bin/dwarfdump/print_debug_names.c
652 modified: src/bin/dwarfdump/print_die.c
653 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
654
655 2024-09-19: Keith W. Campbell
656 commit 5108b1862936d67cd8e87af8ca04fcebdebc18c0
657
658 Fix typo in reference to threekey_s (#264)
659
660 Signed-off-by: Keith W. Campbell <[email protected]>
661
662 2024-09-19: David Anderson
663 commit 251c9fa2fdf4b1f4e34c5636503c7846f3481403
664
665 A compiler noted that i, defined at line 197,
666 was set but not used. Deleted i from the function.
667 modified: dwarfdump/dd_attr_form.c
668
669 2024-09-18: David Anderson
670 commit 277a7cf4cb89d893e2e707c556c7e356b89b5b10
671
672 Refactoring common code and removing
673 intermediary calls. 45 less lines of code,
674 no change in behavior.
675 modified: dd_attr_form.c
676 modified: dd_attr_form.h
677
678 2024-09-18: David Anderson
679 commit 26b4f3a18dcff1b2fea79525470c0ee0eae8b7aa
680
681 Rearramge the rebuild: target code to
682 clearly separate std from ext with -af- as is done
683 with -tt- and -ta- .
684 modified: ../attr_form/Makefile.am
685
686 Obsolete, now two tables in the same approach as -tt- and -ta-
687 deleted: dwarfdump-af-table.h
688
689 2024-09-18: David Anderson
690 commit 3f48beb19950621fa245aa8ada98d7cc64ef6eac
691
692 This completes the transition to using struct
693 Three_Key_Entry_s in data trees used with -k
694 dwarfdump options.
695 modified: src/bin/attr_form/attr_form_build.c
696 modified: src/bin/dwarfdump/dd_attr_form.c
697 modified: src/bin/dwarfdump/dwarfdump-af-table-std.h
698
699 2024-09-18: David Anderson
700 commit 94ec65ff66f6b3378ea225bdba1ca5afd6ccc13b
701
702 Removed a bunch of lines with defines that
703 we no longer need or want.
704 modified: src/bin/dwarfdump/dd_tag_common.h
705
706 2024-09-18: David Anderson
707 commit 361ce4593a31d23e11241f56a7ecf480cebb9981
708
709 Added comment on AF_ macros
710 modified: src/bin/dwarfdump/dd_attr_form.h
711
712 2024-09-18: David Anderson
713 commit 053a874577bafc0fa78e6ec5b43dfb62360bff48
714
715 Replacing dwarfdump-af-table.h with two header files, the new
716 standard form for Three_Keys data.
717 modified: src/bin/dwarfdump/CMakeLists.txt
718 modified: src/bin/dwarfdump/Makefile.am
719
720 2024-09-18: David Anderson
721 commit b201e11de54d3e6bc9098801e20b4e75b1ba91b1
722
723 regenerates in the new standard format of Three_Keys
724 modified: src/bin/attr_form/Makefile.am
725 modified: src/bin/attr_form/attr_form_build.c
726
727 2024-09-18: David Anderson
728 commit 312d8fd96da82f3fbb9d08c3097f6827a018c233
729
730 Removing small accidents. rebuild working.
731 modified: src/bin/dwarfdump/dwarfdump-af-table-std.h
732
733 2024-09-18: David Anderson
734 commit 7a9179603e117283e8a1849876b1af4202110054
735
736 Correct content, it seems.
737 modified: src/bin/dwarfdump/dwarfdump-af-table-ext.h
738 modified: src/bin/dwarfdump/dwarfdump-af-table-std.h
739
740 2024-09-18: David Anderson
741 commit 120f8c4fb9b459e7ad2917a6e44a001f502c6a64
742
743 New standard tables for af table data.
744 new file: dwarfdump-af-table-ext.h
745 new file: dwarfdump-af-table-std.h
746
747 2024-09-18: David Anderson
748 commit 4f1096de14d60cf1371e8ddc1ce1eae9daf89288
749
750 Now in the new standard format.
751 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
752 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
753 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
754 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
755
756 2024-09-18: David Anderson
757 commit 058956efeff048c9911ebbd25cf80e4bfc2b3277
758
759 Now producing threekey structs in text for dwarfdump.
760 simpler, faster.
761 modified: src/bin/tag_attr/tag_attr.c
762 modified: src/bin/tag_tree/tag_tree.c
763
764 2024-09-15: David Anderson
765 commit da942e792942fd9b3cf3ec8ff0d8b7ea2a33fb04
766
767 Altered the .debug_names
768 DW_IDX_parent output nessage to reflect the
769 LLVM extension of DW_FORM_flag_present.
770 modified: print_debug_names.c
771
772 2024-09-14: David Anderson
773 commit 3c910e6e99bf2896ece6015ef27a76f8f3acf31a
774
775 Using the latest official coverity build coverityscan discovered
776 12 Defects. These defects are mostly not new, but the detection
777 of them is new!
778 modified: src/bin/dwarfdump/dd_getopt.c
779 modified: src/bin/dwarfdump/dwarfdump.c
780 modified: src/bin/dwarfdump/print_abbrevs.c
781 modified: src/bin/dwarfgen/dg_getopt.cc
782 modified: src/lib/libdwarf/dwarf_debugaddr.c
783 modified: src/lib/libdwarf/dwarf_gnu_index.c
784 modified: src/lib/libdwarf/dwarf_init_finish.c
785 modified: src/lib/libdwarf/dwarf_line.c
786 modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
787 modified: src/lib/libdwarf/dwarf_macro.c
788 modified: src/lib/libdwarf/dwarf_ranges.c
789 modified: src/lib/libdwarfp/dwarf_pro_log_extra_flag_strings.c
790
791 2024-09-13: David Anderson
792 commit 59331dc46ad0063a3032b43c7ea835cddee04cd7
793
794 Removed the flag gf_print_usage_tag_attr_full
795 as no longer relevant (all usage reports are full
796 reports now) and altered the help message
797 and options comments to reflect this.
798
799 modified: src/bin/dwarfdump/dd_command_options.c
800 modified: src/bin/dwarfdump/dd_glflags.c
801 modified: src/bin/dwarfdump/dd_glflags.h
802
803 Ensure that the tag-* bases are initialized
804 when tag-tree (ie, tag-tag) relations are being
805 checked, this has been incorrect for years
806 in that -kt on its own did not work fully or correctly.
807 modified: src/bin/dwarfdump/dwarfdump.c
808
809 2024-09-13: David Anderson
810 commit 0dbe0aeac751c43ffecca656fb5affb7e0c27df4
811
812 Correct a comment related to DW_AT_GNU_locviews.
813 modified: src/bin/dwarfdump/print_die.c
814
815 Remove trailing whitespace and re-insert the
816 call to print_attr_form_usage() that was
817 accidentally lost in the changes to -ku output.
818 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
819
820 2024-09-13: David Anderson
821 commit f2a628dcbad82156ba7f0f1ed226b3173cc0a671
822
823 On two errors change the explanatory string to something
824 specific and hopefully clear.
825 modified: src/lib/libdwarf/dwarf_query.c
826
827 2024-09-13: David Anderson
828 commit a47c324b91546342ce086681139ebbf2c408fdd7
829
830 Now with DW_AT_GNU_locviews we do not emit an error message
831 about the inability to follow the DW_FORM_sec_offset.
832 This requires further work to decide what should be done.
833 modified: src/bin/dwarfdump/dd_trace_abstract_origin_etc.c
834
835 2024-09-13: David Anderson
836 commit 6b75a825fce1fb32ec63250a6fc2850b7ecd09f0
837
838 Fix indents. Remove trailing whitespace
839 modified: src/bin/dwarfdump/dd_attr_form.c
840
841 Adjusted table sizes to match what is required by
842 the tag and attr generation build.
843 modified: src/bin/dwarfdump/dd_tag_common.h
844
845 2024-09-13: David Anderson
846 commit 5e40a44dd5a1cfbb392cab9ecea052a00a599800
847
848 Removed trailing whitespace
849 modified: src/bin/dwarfdump/dd_command_options.c
850
851 2024-09-13: David Anderson
852 commit 7aa87acc8ae13d51d7652a209686f763f4a47de4
853
854 Adding known items to the lists for dwarfdump.
855 modified: src/bin/tag_attr/tag_attr.list
856 modified: src/bin/tag_tree/tag_tree.list
857 modified: src/bin/attr_form/attr_formclass_ext.list
858
859 Regenerated the tables used by dwarfdump.
860 modified: src/bin/dwarfdump/dwarfdump-af-table.h
861 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
862 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
863
864 2024-09-13: David Anderson
865 commit b3241522aada5225ae5a956be99397465723fca9
866
867 Added detailed instructions for MS Visual Studio
868 users on how to eliminate warnings from a build.
869 Works with Win 10 current VS.
870 modified: READMEwin-msys2.md
871
872 2024-09-10: David Anderson
873 commit c0e0da1c436d9e8ae5c805d49000a7d75c1c2c26
874
875 Up to date.
876 modified: ChangeLog
877
878 2024-09-10: David Anderson
879 commit b608cead3f2eee17e962ca970ae5c35805bc3ebd
880 Merge: 96bd4edd 721d3d82
881
882 Merge branch 'threekey'
883 Replaced much of the code generating tag/attr statistics
884 from the dwarfdump -ku option.
885 All these changes are in dwarfdump, none in libdwarf.
886
887 The old approach of generating statistics
888 left out things about non-standard
889 TAGs and ATtributes as it would have been extra work
890 at the time. Now, using dwarf_tsearch and building
891 searchable and sortable data, additional targeted
892 reports become easy to add and update.
893 No doubt more will be added.
894
895 2024-09-10: David Anderson
896 commit 721d3d824976a80ce2c7128e2a123a11d5217ed0
897
898 Removed debug printf
899 modified: dd_attr_form.c
900 modified: print_tag_attributes_usage.c
901
902 2024-09-10: David Anderson
903 commit e175de85d37df08c5b7791a1b5b2636228b7ad44
904
905 Now with more statistics from -ku
906 modified: src/bin/dwarfdump/dd_attr_form.c
907 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
908 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
909
910 Corrected an accidental omission.
911 modified: src/bin/tag_attr/tag_attr.list
912
913 2024-09-10: David Anderson
914 commit f2c1cb8269bdc225ef720d16a73fd15ee63998a7
915
916 DO NOT USE THIS COMMIT
917 Now with the beginnings working (of
918 the new records of usages)
919 modified: src/bin/dwarfdump/dd_attr_form.c
920 modified: src/bin/dwarfdump/dd_attr_form.h
921 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
922 Fixed an old bug in this file: DW_TAG_subprogram listed
923 as a row twice.
924 modified: src/bin/tag_tree/tag_tree.list
925
926 2024-09-10: David Anderson
927 commit 01266626c48005afb15467da74f6bb0d0488982a
928
929 DO NOT USE THIS COMMIT.
930 Contains debug printf and is a step toward the new
931 tag-tree tag-attr reporting.
932 Works but does little but build trees (so far).
933 modified: src/bin/dwarfdump/dd_attr_form.c
934 modified: src/bin/dwarfdump/dd_attr_form.h
935 modified: src/bin/dwarfdump/dd_command_options.c
936 modified: src/bin/dwarfdump/dd_globals.h
937 modified: src/bin/dwarfdump/dd_tag_common.h
938 modified: src/bin/dwarfdump/dwarfdump.c
939 modified: src/bin/dwarfdump/print_die.c
940 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
941
942 2024-09-10: David Anderson
943 commit 839979975aed0a8ccd3319fb489dab64bde10813
944
945 Regenerated
946 modified: dwarfdump/dwarfdump-ta-ext-table.h
947 modified: dwarfdump/dwarfdump-ta-table.h
948 modified: dwarfdump/dwarfdump-tt-table.h
949
950 There were some duplicate entries, tne latest dwarfdump code
951 noticed the errors and quit in 'make rebuild'
952 modified: tag_attr/tag_attr.list
953 modified: tag_attr/tag_attr_ext.list
954 modified: tag_tree/tag_tree.list
955
956 2024-09-01: David Anderson
957 commit 96bd4edd09167a1b4b8776c35c85049a0bfe0150
958
959 OUp to date with git log
960 modified: ChangeLog
961
962 2024-09-01: David Anderson
963 commit 65f52d2e095636571d01e8311cd8610ac1c7260a
964
965 Now dated Sept (changes each month)
966 modified: bugxml/dwarfbug.html
967 modified: bugxml/dwarfbuglohi.html
968
969 2024-09-01: David Anderson
970 commit 84bd9a6f42caacf323d31e403de1f7693df7fd26
971
972 Revising the formatting of the report on the .debug_names
973 section for clarity.
974 modified: src/bin/dwarfdump/print_debug_names.c
975
976 2024-08-31: David Anderson
977 commit d8b55ace8276e2e5eac071adf3dca2edce127dfe
978
979 Adjust debug_name final tables for better look
980 and acurate values.
981 modified: print_debug_names.c
982
983 2024-08-30: David Anderson
984 commit 1038e7c77c0179d181c7a42dea11ee7b96eac1c5
985
986 Fixed error in reading .debug_names
987 (with DW_FORM_ref4 in .debugnames the 4 byte length
988 was counted twice).
989 modified: src/bin/dwarfdump/print_debug_names.c
990 modified: src/bin/dwarfdump/print_die.c
991 modified: src/lib/libdwarf/dwarf_debugnames.c
992
993 2024-08-29: David Anderson
994 commit a2ac6d2b32394812f2397513415587d798f5ce6c
995
996 Updated from gitlog and more.
997 modified: ChangeLog
998
999 2024-08-29: David Anderson
1000 commit 164771d2ed375c2d162ac28f968e4437bebc80f9
1001
1002 With this we complete some fixes:
1003 github issue #259 now reads .debug_rnglists data from
1004 its tied-file.
1005 github issue #260 We now report DW_FORM_flag and DW_FORM_flag_present
1006 when used in .debug_names (DWARF5) and everywhere else.
1007
1008 We altered the (internal) struct Dwarf_Debug_s
1009 with better naming for loclists rnglists fields merged
1010 from a skeleton to the dwp/dwo.
1011
1012 We revised DW_DLV_ERROR reports to always use
1013 the main-object, not the tied-object (if any)
1014 to report errors. Simpler and saver now we
1015 read more from the tied-object. Made possible
1016 by 3 new fields in dwarf_opaque.h (a libdwarf-private
1017 header).
1018
1019 Removed trailing whitespace.
1020 modified: src/bin/dwarfdump/dd_globals.h
1021 modified: src/lib/libdwarf/dwarf_alloc.c
1022 modified: src/lib/libdwarf/dwarf_die_deliv.c
1023 modified: src/lib/libdwarf/dwarf_form.c
1024 modified: src/lib/libdwarf/dwarf_generic_init.c
1025 modified: src/lib/libdwarf/dwarf_line.c
1026 modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
1027 modified: src/lib/libdwarf/dwarf_loclists.c
1028 modified: src/lib/libdwarf/dwarf_opaque.h
1029 modified: src/lib/libdwarf/dwarf_query.c
1030 modified: src/lib/libdwarf/dwarf_rnglists.c
1031 modified: src/lib/libdwarf/dwarf_setup_sections.c
1032
1033 2024-08-29: David Anderson
1034 commit c7054db271ee668aef5ef4eb9fd47fc139ecb36b
1035
1036 Removed all debug printf
1037 modified: src/lib/libdwarf/dwarf_die_deliv.c
1038 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
1039 modified: src/lib/libdwarf/dwarf_query.c
1040 modified: src/lib/libdwarf/dwarf_rnglists.c
1041 modified: src/lib/libdwarf/dwarf_tied.c
1042
1043 2024-08-29: David Anderson
1044 commit 3e364da8aea38a9e8eb22747d3abb7744f121c50
1045
1046 Now we print skeleton .debug_rnglists (DW5)
1047 and .debug_ranges (DW4 extension)
1048 properly, we think.
1049 Many #ifdef TEST_MER code blocks must now be
1050 deleted.
1051 DO NOT USE THIS COMMIT
1052 modified: src/lib/libdwarf/dwarf_die_deliv.c
1053 modified: src/lib/libdwarf/dwarf_form.c
1054 modified: src/lib/libdwarf/dwarf_opaque.h
1055 modified: src/lib/libdwarf/dwarf_rnglists.c
1056 modified: src/lib/libdwarf/dwarf_tied.c
1057 modified: test/test_dwarf_tied.c
1058
1059 2024-08-28: David Anderson
1060 commit c3e72e2da521c6679309056fe4639e4dfcc2d897
1061
1062 Fixes for rnglists with tied-file .debug_rnglists
1063 modified: dwarf_die_deliv.c
1064 modified: dwarf_opaque.h
1065 modified: dwarf_query.c
1066 modified: dwarf_rnglists.c
1067 DO NOT USE THIS COMMIT
1068
1069 2024-08-25: David Anderson
1070 commit faa0ac96241387a662d0aad7a8b68b9a7d2cad37
1071
1072 Now seems to get skeleton data correctly from a tied-file.
1073 Now reads DW_AT_accessibility and DW_FORM_flag
1074 sensibly.
1075 Still with lots of printf (but all #ifdef out).
1076 DO NOT USE THIS COMMIT.
1077 modified: ../../lib/libdwarf/dwarf_debugnames.c
1078 modified: ../../lib/libdwarf/dwarf_die_deliv.c
1079 modified: ../../lib/libdwarf/dwarf_fission_to_cu.c
1080 modified: ../../lib/libdwarf/dwarf_form.c
1081 modified: ../../lib/libdwarf/dwarf_opaque.h
1082 modified: ../../lib/libdwarf/dwarf_query.c
1083 modified: ../../lib/libdwarf/dwarf_tied.c
1084
1085 2024-08-25: David Anderson
1086 commit c2310f8e499725ece9c5fb0af9191315aa8e2ceb
1087
1088 DO NOT USE THIS COMMIT. it is a work in progress.
1089 Contains debug related to DWARF5 rnglists.
1090 modified: src/bin/dwarfdump/print_die.c
1091 Now all DW_DLV_ERROR allocations appear on
1092 the 'main file' errors allocations, never on the tied-file
1093 allocations. Simplifies dealing with reading from the tied-file.
1094 modified: src/lib/libdwarf/dwarf_alloc.c
1095 Lots of temporary debug printf (with ifdefs).
1096 Small but important changes dealing with tied-file.
1097 Includes eliminating de_tied_data.td_tied_object.
1098 modified: src/lib/libdwarf/dwarf_die_deliv.c
1099
1100 Ensures all ERROR instances are on the main-file
1101 error list, even when reading from tied-file.
1102 Changes reflecting the new field de_tied_dbg
1103 modified: src/lib/libdwarf/dwarf_error.c
1104
1105 Changes reflecting the new field de_tied_dbg
1106 Some debug printf (with #ifdef).
1107 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
1108
1109 Now all error deletes use dwarf_dealloc_error().
1110 Changes reflecting the new field de_tied_dbg
1111 modified: src/lib/libdwarf/dwarf_form.c
1112
1113 Big change in dwarf_set_tied_dbg() for correctness
1114 involving the new fields related to de_tied_dbg.
1115 And dwarf_get_tied_dbg().
1116 No change in API.
1117 modified: src/lib/libdwarf/dwarf_generic_init.c
1118
1119 Big changes in dwarf_object_init_b related to
1120 de_tied_dbg and de_errors_dbg etc. No API change.
1121 modified: src/lib/libdwarf/dwarf_init_finish.c
1122
1123 renamed ll_cu_addr_base_present to
1124 ll_cu_addr_base_offset_present and a couple
1125 other fields to reflect the
1126 meaning of the field. Clarifying relationship
1127 to the DWARF5 specification.
1128 modified: src/lib/libdwarf/dwarf_loc.c
1129 modified: src/lib/libdwarf/dwarf_loc.h
1130 modified: src/lib/libdwarf/dwarf_loclists.c
1131
1132 Now all error deletes use dwarf_dealloc_error().
1133 modified: src/lib/libdwarf/dwarf_macro5.c
1134 Renamed cc_addr_base_present
1135 cc_base_address_present for clarity.
1136 Added
1137 struct Dwarf_Debug_s * de_main_dbg;
1138 struct Dwarf_Debug_s * de_tied_dbg;
1139 struct Dwarf_Debug_s * de_errors_dbg;
1140 for simplicity and clarity in handling
1141 main-file and tied-file requirements.
1142 modified: src/lib/libdwarf/dwarf_opaque.h
1143
1144 Renaming
1145 cc_addr_base;
1146 to cc_addr_base_offset
1147 for clarity on the meaning of the field.
1148 Now all error deletes use dwarf_dealloc_error().
1149 Removed de_tied_data.td_tied_object reference
1150 and use de_tied_dbg != de_main_dbg
1151 in its place.
1152 Removed completely an ill-advised #if 0 code block.
1153 Left debug printf in place (within #ifdef)
1154 Added cc_addr_base_offset[_present]
1155 to the fields merged from tied-file to main-file.
1156 modified: src/lib/libdwarf/dwarf_query.c
1157 Now using dbg->de_tied_dbg where needed.
1158 modified: src/lib/libdwarf/dwarf_ranges.c
1159
1160 Using renamed-to rh_cu_addr_base_offset[_present]
1161 where needed.
1162 Left debug printf in place (within #ifdef)
1163 modified: src/lib/libdwarf/dwarf_rnglists.c
1164
1165 renamed two fields to rh_cu_addr_base_offset[_present].
1166 modified: src/lib/libdwarf/dwarf_rnglists.h
1167
1168 Left debug printf in place (within #ifdef)
1169 modified: src/lib/libdwarf/dwarf_tied.c
1170
1171 Deleted -_dwarf_error_mv_s_to_t() as it is no longer
1172 needed due to use of de_errors_dbg instead of plain dbg.
1173 modified: src/lib/libdwarf/dwarf_util.c
1174 modified: src/lib/libdwarf/dwarf_util.h
1175
1176 Fully document dwarf_get_tied_dbg() for the first time.
1177 No change in API.
1178 modified: src/lib/libdwarf/libdwarf.h
1179
1180 2024-08-15: David Anderson
1181 commit 2511d3eea2aff3a570333c3f2cbe0c8520abf91a
1182
1183 Removed an accidental dot (.) character that broke the build.
1184 modified: src/bin/dwarfdump/dd_true_section_name.c
1185
1186 2024-08-15: David Anderson
1187 commit 61d283637eab47b762db58b9d408803d223b3c0c
1188
1189 Updated version to 0.11.1 before doing new work.
1190 modified: CMakeLists.txt
1191 modified: configure.ac
1192 modified: doc/libdwarf.dox
1193 modified: doc/libdwarfp.mm
1194 modified: src/lib/libdwarf/libdwarf.h
1195 modified: tools/makerelease.sh
1196
1197 2024-08-15: David Anderson
1198 commit b3af76c32326cca960ff723e0f0948c689cf174d
1199
1200 Show cflags.
1201 modified: meson.build
1202 sprintf->snprintf
1203 modified: src/bin/dwarfdump/dd_true_section_name.c
1204 sprintf->snprintf (only compiled for debugging).
1205 modified: src/lib/libdwarf/dwarf_util.c
1206
1207 2024-08-15: David Anderson
1208 commit 285d9d34f3e9f56cc1c487d0055f6dc54a9c54a1
1209
1210 Now with date today
1211 modified: doc/libdwarf.pdf
1212
1213 2024-08-15: David Anderson
1214 commit 9bba69fa73f925cc793e5a7456798e46d5a60d8a
1215
1216 Updated document date to today.
1217 modified: doc/libdwarf.dox
1218
1219 2024-08-15: David Anderson
1220 commit 5c2899c95634ac60f7afe65a2ef5b37d1a08f73e
1221
1222 Noted change to scripts/buildandreleasetest.sh
1223 modified: ChangeLog
1224
1225 2024-08-15: David Anderson
1226 commit e65fc8c50072f07fefd1017650c97e7282125e1d
1227
1228 cmake and meson builds here defaulted to shared,
1229 which was not working on MacOS, possibly due to
1230 issues with copying libraries around (without
1231 the proper details for MacOS).
1232 So now we just default all build mechanisms
1233 to be static library builds.
1234 Works on Linux and MacOS without other changes.
1235 modified: scripts/buildandreleasetest.sh
1236
1237 2024-08-14: David Anderson
1238 commit b2a9ab26cadb7f52bab3e91f645d5659ce823f4a
1239
1240 Latest from git log
1241 modified: ChangeLog
1242
1243 2024-08-14: David Anderson
1244 commit 1cf037cb0f990dc904bb6d1e9e2e46d4194c985d
1245
1246 Each file has 1 to 3 trivial casts added and all
1247 involve things whose known range ensures
1248 the change is ok (boolean, address-size, and other known things)..
1249
1250 Changes fix new-ish warnings from MSVC.
1251 modified: src/bin/dwarfdump/dd_uri.c
1252 modified: src/lib/libdwarf/dwarf_debugaddr.c
1253 modified: src/lib/libdwarf/dwarf_generic_init.c
1254 modified: src/lib/libdwarf/dwarf_gnu_index.c
1255 modified: src/lib/libdwarf/dwarf_init_finish.c
1256 modified: src/lib/libdwarf/dwarf_line.c
1257 modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
1258 modified: src/lib/libdwarf/dwarf_loc.c
1259 modified: src/lib/libdwarf/dwarf_setup_sections.c
1260 modified: src/lib/libdwarfp/dwarf_pro_log_extra_flag_strings.c
1261 modified: test/test_dwarfstring.c
1262 modified: test/test_errmsglist.c
1263 modified: test/test_linkedtopath.c
1264
1265 2024-08-10: David Anderson
1266 commit 3c8422df4d775a4d5ed4d7422c35688aeb05ca77
1267
1268 Changed all instances of macro use s follows:
1269 true->TRUE
1270 false->FALSE
1271 and removed the macro defines of true(1) and false(0).
1272 It was really strange to have two different names
1273 for each idea.
1274 The majority of uses were spelled TRUE/FALSE already.
1275 The inconsistent usage was present at least as far back
1276 as 2016.
1277
1278 modified: src/lib/libdwarf/dwarf_arange.c
1279 modified: src/lib/libdwarf/dwarf_base_types.h
1280 modified: src/lib/libdwarf/dwarf_die_deliv.c
1281 modified: src/lib/libdwarf/dwarf_frame.c
1282 modified: src/lib/libdwarf/dwarf_global.c
1283 modified: src/lib/libdwarf/dwarf_line.c
1284 modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
1285 modified: src/lib/libdwarf/dwarf_print_lines.c
1286 modified: src/lib/libdwarf/dwarf_query.c
1287 modified: src/lib/libdwarfp/dwarf_pro_line.h
1288
1289 2024-08-09: David Anderson
1290 commit 9f65ccc57a7597c65e881693d8d129c6ab0b68e3
1291
1292 Latest tiny changes. No logic change.
1293 modified: ChangeLog
1294
1295 2024-08-09: David Anderson
1296 commit 24285c53118e24a620e1004e2025e2c613932b4b
1297
1298 Removing trailing whitespace and fixing a couple
1299 indent mistakes.
1300 modified: dd_trace_abstract_origin_etc.c
1301 modified: print_die.c
1302
1303 2024-08-06: David Anderson
1304 commit e16794254d24364862bfbf54deeaf9de9326dc99
1305
1306 For the 20000 or so regressiontests do larger diff using
1307 cmp as on many systems multiple differences affecting
1308 many tests will be painfully slow. Affects
1309 tests generating text over 30MB (some individual
1310 tests generate 3GB to 5GB of text)..
1311 modified: scripts/run-all-tests.sh
1312
1313 2024-08-05: David Anderson
1314 commit b6140a57f20ce4b3680f10468aeeb0615d5ef296
1315
1316 Adjusted cmake build to use Ninja instead of Unix Makefiles
1317 modified: scripts/buildandreleasetest.sh
1318 Now stops early on fail.
1319 modified: scripts/run-all-tests.sh
1320 New baselines due to output of Refers to:
1321 by dwarfdump.
1322 modified: test/testobjLE32PE.base
1323 modified: test/testuriLE64ELf.base
1324
1325 2024-08-03: David Anderson
1326 commit 52650573c771588ece2d027a623951f2a53f34c9
1327
1328 Now with improvements in checking by dwarfdump.
1329 modified: ChangeLog
1330
1331 2024-08-03: David Anderson
1332 commit 526b8792a274c28a83929dc66c34375b50265415
1333
1334 Now checks and reports on all DIE references, meaning
1335 the DWARF reference class.
1336 Try dwarfdump -ka <someobj>
1337 or even just
1338 dwarfdump -i <someobj>
1339 Before it only checked a subset of references.
1340
1341 modified: print_die.c
1342
1343 2024-08-03: David Anderson
1344 commit 5ef4ae65ccfec51490f46f9cf6c023544fa7cd60
1345
1346 More references are followed and checked for error/recursion.
1347 modified: src/bin/dwarfdump/print_die.c
1348
1349 2024-08-03: David Anderson
1350 commit c768b93dfc4f19faa2ef6a33ab4c3b9881bfe4f5
1351
1352 Up to date with recent changes.
1353 modified: ChangeLog
1354
1355 2024-08-03: David Anderson
1356 commit ec7a5aaf1a9fbcd2780f7d2c7e95cbf5cc8af2ba
1357
1358 Latest.
1359 modified: libdwarf.pdf
1360
1361 2024-08-03: David Anderson
1362 commit 57d39467f624905e6448ef047165cff7643eadc9
1363
1364 Now uses a macro for 0x%08llx clarifying printf on Dwarf_Unsigned.
1365 Also removes an accidental trailing space in printed output.
1366 Also removes trailing whitespace from the code.
1367 modified: checkexamples.c
1368
1369 2024-08-01: David Anderson
1370 commit d7c15b0938b0bfdbbdf2f904c37d789bc46ce50b
1371
1372 Now up to date.
1373 modified: ChangeLog
1374
1375 2024-08-01: David Anderson
1376 commit 2ff13502e25275fdec0318747980a2997b44ef1e
1377
1378 A mistaken printf %lx in examplev
1379 resulted in the printed output looking
1380 strange and wrong. Now uses %llx so
1381 it prints correctly even on a 32bit
1382 system.
1383 modified: doc/checkexamples.c
1384
1385 2024-08-01: David Anderson
1386 commit aa6512dc9f13ed4a6ff745fa633b3e5263e38798
1387
1388 New month so the month reported changes.
1389 modified: bugxml/dwarfbug.html
1390 modified: bugxml/dwarfbuglohi.html
1391
1392 2024-08-01: David Anderson
1393 commit da97110fa0ebdc9377c2a2e213d4da09303cb6b1
1394
1395 In one place in code added yesterday an explicit dealloc
1396 of a Dwarf_Error was omitted. Found by the usual
1397 export NLIZE=y
1398 export SUPPRESSDEALLOCTREE=y
1399 regressiontest.
1400 modified: src/bin/dwarfdump/dd_trace_abstract_origin_etc.c
1401
1402 2024-08-01: David Anderson
1403 commit a8a619644df73191bf82e25780d480a5610ddf34
1404
1405 Now we add the target type to DW_AT_type references
1406 so we have to update these baselines to match
1407 the change in dwarfdump output.
1408 modified: test/test-mach-o-32.base
1409 modified: test/testobjLE32PE.base
1410 modified: test/testuriLE64ELf.base
1411
1412 2024-07-31: David Anderson
1413 commit b72853b5468bc46e00f89fe84457eb3d1e4ddaac
1414
1415 The code refactoed to print attributes:
1416 DW_AT_specification:
1417 DW_AT_abstract_origin:
1418 DW_AT_type:
1419 is now in place and this commit
1420 deletes the lines extracted to the new source file.
1421 modified: src/bin/dwarfdump/print_die.c
1422
1423 2024-07-31: David Anderson
1424 commit 3e5d521cd327af8642ff97eb70a0bf375171a3d6
1425
1426 Factored 300 lines out of print_die.c and
1427 added support to print the name (DW_AT_name)
1428 of the referred-to attribute (if the referred-to
1429 has a DW_AT_name field).
1430 new file: src/bin/dwarfdump/dd_trace_abstract_origin_etc.c
1431
1432 Added the new souce file
1433 modified: src/bin/dwarfdump/CMakeLists.txt
1434 modified: src/bin/dwarfdump/Makefile.am
1435 modified: src/bin/dwarfdump/meson.build
1436
1437 A few functions now are visible throughtout
1438 dwarfdump. Needed due to the refactoring.
1439 modified: src/bin/dwarfdump/dd_globals.h
1440 modified: src/bin/dwarfdump/print_die.c
1441
1442 2024-07-30: David Anderson
1443 commit 5aad8984359ea8d5007e3b279747415b101b626d
1444
1445 Fixing to match project codingstyle.
1446 Remove trailing whitespace.
1447 Fix indents.
1448 Other minor violations.
1449 modified: dwarfdump.c
1450 modified: print_die.c
1451 modified: print_ranges.c
1452
1453 2024-07-30: David Anderson
1454 commit 1f4dae5e7cfb410efbf567de872a3f4aed53573b
1455
1456 Removing trailing whitespace.
1457 Fixing indents to follow project codingstyle.
1458 modified: dwarf_die_deliv.c
1459 modified: dwarf_loclists.h
1460 modified: dwarf_opaque.h
1461 modified: dwarf_ranges.c
1462 modified: dwarf_rnglists.h
1463 modified: libdwarf.h
1464
1465 2024-07-30: David Anderson
1466 commit 1bf563fb648f741a7cbd936f3b989bb9fd9b6b7d
1467 Merge: e85227a2 b58af607
1468
1469 Merge branch 'abstract'
1470 Using the proper dwarf_global_formref_b(),
1471 the original dwarf_global_formref() cannot handle
1472 all of DWARF4
1473
1474 2024-07-30: David Anderson
1475 commit b58af60787c748cfc3b1d0b1c197c6ca48d8e773
1476
1477 Change the original dwarf_global_formref()
1478 to use the current dwarf_global_formref_b()
1479 so things reflect the realities of DWARF4.
1480 modified: print_die.c
1481 modified: print_frames.c
1482
1483 2024-07-31: vtorri
1484 commit e85227a2dc39f304e41ed2894c7101f44305adfb
1485
1486 build: fix arguments order in calloc calls (#258)
1487
1488 2024-07-30: David Anderson
1489 commit 94432777d4719241e877c411f178dc30bccf375e
1490
1491 Updated date
1492 modified: doc/libdwarf.dox
1493
1494 2024-07-30: David Anderson
1495 commit 5865f274adf91ef1ac7464084dd01cd9e0209c03
1496
1497 Improvements to doc of dwarf_get_ranges_baseaddress
1498 modified: src/lib/libdwarf/libdwarf.h
1499
1500 2024-07-28: David Anderson
1501 commit b17c69f4c4e2ae48c38f65db2c8bd9a05382eb04
1502
1503 Updated the bugs fixed today.
1504 modified: bugxml/dwarfbug.html
1505 modified: bugxml/dwarfbug.xml
1506 modified: bugxml/dwarfbuglohi.html
1507
1508 2024-07-28: David Anderson
1509 commit 301d1d08f1a48d2d16cd390046b29c91c7e909c6
1510
1511 Up to date.
1512 modified: ChangeLog
1513
1514 2024-07-28: David Anderson
1515 commit c704bb966f3e62d9d9e7f018f0478c82ecea84b9
1516
1517 Adding git fix id to 70753 and 70763
1518 modified: bugxml/data.txt
1519
1520 2024-07-28: David Anderson
1521 commit 1b79d618bf5aab2bda9be495c531b13e94ae056a
1522
1523 Initial addition of ossfuzz 70753 and ossfuzz 70763
1524 modified: bugxml/data.txt
1525
1526
1527 Fixing ossfuzz 70753 and ossfuzz 70763
1528 by calling an internal version of global_formref_b()
1529 so we can avoid infinite recursion.
1530 The bug here was introduced two days ago in
1531 git id 6b40a0ed378826273080a7b11e7274c2b61d018b
1532 modified: src/lib/libdwarf/dwarf_die_deliv.c
1533
1534 2024-07-27: David Anderson
1535 commit 10e7b7f4ca5f612169e049efe7173bde55c3ebec
1536
1537 Valgrind noticed a situation where in homeify()
1538 we could touch a piece of uninitialized memory. Fixed.
1539 modified: src/bin/dwarfdump/dwarfdump.c
1540
1541 2024-07-27: David Anderson
1542 commit 1719fc4b616eb5eb53ae3b18f3aa274856d4202b
1543
1544 Up to date, with new version 0.11.0
1545 modified: ChangeLog
1546
1547 2024-07-27: David Anderson
1548 commit fdcbe2c75fd8ccbb5bda03520713a21a00c08b1b
1549
1550 Changed release id to 0.11.0 due to new, added, function.
1551 modified: CMakeLists.txt
1552 modified: bugxml/dwarfbug.html
1553 modified: bugxml/dwarfbug.xml
1554 modified: bugxml/dwarfbuglohi.html
1555 modified: configure.ac
1556 modified: doc/libdwarf.dox
1557 modified: doc/libdwarfp.mm
1558 modified: meson.build
1559 modified: src/lib/libdwarf/libdwarf.h
1560 modified: tools/makerelease.sh
1561
1562 2024-07-27: David Anderson
1563 commit f324fd54b584ce7ae5d011572dd84bd15f48d3af
1564
1565 Identifies git fix id now for ossfuzz 70721
1566 DW202407-010
1567 modified: bugxml/data.txt
1568
1569 2024-07-27: David Anderson
1570 commit 46fa96f95e043bac9b98ca6f7a9a542dae8f46cd
1571
1572 Correcting use-after-free with a specific corrupted
1573 DWARF section.
1574 ossfuzz 70721 DW202407-010.
1575 The bug has been in the source for several years.
1576 modified: src/lib/libdwarf/dwarf_die_deliv.c
1577
1578 2024-07-26: David Anderson
1579 commit 6b40a0ed378826273080a7b11e7274c2b61d018b
1580
1581 Using the new API function
1582 modified: doc/checkexamples.c
1583 modified: src/bin/dwarfdump/print_die.c
1584 modified: src/lib/libdwarf/dwarf_die_deliv.c
1585 modified: src/lib/libdwarf/dwarf_opaque.h
1586 Implementing the new API function
1587 dwarf_get_ranges_baseaddress()
1588 modified: src/lib/libdwarf/dwarf_ranges.c
1589
1590 2024-07-26: David Anderson
1591 commit 6c67c2df1408177dd3b3ceba6c9251b136a06504
1592
1593 Adding a new API function:
1594 dwarf_get_ranges_baseaddress()
1595 This simplfies getting correct cooked
1596 addresses for entries from .debug_ranges
1597 (which is in DWARF2,3,4);
1598 modified: src/lib/libdwarf/libdwarf.h
1599
1600 2024-07-23: David Anderson
1601 commit d95ee1f7ddde0bf195109167356157cd1b90746b
1602
1603 Up to date with git log
1604 modified: ChangeLog
1605
1606 2024-07-23: David Anderson
1607 commit 14a9f14d06ce32f3bc156e60740e1ce3d1be25b2
1608
1609 The new code about .debug_ranges had
1610 small leaks when the library was told
1611 not to record or clean-up most memory allocations.
1612 Shown by -fsanitize.
1613
1614 Would not affect most users, but for the few
1615 that use the feature this fixes the issue.
1616 modified: doc/checkexamples.c
1617 modified: src/bin/dwarfdump/print_die.c
1618
1619 2024-07-23: David Anderson
1620 commit f34c3affa79ed7741345b58cc027050bf4884abc
1621
1622 Now up to date with git log.
1623 modified: ChangeLog
1624
1625 2024-07-23: David Anderson
1626 commit 68f5082d293e81ec869ff83deb701d9e92268fa3
1627
1628 The 'examplev()' function reading and showing
1629 .debug_ranges is fully worked out and is
1630 now tested in regressiontests.
1631 modified: doc/checkexamples.c
1632
1633 2024-07-23: David Anderson
1634 commit 7b4e7a71820a2eca6d679d9bd371b4a93fd2f6c5
1635
1636 Cleaned up debugging helper functions (which are #if 0
1637 so not part of the build).
1638 modified: src/lib/libdwarf/dwarf_machoread.c
1639
1640 2024-07-22: David Anderson
1641 commit c51750363a5eef5c15ee8b2fc2d20f4372df8f6f
1642
1643 Fixed a mistake in examplev, .debug_ranges
1644 modified: doc/checkexamples.c
1645
1646 2024-07-21: David Anderson
1647 commit f04ef392df7ec51265d9ea8994e1e80f6a5ee31f
1648
1649 Removed trailing whitespace from one line.
1650 modified: src/lib/libdwarf/dwarf_query.c
1651
1652 2024-07-21: David Anderson
1653 commit 6fdabfb2b11d72d952633faa493ec66db447938d
1654
1655 Added new argument to print_ranges_list_to_extra()
1656 so it can print both raw and cooked values.
1657 modified: src/bin/dwarfdump/dd_esb_using_functions.h
1658
1659 Now calculates and prints Dwarf_Ranges data
1660 with raw and cooked values.
1661 modified: src/bin/dwarfdump/print_die.c
1662
1663 Remove leftover #if 0 debugging blocks of code.
1664 modified: src/bin/dwarfdump/print_loclists.c
1665
1666 Add extra arg to print_ranges_list_to_extra()
1667 appropriately.
1668 modified: src/bin/dwarfdump/print_ranges.c
1669
1670 2024-07-21: David Anderson
1671 commit 9445464f338dc58dac5847d22770e769ad087e29
1672
1673 Now calulates the cooked value of .debug_ranges
1674 and prints both raw and cooked values.
1675 modified: doc/checkexamples.c
1676
1677 New date, some Dwarf_Ranges doc has been updated
1678 in libdwarf.
1679 modified: doc/libdwarf.dox
1680
1681 2024-07-21: David Anderson
1682 commit da5b269cab0058f313d62c89c15d83e0f1dbef4b
1683
1684 An inconsistency in using true vs TRUE
1685 and false vs FALSE is still present but
1686 at least one place acknowledges both.
1687 This should be corrected touse TRUE/FALSE
1688 everywhere.
1689 modified: src/lib/libdwarf/dwarf_base_types.h
1690
1691 2024-07-21: David Anderson
1692 commit ed80e7fd06d43554dcd7bda2f1522b3e24eb57ba
1693
1694 Minor corrections of formatting.
1695 modified: src/lib/libdwarf/dwarf_query.c
1696
1697 2024-07-21: David Anderson
1698 commit 41bab201a0c5e26b56ec2269769ce3f55fac2efa
1699
1700 Added clarifying comment paragraphs about Dwarf_Ranges
1701 modified: src/lib/libdwarf/libdwarf.h
1702
1703 2024-07-16: David Anderson
1704 commit 37dfec2a0d9cacda16d2a27b1a3822ae3f37e635
1705
1706 make git status less noisy.
1707 modified: .gitignore
1708
1709 2024-07-14: David Anderson
1710 commit b66bf7e1fe2b15943b2bb08ac958880bca6df538
1711
1712 Final on the rnglists ossfuzz issues so far.
1713 modified: bugxml/data.txt
1714 modified: bugxml/dwarfbug.html
1715 modified: bugxml/dwarfbug.xml
1716 modified: bugxml/dwarfbuglohi.html
1717
1718 2024-07-10: David Anderson
1719 commit fff358d23488c6442c65495193758a8ff435c3b6
1720
1721 Up to date with git log.
1722 modified: ChangeLog
1723
1724 2024-07-10: David Anderson
1725 commit 34d2ee2dd7eba9af38dcac600a3663bb23c5f7ed
1726
1727 Three new oss-fuzz issues. 70266 70263 70256
1728 modified: data.txt
1729 modified: dwarfbug.html
1730 modified: dwarfbug.xml
1731 modified: dwarfbuglohi.html
1732
1733 2024-07-10: David Anderson
1734 commit 1f3b7ed15a773e89b7d2fddc09efac3144bf3d28
1735
1736 Now with 70246 fixed.
1737 modified: ChangeLog
1738
1739 2024-07-10: David Anderson
1740 commit 593e794c43006e3fa3805cd070f128d61b5b7a4a
1741
1742 New bug entries.
1743 modified: bugxml/data.txt
1744
1745 2024-07-10: David Anderson
1746 commit d7c4efdcc7952b38a237a36ccedf364018e0fb1c
1747
1748 ossfuzz 70246 DW202407-002 fixed.
1749 In reading a .debug_rnglists header a corrupt
1750 value in the offset-count field lead to
1751 a gigantic malloc.
1752 This bug is just a week old.
1753 We now check for a sane value.
1754 modified: src/lib/libdwarf/dwarf_rnglists.c
1755
1756 2024-07-09: David Anderson
1757 commit e2ab28a547ed8a53f2c96a825247a7cc8f7e40bb
1758
1759 Removing esb_append_printf()
1760 which is the last use of *sprintf()
1761 modified: src/bin/dwarfdump/dwarfdump.c
1762 modified: src/bin/dwarfdump/print_macro.c
1763
1764 2024-07-09: David Anderson
1765 commit 906a4428a5d92e17948da4249cfccbe8f5ae8005
1766
1767 ossfuzz 70244 fixed.
1768 DW202407-001
1769 These were bugs intruduced a couple days ago.
1770 The array in Dwarf_Rnglists_Context_s was
1771 not being freed in every situation.
1772 modified: src/lib/libdwarf/dwarf_rnglists.c
1773
1774 2024-07-09: David Anderson
1775 commit 4620365ad3308481928f8d545adb79bdd57c9cc4
1776
1777 Removing esb_append_printf() as it is no
1778 longer necessary.
1779 modified: src/bin/dwarfdump/dd_esb.c
1780 modified: src/bin/dwarfdump/dd_esb.h
1781 Replacing with esb_append_printf_i()
1782 modified: test/test_esb.c
1783
1784 2024-07-09: David Anderson
1785 commit 179c6997ca67f654b78384fddd8135a6ce970851
1786
1787 Updated semantic version to 0.10.2
1788 modified: CMakeLists.txt
1789 modified: configure.ac
1790 modified: doc/libdwarf.dox
1791 modified: doc/libdwarfp.mm
1792 modified: meson.build
1793 modified: src/lib/libdwarf/libdwarf.h
1794
1795 2024-07-09: David Anderson
1796 commit c165590fd07e5f6dec79af5855ccd8f779434154
1797
1798 Added blank line after d= semantic version
1799 so tools/updatesemanticversion.py
1800 works right.
1801 modified: tools/makerelease.sh
1802
1803 Now updates tools/makerelease.sh too
1804 modified: tools/updatesemanticversion.py
1805
1806 2024-07-09: David Anderson
1807 commit 69f85bbdc2717cd4b4e1345d522f6919ae459a44
1808
1809 Now with latest changes.
1810 modified: ChangeLog
1811
1812 2024-07-09: David Anderson
1813 commit e2c8f88ccc962d7a26d8f110687f25f5aebaf902
1814
1815 Fixed trailing whitespace and indents.
1816 Remove debugging #if 0. Corrected comment about
1817 DWARF4 GNU extension split dwarf.
1818 modified: dwarf_die_deliv.c
1819 modified: dwarf_fission_to_cu.c
1820
1821 Remove debugging #if 0
1822 Fixed trailing whitespace and indents.
1823 modified: dwarf_loclists.c
1824
1825 Added in merge of DWARF4 GNU extension cc_ranges_base
1826 from skeleton to dwo/dwp
1827 modified: dwarf_query.c
1828
1829 Corrected comment about
1830 DWARF4 GNU extension split dwarf.
1831 modified: dwarf_ranges.c
1832
1833 Remove debugging #if 0
1834 Fixed trailing whitespace and indents.
1835 modified: dwarf_rnglists.c
1836
1837 2024-07-08: David Anderson
1838 commit 7c67f294febe9af123557b71b933d3656bb38332
1839
1840 Refine the information on rnglists base with
1841 cc_rnglists_base_via_at (similar to loclists)
1842 modified: src/lib/libdwarf/dwarf_die_deliv.c
1843
1844 RNGLISTS now like LOCLISTS
1845 and we remove some pointless cpu cycles
1846 via the second arg to _dwarf_internal_read_loclists_header
1847 _dwarf_internal_read_rnglists_header
1848 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
1849
1850 Add arg to _dwarf_internal_read_loclists_header so
1851 we can save cpu when appropriate.
1852 modified: src/lib/libdwarf/dwarf_loc.h
1853
1854 Refining
1855 _dwarf_internal_read_loclists_header()
1856 and similar to _dwarf_internal_read_rnglists_header()
1857 to rnglists with both using less cpu cycles.
1858 modified: src/lib/libdwarf/dwarf_loclists.c
1859
1860 Refined a comment.
1861 modified: src/lib/libdwarf/dwarf_loclists.h
1862
1863 Added cc_loclists_base_via_at and
1864 cc_rnglists_base_via_at
1865 modified: src/lib/libdwarf/dwarf_opaque.h
1866
1867 Added comment about split dwarf inheritance.
1868 modified: src/lib/libdwarf/dwarf_query.c
1869
1870 Now freeing the modified Dwarf_Rnglists_Context
1871 data and _dwarf_internal_read_rnglists_header() stops
1872 using cpu cycles where the result is ignored.
1873 modified: src/lib/libdwarf/dwarf_rnglists.c
1874
1875 Refined comments on struct Dwarf_Rnglists_Context_s.
1876 modified: src/lib/libdwarf/dwarf_rnglists.h
1877
1878 Refined an 'if 0' to explain what it is for (debugging)..
1879 modified: src/lib/libdwarf/dwarf_tied.c
1880
1881 2024-07-04: David Anderson
1882 commit e465de713388149bc474426e3a740e42f93b0f58
1883
1884 Automatic update, generated file.
1885 modified: bugxml/dwarfbug.html
1886 modified: bugxml/dwarfbuglohi.html
1887
1888 2024-07-01: David Anderson
1889 commit 0af9267f2a25317ec5ed24f71924edef51d89cd2
1890
1891 Minor clarifications.
1892 modified: tools/makerelease.sh
1893
1894 2024-07-01: David Anderson
1895 commit f5c0795fc5de178658ef9fcdc9b2c095f840a182
1896
1897 Minor changes related to latest release name
1898 modified: doc/libdwarf.dox
1899
1900 Removed some comments that were
1901 a bit annoying and unnecessary.
1902 modified: tools/makerelease.sh
1903
1904 2024-07-01: David Anderson
1905 commit 45ef8e2763f65c31b27cc38bed197b84dc1441d4
1906
1907 Final for 0.10.1
1908 modified: ChangeLog
1909
1910 2024-07-01: David Anderson
1911 commit 69be7811dfc1f369ac6799fed96da4ef62ed75a1
1912
1913 Now with 0.10.1, no 0.10.0
1914 modified: README.md
1915
1916 2024-06-30: David Anderson
1917 commit b08aee58b37505b7725e645915e468024e198cd7
1918
1919 Up to date. perhaps ready for 0.10.1 release.
1920 modified: ChangeLog
1921
1922 2024-06-30: David Anderson
1923 commit 47ef4925a0490aa45148b1b109b29069b7368265
1924
1925 Correcting the labeling of the base offset.
1926 -"DW_AT_loclists_base : 0x%"
1927 +"loclists base offset : 0x%"
1928
1929 -"CU DW_AT_rnglists_base : 0x%"
1930 +"rnglists base offset : 0x%"
1931 modified: src/bin/dwarfdump/print_die.c
1932
1933 2024-06-30: David Anderson
1934 commit 72d856ec539db214c518257105346cf61ad478f2
1935
1936 Added these to the EXTRA_DIST list
1937 tools/makerelease.sh \
1938 tools/README \
1939 tools/updatesemanticversion.py \
1940
1941 modified: Makefile.am
1942
1943 Revined the script to be easier to work with.
1944 modified: tools/makerelease.sh
1945
1946 2024-06-30: David Anderson
1947 commit e3f13147ddceec725ce3ca46806f17bf678916ee
1948
1949 Up to date with git log
1950 modified: ChangeLog
1951
1952 2024-06-30: David Anderson
1953 commit 588d757a5048e1c548ab9f9eda7e85744550d64f
1954
1955 Correcting some of the emitted text to use the
1956 release variable here
1957 modified: tools/makerelease.sh
1958
1959 2024-06-29: David Anderson
1960 commit 1fe1e0db743c827e6bf3ef50c0220a90c4132130
1961
1962 The ending report of this script was a bit
1963 awkward-looking. Now entries listed
1964 in a more readable order.
1965 modified: scripts/allsimplebuilds.sh
1966
1967 2024-06-29: David Anderson
1968 commit deeba56ab11c95307a2e4518a7898a2d45d14966
1969
1970 Ommitted the new doc/CMakeLists.txt
1971 entry in doc/Makefile.am
1972 so building a release from 0.10.0
1973 will fail in some builds.
1974
1975 EXTRA_DIST = \
1976 Doxyfile \
1977 +CMakeLists.txt \
1978 mips_extensions.mm \
1979 mips_extensions.pdf \
1980
1981 modified: doc/Makefile.am
1982
1983 2024-06-27: David Anderson
1984 commit cf124de35867f5d18041851922cda301508e1716
1985
1986 Added a Description to the project() command
1987 while reformatting the command a little.
1988 Without interfering with how the version string
1989 appears so tools/updatesemanticversion.py
1990 can still update the version when necessary.
1991 modified: CMakeLists.txt
1992
1993 2024-06-27: David Anderson
1994 commit 595c9edf0e78ccc7c3803fe106ccb45299f947a6
1995
1996 Now up to date, showing the final
1997 0.10.0 git id as well as some
1998 small changes in cmake builds so that
1999 all three build mechanisms create
2000 (on install) a libdwarf.pc with a correct Version:
2001 value. Cmake builds used to leave that field blank.
2002 modified: ChangeLog
2003
2004 2024-06-27: David Anderson
2005 commit 1e6de1c5704a20165f07fefb60e26676aa91c5cf
2006
2007 Version changed to 0.10.1 in anticipation of
2008 a future release.
2009 modified: CMakeLists.txt
2010 modified: configure.ac
2011 modified: doc/libdwarf.dox
2012 modified: doc/libdwarfp.mm
2013 modified: meson.build
2014 modified: src/lib/libdwarf/libdwarf.h
2015
2016 2024-06-27: David Anderson
2017 commit 735137e89261c04500b3262da02fc45d0f21550c
2018
2019 Cmake was not setting Version: in the output libdwarf.pc.
2020 The corrections to the pc.in files required
2021 the tiny change to configure.ac and now
2022 all build mechanisms set Version: in libdwarf.pc
2023 and libdwarfp.pc installed by 'make install'
2024 and its equivalents.
2025 modified: CMakeLists.txt
2026 modified: configure.ac
2027 new file: doc/CMakeLists.txt
2028 modified: src/bin/dwarfdump/CMakeLists.txt
2029 modified: src/lib/libdwarf/CMakeLists.txt
2030 modified: src/lib/libdwarf/libdwarf.pc.in
2031 modified: src/lib/libdwarfp/libdwarfp.pc.in
2032
2033 2024-06-24: David Anderson
2034 commit 289d0d3c69436d897fe4555821a0b9fcfa284503
2035
2036
2037 This is the version 0.10.0 realease final commit.
2038
2039 Changes to be committed:
2040 corrected new release date
2041 modified: README.md
2042
2043 2024-06-24: David Anderson
2044 commit 8ea3c7831a6485585445e3bd545f568ee3fa4e09
2045
2046 UP to date.
2047 modified: ChangeLog
2048
2049 2024-06-24: David Anderson
2050 commit 284f9ca49909d08b9e71592b5ad2ddcc7ab9b9ab
2051
2052 Release date 24 June added
2053 modified: README.md
2054
2055 With release date.
2056 modified: doc/libdwarf.dox
2057 Regenerated.
2058 modified: doc/libdwarf.pdf
2059
2060 2024-06-20: David Anderson
2061 commit aa90b4054945c1f1fdd820611b3a3ed9a45f881d
2062
2063 All the steps updated to match the individual versions.
2064 modified: test.yml
2065
2066 2024-06-20: David Anderson
2067 commit 55056243e5a7b098062fcef20e2284c7605446f0
2068
2069 Now v4 not master in checkout.
2070 modified: msys2_autotools.yml
2071 modified: msys2_cmake.yml
2072 modified: msys2_meson.yml
2073
2074 2024-06-20: David Anderson
2075 commit af60a31c328ce0b370987d9db45c51be13c1b8a2
2076
2077 Now using [email protected]
2078 modified: mac_cmake.yml
2079 modified: mac_meson.yml
2080
2081 2024-06-20: David Anderson
2082 commit cd5d7c3e88a6fc853d9067496861317d961641c4
2083
2084 Now using freebsd 14.0 vm under ubuntu vm
2085 modified: freebsd_meson.yml
2086
2087 2024-06-20: David Anderson
2088 commit 806d7b78f51610c6d0bf16759ff94ed10a78c65c
2089
2090 Changing what it runs-on and version of freebsd
2091 modified: freebsd_cmake.yml
2092
2093 2024-06-20: David Anderson
2094 commit 4323041e38545789e8b5d456c8893c7e38c9192d
2095
2096 trying nested freeb under ubuntu
2097 modified: freebsd_autotools.yml
2098
2099 2024-06-20: David Anderson
2100 commit 8a87cfd3e4d832083713395d24c667e04b5ad471
2101
2102 Now using @v4 and freebsd 14.1
2103 modified: freebsd_autotools.yml
2104 modified: freebsd_cmake.yml
2105 modified: freebsd_meson.yml
2106
2107 2024-06-19: David Anderson
2108 commit c40105af44488a685b9ac7c4ef3e949dc6dea2ed
2109
2110 Import mac autotools changes here.
2111 Now using v4 and adding libtool to brew install
2112 for macos autotools.
2113 modified: test.yml
2114
2115 2024-06-19: David Anderson
2116 commit c4d545ad3b6f3b50d863c1e6aa90d06ee050ae7c
2117
2118 add libtool
2119 modified: mac_autotools.yml
2120
2121 2024-06-19: David Anderson
2122 commit 44ecdc9a6db9181e2f48b4b79d119249eb7dd670
2123
2124 Adding aclocal suggested by autoreconf step error
2125 modified: mac_autotools.yml
2126
2127 2024-06-19: David Anderson
2128 commit 6295679a4c9f68e01ae4f9ee8d2a0927a69ac840
2129
2130 Try V4
2131 modified: mac_autotools.yml
2132
2133 2024-06-19: David Anderson
2134 commit b46cba509b9c1c2f2ee611b8a9d9b5a43235416f
2135
2136 stackoverflow suggests use v4
2137 modified: mac_autotools.yml
2138
2139 2024-06-19: David Anderson
2140 commit eaa94a92e37b35f6bfafa9a75df0fa678891f970
2141
2142 syntax fix
2143 modified: mac_autotools.yml
2144
2145 2024-06-19: David Anderson
2146 commit 36af6b8fdf26a376950ace3d65287d11f8dfa949
2147
2148 Try v4
2149 modified: mac_autotools.yml
2150
2151 2024-06-19: David Anderson
2152 commit 6a7dda9cd8df097d01f1c2010308a1fa0e8b43c4
2153
2154 Another try for this action
2155 modified: mac_autotools.yml
2156
2157 2024-06-19: David Anderson
2158 commit f077d1b9b057621a9bff041ea894d39c04818bb9
2159
2160 Issue with github action.
2161 modified: mac_autotools.yml
2162
2163 2024-06-18: David Anderson
2164 commit ba6cb0daabdbe67c32feeaed366ad57f9f18c0e8
2165
2166 Up to date and correcting git log entry
2167 mentioning 0.19.0 to the correct 0.10.0
2168 modified: ChangeLog
2169
2170 2024-06-18: David Anderson
2171 commit 13a9a4d7ebfe3b099a753ea9f2cfd84ccb4ce6b8
2172
2173 This does, or shows how to do, all we do
2174 when making a release. Currently set
2175 for the release of 0.10.0
2176 new file: tools/makerelease.sh
2177
2178 2024-06-18: David Anderson
2179 commit eedcb528ef0f108b7747018073ca5ba37ef689b1
2180
2181 Due to the addition of dwarf_get_locdesc_entry_e()
2182 we revise the version for the next release to be
2183 (corrected: git log says 0.19.0 which is incorrect)
2184 0.10.0, though this function is not something
2185 library users will find necessary (the
2186 function enables improved dwarfdump reporting
2187 of DWARF5 loclists).
2188 modified: CMakeLists.txt
2189 modified: configure.ac
2190 modified: doc/libdwarf.dox
2191 modified: doc/libdwarfp.mm
2192 modified: meson.build
2193 modified: src/lib/libdwarf/libdwarf.h
2194
2195 2024-06-18: David Anderson
2196 commit 84917197301f5a8751f2aacde16c791950f94098
2197
2198 The text of CMakeLists.txt version has changed, so
2199 needed revising how to update version number.
2200 modified: tools/updatesemanticversion.py
2201
2202 2024-06-17: David Anderson
2203 commit a5108555e6b9d2c3a00a10036315c89d29a9e72c
2204
2205 The mistake was a copy/paste error.
2206 MSVC noticed the error. There are no other
2207 type issues noted by MSVC.
2208 Dwarf_Bool loclists_base_present =
2209 llhead->ll_at_loclists_base_present;
2210 - Dwarf_Bool loclists_base=
2211 + Dwarf_Unsigned loclists_base =
2212 llhead->ll_at_loclists_base;
2213
2214 modified: src/lib/libdwarf/dwarf_loclists.c
2215
2216 2024-06-16: David Anderson
2217 commit 137c06bf9e7f8e112fd2268a9a6a9a367a963dfe
2218
2219 Restoring functionality to this.
2220 The regression tests run with meson now.
2221 modified: scripts/run-all-tests.sh
2222
2223 2024-06-15: David Anderson
2224 commit fb711366c687ba48b5a25cb174dafe7b4df7a564
2225
2226 Issue #247, github libdwarf-code.
2227 Line 14 is missing a required back-tick.
2228 modified: scripts/run-all-tests.sh
2229
2230 2024-06-15: David Anderson
2231 commit 841a502a9990db9c6144491d98fa6815122ec142
2232
2233 Bringing up to date.
2234 modified: ChangeLog
2235
2236 2024-06-15: David Anderson
2237 commit 70b6ecbb1453b1461a6d06422db1ad6217fb55fd
2238
2239 Fix indents and eliminate trailing whitespace.
2240 Reemove #if 0 ... #endif debugging code.
2241 modified: src/bin/dwarfdump/print_die.c
2242 modified: src/bin/dwarfdump/print_loclists.c
2243 modified: src/bin/dwarfdump/print_loclists_codes.c
2244 modified: src/bin/dwarfdump/print_rnglists.c
2245
2246 2024-06-15: David Anderson
2247 commit acf34ff59715665caf986daf8415b7b9d2f5a1e5
2248
2249 Corrected the gitfixid as there was
2250 a use-after-free in new-today code, now fixed.
2251 modified: bugxml/data.txt
2252 modified: bugxml/dwarfbug.html
2253 modified: bugxml/dwarfbug.xml
2254 modified: bugxml/dwarfbuglohi.html
2255
2256 2024-06-15: David Anderson
2257 commit 217d622d8e60760779f7e2483a92ea1170dc2707
2258
2259 Fixing a nasty double free that was caused a few
2260 minutes ago.
2261 modified: ../../lib/libdwarf/dwarf_loclists.c
2262
2263 2024-06-15: David Anderson
2264 commit f141c30cbdb13f5c905b7dece927ee43e57e33e8
2265
2266 New oss fuzz 69639 and 69641 are fixed.
2267 Here identfied as DW202406-001 and DW202406-002
2268 modified: bugxml/data.txt
2269 modified: bugxml/dwarfbug.html
2270 modified: bugxml/dwarfbug.xml
2271 modified: bugxml/dwarfbuglohi.html
2272
2273 2024-06-15: David Anderson
2274 commit b3d86e3e2d33d2ba1ec7e0064531010553ef056a
2275
2276 Remove debug printf (was #if 0 ... #endif)
2277 Fixed DW202406-001 ossfuzz 69639
2278 and
2279 DW202406-002 ossfuzz 69641
2280 The bug in reading DWARF5 .debug_loclists was
2281 in the code for a couple weeks.
2282 modified: src/lib/libdwarf/dwarf_loclists.c
2283
2284 2024-06-15: David Anderson
2285 commit 86fe1d9cf6cb3d688c92d1004e7a8d76abeeeb48
2286
2287 Added a comment to clarify what the chain free
2288 is accessing so a change requiring a different
2289 free() is easy to find in the code.
2290 modified: src/lib/libdwarf/dwarf_rnglists.c
2291
2292 2024-06-15: David Anderson
2293 commit 42bd2b1b4db2dbc6ed866d310ab9b1d1d77eef41
2294
2295 Remove trailing whitespace.
2296 modified: src/lib/libdwarf/dwarf_loc.c
2297
2298 2024-06-14: David Anderson
2299 commit b6534aab238baf7eb852f88ea3398f8fe6ab5c70
2300
2301 Adding two lines of commentary.
2302 modified: dwarf_fission_to_cu.c
2303
2304 2024-06-13: David Anderson
2305 commit e5fe01a0899f36652668f3d7fbacc3be417cfc16
2306
2307 Updated, now we have rnglists and loclists handled
2308 correctly. There is some #if 0 debug code to remove
2309 but all is working.
2310 modified: ChangeLog
2311
2312 2024-06-13: David Anderson
2313 commit 32d832900ebe2e61ec07e82625a561415be05424
2314
2315 Ensured local alloc freed in oad_xu_loclists_into_cucontext
2316 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
2317
2318 Now adds a loclists DWARF5 offset table directly
2319 into lc_offset_value_array so need not be read
2320 again.
2321 In case of error assure that local allocations
2322 are free-d.
2323 modified: src/lib/libdwarf/dwarf_loclists.c
2324
2325 2024-06-12: David Anderson
2326 commit 2f4f932b6f420c9783a05e9d964c0a3eb9b288ae
2327
2328 Added improved sanity checks reading loclists.
2329 Now buildss the lc_offset_value_array
2330 on initial scan (for later use).
2331 modified: src/lib/libdwarf/dwarf_loclists.c
2332
2333 2024-06-12: David Anderson
2334 commit 4380c51d20f62ab1627eccd18723bdd4dfb0a372
2335
2336 Implemented spelling change ld_kind to ld_lkind
2337 modified: src/lib/libdwarf/dwarf_loc.c
2338
2339 2024-06-12: David Anderson
2340 commit 50c1941419f5b638512b3998e8207182cff4f98d
2341
2342 In dwarf_formref() we correct the reading
2343 of DW_FORM_loclistx and DW_FORM_rnglistx
2344 to read a uleb. Been wrong since 2022 at least..
2345 Another spot reading these had it right all along.
2346 modified: src/lib/libdwarf/dwarf_form.c
2347
2348 2024-06-12: David Anderson
2349 commit 1522f914695132dccccd368fd2970396b1435a98
2350
2351 Correct a comment to name loclists instead of rnglists.
2352 modified: src/bin/dwarfdump/print_loclists.c
2353
2354 2024-06-12: David Anderson
2355 commit 76dd670473e3da501a8f9cfb723a054ad631ae2b
2356
2357 Some #if 0 debug code here will be removed.
2358 adds an argument print_ll_offsets_table()
2359 for more detailed printing of loclists.
2360 For .debug_loclists we improve the format and information
2361 with new detail.
2362 modified: src/bin/dwarfdump/print_die.c
2363
2364 2024-06-12: David Anderson
2365 commit c81229cb76d865b60aff9c8b5719a282b31de946
2366
2367 Doumented a new Change entry,
2368 dwarf_get_locdesc_entry_e() for the convenience of
2369 reporting (from dwarfdump).
2370 dwarf_get_locdesc_entry_d() continues to
2371 be fine to use,
2372 you likely don't need to see the extra field reported
2373 by dwarf_get_locdesc_entry_e().
2374
2375 modified: doc/libdwarf.dox
2376
2377 2024-06-12: David Anderson
2378 commit a8310ce5648774a8253674ddfe631df2884a4772
2379
2380 Renamed ll_kind to ll_lkind as it names a DW_LKIND value
2381 Renamed ld_kind to ld_lkind as it names a DW_LKIND value
2382 modified: src/lib/libdwarf/dwarf_loc.h
2383
2384 Added lc_offset_value_array so the values need not
2385 be reread from the section (when the values needed
2386 for DW_FORM_loclistx.
2387 modified: src/lib/libdwarf/dwarf_loclists.h
2388
2389 2024-06-08: David Anderson
2390 commit 121996d449b57b2979a9f1048d50df0163890454
2391
2392 Up to date with loclists rnglists correction.
2393 modified: ChangeLog
2394
2395 2024-06-08: David Anderson
2396 commit bedc0b778696812bf996574eec50987c7ae0b1e5
2397
2398 Revises the dwarfdump reporting of debug_loclists to clarify
2399 the dwarf 5 debug_loclists structure content.
2400 The --print-raw-loclists option is more useful now.
2401
2402 Revises the dwarfdump reporting of debug_rnglists to clarify
2403 the dwarf 5 debug_rnglists structure content.
2404 The --print-raw-rnglists option is more useful now.
2405
2406 These changes also make it possible (depending
2407 on the size of .debug_rnglists/loclists!) to
2408 verify DW_FORM_rnglistx DW_FORM_loclistx are valid.
2409
2410 modified: src/bin/dwarfdump/dd_globals.h
2411 modified: src/bin/dwarfdump/print_die.c
2412 modified: src/bin/dwarfdump/print_loclists.c
2413 modified: src/bin/dwarfdump/print_loclists_codes.c
2414 modified: src/bin/dwarfdump/print_rnglists.c
2415
2416 2024-06-08: David Anderson
2417 commit e26f4c260d8af1714fe85013dc1a47c3fbcee680
2418
2419 dwarf_get_locdesc_entry_e() added to API, it returns
2420 one more field (the byte count of a loclist entry) than
2421 dwarf_get_locdesc_entry_d() for the benefit of dwarfdump
2422 reporting. Not of general interest.
2423
2424 Corrects .debug_loclists handling.
2425
2426 modified: src/lib/libdwarf/dwarf_loc.c
2427 modified: src/lib/libdwarf/dwarf_loc.h
2428 modified: src/lib/libdwarf/dwarf_loclists.c
2429 modified: src/lib/libdwarf/libdwarf.h
2430
2431 2024-06-05: David Anderson
2432 commit 83b516940cd2ac5e8437ad6fcdea9c2c225a47b4
2433
2434 In certain error cases the revised rnglists code
2435 was failing to dwarf_dealloc_error() where
2436 necessary. This problem is just a couple days old,
2437 was introduced in the rnglists changes..
2438 Found by -fsanitize
2439 modified: src/lib/libdwarf/dwarf_rnglists.c
2440
2441 2024-06-05: David Anderson
2442 commit cafee35c785f549a716f67ff6bdf942b704ee189
2443
2444 Added required include of new header dwarf_loclists.h
2445 modified: src/lib/libdwarf/dwarf_fission_to_cu.c
2446
2447 2024-06-05: David Anderson
2448 commit a556f7af38bfd171bc266ef588af0971e97f0047
2449
2450 renoved the declaration of a function used in rnglists
2451 that is no longer visible outside dwarf_rnglists.c
2452 modified: src/lib/libdwarf/dwarf_opaque.h
2453
2454 2024-06-05: David Anderson
2455 commit c725987b4b58f31689e352b91611fa7d9c592bba
2456
2457 Removed Dwarf_Loclists_Context_s, it is now
2458 in dwarf_loclists.h
2459 modified: src/lib/libdwarf/dwarf_loc.h
2460
2461 2024-06-05: David Anderson
2462 commit 1c41cf803d3b6c6bf5ae844c3598b5f1fd3ee169
2463
2464 Correcting a typo, restoring project style.
2465 modified: src/bin/dwarfdump/print_die.c
2466
2467 2024-06-05: David Anderson
2468 commit 8df1e989f3bf55668af09d25dd21347f01fba6d2
2469
2470 Updated the output format of --print-raw-loclists
2471 to be more useful and to essentially match the rnglists
2472 version.
2473 modified: src/bin/dwarfdump/print_loclists.c
2474
2475 2024-06-05: David Anderson
2476 commit f16e5b82fa5cb9feb442fdef633579e6f02e2e58
2477
2478 Separated out part of loclists data structs to
2479 be a better match with dwarf_rnglists.h
2480 And added the new file so configure and cmake
2481 know about it. Meson takes care of this itself.
2482 modified: src/lib/libdwarf/CMakeLists.txt
2483 modified: src/lib/libdwarf/Makefile.am
2484 new file: src/lib/libdwarf/dwarf_loclists.h
2485
2486 2024-06-04: David Anderson
2487 commit b70abb30dc9fdd196be4e159078548eef9cb9050
2488
2489 Corrected calculations related to rnglists array of offsets
2490 (were calling entries address size when they are offset size).
2491 Corrected handling of the 'implicit DW_AT_ranges_base'
2492 that can be emitted if there is just a single table
2493 of rnglist RLE sequences.
2494 modified: src/lib/libdwarf/dwarf_rnglists.c
2495
2496 2024-06-04: David Anderson
2497 commit d03f71b2b38430d0c07e1254cf32b8d6fe27aa84
2498
2499 Added dumper functions for certain structures
2500 related to rnglists. They are #if 0
2501 except during debugging.
2502 modified: src/lib/libdwarf/dwarf_die_deliv.c
2503
2504 2024-06-04: David Anderson
2505 commit 4896e61b4581b03bed5e949be3700099e615da8c
2506
2507 Removed trailing whitespace.
2508 modified: src/lib/libdwarf/dwarf_tied.c
2509
2510 2024-06-04: David Anderson
2511 commit 85c920eb718ff73b7615fa50e14582a4a99b3d7f
2512
2513 Removed some lines related to merging skeleton and split,
2514 they were wrong. debug_rnglists and debug_rnglists.dwo
2515 *_base fields must not be merged.
2516 modified: src/lib/libdwarf/dwarf_query.c
2517
2518 2024-06-04: David Anderson
2519 commit 9f3cfd466a150d67228db8deea56eab2a0b9570e
2520
2521 Reworded comments for clarity.
2522 modified: src/lib/libdwarf/dwarf_rnglists.h
2523
2524 2024-06-04: David Anderson
2525 commit feafa70fae4c140a407f406c1ad101556b421be6
2526
2527 Reordered cc_rnglists_base;
2528 ane
2529 cc_rnglists_base_contr_size;
2530 fields to make it easier to comprehend.
2531 Added one new internal function related to rnglists
2532 which function will surely get removed very soon.
2533 modified: src/lib/libdwarf/dwarf_opaque.h
2534
2535 2024-06-04: David Anderson
2536 commit 4d6077c3d4096f8f8d2ead4c4d9df3bbc6557195
2537
2538 Removed trailing whitespace.
2539 modified: src/lib/libdwarf/dwarf_debugaddr.h
2540
2541 2024-06-04: David Anderson
2542 commit 40889a3841ad94e7eb61e96681031c0eb3dcfd83
2543
2544 Removed one line of a pair of blank lines.
2545 modified: src/lib/libdwarf/dwarf.h
2546
2547 2024-06-04: David Anderson
2548 commit 168be5fba32b76ca99293544cf217d98ae970319
2549
2550 A small improvement in formatting: shorter line.
2551 modified: src/bin/dwarfdump/print_rnglists.c
2552
2553 2024-06-04: David Anderson
2554 commit 20ed45faf857d5d28520eb327a4df29c0d70852c
2555
2556 Improved the format of the output from --print-raw-rnglists,
2557 making it easier to read and easier to verify
2558 as sensible.
2559 modified: src/bin/dwarfdump/print_rnglists.c
2560
2561 2024-06-03: David Anderson
2562 commit 0f64042ea4763737787f390cbdfc0a85c1580f0a
2563
2564 Normal update, vulnerabilities report now dated June.
2565 modified: bugxml/dwarfbug.html
2566 modified: bugxml/dwarfbuglohi.html
2567
2568 2024-05-28: David Anderson
2569 commit 113726e89a785b3adc682d9ff2b5f95345fb299a
2570
2571 With a Split Full object and its skeleton object
2572 the loop intended to find the relevant skeleton CU
2573 by a signature (Dwarf_Sig8)
2574 was stopping its CU loop too soon due to a bug created
2575 when the code was written for DWARF 5.
2576 So the target CU was never located.
2577 The loop is now correct.
2578 modified: src/lib/libdwarf/dwarf_tied.c
2579
2580 2024-05-27: David Anderson
2581 commit e7eaa054885d17131dc568036bbcf602d9bab4a6
2582
2583 Remove trailing whitespace
2584 modified: src/lib/libdwarf/dwarf_debugaddr.c
2585 modified: src/lib/libdwarf/dwarf_form.c
2586
2587 2024-05-27: David Anderson
2588 commit e1280075db965a10a07952e692153fc0d7716f64
2589
2590 Now up to date from git log
2591 modified: ChangeLog
2592
2593 2024-05-27: David Anderson
2594 commit 654fbed827a8e70cfe07adafa9380839bfdb8ef7
2595
2596 To avoid a warning about ' PROJECT VERSION not set ' in
2597 building with meson,
2598 add the following lines (each in its proper place)
2599 +config_h.set_quoted('PROJECT_VERSION', meson.project_version())
2600
2601 +pkgconf.set('PROJECT_VERSION', meson.project_version())
2602
2603 modified: meson.build
2604
2605 2024-05-27: David Anderson
2606 commit d2b133c3eeb1dd32efd525999ba979b9d677e9ba
2607
2608 New code line got warning from MSVC. Fixed.
2609 - address_size = dbg->de_debug_addr_address_size;
2610 + address_size = (Dwarf_Small)dbg->de_debug_addr_address_size;
2611 modified: src/lib/libdwarf/dwarf_debugaddr.c
2612
2613 2024-05-27: David Anderson
2614 commit 0e06bf6f333393ee871f91822482d21eb1e00569
2615
2616 So make dist works again.
2617
2618 -libdwarf.pc.cmake \
2619 +libdwarf.pc.in \
2620 modified: src/lib/libdwarf/Makefile.am
2621
2622 -libdwarfp.pc.cmake \
2623 +libdwarfp.pc.in \
2624 modified: src/lib/libdwarfp/Makefile.am
2625
2626 2024-05-27: David Anderson
2627 commit 7513fdec7589339e147bde4dcce60078e62e7826
2628
2629 Changed cmake/config.h.cmake to
2630 cmake/config.h.in as that name was
2631 recently changed so cmake shared library builds
2632 worked properly.
2633 modified: Makefile.am
2634
2635 2024-05-27: David Anderson
2636 commit 0bdecb161756e8ec58fdb8eb39f680095acfa426
2637
2638 Refined the doxygen comment on dwarf_debug_addr_table().
2639 modified: src/lib/libdwarf/libdwarf.h
2640
2641 2024-05-27: David Anderson
2642 commit 31431a6d0aa400773f6b5efe96a331fde1d8490e
2643
2644 Updated words on the .debug_addr table
2645 when in DWARF4 in the GNU extension format.
2646 modified: doc/libdwarf.dox
2647 modified: src/lib/libdwarf/libdwarf.h
2648
2649 2024-05-27: David Anderson
2650 commit 1f54d6bc42f97226bbfd9232f4ae9cad16329a7b
2651
2652 Refining the -h output about --print-debug-addr
2653 when reporting on DWARF4.
2654 modified: src/bin/dwarfdump/dd_command_options.c
2655
2656 2024-05-27: David Anderson
2657 commit 731832c08f22a80a706431b0df0014c3c42a08b2
2658
2659 Commentary added on printing .debug_addr where
2660 it is the DWARF4 GNU extension of .debug_addr.
2661 modified: doc/libdwarf.dox
2662
2663 2024-05-27: David Anderson
2664 commit 6d7ca552fe91bb67c0d6cc4a785f0397fb7a0072
2665
2666 Now, for DWARF4 GNU .debug_addr extension we
2667 create a table so we can print the raw
2668 section sensibly from dwarfdump.
2669 modified: dwarf_debugaddr.c
2670 modified: dwarf_debugaddr.h
2671
2672 2024-05-27: David Anderson
2673 commit 4e2916e4b9920c4c37859e077aeefd843735c986
2674
2675 Initialize the three new fields in Dwarf_Debug_s
2676 used for DWARF5 GNU extension .debug_addr printing.
2677 modified: dwarf_die_deliv.c
2678
2679 2024-05-27: David Anderson
2680 commit b979381e7ec7a34dd89f2e2b3f8ebaea4cda9ea3
2681
2682 Added
2683 Dwarf_Half de_debug_addr_version;
2684 Dwarf_Half de_debug_addr_offset_size;
2685 Dwarf_Half de_debug_addr_address_size;
2686 to Dwarf_Debug_s so we can print DWARF4
2687 GNU .debug_addr extension data with no API change.
2688 modified: dwarf_opaque.h
2689
2690 2024-05-27: David Anderson
2691 commit ac5c78fc5d76c5027857d104bf7c49c961b4b067
2692
2693 Added doxygen comment on dwarf_debug_addr_table()
2694 related to the DWARF4 GNU extension version of .debug_addr
2695 modified: libdwarf.h
2696
2697 2024-05-21: David Anderson
2698 commit a54dbb55b436978efc87f854560d2d2253d79e42
2699
2700 Up to date with latest Changes
2701 modified: doc/libdwarf.dox
2702 modified: doc/libdwarf.pdf
2703
2704 2024-05-21: David Anderson
2705 commit 3194780e9d304cd6f42ea4aa72828e27c861ec85
2706
2707 In Recent Changes:
2708 noting the cmake soname etc correction
2709 so shared-libraries generated have the
2710 correct semantic version name.
2711 modified: doc/libdwarf.dox
2712
2713 2024-05-21: David Anderson
2714 commit c6fe59c5cad197e650170fa87e7ef04a1a3e7135
2715 Merge: af6b8f2c 3c18ecc5
2716
2717 Merge branch 'flagarde-soname'
2718 Merging fix for cmake shared install not having correct version
2719 or soname.
2720
2721 2024-05-21: David Anderson
2722 commit 3c18ecc5c08036cee019ee6ae32efb4f09927cbc
2723
2724 Two instances: config.h.cmake -> config.h.in
2725 modified: src/bin/dwarfexample/CMakeLists.txt
2726 modified: src/bin/dwarfgen/CMakeLists.txt
2727
2728 2024-05-21: flagarde
2729 commit d4ecbb934cc057c77fa796d03b896e5d5f0dab97
2730
2731 Add config.h.in
2732
2733 2024-05-21: flagarde
2734 commit 8a63be630bd7f4e529fff13efb3a303c12cd9456
2735
2736 Add soversion
2737
2738 2024-05-10: David Anderson
2739 commit af6b8f2c380d06c2a6bc592f56592f733047ccab
2740
2741 Renaming DW_DLE_PE_SECTION_SIZE_ERROR
2742 to DW_DLE_PE_SECTION_SIZE_HEURISTIC_FAIL
2743 so any failure of the three such tests are
2744 clearly reported. Should never happen.
2745
2746 DW_DLE_PE_SECTION_SIZE_ERROR remains valid and applies
2747 as a hard object file error found in a
2748 specific test (not a heuristic).
2749 modified: src/lib/libdwarf/dwarf_errmsg_list.h
2750 modified: src/lib/libdwarf/dwarf_peread.c
2751 modified: src/lib/libdwarf/libdwarf.h
2752
2753 2024-05-10: David Anderson
2754 commit ee53f0b6c99fc8cdaa3ae77af0196fb20e16177a
2755
2756 Now with latest changes from git log
2757 modified: ChangeLog
2758
2759 Regenerated
2760 modified: doc/libdwarf.pdf
2761
2762 2024-05-10: David Anderson
2763 commit 91a1ad4db2b63eeea1a8d7af120a420c751dacd2
2764
2765 Documenting heuristic change in
2766 reading PE object files.
2767 modified: doc/libdwarf.dox
2768
2769 2024-05-10: David Anderson
2770 commit 039569ed7903f132ad891a49a231378c6ea44077
2771
2772 A heuristic sanity check on section VirtualSize
2773 was too concervative at s00MB, a PE object file had a section
2774 over 200MB in size.
2775 Increased the heuristic limit to 1000MB.
2776 modified: dwarf_peread.c
2777
2778 2024-05-02: David Anderson
2779 commit 42367fc3195c0dd2cab059e15a87ed33f5f96e49
2780
2781 Regenerated with May as the current month.
2782 modified: bugxml/dwarfbug.html
2783 modified: bugxml/dwarfbuglohi.html
2784
2785 2024-05-02: David Anderson
2786 commit e4aeec03c68e356270c2d1f36cb4ea66a72376ec
2787
2788 Regenerated so has latest producer defines.
2789 modified: src/lib/libdwarf/dwarf_names.c
2790
2791 2024-05-02: David Anderson
2792 commit 8010af428ed7961738badddd9378fd78d25658d9
2793
2794 Just heard of some producer-values:
2795 define DW_AT_APPLE_origin 0x3ff0
2796
2797 define DW_LANG_Move 0x0041 /* DWARF6 */
2798 define DW_LANG_Hylo 0x0042 /* DWARF6 */
2799 modified: src/lib/libdwarf/dwarf.h
2800
2801 2024-04-28: David Anderson
2802 commit 35223db561852306ed1e7aec9bcfc045fad147d3
2803
2804 Up to date with git log
2805 modified: ChangeLog
2806
2807 2024-04-28: David Anderson
2808 commit b454fb67f267deae3e45f2685d845f0fd133e5b5
2809
2810 Tiny changes to (perhaps) avoid a couple warnings
2811 from an msvc compiler.
2812 modified: src/bin/dwarfdump/dd_macrocheck.c
2813 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
2814
2815 2024-04-28: Julia DeMille
2816 commit a4465045c373ba8f7c7b4c0a4cf863ecf4999549
2817
2818 Disable default werror=true in Meson manifest (#239)
2819
2820 Under MSVC, `/WX` (the equivalent to `-Werror`) will cause the build to crash and burn. This makes it not default to making the build crash and burn.
2821
2822 2024-04-19: David Anderson
2823 commit 4436b83de65fdc9df9e011decf2f643fb345b892
2824
2825 up to date with git log
2826 modified: ChangeLog
2827
2828 2024-04-19: David Anderson
2829 commit 713a4060556e76adf21b47ff705df686767f2ff4
2830
2831 Now produces,on stdout, a new list of the
2832 names that have duplicate values (we only
2833 retain one for dwarfdump-naming purposes,
2834 as via dwarf_get_AT_name() etc).
2835 I reviewed the list and found a couple
2836 instances we
2837 were genering correctly but not choosing
2838 the best name where there are multiple.
2839 modified: src/bin/gennames/gennames.c
2840
2841 Alter the order in a couple places so the right
2842 name shows up from gennames.c
2843 modified: src/lib/libdwarf/dwarf.h
2844
2845 Regenerated
2846 modified: src/lib/libdwarf/dwarf_names.c
2847
2848 2024-04-19: David Anderson
2849 commit 15adc9cbecefd79d28d7d82bf458cde654ac32c0
2850
2851 Split two lines to avoid violating codingstyle.
2852
2853 Left one line too long as it is a web reference
2854 so splitting it will make it wrong.
2855 modified: doc/checkexamples.c
2856
2857 2024-04-19: David Anderson
2858 commit eca6017c7adc41ff7874bac8bc2b293d0677df7d
2859
2860 Up to date with git log.
2861 modified: ChangeLog
2862
2863 2024-04-19: David Anderson
2864 commit c36e70a69a33ecb0db50ce654f0ea5129d1081a0
2865
2866 Fixed the instances violating the project
2867 codingstyle. No logic change.
2868 modified: src/bin/builduritable/uritablebuild.c
2869 modified: src/bin/dwarfexample/frame1.c
2870 modified: src/bin/gennames/gennames.c
2871 modified: src/bin/tag_attr/tag_attr.c
2872
2873 2024-04-18: David Anderson
2874 commit d248b698829560ae5361b9c7ac177b59e1d79f6a
2875
2876 Made it consitent with the project codingstyle.
2877 No change in functionality or logic.
2878 modified: src/bin/dwarfgen/createirepfrombinary.h
2879 modified: src/bin/dwarfgen/dg_getopt.h
2880 modified: src/bin/dwarfgen/general.h
2881 modified: src/bin/dwarfgen/irepattrtodbg.h
2882 modified: src/bin/dwarfgen/irepdie.h
2883 modified: src/bin/dwarfgen/irepform.h
2884 modified: src/bin/dwarfgen/irepframe.h
2885 modified: src/bin/dwarfgen/irepline.h
2886 modified: src/bin/dwarfgen/irepmacro.h
2887 modified: src/bin/dwarfgen/ireppubnames.h
2888
2889 2024-04-18: David Anderson
2890 commit 6c761f6df684a5ae3afc864b557cc7f801fd0b5e
2891
2892 Changes to follow the project codingstyle.
2893 No logic changes.
2894 modified: src/bin/dwarfgen/dg_getopt.cc
2895 modified: src/bin/dwarfgen/dwarfgen.cc
2896 modified: src/bin/dwarfgen/ireppubnames.h
2897 modified: src/bin/dwarfgen/irepresentation.h
2898 modified: src/bin/dwarfgen/ireptodbg.h
2899 modified: src/bin/dwarfgen/strtabdata.h
2900
2901 2024-04-18: David Anderson
2902 commit 68374db250043f623b77e666a1329b8d0798446d
2903
2904 Changes just follow the project codingstyle.
2905 No logic changes.
2906 modified: src/lib/libdwarfp/dwarf_pro_section.c
2907 modified: src/lib/libdwarfp/dwarf_pro_section.h
2908 modified: src/lib/libdwarfp/libdwarfp.h
2909
2910 2024-04-05: David Anderson
2911 commit 459c9153fbc3d6a15f52f382480daaad48d06656
2912
2913 This getts errors but useless errors.
2914 deleted: scorecards.yml
2915
2916 2024-04-03: David Anderson
2917 commit bc88d4f9d521a881214e5899ad4b897e7c86dfe7
2918
2919 Removed #includes, moved them to .c files
2920 modified: src/bin/dwarfdump/dd_globals.h
2921
2922 All these needed new includes (extracted from
2923 dd_globals.h)
2924 modified: src/bin/attr_form/attr_form_build.c
2925 modified: src/bin/dwarfdump/dd_addrmap.c
2926 modified: src/bin/dwarfdump/dd_attr_form.c
2927 modified: src/bin/dwarfdump/dd_checkutil.c
2928 modified: src/bin/dwarfdump/dd_command_options.c
2929 modified: src/bin/dwarfdump/dd_compiler_info.c
2930 modified: src/bin/dwarfdump/dd_dwconf.c
2931 modified: src/bin/dwarfdump/dd_glflags.c
2932 modified: src/bin/dwarfdump/dd_helpertree.c
2933 modified: src/bin/dwarfdump/dd_macrocheck.c
2934 modified: src/bin/dwarfdump/dd_makename.c
2935 modified: src/bin/dwarfdump/dd_naming.c
2936 modified: src/bin/dwarfdump/dd_sanitized.c
2937 modified: src/bin/dwarfdump/dd_strstrnocase.c
2938 modified: src/bin/dwarfdump/dd_true_section_name.c
2939 modified: src/bin/dwarfdump/dd_uri.c
2940 modified: src/bin/dwarfdump/dwarfdump.c
2941 modified: src/bin/dwarfdump/print_abbrevs.c
2942 modified: src/bin/dwarfdump/print_aranges.c
2943 modified: src/bin/dwarfdump/print_debug_addr.c
2944 modified: src/bin/dwarfdump/print_debug_gnu.c
2945 modified: src/bin/dwarfdump/print_debug_names.c
2946 modified: src/bin/dwarfdump/print_debug_sup.c
2947 modified: src/bin/dwarfdump/print_debugfission.c
2948 modified: src/bin/dwarfdump/print_die.c
2949 modified: src/bin/dwarfdump/print_frames.c
2950 modified: src/bin/dwarfdump/print_gdbindex.c
2951 modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
2952 modified: src/bin/dwarfdump/print_lines.c
2953 modified: src/bin/dwarfdump/print_llex_codes.c
2954 modified: src/bin/dwarfdump/print_loclists.c
2955 modified: src/bin/dwarfdump/print_loclists_codes.c
2956 modified: src/bin/dwarfdump/print_macinfo.c
2957 modified: src/bin/dwarfdump/print_macro.c
2958 modified: src/bin/dwarfdump/print_origloclist_codes.c
2959 modified: src/bin/dwarfdump/print_pubnames.c
2960 modified: src/bin/dwarfdump/print_ranges.c
2961 modified: src/bin/dwarfdump/print_rnglists.c
2962 modified: src/bin/dwarfdump/print_section_groups.c
2963 modified: src/bin/dwarfdump/print_sections.c
2964 modified: src/bin/dwarfdump/print_str_offsets.c
2965 modified: src/bin/dwarfdump/print_strings.c
2966 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
2967 modified: src/bin/tag_attr/tag_attr.c
2968 modified: src/bin/tag_tree/tag_common.c
2969 modified: src/bin/tag_tree/tag_tree.c
2970 modified: test/test_helpertree.c
2971 modified: test/test_makename.c
2972 modified: test/testuriLE64ELfsource.c
2973
2974 2024-04-03: David Anderson
2975 commit ca7f73e36cfea85099a569f12fd204b670db310d
2976
2977 Regenerated, now with no #include present in them.
2978 modified: dwarfdump/dwarfdump-ta-table.h
2979 modified: dwarfdump/dwarfdump-tt-table.h
2980
2981 These create the above headers, and no longer
2982 insert #includes in the generated headers.
2983 modified: tag_attr/tag_attr.c
2984 modified: tag_tree/tag_tree.c
2985
2986 2024-04-03: David Anderson
2987 commit 803f8f04ebd60b7a3529cd811a7ec5a24dd279c4
2988
2989 Corrected violations of the libdwarf codingstyle.
2990 No change in the tests themselves.
2991 modified: test_dwarf_leb.c
2992 modified: test_errmsglist.c
2993 modified: test_getopt.c
2994 modified: test_ignoresec.c
2995 modified: test_int64_test.c
2996 modified: test_linkedtopath.c
2997 modified: test_safe_strcpy.c
2998 modified: test_sanitized.c
2999 modified: test_setupsections.c
3000 modified: testuriLE64ELfsource.c
3001
3002 2024-04-03: David Anderson
3003 commit 0f97fa50a173df710ea29c584c7388ccc74ddb0b
3004
3005 Removed the only #include in dd_esb.h
3006 modified: src/bin/dwarfdump/dd_esb.h
3007
3008 all these needed FILE declared and many needed
3009 printf. So now include stdio.h where needed.
3010 modified: src/bin/attr_form/attr_form_build.c
3011 modified: src/bin/dwarfdump/dd_checkutil.c
3012 modified: src/bin/dwarfdump/dd_command_options.c
3013 modified: src/bin/dwarfdump/dd_dwconf.c
3014 modified: src/bin/dwarfdump/dd_esb.c
3015 modified: src/bin/dwarfdump/dd_glflags.c
3016 modified: src/bin/dwarfdump/dd_macrocheck.c
3017 modified: src/bin/dwarfdump/dd_naming.c
3018 modified: src/bin/dwarfdump/dd_sanitized.c
3019 modified: src/bin/dwarfdump/dd_true_section_name.c
3020 modified: src/bin/dwarfdump/dd_uri.c
3021 modified: src/bin/dwarfdump/dwarfdump.c
3022 modified: src/bin/dwarfdump/print_abbrevs.c
3023 modified: src/bin/dwarfdump/print_aranges.c
3024 modified: src/bin/dwarfdump/print_debug_addr.c
3025 modified: src/bin/dwarfdump/print_debug_gnu.c
3026 modified: src/bin/dwarfdump/print_debug_names.c
3027 modified: src/bin/dwarfdump/print_debug_sup.c
3028 modified: src/bin/dwarfdump/print_debugfission.c
3029 modified: src/bin/dwarfdump/print_die.c
3030 modified: src/bin/dwarfdump/print_frames.c
3031 modified: src/bin/dwarfdump/print_gdbindex.c
3032 modified: src/bin/dwarfdump/print_hipc_lopc_attr.c
3033 modified: src/bin/dwarfdump/print_lines.c
3034 modified: src/bin/dwarfdump/print_llex_codes.c
3035 modified: src/bin/dwarfdump/print_loclists.c
3036 modified: src/bin/dwarfdump/print_loclists_codes.c
3037 modified: src/bin/dwarfdump/print_macinfo.c
3038 modified: src/bin/dwarfdump/print_macro.c
3039 modified: src/bin/dwarfdump/print_origloclist_codes.c
3040 modified: src/bin/dwarfdump/print_pubnames.c
3041 modified: src/bin/dwarfdump/print_ranges.c
3042 modified: src/bin/dwarfdump/print_rnglists.c
3043 modified: src/bin/dwarfdump/print_sections.c
3044 modified: src/bin/dwarfdump/print_str_offsets.c
3045 modified: src/bin/dwarfdump/print_strings.c
3046 modified: src/bin/dwarfdump/print_tag_attributes_usage.c
3047 modified: src/bin/tag_attr/tag_attr.c
3048 modified: test/test_esb.c
3049 modified: test/test_sanitized.c
3050 modified: test/test_setupsections.c
3051 Fixed nested comment
3052 modified: src/lib/libdwarf/dwarf_macho_loader.h
3053
3054 2024-04-03: David Anderson
3055 commit d40eb7fb6eef5186a1f24aa3cc1d4ff9a3f0ea68
3056
3057 Some #if 0'd lines that are not needed
3058 have been changed from #include to #xnclude so
3059 readers do not get the impression we need those
3060 references.
3061 modified: src/lib/libdwarf/dwarf_macho_loader.h
3062
3063 2024-04-03: David Anderson
3064 commit 16110eabf11844c268b26452a326f2a79d6fbc97
3065
3066 Regenerated by 'make rebuild'
3067 modified: src/bin/dwarfdump/dwarfdump-af-table.h
3068 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
3069 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
3070 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
3071 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
3072 modified: src/lib/libdwarf/dwarf_names.c
3073
3074 2024-04-03: David Anderson
3075 commit c7135da82b82a995e4bc88636b186f2f0884181e
3076
3077 tool/updatesemanticversion.py 0.9.3
3078 to update the version.
3079 modified: CMakeLists.txt
3080 modified: configure.ac
3081 modified: doc/libdwarf.dox
3082 modified: doc/libdwarfp.mm
3083 modified: meson.build
3084 modified: src/lib/libdwarf/libdwarf.h
3085
3086 2024-04-03: David Anderson
3087 commit 06fce3a250b5181c35d8782d11488e2644411bb8
3088
3089 Removed #include "dwarf_base_types.h"
3090 It is not needed here.
3091 modified: src/lib/libdwarf/dwarf_util.h
3092
3093 2024-04-03: David Anderson
3094 commit 8125c8e6b6b7dd70da135cf16cfb50b4df75e7a6
3095
3096 Removing #include of stdio.h
3097 modified: ../../lib/libdwarf/dwarf_line_table_reader_common.h
3098
3099 2024-04-02: David Anderson
3100 commit 5e43a5ab73cb00c8a46660b361366a8c9c3c93c9
3101
3102 Adding release xz name
3103 modified: bugxml/dwarfbug.html
3104 modified: bugxml/dwarfbug.xml
3105 modified: bugxml/dwarfbuglohi.html
3106
3107 2024-04-02: David Anderson
3108 commit 437eebd9062625263a301610ef3402f81e73ac72
3109
3110 Added release tar name: libdwarf-0.9.2.tar.xz
3111 to applicable vulnerabililities.
3112 modified: bugxml/data.txt
3113
3114 2024-04-02: David Anderson
3115 commit 45c318f152b0cd804cdbdafe99726a62fbf298c0
3116
3117 Ready for release.
3118 modified: ChangeLog
3119
3120 2024-04-02: David Anderson
3121 commit c8306b7f24655ee8b7b1038ca1ccb188c9ad4374
3122
3123 Finalizing release.
3124 modified: README.md
3125 modified: doc/libdwarf.dox
3126 modified: doc/libdwarf.pdf
3127 New month, changing report month.
3128 modified: bugxml/dwarfbug.html
3129 modified: bugxml/dwarfbuglohi.html
3130
3131 2024-03-31: David Anderson
3132 commit 7db13b474570b3f9eef8f49bf8623694bf92ef3c
3133
3134 Clarifications documentation.
3135 modified: ChangeLog
3136
3137 2024-03-31: David Anderson
3138 commit 91a2f965f4ce97ef4c579e351e5c7b9af3e43a5f
3139
3140 Small clarifications related to 'line table registers'
3141 modified: doc/libdwarf.dox
3142 Regenerated.
3143 modified: doc/libdwarf.pdf
3144
3145 2024-03-31: David Anderson
3146 commit 974026f41778c137f036302558742cb1949937bb
3147
3148 Now up to date.
3149 modified: ChangeLog
3150
3151 2024-03-31: David Anderson
3152 commit 486aa3314e4682850eee5d04ccf5a9520689cb71
3153
3154 Now with Changes note about DW_CFA_hi_user (adding
3155 this correct spelling).
3156 modified: doc/libdwarf.dox
3157 modified: doc/libdwarf.pdf
3158
3159 2024-03-29: David Anderson
3160 commit e18caf454e2d6d0fc8a5d086f8f65162d560a113
3161
3162 Regenerated to show version 0.9.2 and to reflect the correct
3163 spelling DW_CFA_hi_user .
3164 modified: src/bin/dwarfdump/dwarfdump-af-table.h
3165 modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h
3166 modified: src/bin/dwarfdump/dwarfdump-ta-table.h
3167 modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h
3168 modified: src/bin/dwarfdump/dwarfdump-tt-table.h
3169 modified: src/lib/libdwarf/dwarf_names.c
3170
3171 2024-03-29: David Anderson
3172 commit e87496e5cb8ded20e89509e7f05f5742da23f2ce
3173
3174 DW_CFA_hi_user was misspelled DW_CFA_high_user
3175 here (not in the DWARF standard).
3176 Now both spellings are in the header.
3177 modified: src/lib/libdwarf/dwarf.h
3178
3179 2024-03-29: David Anderson
3180 commit cf7814ac772672f8ba401125240802aba4d756a9
3181
3182 Bringing up to date.
3183 modified: ChangeLog
3184 now pdf up to date.
3185 modified: doc/libdwarf.pdf
3186
3187 2024-03-26: David Anderson
3188 commit 732710959783712b800d826c6399798668ed3744
3189
3190 Clarifying aspects/detail of the library.
3191 modified: doc/jitaccess.dox
3192 modified: doc/libdwarf.dox
3193
3194 2024-03-22: David Anderson
3195 commit 7a903fb2ab3c3204b1964b60ff62dbdd7d29d19a
3196 Merge: da297e99 9944cb55
3197
3198 Merge branch 'judemille-windows-compat-fixes'
3199 Added an undef of interface, a microsoft preprocessor
3200 symbol (conflicts with libdwrf). In dwarfgen.
3201 refinded a _WIN32 defined test to check __MSC_VER too.
3202
3203 2024-03-21: Julia DeMille
3204 commit 9944cb551c864435595b34d35c16dc127b0b99a5
3205
3206 Minor fixes for compatibility with MSVC.
3207
3208 Signed-off-by: Julia DeMille <[email protected]>
3209
3210 2024-03-21: Julia DeMille
3211 commit da297e999161c0dbf7be2f1f9d9118e708b072eb
3212
3213 make dwarfdump tests work under Meson (#235)
3214
3215 the config file needs to be copied over. this adds that.
3216
3217 Signed-off-by: Julia DeMille <[email protected]>
3218
3219 2024-03-21: Julia DeMille
3220 commit d1ec01000c06a5cda3f3e8a902b99b19d18ec2df
3221
3222 override find_program/dependency in meson scripts (#234)
3223
3224 allows use as a wrap subproject more cleanly
3225
3226 Signed-off-by: Julia DeMille <[email protected]>
3227
3228 2024-03-21: David Anderson
3229 commit 45cbe6320611a2f4080039773b059df587cd8868
3230
3231 Update SECURITY.md
3232
3233 Updating release version list
3234
3235 2024-03-19: David Anderson
3236 commit 456f89326b6e1d4c98b7755645e1414a7e979b31
3237
3238 Refined the description of DW202403-001
3239 modified: bugxml/data.txt
3240 Regenerated
3241 modified: bugxml/dwarfbug.html
3242 modified: bugxml/dwarfbug.xml
3243 modified: bugxml/dwarfbuglohi.html
3244
3245 Refinded the Changes for 0.9.2 to just list
3246 the vulnerabilities.
3247 modified: doc/libdwarf.dox
3248
3249 2024-03-19: David Anderson
3250 commit c20fdfd2b1b789c31634013321853f3419f8d338
3251
3252 More places fitting the pattern revealed by
3253 DW202403-001 now have checks for off-the-end.
3254 modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
3255
3256 2024-03-19: David Anderson
3257 commit 1561153af3886ae37c205edb2670a71a2518287c
3258
3259 Added git fix id for DW202403-001
3260 modified: data.txt
3261
3262 2024-03-19: David Anderson
3263 commit 2930f3121ee6b07da405103934c329bbeca0382f
3264
3265 Adding DW202403-001 ossfuzz id: 67490
3266 modified: data.txt
3267
3268 A carefully corrupted line table
3269 header can cause libdwarf to read outside of its
3270 allowed areas in a .debug_line section reading
3271 the file names part of the header.
3272 The failure to check for end-of-section following the
3273 very last byte in section has been present for many years.
3274 modified: ../src/lib/libdwarf/dwarf_line_table_reader_common.h
3275
3276 2024-03-12: David Anderson
3277 commit 18b0db98232fb01e01956998c72fde7f2851c7f2
3278
3279 Removing trailing whitespace
3280 modified: doc/checkexamples.c
3281 modified: doc/jitaccess.dox
3282 modified: src/lib/libdwarf/libdwarf.h
3283 And also shortened unnecessarily long lines,
3284 doxygen aranges the output perfectly.
3285 modified: doc/libdwarf.dox
3286
3287 Regenerated
3288 modified: doc/libdwarf.pdf
3289
3290 2024-03-12: David Anderson
3291 commit 35ce243e85ba535405756a77c7f0d0b9700f310e
3292
3293 Changed REPEAT_BRIEF to NO to avoid duplicate reporting
3294 of such in the examples.
3295 modified: doc/Doxyfile
3296 Very small wording changes in the Dwarf_Error overview.
3297 modified: doc/libdwarf.dox
3298 Regenerated.
3299 modified: doc/libdwarf.pdf
3300
3301 2024-03-12: David Anderson
3302 commit 335bd73b5d5574b1ff265a2e2f9ef4c48660aeab
3303
3304 Now with cleaned up examples.
3305 modified: doc/libdwarf.pdf
3306
3307 2024-03-12: David Anderson
3308 commit f19e2f7bce2ed280dafbc63ac684bd0a6c76120f
3309
3310 Cleaning up the appearance of the examples.
3311 modified: doc/checkexamples.c
3312
3313 2024-03-12: David Anderson
3314 commit 0d3b1b32da92f2ec869175ac89fd5c0bb33efc4e
3315
3316 Cleaning up doxygen so examples show as intended.
3317 Fixed one new compiler warning.
3318 modified: doc/checkexamples.c
3319
3320 2024-03-12: David Anderson
3321 commit 566db5f7de6b086e60ee46df8f577bbc1854a52a
3322
3323 First line corrupted by...me.
3324 Fixed.
3325 modified: doc/libdwarf.dox
3326
3327 2024-03-11: Keith W. Campbell
3328 commit ae236a51d5a12ba3fa841f287585db54b5c52d78
3329
3330 Fix a few typos (#233)
3331
3332 Signed-off-by: Keith W. Campbell <[email protected]>
3333
3334 2024-03-11: David Anderson
3335 commit 8e1f76a10afcd482d627851a6e62dd019d079e3a
3336
3337 Last changes to documentation today.
3338 modified: doc/checkexamples.c
3339 modified: doc/libdwarf.dox
3340 modified: doc/libdwarf.pdf
3341 modified: src/lib/libdwarf/libdwarf.h
3342
3343 2024-03-11: David Anderson
3344 commit 8cc3c87acad24dd77b3ef5fd80a84102dd3973ef
3345
3346 Improvements in doxygen comments.
3347 modified: doc/libdwarf.dox
3348 modified: src/lib/libdwarf/libdwarf.h
3349
3350 2024-03-11: David Anderson
3351 commit 5ce3e3b4126133fc24ef0a64844511b7ba02b51c
3352
3353 In a couple cases check for a NULL passed in
3354 to avoid a crash. Caller is not supposed
3355 to pass in NULL here.
3356 modified: src/lib/libdwarf/dwarf_query.c
3357
3358 2024-03-11: David Anderson
3359 commit c5120f435c054f66f20ac8298e9eff556ad89bec
3360
3361 Improving the doxygen comments and
3362 slight renaming where that clarifies.
3363 modified: checkexamples.c
3364
3365 2024-03-10: David Anderson
3366 commit 4951e03840a5f1c43186d138a4d6698a1062ca83
3367
3368 Small corrections to doxygen comments.
3369 modified: src/lib/libdwarf/libdwarf.h
3370
3371 2024-03-10: David Anderson
3372 commit cb434787be4fd9bc239aa1b7cd2e1896567a99cc
3373
3374 Corrected typos/spelling errors in doxygen comments.
3375 Added doc of a typedef not previously
3376 documented.
3377 modified: src/lib/libdwarf/libdwarf.h
3378
3379 2024-03-09: David Anderson
3380 commit f7fd6a4d433ac67ec1fc2cd5fd494ff20a5c0e50
3381
3382 Small changes/fixes.
3383 modified: doc/libdwarf.dox
3384 Improved doc of various types and structs.
3385 modified: src/lib/libdwarf/libdwarf.h
3386
3387 2024-03-04: David Anderson
3388 commit 85511eb7266fd9febefabdc2007e5dfc9cbd2c37
3389
3390 And the last line (#ifndef) was missing.
3391 Oh my.
3392 Fixed.
3393 modified: src/lib/libdwarf/libdwarf.h
3394
3395 2024-03-04: David Anderson
3396 commit 68f9a8bde980f3802a0e80ed40260a82739c54ac
3397
3398 Previous commit had a really horrible
3399 mistake changing a struct. IT was only supposed
3400 to have changes in *comments*. Sorry.
3401
3402 modified: src/lib/libdwarf/libdwarf.h
3403
3404 2024-03-01: David Anderson
3405 commit fb1cf56040690e4472f2812ff311fd71103512e6
3406
3407 Corrections and refinements of the contents of the first
3408 page and related corrections/amplifications in libdwarf.h
3409 modified: doc/libdwarf.dox
3410 modified: src/lib/libdwarf/libdwarf.h
3411
3412 Regenerated
3413 modified: doc/libdwarf.pdf
3414
3415 2024-03-01: David Anderson
3416 commit 138a6a7e38ab22b02371778547369d460917e1a6
3417
3418 The word 'pointer' was accidentally repeated
3419 on a second line. Read oddly in the final document.
3420 So deleted the repeat.
3421 modified: doc/libdwarf.dox
3422
3423 2024-03-01: David Anderson
3424 commit a816ac80eee2c5c50785e8c952758e8ba4c9cf3e
3425
3426 Correcting spelling errors in doxygen comments.
3427 modified: doc/libdwarf.dox
3428 modified: src/lib/libdwarf/libdwarf.h
3429 Regenerated
3430 modified: doc/libdwarf.pdf
3431
3432 2024-03-01: David Anderson
3433 commit 376fd48cd48df5f093dbb11f2fa119390b17c28b
3434
3435 Correcting some spelling errors.
3436 modified: libdwarf.dox
3437
3438 2024-03-01: David Anderson
3439 commit a6acb2a2bcf6aa45594c34c202887802c194bcd4
3440
3441 Fixing spelling errors.
3442 modified: README.md
3443 modified: READMEwin-msys2.md
3444
3445 2024-03-01: David Anderson
3446 commit 307c9207d67b61918612d79320c3e3469d152dd7
3447
3448 Regenerated without all those blank lines.
3449 modified: dwarfbug.xml
3450
3451 2024-03-01: David Anderson
3452 commit f45fcc456fa9a06bcd4a900741ec672022eb1c2d
3453
3454 Was generating many blank lines in xml output,
3455 but no longer does that.
3456 modified: bugrecord.py
3457
3458 2024-03-01: David Anderson
3459 commit c3bd59a8d76b8379d53674b255fbc96e7f434dde
3460
3461 Up to date with git log.
3462 modified: ChangeLog
3463
3464 2024-03-01: David Anderson
3465 commit cd5b3e0c2a3ae60686314db55f93d820da8a3f77
3466
3467 Now March, so month name changed.
3468 And no longer generating trailing space.
3469 modified: dwarfbug.html
3470 modified: dwarfbuglohi.html
3471
3472 2024-03-01: David Anderson
3473 commit 31316b1cbf40f276ba38d7847e25e4f19910ac11
3474
3475 Removing trailing space that was sometimes generated.
3476 modified: bugrecord.py
3477
3478 2024-02-29: David Anderson
3479 commit 709f6db6503f4a6c5f822152a7190bfc348d1743
3480
3481 Adding commitment to what can be
3482 done with corrupted DWARF
3483 modified: README.md
3484
3485 2024-02-29: Jeremy Rifkin
3486 commit 62838e86639de916da1eba8fae44d50263353027
3487
3488 Remove trailing whitespace from files (#229)
3489
3490 * Remove trailing whitespace from files
3491
3492 * Remove whitespace from pdfbuild.sh
3493
3494 ---------
3495
3496 Co-authored-by: David Anderson <[email protected]>
3497
3498 2024-02-29: David Anderson
3499 commit 74619ee540ca07a82602712ffa2f791ccd6ff03c
3500
3501 dwarfbug.xml was missing a crucial field,
3502 the DW id. Fixed.
3503 modified: bugxml/bugrecord.py
3504 modified: bugxml/dwarfbug.xml
3505
3506 2024-02-29: David Anderson
3507 commit 4b156bb1dfcba8c1f7162a868fb140b1852a1089
3508
3509 Now showing the cve id for DW202402-002
3510 modified: dwarfbug.html
3511 modified: dwarfbug.xml
3512 modified: dwarfbuglohi.html
3513
3514 2024-02-29: David Anderson
3515 commit 18366de6ca34ba14360bb3ff20f8a4b6f19b26bd
3516
3517 DW202402-002 now has a CVE id:
3518 CVE-2024-2002
3519 modified: data.txt
3520
3521 2024-02-27: David Anderson
3522 commit e71470a37528da766f4b020f79f9095c17bbb414
3523
3524 Strengthing the test against corrupt loclists
3525 or rnglists entries. An improvement related to
3526 DW202402-003.
3527 The concern was to fully harden checks when
3528 running on 32bit-pointer OS.
3529 modified: src/lib/libdwarf/dwarf_loclists.c
3530 modified: src/lib/libdwarf/dwarf_rnglists.c
3531
3532 2024-02-23: David Anderson
3533 commit c21fb4e8e957677094e7b66e3553e9c9503ceb53
3534
3535 Typo fixed:
3536 -README.cmake has details on the available cmake options.
3537 +READMEcmake.md has details on the available cmake options.
3538 modified: README.md
3539
3540 2024-02-22: David Anderson
3541 commit 432bbf526d67859de5f8ed03e89080c90566a67b
3542
3543 This sort of works but does not really help
3544 with regressiontests on msys2 windows
3545 modified: dwarfdump.c
3546
3547 2024-02-21: David Anderson
3548 commit d6087deea132e89ac226a923872ab3ba09a04fef
3549
3550 Removing unwanted character
3551 modified: ChangeLog
3552
3553 2024-02-21: David Anderson
3554 commit 8a75104e4052634d3832ef867c2938b8635daacc
3555
3556 one character added.
3557 modified: ChangeLog
3558
3559 2024-02-20: David Anderson
3560 commit ce7f334659a6463a33e7e05c00033b2f7e5e7085
3561
3562 Tiny change required to run github workflow successfully.
3563 modified: ChangeLog
3564
3565 2024-02-20: David Anderson
3566 commit e0f331250a44fa5586b99d45b6ac9dd99d8d1733
3567
3568 A version of _WIN64 io.h has a #define for lseek.
3569 So we #undef that and make the define we want.
3570 modified: src/lib/libdwarf/dwarf_seekr.c
3571
3572 2024-02-19: David Anderson
3573 commit 38a2dcaa988df2711ad673e4c28626f588bbe078
3574
3575 Regenerated.
3576 modified: dwarfbug.html
3577 modified: dwarfbug.xml
3578 modified: dwarfbuglohi.html
3579
3580 2024-02-19: David Anderson
3581 commit a36cd296960d38326bdce76740a974c4d1bdeca1
3582
3583 Corrected a few spelling errors.
3584 modified: data.txt
3585
3586 2024-02-19: David Anderson
3587 commit 0f5b681bc1e5b554196ce435638fbc6303820a81
3588
3589 Typo: left out letter h .
3590 modified: bugxml/data.txt
3591
3592 2024-02-18: David Anderson
3593 commit 5b402ffc6445a7a00eef2a61499d42867b83f885
3594
3595 now with latest gitfixid
3596 modified: bugxml/dwarfbug.html
3597 modified: bugxml/dwarfbug.xml
3598 modified: bugxml/dwarfbuglohi.html
3599
3600 2024-02-18: David Anderson
3601 commit c879a34a5eb22c853b15a4ef84df3ba2364018f1
3602
3603 updated with latest.
3604 modified: ChangeLog
3605
3606 2024-02-18: David Anderson
3607 commit e01e2b71de93949c7bc4e00f166b434e9150b66e
3608
3609 Update to add reference to dwarf_rnglists.c
3610 modified: bugxml/data.txt
3611
3612 2024-02-18: David Anderson
3613 commit 5cfbd87dff4fc3c3b595bb92ed886934945b372c
3614
3615 Added checks to match those added to dwarf_loclists.c
3616 modified: src/lib/libdwarf/dwarf_rnglists.c
3617
3618 2024-02-18: David Anderson
3619 commit 03810aefab9cc30a71f5e81f647240e8ac60154d
3620
3621 Added comment referring to dwarf_rnglists.c
3622 modified: src/lib/libdwarf/dwarf_loclists.c
3623
3624 2024-02-18: David Anderson
3625 commit 75c1e8bf984d0190cbb23d84e5fbc081101f35a8
3626
3627 Latest entries.
3628 modified: ChangeLog
3629
3630 corrected gitfixid:
3631 modified: bugxml/data.txt
3632
3633 2024-02-18: David Anderson
3634 commit 10bb558d058010c0fc0e4bbe540f023dd8267405
3635
3636 Was too agressive checking a pointer
3637 in read_single_lle_entry() (if code is
3638 DW_LLE_end_of_list we will not access another byte here).
3639 modified: src/lib/libdwarf/dwarf_loclists.c
3640
3641 2024-02-18: David Anderson
3642 commit 1aeef71c6828a35411eacb856f456ca9f4fbe7a3
3643
3644 Recording fix of 202402-003
3645 modified: bugxml/data.txt
3646
3647 2024-02-18: David Anderson
3648 commit ab20e055624a39e913e12ceb43634dae025f20ac
3649
3650 Removing trailing whitespace.
3651 modified: src/lib/libdwarf/dwarf_alloc.c
3652
3653 2024-02-18: David Anderson
3654 commit 6146dc696616d55ef049308974f89f255a45b1b6
3655
3656 Fixing DW202402-003, reading outside of allowed area
3657 in memory due to corrupted object.
3658 modified: src/lib/libdwarf/dwarf_loclists.c
3659
3660 2024-02-17: David Anderson
3661 commit 6380dc9a5b3eff3e265279e63a1d8651b280ea4f
3662
3663 Updated
3664 modified: ChangeLog
3665
3666 2024-02-18: Uilian Ries
3667 commit f2c565d4301afd8f675efeb2146b862a1ad7aa6c
3668
3669 Fix zstd package name (#227)
3670
3671 Signed-off-by: Uilian Ries <[email protected]>
3672
3673 2024-02-17: David Anderson
3674 commit ecd8c3816174db161fb0f429815ea1a717e69d21
3675
3676 Now with fix to DW202402-002, crash in libdwarf
3677 on fuzzed object file
3678 modified: ChangeLog
3679 Minor wording change
3680 modified: ChangeLog2023
3681
3682 Updated 202402-002
3683 modified: bugxml/data.txt
3684 Regenerated
3685 modified: bugxml/dwarfbug.html
3686 modified: bugxml/dwarfbug.xml
3687 modified: bugxml/dwarfbuglohi.html
3688
3689 2024-02-17: David Anderson
3690 commit 404e6b1b14f60c81388d50b4239f81d461b3c3ad
3691
3692 Fixing DW202402-002, corrupt object caused
3693 various libdwarf crashes with some
3694 tailored/fuzzed object files.
3695 modified: src/lib/libdwarf/dwarf_alloc.c
3696 modified: src/lib/libdwarf/dwarf_error.c
3697
3698 2024-02-16: David Anderson
3699 commit 0cae09da0aac83b2563fc3a4e140952cc398012a
3700
3701 Up to date with git log
3702 modified: ChangeLog
3703
3704 2024-02-16: David Anderson
3705 commit aa5abd9caba8edf1bcbbc0243a36f0d34d48da59
3706
3707 cmake/FindZSTD.cmake
3708 changed to to
3709 cmake/Findzstd.cmake to match the preceding updates.
3710 modified: src/lib/libdwarf/CMakeLists.txt
3711
3712 2024-02-16: David Anderson
3713 commit 1865a08af4995673abed6284a225f3f9f3631f6c
3714 Merge: 0982c845 c12e7d71
3715
3716 Merge branch 'uilianries-cmake/find-zstd'
3717 Slight renaming of zstd stuff for
3718 maximum compatibility.
3719
3720 2024-02-16: David Anderson
3721 commit c12e7d71117dda88dfa7f12fd7a41a31519ef7bb
3722 Merge: 0982c845 c437f0ad
3723
3724 Merge branch 'cmake/find-zstd' of https://github.com/uilianries/libdwarf-code into uilianries-cmake/find-zstd
3725
3726 Arranging to findzstd in source when necessary.
3727
3728 2024-02-16: Uilian Ries
3729 commit c437f0ada3ab3a04eb80f9be54c27110607da1c5
3730
3731 Update zstd_found
3732
3733 Signed-off-by: Uilian Ries <[email protected]>
3734
3735 2024-02-16: Uilian Ries
3736 commit 6ffd41d39ba8e5db8651a35ac4f975baf786de4c
3737
3738 rename zstd target name
3739
3740 Signed-off-by: Uilian Ries <[email protected]>
3741
3742 2024-02-16: Uilian Ries
3743 commit e3651e6ff79313e5975e1a928a3e7a573fd2ea64
3744
3745 Use zstd_FOUND to follow archive name
3746
3747 Signed-off-by: Uilian Ries <[email protected]>
3748
3749 2024-02-16: Uilian Ries
3750 commit b7ffd22b99bbb304d90c47e27092f050103e2f23
3751
3752 Rename find zstd cmake
3753
3754 Signed-off-by: Uilian Ries <[email protected]>
3755
3756 2024-02-14: David Anderson
3757 commit 0982c845243375330641236dfe230b34d7aa77f1
3758
3759 Regenerated With update to DW202402-001.
3760 modified: bugxml/dwarfbug.html
3761 modified: bugxml/dwarfbug.xml
3762 modified: bugxml/dwarfbuglohi.html
3763
3764 2024-02-14: David Anderson
3765 commit 6231e29cf00526433c77b2027864a3a0ee9d0cf9
3766
3767 Now ChangeLog and DW202402-001 show fixed
3768 on 13 February, as there were two places
3769 with a missing check against corrupt DWARF.
3770 modified: ChangeLog
3771 modified: bugxml/data.txt
3772
3773 2024-02-13: David Anderson
3774 commit 09eaf3402e9e384281a72ae034f723cd16dda0e4
3775
3776 Up to date with git log
3777 modified: ChangeLog
3778
3779 2024-02-13: David Anderson
3780 commit f21e2f7687f3dca183026a1fb72ca1f0dcf8befa
3781
3782 DW_FORM_block1 was not checking to ensure the
3783 pointer pointed inside the section.
3784 Similar to the vulnerability in DW202402-001 (oss fuzz 66646)
3785 which was about DW_FORM_ref1.
3786 Now it checks.
3787 modified: src/lib/libdwarf/dwarf_form.c
3788
3789 2024-02-12: David Anderson
3790 commit 5c6249045b9edcb4987d2d002cf9691cd98a13ea
3791
3792 Up to date now.
3793 modified: ChangeLog
3794
3795 2024-02-12: David Anderson
3796 commit 7150fc069090261046fb5317beb061730ed89bab
3797
3798 Removing trailing whitespace, removing tab-characters.
3799 Fixing indents, adjusting a few lines so
3800 lines not longer than CODINGSTYLE.md calls for.
3801 modified: src/bin/dwarfdump/dd_elf_cputype.h
3802 modified: src/bin/dwarfdump/dd_esb.c
3803 modified: src/bin/dwarfdump/dd_mac_cputype.h
3804 modified: src/bin/dwarfdump/dd_pe_cputype.h
3805 modified: src/bin/dwarfdump/dwarfdump.c
3806 modified: src/bin/dwarfdump/print_abbrevs.c
3807 modified: src/bin/dwarfdump/print_die.c
3808 modified: src/bin/dwarfdump/print_macro.c
3809 modified: src/bin/dwarfdump/print_ranges.c
3810
3811 2024-02-12: David Anderson
3812 commit aa06c5f7f5cb8f6ca49bfc297aa240f6baa65bac
3813
3814 Fixing indents and removing trailing whitespace.
3815 modified: src/lib/libdwarf/dwarf.h
3816 modified: src/lib/libdwarf/dwarf_line_table_reader_common.h
3817 modified: src/lib/libdwarf/dwarf_macho_loader.h
3818 modified: src/lib/libdwarf/dwarf_opaque.h
3819 modified: src/lib/libdwarf/libdwarf.h
3820
3821 2024-02-12: David Anderson
3822 commit 33a0ed092f7d6b69d858182fbf7da8b8709930c4
3823
3824 Removing trailing whitespace and fixing indents.
3825 modified: src/lib/libdwarf/dwarf_crc.c
3826 modified: src/lib/libdwarf/dwarf_crc32.c
3827 modified: src/lib/libdwarf/dwarf_die_deliv.c
3828 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
3829 modified: src/lib/libdwarf/dwarf_fill_in_attr_form.c
3830 modified: src/lib/libdwarf/dwarf_form.c
3831 modified: src/lib/libdwarf/dwarf_frame.c
3832 modified: src/lib/libdwarf/dwarf_gdbindex.c
3833 modified: src/lib/libdwarf/dwarf_init_finish.c
3834 modified: src/lib/libdwarf/dwarf_leb.c
3835 modified: src/lib/libdwarf/dwarf_line.c
3836 modified: src/lib/libdwarf/dwarf_machoread.c
3837 modified: src/lib/libdwarf/dwarf_macro5.c
3838 modified: src/lib/libdwarf/dwarf_object_read_common.c
3839 modified: src/lib/libdwarf/dwarf_print_lines.c
3840 modified: src/lib/libdwarf/dwarf_query.c
3841 modified: src/lib/libdwarf/dwarf_rnglists.c
3842 modified: src/lib/libdwarf/dwarf_seekr.c
3843 modified: src/lib/libdwarf/dwarf_string.c
3844 modified: src/lib/libdwarf/dwarf_util.c
3845 modified: src/lib/libdwarf/dwarf_xu_index.c
3846
3847 2024-02-12: David Anderson
3848 commit 20859c035fc6b5f85439b93ae5c3396a9ade8fbb
3849
3850 Log up to date now.
3851 modified: ChangeLog
3852
3853 2024-02-12: David Anderson
3854 commit 94e84e3c13b6d008f2753c364e1db3fb405e65bc
3855
3856 New date. Mentions fix to DW202402-001.
3857 modified: doc/libdwarf.dox
3858 Regenerated
3859 modified: doc/libdwarf.pdf
3860
3861 Making the dwarf_srcfiles() function argument
3862 documentation a bit easier to read with
3863 bold text.
3864 modified: src/lib/libdwarf/libdwarf.h
3865
3866 2024-02-12: David Anderson
3867 commit 121632ddaf4f26f989187b0894c843dc05ee7661
3868
3869 Testing tiny tweak
3870 DO NOT USE THIS COMMIT
3871 modified: src/lib/libdwarf/libdwarf.h
3872
3873 2024-02-12: David Anderson
3874 commit 26f4ec3d41b847d8146d916ebcf60ae0d1be29c5
3875
3876 Reflecting todays' vulnerability update.
3877 modified: bugxml/dwarfbug.html
3878 modified: bugxml/dwarfbug.xml
3879 modified: bugxml/dwarfbuglohi.html
3880
3881 2024-02-12: David Anderson
3882 commit 34dca30ac2d18936bea6555fb969d7cc4ca73ea5
3883 Merge: bef12c75 38f28b27
3884
3885 Merge branch 'jeremy-rifkin-jr/srcfiles-note'
3886 Using bold text to make reading libdwarf.h doxygen comments
3887 easier related to DW_AT_call_file
3888
3889 2024-02-12: David Anderson
3890 commit 38f28b275e88f33187cecaa2316b1d509063d713
3891 Merge: bef12c75 520e2018
3892
3893 Merge branch 'jr/srcfiles-note' of https://github.com/jeremy-rifkin/libdwarf-code into jeremy-rifkin-jr/srcfiles-note
3894 call_file fix.
3895
3896 2024-02-12: David Anderson
3897 commit bef12c754df30f7c7929ae6aad310472e16ab69f
3898
3899 Documenting ossfuzz 66646 and its fix.
3900 modified: bugxml/data.txt
3901
3902 2024-02-12: David Anderson
3903 commit 7bc8b4cd85d8b2419aca921df9191f8bd34d585e
3904
3905 Added comments explaining why there is no buffer overrun.
3906 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
3907
3908 Added comments (and changed a couple local variables
3909 to long from int) explaining why the two-byte
3910 leb number case is safe C with no indeterminate
3911 result possible.
3912 modified: src/lib/libdwarf/dwarf_leb.c
3913
3914 Added a single easily verify able comment explaining
3915 why a pointer cannot be NULL.
3916 modified: src/lib/libdwarf/dwarf_query.c
3917
3918 Renamed an internal function for clarity and
3919 added comments explaining why there cannot
3920 be a buffer overrun here.
3921 modified: src/lib/libdwarf/dwarf_string.c
3922
3923 2024-02-12: David Anderson
3924 commit 812f5db1c0fd4369e4c3b6bb8b132c70b6940320
3925
3926 Fixing ossfuzz 66646. A vulnerability when
3927 reading an object with a particular corruption in
3928 the DWARF. With DW_FORM_ref1 the library was
3929 not validating the referenced address before
3930 dereferencing.
3931 See libdwarf vulnerability
3932 list DW202402-001 for the details.
3933 This bug has been present in the library for
3934 many years.
3935
3936 modified: src/lib/libdwarf/dwarf_form.c
3937
3938 2024-02-11: Jeremy
3939 commit 520e20185262f96c9580cab157307b0890fc2c66
3940
3941 Make note of DW_AT_call_file in dwarf_srcfiles
3942
3943 2024-02-09: David Anderson
3944 commit 6f960447511a3866960cbc14681462f6db75e4b4
3945
3946 In case of memory exhaustion ensure that allocations
3947 going out of scope are freed.
3948 modified: src/bin/dwarfdump/print_abbrevs.c
3949
3950 Instead of a = b use a = std::move(b)
3951 where transfer of ownership is going on.
3952 Improving efficiency.
3953 modified: src/bin/dwarfgen/ireptodbg.cc
3954
3955 2024-02-08: David Anderson
3956 commit 676600b9e96e8db8cd5b8415b2da7ab7b2b77771
3957
3958 DO NOT USE THIS COMMIT.
3959 It fixes real problems, but is incomplete.
3960
3961 Handle realloc correctly.
3962 modified: src/bin/dwarfdump/dwarfdump.c
3963 modified: src/bin/dwarfdump/print_abbrevs.c
3964
3965 Add comment about what an index i in read_gs_section_group() means.
3966 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
3967
3968 Extract Dwarf_Error creation to a small function.
3969 Add a null test of abl_form for clarity and correctness.
3970 modified: src/lib/libdwarf/dwarf_fill_in_attr_form.c
3971
3972 Ensure dereference is on (unsigned char *)
3973 instead of just (char *)
3974 modified: src/lib/libdwarf/dwarf_leb.c
3975
3976 Add readable null pointer checks using a helper
3977 function to make reading the code easier.
3978 modified: src/lib/libdwarf/dwarf_query.c
3979
3980 2024-02-07: David Anderson
3981 commit 8cdcc531f310d1c5ae61da469d8056bdd36b77e7
3982 Merge: 0c9b1fb3 32e92533
3983
3984 Merge branch 'jeremy-rifkin-jr/libdwarf-conan-changes'
3985 Cmake improvements.
3986
3987 2024-02-07: David Anderson
3988 commit 32e9253373e213ce39b282ee7ff248e86352648f
3989 Merge: 0c9b1fb3 308b5533
3990
3991 Merge branch 'jr/libdwarf-conan-changes' of https://github.com/jeremy-rifkin/libdwarf-code into jeremy-rifkin-jr/libdwarf-conan-changes
3992 cmake fixes
3993
3994 2024-02-06: David Anderson
3995 commit 0c9b1fb3b1ca852f116405d82e1b08c8717dac8a
3996
3997 Like the previous call/recalloc changes these issues detected
3998 by MSVC code analysis.
3999
4000 The dwarfdump ones just previous were real bugs.
4001 These are real bugs too.
4002
4003 Check for a NULL dss_data field so a code-checking
4004 system can see its checked without having to
4005 actually understand why it cannot be NULL.
4006 modified: src/lib/libdwarf/dwarf_gdbindex.c
4007
4008 if (ltype != DW_LNCT_size &&
4009 - ltype != DW_LNCT_size) {
4010 + ltype != DW_LNCT_timestamp) {
4011 modified: src/lib/libdwarf/dwarf_line.c
4012
4013 Added a simple assertion (a comment, not code) for the reader.
4014 modified: src/lib/libdwarf/dwarf_string.c
4015
4016 Added a check for a null input pointer, return DW_DLV_ERROR
4017 if found.
4018 modified: src/lib/libdwarf/dwarf_stringsection.c
4019
4020 Moved things around so we can check for a null 'latestcontext'
4021 before dereferencing it.
4022 modified: src/lib/libdwarf/dwarf_tied.c
4023
4024 2024-02-06: David Anderson
4025 commit 872d6f6dc2c7540fd1b98f8aeab494ec4723de56
4026
4027 Check for NULL return from calloc() and print ERROR message
4028 if NULL.
4029 modified: src/bin/dwarfdump/print_die.c
4030
4031 Check for NULL return from realloc() and print ERROR message
4032 if NULL.
4033 modified: src/bin/dwarfdump/print_ranges.c
4034
4035 2024-02-06: David Anderson
4036 commit a6a7da1fceca912850984806de49437d90d314f7
4037
4038 Use newlines to ensure no formatting surprise
4039 and count this as ERROR for the error count to be
4040 shown eventually.
4041 modified: src/bin/dwarfdump/dd_command_options.c
4042
4043 On realloc check for null return and print an ERROR
4044 record if it is an error (but print at most once).
4045 modified: src/bin/dwarfdump/dwarfdump.c
4046
4047 On calloc() check for null return amd print an ERROR
4048 message.
4049 Also, on calloc later on check for NULL return
4050 and print an ERROR message.
4051 modified: src/bin/dwarfdump/print_abbrevs.c
4052
4053 2024-02-06: David Anderson
4054 commit 321b001e939dd9c437835f25a728978deaf2812a
4055
4056 - Dwarf_Off dw_offset;
4057 + /* libdwarf does not require offset to be anything in
4058 + particular, and will work fine regardless
4059 + (possibly returning DW_DLV_ERROR or DW_DLV_OK). But
4060 + valgrind generates a warning passing in the uninitialized
4061 + value so let us initialize it to ... something. */
4062 + Dwarf_Off dw_offset = 11;
4063 modified: fuzz/fuzz_debug_str.c
4064
4065 Additional doc on dwarf_get_str() for completeness.
4066 modified: src/lib/libdwarf/libdwarf.h
4067
4068 2024-02-04: Jeremy
4069 commit 308b55331b564d4fdbe3bc6856712270e5b2395b
4070
4071 One more quick tweak for zstd targets
4072
4073 2024-02-04: Jeremy
4074 commit 28e21ea25bbb7dcaa04ef3e52611158680d55042
4075
4076 Oops, copy paste error
4077
4078 2024-02-03: Jeremy
4079 commit 2d8b0a15349ca634b212a11f2b2a97b9a85890a3
4080
4081 Small tweak
4082
4083 2024-02-03: Jeremy
4084 commit 37929dc77552b4686899f0bd0afb7a9c02501b4a
4085
4086 Update patches
4087
4088 2024-02-03: David Anderson
4089 commit 35e2f1434f39b7262d49f0a9de4f9cbee5815ff0
4090
4091 Removing many _WIN32 and related
4092 ifdefs where they are not needed now, and
4093 we deleted many off_t and size_t uses too
4094 (meaning now we have dwarf_seekr.c).
4095 Adding a comment on each #if 0 to explain what it is
4096 (try grep 'if 0' *.c)
4097
4098 modified: src/lib/libdwarf/dwarf_arange.c
4099 modified: src/lib/libdwarf/dwarf_debugaddr.c
4100 modified: src/lib/libdwarf/dwarf_debuglink.c
4101 modified: src/lib/libdwarf/dwarf_debugnames.c
4102 modified: src/lib/libdwarf/dwarf_die_deliv.c
4103 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
4104 modified: src/lib/libdwarf/dwarf_elfread.c
4105 modified: src/lib/libdwarf/dwarf_fill_in_attr_form.c
4106 modified: src/lib/libdwarf/dwarf_find_sigref.c
4107 modified: src/lib/libdwarf/dwarf_form.c
4108 modified: src/lib/libdwarf/dwarf_frame.c
4109 modified: src/lib/libdwarf/dwarf_frame2.c
4110 modified: src/lib/libdwarf/dwarf_generic_init.c
4111 modified: src/lib/libdwarf/dwarf_global.c
4112 modified: src/lib/libdwarf/dwarf_gnu_index.c
4113 modified: src/lib/libdwarf/dwarf_harmless.c
4114 modified: src/lib/libdwarf/dwarf_init_finish.c
4115 modified: src/lib/libdwarf/dwarf_line.c
4116 modified: src/lib/libdwarf/dwarf_loclists.c
4117 modified: src/lib/libdwarf/dwarf_machoread.c
4118 modified: src/lib/libdwarf/dwarf_object_detector.c
4119 modified: src/lib/libdwarf/dwarf_peread.c
4120 modified: src/lib/libdwarf/dwarf_query.c
4121 modified: src/lib/libdwarf/dwarf_rnglists.c
4122 modified: src/lib/libdwarf/dwarf_setup_sections.c
4123 modified: src/lib/libdwarf/dwarf_str_offsets.c
4124 modified: src/lib/libdwarf/dwarf_string.c
4125 modified: src/lib/libdwarf/dwarf_util.c
4126 modified: src/lib/libdwarf/dwarf_xu_index.c
4127
4128 2024-02-03: David Anderson
4129 commit a0d7b1844515fc7aa2093b48017fa2dc633b92ea
4130
4131 open/close moved to dwarf_seekr.c
4132 as _dwarf_openr, _dwarf_closer
4133 All direct uses converted to the _dwarf form
4134 and no-longer-needed references to _WIN32
4135 and off_t removed nearly everywhere.
4136 Soon the new #if 0 ---- #endif instances
4137 of unneeded stuff will be removed.
4138 modified: src/lib/libdwarf/dwarf_debuglink.c
4139 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
4140 modified: src/lib/libdwarf/dwarf_elfread.c
4141 modified: src/lib/libdwarf/dwarf_generic_init.c
4142 modified: src/lib/libdwarf/dwarf_machoread.c
4143 modified: src/lib/libdwarf/dwarf_object_detector.c
4144 modified: src/lib/libdwarf/dwarf_opaque.h
4145 modified: src/lib/libdwarf/dwarf_peread.c
4146 modified: src/lib/libdwarf/dwarf_safe_arithmetic.c
4147 modified: src/lib/libdwarf/dwarf_seekr.c
4148 modified: src/lib/libdwarf/dwarf_util.c
4149
4150 2024-02-03: David Anderson
4151 commit f39def9bfb0630307a42f2b9d53ab3eef9dfbdd0
4152
4153 Fixing ifdef nest
4154 modified: src/lib/libdwarf/dwarf_seekr.c
4155
4156 2024-02-03: David Anderson
4157 commit f0854c25f1f07dac516f8d8f953f7d72ca5b9fc2
4158
4159 Ifdef nest wrong for _WIN64 lseek define.
4160 modified: dwarf_seekr.c
4161
4162 2024-02-03: David Anderson
4163 commit 8ae6edad4e9f116e3f7fc6ff4d18c92cd30533c1
4164
4165 Latest, all about dwarf_seakr.c
4166 modified: ChangeLog
4167
4168 2024-02-03: David Anderson
4169 commit f2790bb57f6e1a2f110cdd35370cf5b959f8f060
4170
4171 For _WIN64 using the built-in integer type __int64.
4172 Now builds on Win10.
4173 Altered #if 0 by adding /* debugging only */
4174 modified: src/lib/libdwarf/dwarf_seekr.c
4175
4176 2024-02-03: David Anderson
4177 commit 9c3081164c48dd50fdc00174e532928e08fa6bab
4178
4179 Remove blocks already marked #if 0
4180 modified: src/lib/libdwarf/dwarf_crc32.c
4181 Add comment following #if 0 indicating the block is for
4182 debugging only.
4183 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
4184 modified: src/lib/libdwarf/dwarf_object_detector.c
4185
4186 2024-02-03: David Anderson
4187 commit 724fe687fa619909a0a24af2753d76e7c150a678
4188
4189 Splitting lseek() and read() code into
4190 dwarf_seekr.c (new file) so other files
4191 do not need Windows ifdefs or types.
4192 -cmake/libdwarf-config.cmake \
4193 +cmake/libdwarfConfig.cmake.in \
4194 modified: src/lib/libdwarf/Makefile.am
4195
4196 Change all types locally to be libdwarf types,
4197 no longer need off_t or size_t here.
4198 Call dwarf_seekr() and dwarf_reader().
4199 modified: src/lib/libdwarf/dwarf_crc32.c
4200
4201 Removing unwanted blank line.
4202 modified: src/lib/libdwarf/dwarf_debuglink.c
4203
4204 Change the text a #if 0 debug code block
4205 so it no longer has 'dadebug' in it. Was Awkward.
4206 modified: src/lib/libdwarf/dwarf_generic_init.c
4207
4208 Remove WIN ifdefs.
4209 Change all types locally to be libdwarf types,
4210 no longer need off_t or size_t here.
4211 Call dwarf_seekr() and dwarf_reader().
4212 modified: src/lib/libdwarf/dwarf_object_detector.c
4213 modified: src/lib/libdwarf/dwarf_object_read_common.c
4214
4215 Change internal prototype to use only libdwarf-types
4216 in _dwarf_object_read_random() as that calls
4217 dwarf_seekr() dwarf_reader() and we no longer need
4218 system types.
4219 modified: src/lib/libdwarf/dwarf_object_read_common.h
4220
4221 Remove the unwanted (for now) parts of Windows
4222 ifdefs.
4223 modified: src/lib/libdwarf/dwarf_seekr.c
4224
4225 Correct a comment about a certain gcc option.
4226 modified: src/lib/libdwarf/dwarf_setup_sections.c
4227
4228 2024-02-03: David Anderson
4229 commit f144bdbfcb2348a33986aa94318bf41ce1097fa6
4230
4231 Some cmake files were not listed at a change point.
4232 Now they are.
4233 modified: ChangeLog
4234
4235 2024-02-02: David Anderson
4236 commit d9bbb1299a31a3260a90862ec6af33890d700d4f
4237
4238 Moved lseek/read so we can concentrate the
4239 changes required for msys2/windows
4240 special requirements into
4241 one small source.
4242 modified: src/lib/libdwarf/CMakeLists.txt
4243 modified: src/lib/libdwarf/Makefile.am
4244 modified: src/lib/libdwarf/dwarf_opaque.h
4245 new file: src/lib/libdwarf/dwarf_seekr.c
4246 modified: src/lib/libdwarf/meson.build
4247
4248 2024-02-01: David Anderson
4249 commit f4f16262d4bb02c534ca12742aa6ccca37815ae1
4250
4251 New month so the month changes in the first lines.
4252 modified: bugxml/dwarfbug.html
4253 modified: bugxml/dwarfbuglohi.html
4254
4255 2024-02-01: David Anderson
4256 commit 21bb3067a534dabbdb1afc4bdf9b36f61674e239
4257 Merge: 9cf659f3 95448e8b
4258
4259 Merge branch 'jeremy-rifkin-cmake-changes-for-zlib-zstd'
4260 Fixing issues with cmake when zstd not there.
4261
4262 2024-02-01: David Anderson
4263 commit 95448e8b75c16c0156737d416b4cfc571d3c128c
4264 Merge: 9cf659f3 b8cf3548
4265
4266 Merge branch 'cmake-changes-for-zlib-zstd' of https://github.com/jeremy-rifkin/libdwarf-code into jeremy-rifkin-cmake-changes-for-zlib-zstd
4267 cmake/zstd issues with build.
4268
4269 2024-01-31: Jeremy
4270 commit b8cf3548112fd4cb68e8d4b89c6ce4348bc8745c
4271
4272 Quick fix
4273
4274 2024-01-31: David Anderson
4275 commit 9cf659f3a607dcc69a911bba2109a07d7941987b
4276
4277 up to date with git log
4278 modified: ChangeLog
4279
4280 2024-01-31: David Anderson
4281 commit 3a4b0d9a740ae5f724b411f07bc079c2fa73b076
4282
4283 Minor clarification documenting linking with libdwarf.a
4284 modified: doc/libdwarf.dox
4285
4286 2024-01-31: David Anderson
4287 commit 4bb7383ae3ada308c3d44ec11f0c367e467a0c3f
4288
4289 Added to documentation of dwarf_crc32()
4290 and dwarf_basic_crc32() and dwarf_crc32().
4291 modified: src/lib/libdwarf/libdwarf.h
4292
4293 2024-01-31: David Anderson
4294 commit 182e935240f5dac5fd62d42ad13294758cb9824e
4295
4296 Fixed so no longer forcing read of
4297 uninitialized memory.
4298 valgrind noticed the bug.
4299 modified: fuzz/fuzz_crc.c
4300
4301 Added comments.
4302 modified: fuzz/fuzz_crc_32.c
4303
4304 2024-01-31: David Anderson
4305 commit 74bccd58f8cf1a0dc60a76e88264d72c110a5069
4306
4307 Now with a test for a null pointer passed in.
4308 There is no error return, but instead we
4309 simply return 0.
4310 modified: src/lib/libdwarf/dwarf_crc.c
4311 CMakeLists.txt
4312 src/lib/libdwarf/CMakeLists.txt
4313 src/lib/libdwarf/cmake/libdwarf-config.cmake
4314 src/lib/libdwarf/cmake/libdwarfConfig.cmake.in
4315
4316 2024-01-29: David Anderson
4317 commit 688afdc072c59d3a330c708e05c386fca991bb81
4318
4319 Up to date with git log
4320 modified: ChangeLog
4321
4322 2024-01-29: David Anderson
4323 commit ff535a2c76858f3d9a50fb648fe00d9eaea4b8f7
4324
4325 Added Jan 2024 release date (0.9.1)
4326 modified: README.md
4327
4328 2024-01-28: David Anderson
4329 commit 6178ba8c12eaa55ae906ef68fb6bf518ef0b8b0d
4330
4331 Now all version 0.9.2 (no build or software change yet).
4332 modified: CMakeLists.txt
4333 modified: configure.ac
4334 modified: doc/libdwarf.dox
4335 modified: doc/libdwarfp.mm
4336 modified: meson.build
4337 modified: src/lib/libdwarf/libdwarf.h
4338
4339 2024-01-27: David Anderson
4340 commit 8de6f6e694a2dcd2222c9f4757d0c44a26a52b9b
4341
4342 Dated, marked releasing.
4343 modified: doc/libdwarf.dox
4344 modified: doc/libdwarf.pdf
4345
4346 2024-01-26: David Anderson
4347 commit 9a8f0f761120bbbdb1f3f9442ed67b4c84e65c44
4348
4349 More messages use homefy() so regression tests
4350 independent of that aspect of the path of
4351 relevant strings.
4352 modified: src/bin/dwarfdump/dwarfdump.c
4353
4354 2024-01-26: David Anderson
4355 commit 992fb90bdec76ee850758e5a2fcec60c69451f1d
4356
4357 Updated Changes a little.
4358 modified: doc/libdwarf.dox
4359 Regenerated
4360 modified: doc/libdwarf.pdf
4361
4362 2024-01-26: David Anderson
4363 commit 0bae85ef5ac5eac3b5bf21aff32eb607be9db742
4364
4365 Now with latest git log
4366 modified: ChangeLog
4367
4368 2024-01-26: David Anderson
4369 commit cc343150beab8de77ae28c493ce8a83db152bda3
4370
4371 A compiler used R_386_GOTOFF for a relocation
4372 for DWARF data.
4373 Now that relocation is handled.
4374 modified: src/lib/libdwarf/dwarf_elf_defines.h
4375 modified: src/lib/libdwarf/dwarf_elf_rel_detector.c
4376
4377 2024-01-26: David Anderson
4378 commit bef1fc97f1da8e0a9e0609c2572fd79179a3b7bb
4379
4380 One place in generic_ehdr_from_64()
4381 needed a check for e_shnum zero.
4382 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
4383
4384 2024-01-26: David Anderson
4385 commit 001957b01a4ce47c258a23a6f7eb4acf19632acc
4386
4387 Bringing up to date.
4388 modified: ChangeLog
4389
4390 2024-01-26: David Anderson
4391 commit 872820898d7d3cb237b130efe33f3dc1768499d4
4392
4393 Removed lots of debug message() commands
4394 that were just for debugging meson.build.
4395 modified: src/lib/libdwarf/meson.build
4396
4397 2024-01-26: David Anderson
4398 commit f4219c32811ac50e61c478ccf3d89061843bfac6
4399
4400 Added note about zstd (in common use
4401 in Linux before 2020) and libsztd-dev
4402 modified: README.md
4403
4404 2024-01-26: David Anderson
4405 commit 916fd61c3d8ed3b5a59c8cd79ae2a19e8457f176
4406
4407 Fixed indent mistake (looked odd).
4408 modified: meson.build
4409
4410 2024-01-26: David Anderson
4411 commit 778be0d1075eb133dc177483197786ea9314c02d
4412
4413 We delete
4414 four message() meson commands
4415 that were for debugging our use
4416 of meson. These four are no longer needed.
4417 modified: meson.build
4418
4419 2024-01-26: David Anderson
4420 commit 7eb45d468c05282be8ef7495136a62834df0e9e9
4421
4422 If e_shoff is zero we immediately declare there
4423 is nothing here for DWARF and DW_DLV_NO_ENTRY
4424 is returned. Consistent with the generic Elf ABI
4425 documentation.
4426 No further checking for Elf corruption
4427 or anything else is done.
4428 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
4429
4430 2024-01-23: David Anderson
4431 commit c0cfba34ec80996426b5be2523f6447a2c9b7b39
4432
4433 Revized the new logic on segments/sections
4434 for clarity and to catch corrupted object files
4435 earlier.
4436 modified: src/lib/libdwarf/dwarf_machoread.c
4437
4438 2024-01-23: David Anderson
4439 commit f83ca35f17336f8723aebacc167793d71c0f723e
4440
4441 We now recognize a Mach-o object file (as opposed
4442 to a DSYM) and just treating that slighly differently
4443 lets libdwarf show the DWARF content.
4444 (Because, unlike DSYM, an object file has both
4445 executable code and DWARF data and a slight difference
4446 in how certain names appear)
4447
4448 modified: src/lib/libdwarf/dwarf_macho_loader.h
4449 modified: src/lib/libdwarf/dwarf_machoread.c
4450
4451 2024-01-23: David Anderson
4452 commit 3f2098ff28255c186a84899b2cc10678b65a02a9
4453
4454 Reversed the order of two lines to preserve
4455 a test result. I don't have any TI binaries
4456 and don't expect to, so the TI extension
4457 overlapping DW_TAG_lo_user is a beter choice
4458 than DW_TAG_TI_far_type to show.
4459 modified: src/lib/libdwarf/dwarf.h
4460
4461 Regenerated with the updated dwarf.h
4462 modified: src/lib/libdwarf/dwarf_names.c
4463
4464 2024-01-23: David Anderson
4465 commit adb7f61db003a82fdacfc22f2cdcac70788e75d6
4466
4467 Added in TI DWARF extension codes.
4468 modified: src/lib/libdwarf/dwarf.h
4469 Regenerated.
4470 modified: src/lib/libdwarf/dwarf_names.c
4471
4472 2024-01-22: David Anderson
4473 commit 8670c9102cb57bd1dce156be1760bfb91b3f88a0
4474
4475 Notes on avoiding zlib and zstd
4476 modified: doc/libdwarf.dox
4477
4478 2024-01-20: David Anderson
4479 commit 4f4e51dfb234bad27d9adb9338555e578ca4f340
4480
4481 Documenting the new command to turn off access
4482 to decompression libraries for a build of libdwarf.
4483
4484 meson
4485 To build a libdwarf that does not refer to or link with
4486 decompression libraries zstd or zlib, add the meson
4487 option "-Ddecompression=false"
4488
4489 configure
4490 As of version 0.9.1 the configure option
4491 "--disable-decompression" tells the build to compile
4492 libdwarf and dwarfdump with no reference to the zlib or
4493 zstd libraries.
4494
4495 cmake
4496 To turn off linking with or using zlib or zstd libraries
4497 or headers there is an option to cmake add the cmake
4498 option DENABLE_DECOMPRESSION=NO.
4499
4500 modified: README.md
4501 modified: READMEcmake.md
4502
4503 2024-01-20: David Anderson
4504 commit dafb9bc45af0b918ff80ab668617f73c9f5778d7
4505
4506 With cmake option -DENABLE_DECOMPRESSION=NO
4507 libdwarf will build without any reference
4508 to zlib.h or zstd.h or the respective libraries.
4509
4510 modified: CMakeLists.txt
4511
4512 2024-01-20: David Anderson
4513 commit 82214ba96ba9c6a02c5584fd1dd8803f71760bed
4514
4515 Now passing --disable-decompression to configure
4516 turns off access to libz and zstd,
4517 which is of use to some not expecting
4518 to see compressed sections and missing
4519 libz or zstd.
4520 modified: configure.ac
4521
4522 2024-01-20: David Anderson
4523 commit 89604291e005b1b81efee9a11742edb6443cbedb
4524
4525 Now we define -Ddecompression=YES
4526 as the default and library builders can
4527 pass -Ddecompression=NO to the meson
4528 command to turn off decompression and
4529 avoid any dependency on libz or zstd.
4530
4531 Fixed a bug which would result in
4532 a compile failure referencing includes
4533 for libz.h and zstd.h if one had neither.
4534 Doing set10('LIBZ_H',false) in meson
4535 has the wrong effect, as LIBZ_H gets defined 0
4536 so #ifdef LIBZ_H
4537 finds LIBZ_H is defined.
4538
4539 modified: meson.build
4540 modified: meson_options.txt
4541 modified: src/lib/libdwarf/meson.build
4542
4543 2024-01-20: David Anderson
4544 commit 20e6efcbde6ba8fd964cde62c0e4c5b3ee3088b9
4545
4546 ifdefs for zstd.h and zlib.h were written in a
4547 non-obvious way. Now in standard libdwarf form for clarity.
4548 modified: src/lib/libdwarf/dwarf_init_finish.c
4549
4550 2024-01-10: David Anderson
4551 commit ecb8700f99a0e324ae910b4965cbea16f21f7711
4552
4553 up to date with git log: fixing VS warnings
4554 modified: ChangeLog
4555
4556 2024-01-10: David Anderson
4557 commit 62c214e548b72afa264e26c29ffd6db259f94fce
4558
4559 Altered the argument of _dwarf_load_elf_section_is_dwarf()
4560 to avoid a warning from VS (should have done this before now...)
4561 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
4562
4563 2024-01-10: David Anderson
4564 commit 498968ff7ef9cdaadb901dc6183db2a0139318a7
4565
4566 Now with _WIN32 arrange that lseek not generate a warning.
4567 modified: src/lib/libdwarf/dwarf_object_read_common.c
4568
4569 2024-01-10: David Anderson
4570 commit 31fe00fbc52c3fb66a6c99c4382dceb1d6c3395c
4571
4572 Arraned lseek to now avoid warnings from VS
4573 (using ifdef _WIN32).
4574 modified: src/lib/libdwarf/dwarf_object_detector.c
4575
4576 2024-01-10: David Anderson
4577 commit ddd0cdc9c7fa6bab7b164a38e79d4030b53c9665
4578
4579 If a read is too big, do multiple reads.
4580 If _WIN32 use extra casts to compile ok with VS.
4581 modified: src/lib/libdwarf/dwarf_crc32.c
4582 modified: src/lib/libdwarf/dwarf_object_detector.c
4583 modified: src/lib/libdwarf/dwarf_object_read_common.c
4584
4585 2024-01-09: David Anderson
4586 commit b70779dcdf54c15d468e7c91e2a12a6083a0265e
4587
4588 Up to date with git log
4589 modified: ChangeLog
4590
4591 2024-01-09: David Anderson
4592 commit 501bf707bbf045ebaeb97f57d14f148f680f2121
4593
4594 Fixing warnings (VS) about arguments to posix functions.
4595 modified: src/lib/libdwarf/dwarf_object_detector.c
4596
4597 This did not really fix the two warnings. There is something odd
4598 in the declaration of posix read() and lseek() in VS
4599 community edition 2022.
4600
4601 The warnings complain of off_t to 'unsigned long'
4602 and size_t to 'unsigned int' which seems to make no sense..
4603 Linux and posix docs
4604 agree on the argument and return types and the variables
4605 are appropriately typed.
4606
4607 2024-01-09: David Anderson
4608 commit 13cf9ff0ec8593e5bf494c4e33fd0da6b4727888
4609
4610 Now we can read DWARF2 produced by an obsolete
4611 compiler from Metrowerks. It uses DW_FORM_ref_addr
4612 where it means DW_FORM_addr (DW_AT_low_pc
4613 for example). It sets the
4614 relocation section type to SHT_RELA correctly
4615 and then names the section with .rel (not .rela
4616 as it should).
4617 It has two .rel.debug_line sections for no reason.
4618
4619 libdwarf checks the CU die DW_AT_producer string
4620 and notes when a CU was produced by the Metrowerks
4621 compiler, recording that internally for use
4622 in dealing with attributes and FORMs.
4623 modified: src/lib/libdwarf/dwarf_die_deliv.c
4624 modified: src/lib/libdwarf/dwarf_elf_load_headers.c
4625 modified: src/lib/libdwarf/dwarf_elfread.c
4626 modified: src/lib/libdwarf/dwarf_form.c
4627 modified: src/lib/libdwarf/dwarf_init_finish.c
4628 modified: src/lib/libdwarf/dwarf_loclists.c
4629 modified: src/lib/libdwarf/dwarf_opaque.h
4630
4631 2024-01-08: David Anderson
4632 commit 71a912250c33bab0179cae60b88bfc9d5457ffb7
4633
4634 Latest DW_LANG names now present.
4635 modified: src/lib/libdwarf/dwarf_names.c
4636
4637 2024-01-06: David Anderson
4638 commit 60c15ba27c5693193b4c9cd7ef02cca7a05693ed
4639
4640 Moved some 2021 changes from 2022 to 2021
4641 modified: ChangeLog2021
4642 modified: ChangeLog2022
4643
4644 2024-01-06: David Anderson
4645 commit 560449faedd9c9ce543d1757ae20486a707923a9
4646
4647 Added new DW_LANG codes (see dwarfstd.org)
4648 modified: dwarf.h
4649
4650 2024-01-03: David Anderson
4651 commit cae2c6ae5363f050f65c7206b308412eed603b28
4652 Merge: 146fa5e7 871cbd9b
4653
4654 Merge branch 'AlexDenisov-alexdenisov/add-an-option-to-disable-zlib-zstd'
4655 Adding cmake option to avoid looking for compression libraries
4656
4657 2024-01-03: David Anderson
4658 commit 871cbd9b832d9a50796767a59590dbe948bcdf20
4659 Merge: 146fa5e7 5f310464
4660
4661 Merge branch 'alexdenisov/add-an-option-to-disable-zlib-zstd' of https://github.com/AlexDenisov/libdwarf-code into AlexDenisov-alexdenisov/add-an-option-to-disable-zlib-zstd
4662 Adding option to cmake. So zlib/libzstd ignored (if ignoring is requested)
4663
4664 2024-01-03: AlexDenisov
4665 commit 5f310464c583682afdb0f607a864123001f181d8
4666
4667 Add a CMake option to disable libz/libzstd
4668
4669 Currently, the only way to disable these is to uninstall one of them
4670 from the system, which is not very convenient.
4671
4672 2024-01-01: David Anderson
4673 commit 146fa5e72f84c286477380c80a401e78a4d1d28d
4674
4675 Now just 2024
4676 modified: ChangeLog
4677
4678 2024-01-01: David Anderson
4679 commit b3300492d09687397168b6426584db755c7bd1dd
4680
4681 Pure 2023 data
4682 new file: ChangeLog2023
4683
4684 2024-01-01: David Anderson
4685 commit a180535f2b4a4d0bf02b8ef2d76d639ca8136e9f
4686
4687 With initial 2024 entry.
4688 modified: ChangeLog
4689 auto update with 2024
4690 modified: bugxml/dwarfbug.html
4691 modified: bugxml/dwarfbuglohi.html
4692