2026-01-28: David Anderson commit d0655f0003ccce9d2108d506b64c89f0c0de2035 Now up to date. modified: ChangeLog 2026-01-28: David Anderson commit 165ab8d2588ad3f64c2ca8d6ccd629710c873f51 Now for dwarf_set_frame_rule_initial_value() and similar check the Dwarf_Debug argument is non-null and a real (not pointing to a zeroed structure) pointer. modified: src/lib/libdwarf/dwarf_frame.c Added new field in Dwarf_Debug so after a change to the frame rule etc settings the next access to frame data will check that these settings are an acceptable combination, else it will return DW_DLV_ERROR. modified: src/lib/libdwarf/dwarf_opaque.h Mention that a null Dwarf_Debug argument will cause these little functions to return zero as the 'previous' value in doxygen comments. modified: src/lib/libdwarf/libdwarf.h 2026-01-28: David Anderson commit 705db521d00eeecb04c0acaed3c2c76d83de6f76 Minor changes for release. modified: README.md Final corrections of a couple typos. modified: doc/libdwarf.dox Regenerated. modified: doc/libdwarf.pdf 2026-01-26: David Anderson commit 58ed2549b4cf2647577880bbd5b83ae21ceeac6d Changes up to date now. modified: ChangeLog 2026-01-26: David Anderson commit b677a22f2ea99c2475364cfcda475a11edfb2a75 Release date set 1 February. modified: README.md Release date set 1 February. Clarified recent Changes entry modified: doc/libdwarf.dox Regenerated modified: doc/libdwarf.pdf 2026-01-26: David Anderson commit f5b5429ac5bf58e20943da45043284043aefd7a3 Ensure that all initial entrances to reading Frame data call _dwarf_validate_register_numbers() early on to be sure that table sizes and same-value etc follow the rules. A couple cases this was not done before now. modified: src/lib/libdwarf/dwarf_frame.c 2026-01-26: David Anderson commit 78060b72a06fb5fa3cfd9731ec8736689fade804 Now dwarf_set_frame_rule_initial_value() interprets dw_value argument as meaning 'just return current value, do not change the initial value setting'. It was an ommission to fail to do this days ago. modified: src/lib/libdwarf/dwarf_frame.c Now dwarf_iterate_fde_all_regs3() calls _dwarf_validate_register_numbers() so we return error rather than try to run frame data with bogus user settings of frame register defaults. modified: src/lib/libdwarf/dwarf_frame_iter.c 2026-01-26: David Anderson commit fa6789ffbf39a032e3668c53b0262b47e7a92102 Noted Changes with dwarf_set_frame_rule_initial_value() etc to make the functions easier to use when just getting the current value. modified: doc/libdwarf.dox Regenerated modified: doc/libdwarf.pdf 2026-01-26: David Anderson commit b9d8bc27d91f52e62ca11ea6ee5256e456b459ed Now up to date with git log. modified: ChangeLog 2026-01-26: David Anderson commit 84511baec5d26856914476d23645c247eff2a72c This is used in 'make rebuild' to create C source for libdwarf based on information read from dwarf.h and libdwarf.h. In a Cross-build to Arm ABI the compiler warned of careless comparison of signed to unsigned. Fixed now with completely safe (in this context) cast to signed long. modified: src/bin/buildDW_LNAME/buildlname.c 2026-01-26: David Anderson commit 78927f411ccac59e1ba4fa20a46cc6ff5f469d5d Remove Trailing whitespace. Fix indent errors to be in project codingstyle. modified: src/bin/dwarfdump/dd_command_options.c modified: src/bin/dwarfdump/dd_dwconf.c modified: src/bin/dwarfdump/dd_glflags.h modified: src/bin/dwarfdump/dwarfdump.c modified: src/lib/libdwarf/dwarf_frame_cfa_read.c 2026-01-26: David Anderson commit ae1b1aede39171547f1dc5cc733cc9864f0d58f5 Current. Nothing new here. modified: doc/libdwarf.pdf 2026-01-20: David Anderson commit 43e2d2b61b7b699196144030b0e1b2f63ae4b745 Small clarifications and details added. modified: doc/libdwarf.dox 2026-01-20: David Anderson commit d25e242eb0ad1761d3931207907c2b3f43081f8e Refined the documentation Frames and Section Groups for completeness and clarity. modified: doc/libdwarf.dox 2026-01-20: David Anderson commit 8eccd1de53c2a2bfdab56c9afccf72f9dbe29eba Updated change date. Noted tentative next release. modified: README.md Revised a long comment for clarity and precision. modified: src/lib/libdwarf/dwarf_frame_cfa_read.c 2026-01-18: David Anderson commit 55659532d59871d2fb78cc7efbbc779a9e4c6fc6 Remove 2025 changes, those are in ChangeLog2025 now modified: ChangeLog Added ChangeLog2022, 23,24,25 to make the list of changelogs complete in the next release. modified: Makefile.am 2026-01-18: David Anderson commit 289bcf248be63107c80baee91f417f7aac359186 2025 and earlier will be removed later. modified: ChangeLog This is just 2025. new file: ChangeLog2025 2026-01-18: David Anderson commit 807f61c7b954acdff6dfca92f06d3571ff934a0b Added #if 0 code used for debugging Add fde->fd_have_fde_frame_tab = FALSE; multiple places Add _dwarf_empty_frame_table() call one place. This fixes oss fuzz 475582650 which was a memory leak created in code changed 12 January 2026 (ie, 6 days ago). That change was a major performance enhancement in reading Frame sections (.debug_frame and .eh_frame). 2026-01-18: David Anderson commit e93ed3ebf620f4556232e2fcb633af8b0b786c84 In cleaning up a DW_DLA_LIST of pointers zero each entry after it is freed. Clarity for the reader and just-in-case, though not known to be necessary... modified: dwarf_frame2.c 2026-01-18: David Anderson commit 7d6aba60c1aee7d579a2241c3c445198fa9cb3ca Add comments intended to clarify DW_CFA_offset. modified: dwarf_frame_cfa_read.c 2026-01-18: David Anderson commit 7038eb386b53d2072d8bf7765223e551e09a5df9 Remove some #if 0 lines. modified: dwarf_frame_iter.c 2026-01-18: David Anderson commit 2a95b19ab59d1eaa0f11ff6e442ca347ea9fd435 Remove some #if 0 lines. No longer relevant. modified: dwarf_frame.h 2026-01-12: David Anderson commit 17ecf1c46d1047fb43e876371cc4bffc110729af Fix indents and trailing whitespace. Remove some debug-only code. modified: src/lib/libdwarf/dwarf_frame.c modified: src/lib/libdwarf/dwarf_frame_cfa_read.c 2026-01-12: David Anderson commit 976e30b5912336b2c295968a6cf8f3fdce5fed10 Fixing warnings emitted by VisualStudio. modified: src/lib/libdwarf/dwarf_frame.c modified: src/lib/libdwarf/dwarf_frame_cfa_read.c 2026-01-12: David Anderson commit a0b85ccca9b9ad0d1ddb303372b300e9029342dd Squashed commit of the following: Now with faster reading of frame sections. commit 1c6132bd0f0643ccd98625b0931e23511fe1d61b Author: David Anderson Date: Mon Jan 12 11:09:29 2026 -0800 Removed debugging #if 0 code. modified: src/lib/libdwarf/dwarf_frame2.c modified: src/lib/libdwarf/dwarf_frame_cfa_read.c commit 3ae1e3273e777a7811630881dae7e7d082a84261 Author: David Anderson Date: Mon Jan 12 11:05:08 2026 -0800 Now passing regression tests. modified: src/lib/libdwarf/dwarf_frame.c modified: src/lib/libdwarf/dwarf_frame2.c modified: src/lib/libdwarf/dwarf_frame_cfa_read.c commit 9932f5058ac8f6a8daebc6c4543513f8ff86e065 Author: David Anderson Date: Sun Jan 11 14:35:49 2026 -0800 Aside from a memory leak when suppressing dwarfdump --suppress-de-alloc-tree this works well. modified: src/lib/libdwarf/dwarf_frame.c modified: src/lib/libdwarf/dwarf_frame2.c modified: src/lib/libdwarf/dwarf_frame_cfa_read.c modified: src/lib/libdwarf/dwarf_frame_iter.c commit a9e323d1060f78d43a3449d02075a860972220e7 Author: David Anderson Date: Sun Jan 11 14:35:21 2026 -0800 New month, so new html. generated files. modified: bugxml/dwarfbug.html modified: bugxml/dwarfbuglohi.html commit f411dbf382b8f056435cc18a901ac4cf7d64e6dc Author: David Anderson Date: Sun Jan 11 14:34:35 2026 -0800 Added useful info in a printf (error case). modified: src/bin/dwarfexample/frame2.c commit 3420365b6e59f6d25e60f6092f6bd0212956b50f Author: David Anderson Date: Tue Jan 6 15:44:23 2026 -0800 DO NOT USE THIS COMMIT Now compiles with minimal-copy version of reading DW_CFA values. modified: src/bin/dwarfdump/print_frames.c modified: src/lib/libdwarf/dwarf_alloc.c modified: src/lib/libdwarf/dwarf_errmsg_list.h modified: src/lib/libdwarf/dwarf_frame.c modified: src/lib/libdwarf/dwarf_frame.h modified: src/lib/libdwarf/dwarf_frame2.c modified: src/lib/libdwarf/dwarf_frame_cfa_read.c modified: src/lib/libdwarf/dwarf_frame_iter.c modified: src/lib/libdwarf/libdwarf.h 2026-01-05: Peter Hill commit 0ed97228bc984d368249a1575f10a59b45cdb606 CMake: Fix location of exported target file (#314) Must be alongside `libdwarfConfig.cmake` file