2022-12-31: David Anderson commit 1aa419e3c8c4e32397532a9ffc03bb89a7d99d53 Improved error messages for empty or really short files dwarfdump is asked to look at. modified: dwarfdump.c 2022-12-29: David Anderson commit 2e2eae77fdf848c4af3c1e0340716ee1ad44791b Now up to date with git log modified: ChangeLog 2022-12-29: David Anderson commit b6af42015d91df10dca09f4f8607076e0e248d89 Alter the postioning of calls to print_version_details to make the output more consistent overall. modified: src/bin/dwarfdump/dd_command_options.c Removing a print_version_details() call as it's now done in dd_command_options.c modified: src/bin/dwarfdump/dwarfdump.c Adding checks of a few API calls (when using -ka) that were previously not called from dwarfdump. modified: src/bin/dwarfdump/print_frames.c 2022-12-29: David Anderson commit e63643d5f24cfbf2203d185b432ef4b56b1edc07 Clarifying doxygen comments. modified: src/lib/libdwarf/libdwarf.h 2022-12-27: David Anderson commit 312ac6f05dc573dbdf7c686c586de6ffdf1784b5 Fix silly typo, fixing a comment. modified: src/lib/libdwarf/dwarf_memcpy_swap.h 2022-12-27: David Anderson commit a5df21f0eb961e1280c4c09a0c4828ad6c76f41c Documenting access to the word copy function libdwarf uses to deal with endian differences between an object being read and the the running system library doing the reading. modified: doc/libdwarf.dox modified: doc/libdwarf.pdf modified: src/lib/libdwarf/dwarf_memcpy_swap.h modified: src/lib/libdwarf/libdwarf.h 2022-12-27: David Anderson commit cb506fb532653167cd631adfa530de3efa86df1c Bringing up to date with git log modified: ChangeLog 2022-12-27: David Anderson commit 99081b97a0c3cc2e312ea5f15d0fe47699bc86f0 Removed a useless function The remaining functions are executed in testing. modified: dwarf_crc.c modified: dwarf_crc32.c Removed the now-unused non-API _dwarf_crc32() modified: dwarf_opaque.h Added doxygen comments about the crc functions. modified: libdwarf.h 2022-12-26: David Anderson commit b966a1964b0711f7791383a01d3473250507cfee Fix indents and remove trailing whitespace. modified: src/lib/libdwarf/dwarf_alloc.c modified: src/lib/libdwarf/dwarf_crc32.c modified: src/lib/libdwarf/dwarf_debugnames.c modified: src/lib/libdwarf/dwarf_die_deliv.c modified: src/lib/libdwarf/dwarf_dsc.c modified: src/lib/libdwarf/dwarf_elf_load_headers.c modified: src/lib/libdwarf/dwarf_form.c modified: src/lib/libdwarf/dwarf_frame.c modified: src/lib/libdwarf/dwarf_frame2.c modified: src/lib/libdwarf/dwarf_gdbindex.c modified: src/lib/libdwarf/dwarf_global.c modified: src/lib/libdwarf/dwarf_groups.c modified: src/lib/libdwarf/dwarf_query.c 2022-12-26: David Anderson commit 8825b8280394deb8df28514164317317a9a424cb Fix indents and remove trailing whitespace. modified: dwarfdump.c modified: print_die.c modified: print_pubnames.c 2022-12-26: David Anderson commit 6ce0f705f8931e095e4334ebe33ec1f220042367 Now with latest date. modified: doc/libdwarf.pdf Add new calls (with -ka) testing additional library API functions. modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/print_die.c Add new calls (with -ka) testing additional library API functions. Refactor to pull checking code out of the main line. For clarity. modified: src/bin/dwarfdump/print_pubnames.c if 0 out a local unusable function modified: src/lib/libdwarf/dwarf_arange.c Clarify some comments and spacing. modified: src/lib/libdwarf/dwarf_form.c modified: src/lib/libdwarf/dwarf_opaque.h 2022-12-26: David Anderson commit 8c03d27394d69f06271dc5298cc7956c77e4ca53 updating date in the document. modified: doc/libdwarf.dox 2022-12-23: David Anderson commit 169a8639254511ecbbd0d5ae15406e36a576e8e5 Remove trailing whitespace and correct indents. modified: src/bin/dwarfdump/print_die.c modified: src/bin/dwarfdump/print_hipc_lopc_attr.c 2022-12-23: David Anderson commit 24197dd18e8682a1fb8859b797062e777fafa0aa Removing trailing whitespace modified: src/lib/libdwarf/dwarf_base_types.h modified: src/lib/libdwarf/dwarf_global.h modified: src/lib/libdwarf/dwarf_string.h modified: src/lib/libdwarf/libdwarf.h 2022-12-23: David Anderson commit a4bf108310059bc04306de7aa11b788041e31c6e Corrected error cases in dwarf_offset_list by adding free_dwarf_offsets_chain() in those cases. modified: src/lib/libdwarf/dwarf_query.c Minor change in format, no change in content. modified: src/lib/libdwarf/dwarf_string.h 2022-12-23: David Anderson commit 382fc73ca8146c7aa364fc2f7e90b77e7dfde688 Changes in dwarfstring_constructors, one of them a fix. modified: src/lib/libdwarf/dwarf_line.c 2022-12-23: David Anderson commit b46cbc3e7134bdb3c7ebb8c9d3b74ca17102248a Now using dwarfstring_constructor* better and added comments in places about those.. Corrected a dwarfstring_destructor(&incdir) to dwarfstring_reset(&incdir) in create_fullest_file_path error case. modified: src/lib/libdwarf/dwarf_print_lines.c 2022-12-23: David Anderson commit 801a5e278bb753ea9df68abab953e603bb425e83 Add casts to avoid compiler warnings. modified: src/lib/libdwarf/dwarf_global.c 2022-12-23: David Anderson commit a4a10e6c1e77d5a054b3200201638e461bff69fd Removed unreachable code to avoid compiler warning. modified: src/lib/libdwarf/dwarf_generic_init.c 2022-12-23: David Anderson commit b35972b2c7910585bc0515ec289871e8ee390ca6 Adding cast to target type to avoid compiler warnings. modified: src/lib/libdwarf/dwarf_frame.c modified: src/lib/libdwarf/dwarf_frame2.c modified: src/lib/libdwarf/dwarf_gdbindex.c modified: src/lib/libdwarf/dwarf_gdbindex.h 2022-12-23: David Anderson commit 554e754d588941023f1f1bf7f57548ccbfbde907 Some modifications of local data types to avoid compiler warnings. Correction of error handling in find_sig8_target_as_global_offset() to avoid leak of a Dwarf_Error. modified: src/lib/libdwarf/dwarf_form.c 2022-12-23: David Anderson commit 5519cdc5582ffdeadac865f6bb8de15a60ab798d Adding casts to avoid compiler warnings. Correcting a return tykpe which has long been wrong: DW_DLV_NO_ENTRY changed to DW_DLV_OK modified: src/lib/libdwarf/dwarf_fission_to_cu.c 2022-12-23: David Anderson commit c3f3babcd7c0ba6620e19b11d7079fa53e10b7e8 Added an if (resdwo == DW_DLV_NO_ENTRY) for clarity. Updated a dwarfstring constructor to use a local char array instead of all malloc. modified: src/lib/libdwarf/dwarf_die_deliv.c 2022-12-23: David Anderson commit e4c58a7ab39a8f28d938dfc2e6f89e61ea27eae9 Fix a number of minor errors and add casts where needed to avoid compiler warnings. modified: src/bin/dwarfdump/print_die.c 2022-12-20: David Anderson commit 98e7e804427e979ba4140b1725553dbfa0f4e3b7 Using casts to ensure no compiler warnings on assigning a big unsigned to a smaller unsigned type. modified: src/lib/libdwarf/dwarf_debug_sup.c A simple and clead way to ininialize local structs. modified: src/lib/libdwarf/dwarf_elf_load_headers.c 2022-12-20: David Anderson commit cc347303b0a019f3e352303e866a305a3c2e0c48 Now up to date with ChangeLog modified: ChangeLog 2022-12-20: David Anderson commit 04f3722747e3991fced621cef60fd91654ef2e2d Now allows DW_LANG codes including the latest. modified: src/bin/dwarfdump/print_die.c Updated DW_LANG codes with known items, the with a bit of help. modified: src/lib/libdwarf/dwarf.h make rebuild regenerated these with the new DW_LAN codes. modified: src/bin/dwarfdump/dwarf_names.c modified: src/lib/libdwarf/dwarf_names.c 2022-12-20: David Anderson commit a7d3d5eb322d462729df089415ca761df729f054 Implemented the changed API of dwarf_dietype_offset() modified: src/lib/libdwarf/dwarf_die_deliv.c modified: src/lib/libdwarf/dwarf_query.c Update doxygen on dwarf_dietype_offset() modified: src/lib/libdwarf/libdwarf.h 2022-12-20: David Anderson commit 7d146dcf5c4c3e51b992b97a81145276f11f85a5 Now (with -ka or --check-functions) checks 8 more libdwarf functions for correct operation. modified: src/bin/dwarfdump/print_die.c 2022-12-20: David Anderson commit c95e8ea6bcf391f8e6f034dc848399fbef424731 dwarf_dietype_offset() now has an incompatible change. Before the change it could not work properly if .debug_info referred to .debug_types via a DW_FORM_ref_sig8 (DWARF4). modified: doc/libdwarf.dox 2022-12-20: David Anderson commit 649b0716f1a336b09efcd06deb43c363435c7742 Checking additional functions for correct operation. modified: print_abbrevs.c modified: print_die.c 2022-12-19: David Anderson commit 137985198b36899b5ff703acf9359d81967017ae Ensure the check_function_result summary numbers print out when the summary counts are requested. modified: src/bin/dwarfdump/dd_compiler_info.c Improved the wording of a failed check on abbreviations. modified: src/bin/dwarfdump/print_abbrevs.c Added full check of the values returned by dwarf_offset_list() Refactored blocks of checking-code into new static functions to make the important code easier to read. modified: src/bin/dwarfdump/print_die.c Refactored into static functions some checking code to make the printing code easier to follow. modified: src/bin/dwarfdump/print_hipc_lopc_attr.c 2022-12-19: David Anderson commit fbbd626cd21b2fcbbbe150b40deaaa7a1778b9d0 Deleted an obsolete comment line. modified: src/lib/libdwarf/dwarf_query.c 2022-12-19: David Anderson commit e11da35379e23b7c7a989da4eb0b196e34986451 Updating presentation of a few function interfaces (no change in content) and improved some doxygen comments. modified: src/lib/libdwarf/libdwarf.h 2022-12-19: David Anderson commit 28c33ca700c82d6086e759fcd52312b569ed3119 Added a new example for dwarf_hithpc_b and added (void)parent_index; (etc) to avoid a compiler warning. modified: doc/checkexamples.c 2022-12-18: David Anderson commit c3d319584df050ea46c35dd97ca84871d2c239ad Corrected a doxygen comment. modified: doc/checkexamples.c corrected --check-functions option to enable checks of previously unchecked libdwarf calls. modified: src/bin/dwarfdump/dd_command_options.c Implemented checks of the dwarf_offset_list() function. Refactored the print_die_and_children_internal function: checking code is pushed to nearby static functions so the overall logic is clearer. modified: src/bin/dwarfdump/print_die.c Clarified documentation of dwarf_offset_list(). modified: src/lib/libdwarf/libdwarf.h 2022-12-17: David Anderson commit f335fada3a1ed97dc4df9d5593d25a9af88a19c1 Renamed glflags DIE_global_offset to DIE_section_offset to be specific about its meaning. modified: dd_glflags.c modified: dd_glflags.h modified: dwarfdump.c modified: print_aranges.c modified: print_die.c modified: print_frames.c modified: print_ranges.c 2022-12-17: David Anderson commit 3f0c2b6cf67462b71daa9401220b196d29425851 Making a new --check-functions option and a place to record such. No meaningful implementation yet. modified: dd_command_options.c modified: dd_glflags.c modified: dd_glflags.h Comment changes. modified: print_die.c 2022-12-17: David Anderson commit 3668a15c80a00f6914a623c64a69f947b49419bf Removed some duplicated paragraphs about section groups. Reformatted a number of paragraphs for the convenience of the editor. modified: libdwarf.dox 2022-12-17: David Anderson commit 94b4892b8adbab9316af03301b629d08acf30d8b Bringing up to date with git log. modified: ChangeLog 2022-12-17: David Anderson commit 17ed6be737a6b9082be1f7014d68c9494e509898 Changing function defs that did not follow codingstyle. Now int xxx(yyy...) per library standard. modified: dwarf_frame.c modified: dwarf_line.c Correcting doxygen comment typos. modified: libdwarf.h 2022-12-14: David Anderson commit 33fa9c10e06829754432547c15ad5a91a28eb119 I think this will fix two more warnings. modified: dwarf_debugnames.c 2022-12-14: David Anderson commit 144fc3396c06dc0a9f487468e6b127fe9ba2fc60 Adjusting a type and casting to avoid compiler warnings about some type conversions. modified: dwarf_dsc.c modified: dwarf_elfread.c modified: dwarf_fill_in_attr_form.c 2022-12-14: David Anderson commit 087b5e44360609f53951a30d0f6700346607977d Fixing type and adding casts to avoid warnings from a compiler. modified: dwarf_elf_load_headers.c modified: dwarf_elfread.h 2022-12-14: David Anderson commit b2865d4b2be65e2d512088f015ada43ea82a0f6a Fixing three issues of the output-type of READ_UNALIGNED macro modified: dwarf_debugnames.c 2022-12-13: David Anderson commit f24c5387c6aac43d1fbb6f0199ff5f0ea7ce51e7 removing all instandes of UNUSEDARG and using (void)name; in the function body instead so compilers that do not have the gcc unusedarg feature can compile things without warnings. modified: src/bin/attr_form/attr_form_build.c modified: src/bin/dwarfdump/dd_attr_form.c modified: src/bin/dwarfdump/dd_esb_using_functions.h modified: src/bin/dwarfdump/dd_macrocheck.c modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/print_die.c modified: src/bin/dwarfdump/print_frames.c modified: src/bin/dwarfdump/print_macro.c modified: src/bin/dwarfexample/dwdebuglink.c modified: src/bin/dwarfexample/findfuncbypc.c modified: src/bin/dwarfexample/showsectiongroups.c modified: src/bin/dwarfexample/simplereader.c modified: src/bin/dwarfgen/createirepfrombinary.cc modified: src/bin/dwarfgen/dwarfgen.cc modified: src/bin/dwarfgen/irepattrtodbg.cc modified: src/bin/dwarfgen/irepdie.h modified: src/bin/dwarfgen/irepform.h modified: src/bin/dwarfgen/ireptodbg.cc modified: src/bin/tag_attr/tag_attr.c modified: src/bin/tag_tree/tag_tree.c modified: src/lib/libdwarf/dwarf_base_types.h modified: src/lib/libdwarf/dwarf_debugnames.c modified: src/lib/libdwarf/dwarf_dsc.c modified: src/lib/libdwarf/dwarf_elf_load_headers.c modified: src/lib/libdwarf/dwarf_elfread.c modified: src/lib/libdwarf/dwarf_form.c modified: src/lib/libdwarf/dwarf_frame.h modified: src/lib/libdwarf/dwarf_frame2.c modified: src/lib/libdwarf/dwarf_gdbindex.c modified: src/lib/libdwarf/dwarf_generic_init.c modified: src/lib/libdwarf/dwarf_groups.c modified: src/lib/libdwarf/dwarf_line.c modified: src/lib/libdwarf/dwarf_line_table_reader_common.h modified: src/lib/libdwarf/dwarf_loc.h modified: src/lib/libdwarf/dwarf_machoread.c modified: src/lib/libdwarf/dwarf_macro5.c modified: src/lib/libdwarf/dwarf_object_detector.c modified: src/lib/libdwarf/dwarf_opaque.h modified: src/lib/libdwarf/dwarf_peread.c modified: src/lib/libdwarf/dwarf_query.c modified: src/lib/libdwarf/dwarf_ranges.c modified: src/lib/libdwarf/dwarf_xu_index.c modified: src/lib/libdwarf/libdwarf.h modified: src/lib/libdwarf/libdwarf_private.h Here, in addition, we remove a nested-include of libdwarf.h and make all includes single-level. modified: src/lib/libdwarfp/dwarf_pro_alloc.c modified: src/lib/libdwarfp/dwarf_pro_arange.c modified: src/lib/libdwarfp/dwarf_pro_debug_sup.c modified: src/lib/libdwarfp/dwarf_pro_die.c modified: src/lib/libdwarfp/dwarf_pro_dnames.c modified: src/lib/libdwarfp/dwarf_pro_error.c modified: src/lib/libdwarfp/dwarf_pro_expr.c modified: src/lib/libdwarfp/dwarf_pro_finish.c modified: src/lib/libdwarfp/dwarf_pro_frame.c modified: src/lib/libdwarfp/dwarf_pro_funcs.c modified: src/lib/libdwarfp/dwarf_pro_init.c modified: src/lib/libdwarfp/dwarf_pro_log_extra_flag_strings.c modified: src/lib/libdwarfp/dwarf_pro_macinfo.c modified: src/lib/libdwarfp/dwarf_pro_opaque.h modified: src/lib/libdwarfp/dwarf_pro_pubnames.c modified: src/lib/libdwarfp/dwarf_pro_reloc.c modified: src/lib/libdwarfp/dwarf_pro_reloc_stream.c modified: src/lib/libdwarfp/dwarf_pro_reloc_symbolic.c modified: src/lib/libdwarfp/dwarf_pro_section.c modified: src/lib/libdwarfp/dwarf_pro_types.c modified: src/lib/libdwarfp/dwarf_pro_vars.c modified: src/lib/libdwarfp/dwarf_pro_weaks.c modified: src/lib/libdwarfp/libdwarfp.h 2022-12-13: David Anderson commit 38a55205d492c11178c7ed31c29c74bee6577d2b To make this test pass with the renaming. modified: test/Makefile.am modified: test/README.testcases modified: test/test_dwarfdumpLinux.sh modified: test/testuriLE64ELf.base renamed: test/testuriLE64ELf.sourcecode -> test/testuriLE64ELfsource.c 2022-12-13: David Anderson commit 80930c4de0ac12124a80337f300d4ed5640a045a Another attemt to prevent test/ testcase being rebuilt. renamed: testuriLE64ELf.c -> testuriLE64ELf.sourcecode 2022-12-13: David Anderson commit 88434de76e9966e6ec43d08a0767cfcaf4e3ac44 removing UNUSEDARG in favor of (void)name; sort of thing. modified: Makefile.am modified: README.testcases modified: test_dwarf_tied.c modified: test_dwarfdump.py modified: test_esb.c modified: test_extra_flag_strings.c modified: test_linkedtopath.c Changed the name to deter (I hope) the compiler from recompiling when running tests. This object must not be recreated. renamed: testuriLE64ELf.obj -> testuriLE64ELf.testme 2022-12-12: David Anderson commit 7affdd2b7b20a620be28c3de3f9582978568d626 Ensure testuriLE64ELf.c shows up in a release, modified: test/Makefile.am 2022-12-12: David Anderson commit 98a8840b2b292d91c427a596a2f5b6d85a8eab08 Source to build testuriLE64ELf.obj. The correct cc command is a comment in this file. new file: testuriLE64ELf.c The generated object, to be read, not executed. modified: testuriLE64ELf.obj 2022-12-12: David Anderson commit 839a134ea6d8e4e77a96702b5533c4a6f7e5d399 Improving doxygen wording modified: doc/libdwarf.dox modified: src/lib/libdwarf/libdwarf.h Regenerated. modified: doc/libdwarf.pdf 2022-12-12: vtorri commit 4520c3ce53e7ffb9b9466d69bc50135678d1df92 fix some warnings with Visual Studio (#142) * fix some warnings with Visual Studio Remove some stupid warnings with Visual Studio about deprecated signatures modified: meson.build Fix some types with Visual Studio modified: src/lib/libdwarf/dwarf_crc32.c modified: src/lib/libdwarf/dwarf_debuglink.c Run some tests only if sh shell is found (mainly with msys2 on Windows) modified: test/meson.build * fix typo Co-authored-by: Vincent Torri Co-authored-by: David Anderson 2022-12-12: David Anderson commit 662eefb2d1888aeac0420c95625a6064f4be37a8 Merge: 693baa16 10b2231a Merge branch 'master' of https://github.com/davea42/libdwarf-code Due to a workflow update, not code. 2022-12-12: David Anderson commit 693baa1668960511701ce23429e80e438e41adc1 Update to get latest git log data modified: ChangeLog 2022-12-12: David Anderson commit 37bb274fb9724e7e81db2a66a9266ff21cad60e8 Now setting address_size: to improve test coverage in dwarfdump and libdwrf. modified: src/bin/dwarfdump/dwarfdump.conf Now using the correct type in the macro READ_UNLIGNED_CK to avoid compiler warnings. modified: src/lib/libdwarf/dwarf_debugaddr.c 2022-12-12: David Anderson commit 3d06c94f016edfe0e987f43d1e3344e41bafa9bc Now with the correct datatype in an argument to initialize the hash table default size to a useful value. modified: src/lib/libdwarf/dwarf_alloc.c 2022-12-08: David Anderson commit 4961fee9343c816e058c9da1f6789d9d90e39dc2 Coverity Scan noted a bug: assigning *error when error could be NULL. Fixed. modified: src/lib/libdwarf/dwarf_die_deliv.c 2022-12-08: David Anderson commit cb3ffd809659ce7eabe45474c01372c8e2b27f1f make rebuild regenerated these source files with version 0.6.0 modified: src/bin/dwarfdump/dwarf_names.c modified: src/bin/dwarfdump/dwarfdump-af-table.h modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h modified: src/bin/dwarfdump/dwarfdump-ta-table.h modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h modified: src/bin/dwarfdump/dwarfdump-tt-table.h modified: src/lib/libdwarf/dwarf_names.c 2022-12-08: David Anderson commit f721e4014795541ea5a68e1dc21d1d22e64038ce Used tools/updatesemanticversion.py 0.6.0 to update all the places the version appears in the source modified: CMakeLists.txt modified: configure.ac modified: doc/libdwarf.dox modified: doc/libdwarfp.mm modified: meson.build modified: src/lib/libdwarf/libdwarf.h 2022-12-08: David Anderson commit 027e169211bcf71384bd9a0f04466551934ecc4a Fixing trailing whitespace. modified: src/bin/dwarfdump/dd_globals.h modified: src/lib/libdwarf/dwarf_global.c Fixing trailing whitespace and adding the dwarf_globals_dealloc() where I forgot to insert it. modified: src/bin/dwarfdump/print_pubnames.c 2022-12-08: David Anderson commit 99ab17c5a9edad3f32cc786acd8d3fe02ace3391 Now using the new interfaces. modified: doc/checkexamples.c Now describes the changed API applicable to calling dwarf_get_pubtypes() (and therefore using Dwarf_Type). modified: doc/libdwarf.dox 2022-12-08: David Anderson commit 78814d95c2494b9b063fa5a8960890d89a9c1765 We now allow for missing python3 and sh for Windows Visual Studio users. modified: test/meson.build 2022-12-07: David Anderson commit e817d984ec486ff17e1e9f0544ae542ebb038e56 debugging message (normally ifdef out) now say debugging: instead of the meaningless dadebug. modified: src/lib/libdwarf/dwarf_alloc.c modified: src/lib/libdwarf/dwarf_tsearchhash.c modified: src/lib/libdwarf/dwarf_util.c Zero the pointer and counter whose address the caller provided to ensure no segfaults due to caller being a bit careless. modified: src/lib/libdwarf/dwarf_global.c 2022-12-07: David Anderson commit 7d369fc0eed520d01be2973b187561cfa940be25 Fixed a comment on print_error_maybe_continue. modified: src/bin/dwarfdump/dwarfdump.c Fixed an error message and ensured an ERROR output is counted as that. modified: src/bin/dwarfdump/print_frames.c Corrected the typenames and stdsecname arrays to have the correct contents. Made the behavior on error a bit easier to understand when looking at printed output. modified: src/bin/dwarfdump/print_pubnames.c 2022-12-07: David Anderson commit c896c08aefcc0c1f1cc9b3be34cffaf7f6d907ef Alterations for reading .debug_pubtypes were incorrect. Now fixed. modified: src/bin/dwarfgen/createirepfrombinary.cc 2022-12-07: David Anderson commit 22fdb8cf229177edaab6c9bca583eaa54c8e838d When sh or python3 cannot be found to run scripts in the tests those tests are simple not attempted. make test failure was a problem for a Windows Visual Studio user. modified: test/meson.build 2022-12-06: David Anderson commit 5744cb9cd44299d1415eb7a07d6bc55a659baffe No longer need 4 source files in dwarfdump. modified: src/bin/dwarfdump/CMakeLists.txt modified: src/bin/dwarfdump/Makefile.am modified: src/bin/dwarfdump/meson.build Function no longer needed here. modified: src/bin/dwarfdump/dd_globals.h Now uses the new pubnames-style functions, and only needs one sourcefile to do all.. modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/print_pubnames.c Now correct for pubtypes reading. modified: src/bin/dwarfgen/createirepfrombinary.cc 2022-12-06: David Anderson commit 278fe12b7caf4a88acb627db7cc2a6c5f4a216d3 Corrected new bug leading to crash. modified: src/lib/libdwarf/dwarf_global.c Removed unwanted defines. modified: src/lib/libdwarf/libdwarf.h 2022-12-06: David Anderson commit 3199b6a42e1902b16b5edf24f3732d9ae078665f First try at compatibility statement. modified: doc/libdwarf.dox These files no longer needed. deleted: src/bin/dwarfdump/print_static_funcs.c deleted: src/bin/dwarfdump/print_static_vars.c deleted: src/bin/dwarfdump/print_types.c deleted: src/bin/dwarfdump/print_weaknames.c 2022-12-06: David Anderson commit 1433bca543788d027bed1359fb79aaca6f15a1fd A working version of the new pubtypes etc interfaces. modified: src/lib/libdwarf/dwarf_global.c modified: src/lib/libdwarf/dwarf_global.h With #defines simplifying use of debug_pubtypes modified: src/lib/libdwarf/libdwarf.h 2022-12-05: David Anderson commit dfde62d0ab951970d2121e6348fb02862c03d914 New simpler 0.6.0 source for access to pubnames-like DWARF sections. modified: CMakeLists.txt modified: Makefile.am modified: dwarf_alloc.c deleted: dwarf_funcs.c deleted: dwarf_funcs.h modified: dwarf_global.c deleted: dwarf_pubtypes.c deleted: dwarf_types.c deleted: dwarf_types.h deleted: dwarf_vars.c deleted: dwarf_vars.h deleted: dwarf_weaks.c deleted: dwarf_weaks.h modified: libdwarf.h modified: meson.build 2022-12-05: David Anderson commit e020568521917d1641174b465003311e47f3c8a1 whitespace corrections, indent corrections. modified: src/bin/dwarfdump/dd_checkutil.c modified: src/bin/dwarfdump/dd_tsearchbal.c 2022-12-05: David Anderson commit 5321e211d4dd426bb49e04ba731c3ab97c155aba Removing trailing whitespace. modified: dwarf_global.c modified: dwarf_loclists.c modified: libdwarf.h 2022-12-05: David Anderson commit e86a2fc3b31806e5c34f5d841cabfc73f562b39d Improved the reporting from --trace=0 Added comments where only short options mentioned to show also the long option. modified: src/bin/dwarfdump/dd_command_options.c Minor comment clarification. modified: src/bin/dwarfdump/print_ranges.c Comment clarifications. Some accidental duplicate checking (not a recent mistake) is now enclosed in #if 0 #endif modified: src/lib/libdwarf/dwarf_global.c Completed a set of doxygen @see mentions close to dwarf_dealloc_error. modified: src/lib/libdwarf/libdwarf.h 2022-12-05: David Anderson commit 4093a0f2bc70889f3b37b60e3e8179f5214fe011 Fixed a typo in the most recent Changes item. modified: doc/libdwarf.dox modified: doc/libdwarf.pdf 2022-12-02: David Anderson commit b51b0efb18ffcfadfae615f9e6dc0b243d7967a1 Updated from git log modified: ChangeLog 2022-12-02: David Anderson commit 20915dba4e49be38109820e7e9b6ff2001b8ba7e Fixed to say CODINGSTYLE.md and adding CONTRIBUTIONS.md modified: Makefile.am updates the dealloc comments for dwarf_load_loclists() and dwarf_load_rnglists(). modified: src/lib/libdwarf/libdwarf.h 2022-12-02: David Anderson commit da32f0e282fb1129ef10332245c4f0ffb832837c Mention fix to libdwarf dwarf_load_rnglists and dwarf_load_loclists. modified: doc/libdwarf.dox Removing a blank line of no value. modified: src/lib/libdwarf/dwarf_alloc.c Correcting a memory leak in dwarf_load_rnglists and dwarf_load_loclists. These are functions which are designed for dwarfdump to use, it is unlikely any other code calls them. modified: src/lib/libdwarf/dwarf_loclists.c modified: src/lib/libdwarf/dwarf_rnglists.c 2022-12-01: David Anderson commit 1913eabdeefaf3d62182a327bfafae3574d4be32 Now 'if 0' functions not used anywhere. Not public functions (though one is named like a public function!) modified: dwarf_elf_load_headers.c 2022-12-01: David Anderson commit 1f462173f1c905954733c5228d80b1fe64124a5f Removed unused and unusable code. modified: src/bin/dwarfdump/dd_checkutil.c Removed pointless argument from PrintBucketGroup(). modified: src/bin/dwarfdump/dd_checkutil.h Removed lots of code relating to unusable options: -o (was used for printing Elf relocation records) modified: src/bin/dwarfdump/dd_command_options.c Removing unneeded arg from PrintBucketGroup() call. modified: src/bin/dwarfdump/dwarfdump.c Removing unneeded arg from PrintBucketGroup() call. Removed very old #if 0 set of lines. modified: src/bin/dwarfdump/print_die.c Removed code once used to process archives. We do not process those now. modified: src/bin/dwarfdump/print_tag_attributes_usage.c 2022-12-01: David Anderson commit 43bef7874680fabe426f3fcd101e5d7d9e162394 Added a comment. modified: src/bin/dwarfdump/dwarfdump.c Altered argument in one place so called function will return a value. More complete coverage. modified: src/lib/libdwarf/dwarf_die_deliv.c 2022-12-01: David Anderson commit eca433525439234fbc7a5d37e12476532d4478cf ifdef BUILD_TDUMP on all the functions related to dumping trees as neither dwarfdump nor libdwarf call the dwarf_tdump functions. modified: src/bin/dwarfdump/dd_tsearchbal.c modified: src/lib/libdwarf/dwarf_tsearchhash.c 2022-12-01: David Anderson commit 07e16fa515f779dc17a83fcd7d15eb5778ae5ef1 These files & functions implement some checking. Verifying addresses in .debug_info or .debug_line are at least in bounds of some code section. The dwarfdump options --trace=1 --trace=3 show the table info for debugging this aspect of checking in dwarfdump. The printed tables no longer print pointers as values, but contain an index value (assigned unique to each struct) so regression tests can pass. The pointer value was never very useful anyway. modified: dd_checkutil.c modified: dd_checkutil.h 2022-11-30: David Anderson commit ec18b95e687907999ec8fb5b0f2ceba2a40ce632 Renamed DUMP_VISITED_INFO to KIND_VISITED_INFO DUMP_RANGES_INFO DUMP_LINKONCE_INFO similarly renamed. modified: src/bin/dwarfdump/dd_checkutil.c modified: src/bin/dwarfdump/dd_glflags.h Removed def of KIND_VISITED_INFO etc since dd_glflags.h has such names spelled right. modified: src/bin/dwarfdump/dwarfdump.c 2022-11-30: David Anderson commit a1dcff70b2216ea137b74e7c18a811ad529d786d Documented what this does, and removed assert() and improved the printf output so one knows what the data is about (the KIND shows one of DUMP_RANGES_INFO DUMP_LINKONCE_INFO or DUMP_VISITED_INFO ). Removed unused DUMP_LOCATION_SECTION_INFO DUMP_RANGES_SECTION_INFO. modified: src/bin/dwarfdump/dd_checkutil.c Added a kind field to struct bucket for improved reporting. modified: src/bin/dwarfdump/dd_checkutil.h Improved and clarified the usage_debug_text That applies with --trace=0 (which prints the text and stops). modified: src/bin/dwarfdump/dd_command_options.c deleted unused DUMP_LOCATION_SECTION_INFO DUMP_RANGES_SECTION_INFO modified: src/bin/dwarfdump/dd_glflags.h References KIND_RANGES_INFO, KIND_LINKONCE_INFO , KIND_VISITED_INFO which are identical to DUMP_RANGES_INFO, DUMP_LINKONCE_INFO,DUMP_VISITED_INFO. modified: src/bin/dwarfdump/dwarfdump.c Fixed a comment about Linkonce modified: src/bin/dwarfdump/print_die.c 2022-11-30: David Anderson commit e8bc2c519c123dd5335027ee0ad7be8f55d62492 Up to date with git log modified: ChangeLog 2022-11-29: David Anderson commit 360db21d9c637095bd86b7772d2475c4eff882ab Missed a few test_section_bitmaps lines. Now they are all gone. Not needed since what they tested is no longer in dwarfdump. modified: test/Makefile.am 2022-11-29: David Anderson commit ac85e66759a7ccb063062859fe128046b461c4c5 We no longer test section_bitmaps because those no longer exist in dwarfdump. They applied to dwarfdump options starting with -E and -o and those no longer exist. modified: test/CMakeLists.txt modified: test/Makefile.am modified: test/meson.build deleted: test/test_section_bitmaps.c Adjust the calls to print_macrocheck_statistics to match the elimination of an unused error argument. modified: test/test_macrocheck.c 2022-11-29: David Anderson commit fbed0246a8eb66c6c32ad350cd220e2795911ba6 dwarfdump: Removed code supporting options beginning with -E and -o. These have not been supported or mentioned since version 0.1.0. That is, we are removing dead code, about 250 lines of it.. modified: dd_command_options.c 2022-11-28: David Anderson commit fb8d037a3c04817da871fe9097c492f1772d02c7 dwarfdump: All the section_bitmaps stuff was used when we used libelf. So references to the .c and .h are removed. modified: CMakeLists.txt modified: Makefile.am modified: dd_command_options.c modified: meson.build These files and their data and function have been useless for a while. deleted: dd_section_bitmaps.c deleted: dd_section_bitmaps.h 2022-11-24: David Anderson commit 0c4f405857f21851c08c2e6bdd114aefd6d91466 This eliminates the last of the UNUSEDARG that were not required. The few remaining instances are necessary. modified: src/bin/dwarfdump/dd_esb_using_functions.h modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/print_die.c modified: src/bin/dwarfdump/print_frames.c modified: src/bin/dwarfdump/print_gdbindex.c modified: src/bin/dwarfdump/print_lines.c 2022-11-24: David Anderson commit 5d78e46847e31571af57a7a1023772b6c2f3609a Removed arguments that were UNUSEDARG modified: dd_esb_using_functions.h modified: dd_globals.h modified: dwarfdump.c modified: print_die.c modified: print_frames.c modified: print_hipc_lopc_attr.c modified: print_macinfo.c modified: print_origloclist_codes.c modified: print_section_groups.c 2022-11-24: David Anderson commit 4377014eaeee79560b0afa1b5e39efd77fc58e46 with latest from git log modified: ChangeLog 2022-11-24: David Anderson commit 34696154a06ab99790e77369630bea7ef01082f9 Regenerated with new version modified: src/bin/dwarfdump/dwarf_names.c modified: src/bin/dwarfdump/dwarfdump-af-table.h modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h modified: src/bin/dwarfdump/dwarfdump-ta-table.h modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h modified: src/bin/dwarfdump/dwarfdump-tt-table.h modified: src/lib/libdwarf/dwarf_names.c 2022-11-24: David Anderson commit f0a9b27f0d55891275aa7d5a8f07cbe3def3952d Version now 0.5.1 modified: CMakeLists.txt modified: configure.ac modified: doc/libdwarf.dox modified: doc/libdwarfp.mm modified: meson.build modified: src/lib/libdwarf/libdwarf.h 2022-11-23: David Anderson commit f4772a99c2c5839cd6ee1268e4697e9f28eb97b5 Removed arguments with ARGSUNUSED which cascades to other warning/error and unused local variables. modified: dd_globals.h modified: dwarfdump.c modified: print_abbrevs.c modified: print_aranges.c modified: print_die.c modified: print_frames.c modified: print_gdbindex.c modified: print_hipc_lopc_attr.c modified: print_lines.c modified: print_llex_codes.c modified: print_loclists_codes.c modified: print_macro.c modified: print_origloclist_codes.c modified: print_pubnames.c modified: print_ranges.c 2022-11-23: David Anderson commit 89dae20cee9fb8b1fe82a73b438f6ea148d377a8 Remove superfluous UNUSEDARG instances/arguments. modified: dd_macrocheck.c modified: dd_macrocheck.h modified: dwarfdump.c modified: print_abbrevs.c modified: print_die.c 2022-11-23: David Anderson commit 269e820ed6714294067092129c776e28c234abff Removed UNUSEDARG in several places, simplifying arument lists as appropriate. modified: src/bin/dwarfdump/dd_macrocheck.c modified: src/bin/dwarfdump/dd_macrocheck.h modified: src/bin/dwarfdump/print_die.c modified: src/bin/dwarfdump/print_macro.c 2022-11-23: David Anderson commit df79b41d9cdb68e32095408e021cfcf6bffd7dc1 Corrected a typo. modified: README modified: README.md 2022-11-23: David Anderson commit deba882a47651d9d5b35c5e4902a3c479082c43a Removes arguments declared as UNUSEDARG. modified: dd_globals.h modified: dwarfdump.c modified: print_abbrevs.c modified: print_debug_gnu.c modified: print_die.c modified: print_loclists.c modified: print_ranges.c modified: print_rnglists.c modified: print_section_groups.c 2022-11-23: David Anderson commit cc11773830e8f1e6b84946c8ef2b37bcebbc6686 Deleted unused arguments from dwarfdump_print_expression_operations() function prototype modified: dd_esb_using_functions.h Deleted unused arguments from dwarfdump_print_expression_operations() modified: print_frames.c Also added code to print DW_OP_implicit_value values as strings when they are clearly formatted as nullterminated ASCII strings. Also removed an arbitrary limit on the bytes shown for W_OP_implicit_value. modified: print_die.c 2022-11-23: David Anderson commit c92165ff6abb3d835c81047b28f7975aadb3c3c5 Added a few words about 0.5.0 and --print-debug-addr modified: README modified: README.md 2022-11-23: David Anderson commit 6e52f0e231760e21f7986b548b453f8e18206726 To make it clear these test objects are not to be executed the .text section of each now set to all zero bits. This has no effect on libdwarf or dwarfdump, which ignore .text. modified: test/testobjLE32PE.exe modified: test/testuriLE64ELf.obj 2022-11-23: David Anderson commit 4b66348e1086f5648ff8be2af1b7f14095625d90 Fixed another typo modified: README modified: README.md 2022-11-23: David Anderson commit 3cd45751291d25caf3e775390996dff356acf4b9 Corrected modification date modified: README modified: README.md 2022-11-23: David Anderson commit 394a2d9aadeef62b0f06d6941640caf419436334 Noting 0.5.0 is released. modified: README modified: README.md 2022-11-23: David Anderson commit aea4a46a0db0f0298290294eab70dfa89ffe92ba Showing 0.5.0 release date modified: README modified: README.md 2022-11-23: David Anderson commit dc4133c09d402e67921409be24ad03e1bdec8ee8 new file: CONTRIBUTING.md 2022-11-22: David Anderson commit 1d610ddee444560fe0060d2424f6166c78418bd3 Added more on Maguire book. modified: CODINGSTYLE.md 2022-11-22: David Anderson commit 2038d1669ccad622fef6ebfa4b57b403e8feb870 This is the only style document. renamed: codingstyle.md -> CODINGSTYLE.md This is now an empty placeholder. See the above file. modified: src/lib/libdwarf/CODINGSTYLE 2022-11-21: David Anderson commit a627852aa31eff33482198c12b1d060b328b1ee1 Disabling run on push, run on time modified: scorecards.yml 2022-11-21: David Anderson commit 8408965682c778185584f5e32fe2173c53354e53 Merge: 9ef7bb2a 13280d74 Merge branch 'master' of https://github.com/davea42/libdwarf-code work flow security code scan 2022-11-21: David Anderson commit 13280d74c7b7f1bd2ddbb50fb01a5afa8d9e05cc Create scorecards.yml 2022-11-21: David Anderson commit 9ef7bb2a0f2aa6472a57369526f4b3a80c7cd4d4 Release date 0.5.0 22 Nov 2022 modified: doc/libdwarf.dox Regenerated modified: doc/libdwarf.pdf 2022-11-21: David Anderson commit 06933217ef2f950de0e3a3340afe2e95fd16f8a9 now up to date with git log. modified: ChangeLog 2022-11-20: David Anderson commit 6d7ee5d0ee447004733c6e5b0a6d7d1417e65535 Reintroducing working macos-meson modified: test.yml 2022-11-20: David Anderson commit e6f59cddf3f8e19597686d72704e405ebba23c01 Added commentary about the breakage fix modified: mac_meson.yml 2022-11-20: David Anderson commit ffe12688a4b7ddd860feedf580068fef4b99091c A suggested fix from brew folks. They say this is due to github installing non-Homebrew software in the Homebrew install directory. They also suggest trying find /usr/local/bin -lname '*/Library/Frameworks/Python.framework/*' -delete modified: mac_meson.yml 2022-11-19: David Anderson commit c1145ccc9dbc0f8054211b4d89bc0ffa7b6736ee For testing this case new file: mac_meson.yml Removed the unusable mac_meson case modified: test.yml 2022-11-19: David Anderson commit 4257d78972e888d6bbdb462c1ce6ea7d6009797a Not working. deleted one bogus line. modified: test.yml 2022-11-19: David Anderson commit 0b0144ccf569b89b74192476d44daaaebc7d4033 Still no joy. brew install meson fails. modified: test.yml 2022-11-19: David Anderson commit 6deb22cc1ba5d4ce45e7b2cedb069cb1451ccd15 More changes for macos, see https://stackoverflow.com/questions/26647412/homebrew-could-not-symlink-usr-local-bin-is-not-writable modified: test.yml 2022-11-19: David Anderson commit 7684181e391a1fe3fa684f7dca83bbac188836e6 Slight mod of macos meson workflow. modified: test.yml 2022-11-19: David Anderson commit d769f9e79cb3a9e36360ed7ae09320df43f23930 Updating macos-meson per https://github.com/Homebrew/homebrew-core/issues/30652 to try to get the brew command to work. modified: test.yml 2022-11-19: David Anderson commit 5bc19a75665aa2c3e159a24065137d8347a0d9f6 Assigning a variable to itself got a warning and fail from freebsd compiler. Removed the poinless assign. modified: dwarf_util.c 2022-11-19: David Anderson commit a87544c075732b04624dc3f0cd86ea65ce8405c3 freebsd vm: altered install list for autotools to be in same package order as the working freebsdvms. modified: test.yml 2022-11-19: David Anderson commit 18240f9b724f438b52d8742827b2f1d9bc058f64 Moved one line, macos-meson modified: test.yml 2022-11-19: David Anderson commit 7ba82fbf6c238839504fb15e74cd048bc2ed1ba9 Strange macos autotools failure. Attempting fix. modified: test.yml 2022-11-18: David Anderson commit 5f00152b9592bae10f2f031b1327e5cdd1d66178 Small addition to the Changes for 0.5.0 (about performance improvement). modified: doc/libdwarf.dox These two each had one spot where on error there could be a small memory leakage detected by CoverityScan. Fixed. modified: src/bin/dwarfexample/findfuncbypc.c modified: src/lib/libdwarf/dwarf_util.c 2022-11-18: David Anderson commit bcf912a6cbbe1bda3e6675f1f3c1f1293358bf75 Removing dead code. Removing DW_DLA_ABBREV_LIST (it is not used now). Removing DW_DLA_HASH_TABLE, it is not used now. Removing DW_DLA_HASH_TABLE_ENTRY, it is not used now. None of these three were ever usable by library callers, they were internal-use-only. Free the orphaned hash table on allocatiing a new bigger one. modified: src/lib/libdwarf/dwarf_alloc.c Deleted typedef struct Dwarf_Hash_Table_Entry_s *Dwarf_Hash_Table_Entras the (internal-use-only) struct is no longer used. modified: src/lib/libdwarf/dwarf_base_types.h Now using calloc(to allocate a Dwarf_Hash_Table. And free() to eliminate it. Using dwarf_dealloc_die() instead of the original harder-to-use dwarf_dealloc(). modified: src/lib/libdwarf/dwarf_die_deliv.c Simplified declartion of abl_next struct field. modified: src/lib/libdwarf/dwarf_die_deliv.h Added #includes to reflect the changes today. modified: src/lib/libdwarf/dwarf_fill_in_attr_form.c Added the new acess to DW_FORM_implicit_const value. Changed the singly-linked-list creation to the modern form (faster form). Moved the dwarf_attribute() list creation down to where it is really needed. modified: src/lib/libdwarf/dwarf_query.c New debug printf routines (bracketed with #if 0/endif) Substantial revision of the Dwarf_Hash_Table implementation for faster and reliable use. modified: src/lib/libdwarf/dwarf_util.c Removed truct Dwarf_Hash_Table_Entry_s as no longer used. updated _dwarf_free_abbrev_hash_table_contents() argument list to accommodate the changes today. modified: src/lib/libdwarf/dwarf_util.h 2022-11-18: David Anderson commit 1b3428ba5a40023bcf0af635f153ae2089c14df8 Added words about the 0.5.0 performance improvement. modified: doc/libdwarf.dox 2022-11-18: David Anderson commit 7f615829757dcbe8a26a879c99098394fed0da49 Add dealloc calls appropriately so latest coverity scan does not see defects. modified: src/bin/dwarfdump/print_die.c modified: src/bin/dwarfdump/print_frames.c 2022-11-18: David Anderson commit f99e7f276229b5f21005c1ae08be34abbe1337c4 Add cleanup calls in case of error to avoid coverity scan defect warnings. modified: src/bin/dwarfexample/findfuncbypc.c modified: src/bin/dwarfexample/jitreader.c 2022-11-18: David Anderson commit cd3bcbc08821d23b66f3b38543fab61bf69d5a69 Add a dwarf_dealloc of a list, was missing in an error case. modified: src/bin/dwarfgen/createirepfrombinary.cc 2022-11-15: David Anderson commit 5aa8060e3b34f77ac87f96676b175837cc02a755 Now doxygen 1.9. Minor text changes. modified: doc/libdwarf.pdf 2022-11-15: David Anderson commit 416d6106b71d42d6492b0e60b7d8d43b010dacb7 Up to date with git log. modified: ChangeLog 2022-11-15: David Anderson commit 5b88db3565334b4b3dc2c619196a3307e8011155 Remove trailing whitespace, fix indents. modified: dwarf_alloc.c modified: dwarf_util.c modified: dwarf_util.h 2022-11-15: David Anderson commit 8291eec777c9abd22eb5d1dd6ca82ac3888dfdf1 All is implementing faster abbrev reading. Removing old abbrev struct, function, calls. Mostly now reading abbrev section content just once on any given abbrev. modified: dwarf_die_deliv.c modified: dwarf_query.c ifdef TESTINGHASHTAB lets us (on request) see the overview of some hashing tables. modified: dwarf_tsearchhash.c New treatment of the hash/modulus table for abbrev lookups. Faster and easier to understand. modified: dwarf_util.c 2022-11-15: David Anderson commit e3d14ee95296d4892fd33c2d2c704c27039d954f New fields for improved abbrev reading. Nothing here is visible to library users. modified: dwarf_die_deliv.h 2022-11-15: David Anderson commit eb2e2fe15e35462ecd20da5bffa6b622efae1db3 Small internal changes allowing improved abbrev reading. modified: dwarf_abbrev.c Adding ifdef conditional code only used during evaluation of hash tables. modified: dwarf_alloc.c 2022-11-15: David Anderson commit aa84dfec82ee21585ee93158d8ad477b843ff0c2 Header/struct changes to support more efficient abbrev reading. modified: dwarf_abbrev.h modified: dwarf_opaque.h modified: dwarf_util.h 2022-11-15: David Anderson commit 8d0d91428be882d0ec4c9013bbd31ace0069916d All to build this new source file and function for reading .debug_abbrev much more efficiently overall: Avoiding many thousands of calls to unpack abbrev uleb values. modified: CMakeLists.txt modified: Makefile.am new file: dwarf_fill_in_attr_form.c modified: meson.build 2022-11-06: David Anderson commit d727e8551dc98e7fafc65b6cb2e71ffc0400f956 Minor wording changes. modified: README modified: README.md 2022-11-05: David Anderson commit 9359f7fd22bc7fb185c2dd47a4aef790a6c9f3ad Updated with latest git log. modified: ChangeLog 2022-11-05: David Anderson commit 2f3fc038a2428055930a9a22d06c50ce7e0aefef Expanded doxygen comment on a .debug_addr table access function. Not a function with general utility, and it says so. modified: src/lib/libdwarf/libdwarf.h 2022-11-05: David Anderson commit c4d15634ae3ec411c9c923f317d074f30c167f9d Deleted dead code related to the segmented-address size field. Noticed by Coverity Scan. modified: src/lib/libdwarf/dwarf_arange.c 2022-11-05: David Anderson commit 4dc385ca4355067a7926a5d4e1606401221fe292 An argument swap caused incorrect association with descriptive text. The swap noticed by Coverity Scan. modified: src/bin/dwarfdump/print_debug_addr.c 2022-11-05: David Anderson commit d8bc15a60d35d2b6d221c7e3605e7a4e62da445b New functions for reading .debug_addr independently now documented in Changes. modified: doc/libdwarf.dox modified: doc/libdwarf.pdf 2022-11-05: David Anderson commit 7ca0abec646f48d4b97e76e17009aa37c6deab8f Implements the print_debug_addr() function and prints the .debug_addr section content (if any) without reference to any other section. new file: src/bin/dwarfdump/print_debug_addr.c 2022-11-05: David Anderson commit 1ad6ae32b0b6252d6b6a0f93ba9e72678b649734 The functions implementing reading of section .debug_addr section on its own without reference to any other section. new file: dwarf_debugaddr.c new file: dwarf_debugaddr.h 2022-11-05: David Anderson commit 29d5f1aadcfaa05cb4e409b3dc0c0dc8d67fe300 If a non-zero segment_size selector is found issue an error (such are not supported). modified: dwarf_arange.c Expanded doxygen comments on the debug_addr table function. modified: libdwarf.h 2022-11-04: David Anderson commit c0a7f18cba9a6f528f24d55f157186b02fe0c64e All this enables reading .debug_addr as a separate section and printing it. Added print_debug_addr.c to the source list. modified: src/bin/dwarfdump/CMakeLists.txt Added print_debug_addr.c to the source list. modified: src/bin/dwarfdump/Makefile.am Added a flag: gf_debug_addr_flag and the function and table entries to support --print-debug-addr. modified: src/bin/dwarfdump/dd_command_options.c modified: src/bin/dwarfdump/dd_glflags.c modified: src/bin/dwarfdump/dd_glflags.h Added extern int print_debug_addr() to print the section. modified: src/bin/dwarfdump/dd_globals.h Added code calling print_debug_addr(). modified: src/bin/dwarfdump/dwarfdump.c Added print_debug_addr.c to the source list. modified: src/bin/dwarfdump/meson.build Added dwarf_debugaddr.c and dwarf_debug_addr.h t their respective lists. modified: src/lib/libdwarf/CMakeLists.txt Added dwarf_debugaddr.c and dwarf_debug_addr.h t the file list. modified: src/lib/libdwarf/Makefile.am Added new DW_DLA_DEBUG_ADDR type support. modified: src/lib/libdwarf/dwarf_alloc.c Increased ALLOC_AREA_INDEX_TABLE_MAX to 66 due to new type. modified: src/lib/libdwarf/dwarf_alloc.h Since we never really supported segments, if a non-zero segment size input we get an error. modified: src/lib/libdwarf/dwarf_arange.c Added DW_DLE_DEBUG_ADDR_ERROR for good error reporting in dwarf_debugaddr.c modified: src/lib/libdwarf/dwarf_errmsg_list.h Added DW_DLE_DEBUG_ADDR_ERROR Added dwarf_debug_addr_table() and dwarf_debug_addr_by_index() and dwarf_dealloc_debug_addr_table() to support reading .debug_addr on its own. modified: src/lib/libdwarf/libdwarf.h Added dwarf_debugaddr.c to the source list. modified: src/lib/libdwarf/meson.build 2022-11-01: David Anderson commit c2c9879644454a5d15a252bf469adb6db1fe4dcb Update from git log modified: ChangeLog 2022-11-01: David Anderson commit aaad3fab651a0a174f620e5cfbe93147c94a18da Trim trailing spaces and fix an indent mistake. modified: dd_sanitized.c 2022-11-01: David Anderson commit ceb31db1421d48f8c85ade94cf5247f124d38b82 These changes reduce time spend in reallocation of a larger hash search table. In setting up Dwarf_Debug set the hash search initial size to a number more likely to be useful than 0. Starting at zero results in excessive table rebuilds on expansion. Using a new argument to _dwarf_get_debug() to do that. modified: dwarf_alloc.c New arg to _dwarf_get_debug function prototype. modified: dwarf_alloc.h Now passes file size to _dwarf_get_debug() modified: dwarf_init_finish.c Eliminate some of the intermediate expansions, so bigger expansions done less often. modified: dwarf_tsearchhash.c 2022-11-01: David Anderson commit 350a19cde227d150bfe4895bfad20496f0b35d49 Remove trailing whitespace. modified: dwarf_leb.c modified: libdwarf.h 2022-10-29: David Anderson commit c2a35a312da09ce2af1bdaaaf0504d9cb1107aae Hand unrolled first 2 bytes in _dwarf_skip_128() to match dwarf_decode_leb128(). Saves time as shown by callgrind (not a lot). modified: dwarf_leb.c 2022-10-28: David Anderson commit 1bd9c4797304ac50c4bfaf15d69f82eaceb1e195 Up to date with git log. modified: ChangeLog 2022-10-28: David Anderson commit 6baaf8d4c3db5cef06bac769fa438ca607d87372 Using the new table. The table is similar to a ctype table. Created by src/bin/builduritable/uritablebuild.c modified: src/bin/dwarfdump/dd_sanitized.c Now with some added timing code (not normally used). modified: test/test_sanitized.c 2022-10-28: David Anderson commit a39399135953102ff961cbc990870d3e5799e7eb Now also builds the character table for dd_sanitized in addition to a ctype table. The tables generated are not automatically used, though things could be rearranged to make that happen. For now hand insertion in case of changes is the approach. modified: src/bin/builduritable/uritablebuild.c Now with the character table and more efficient processing using that table. modified: src/bin/dwarfdump/dd_sanitized.c Now all run the test_sanitized tests. modified: test/CMakeLists.txt modified: test/Makefile.am modified: test/meson.build New testcase for sanitized() new file: test/test_sanitized.c 2022-10-22: David Anderson commit 88170f967499be09a88a29b8dc6a36c1ec7422b6 Added comments to examplecuhdr() mentioning that the full descent of the DIE tree is not always necessary, depending on the goals of the calling program. modified: doc/checkexamples.c 2022-10-21: David Anderson commit 38912ce851efad99515f01427612829835f60485 Added some documentation on the new example Example walking CUs modified: doc/checkexamples.c Regenerated. modified: doc/libdwarf.pdf 2022-10-21: David Anderson commit be103a959c1633d49aa3e7c3a801ce85035919e3 Noe ensures libdwarf.dox in the distribution. modified: doc/Makefile.am Added new example on reading through DIEs searching for ... something ... and allowing a stop after every CU .. modified: doc/checkexamples.c Added references to the new example. modified: doc/libdwarf.dox Regenerated. modified: doc/libdwarf.pdf Fixed doxygen commends on groups of functions. modified: src/lib/libdwarf/libdwarf.h 2022-10-21: David Anderson commit 63129695a2c96253828950a69e0454ac539feb40 Added new example and fixed some indents and trailing whitespace. modified: doc/checkexamples.c 2022-10-17: David Anderson commit 0f4e1e9d67915f4f69c171b3f76584904bc9cfbc Brings ChangeLog up to date with git log. modified: ChangeLog 2022-10-17: David Anderson commit 37e6ba9559a743ebf88e9fdb94b12455d1019094 Fixed an indent mistake. modified: src/lib/libdwarf/dwarf_line.c 2022-10-17: David Anderson commit 129d6fa0b5cb935b3915aa88b0867c4e2bab3530 Remove trailing whitespace. modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/print_lines.c 2022-10-17: David Anderson commit 06c9b536ff50199dc798f7d1faa34cffb632baf8 In a relocatable object .debug_names needs to be relocated, otherwise we get an error from reading with libdwarf. Now it is relocated when appropriate. modified: src/lib/libdwarf/dwarf_elfread.c 2022-10-13: David Anderson commit 43a23049a6a7392c46e4339a9e1ee7b6a73bb32b With latest git log information. modified: ChangeLog 2022-10-13: David Anderson commit a6a8be137502b750f63b57eee89aba4e0e1bf9ce Updated by 'make rebuild'. version 0.5.0 modified: src/bin/dwarfdump/dwarf_names.c modified: src/bin/dwarfdump/dwarfdump-af-table.h modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h modified: src/bin/dwarfdump/dwarfdump-ta-table.h modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h modified: src/bin/dwarfdump/dwarfdump-tt-table.h modified: src/lib/libdwarf/dwarf_names.c 2022-10-13: David Anderson commit f2b12b4b7ad5e5183145577756491bdfd43bfec4 Removed mention of three dates things changed in dwarfdump use. Those dates were a year (and more) in the past and no longer important. modified: dwarfdump.1 2022-10-12: David Anderson commit 272b1a14ced493c56fa0ee154982dfbc139f613d Changed the appearance of PRINT_CU_INFO and DWARF_CHECK_ERROR_PRINT_CU function definitions to match general practice in the overall project. modified: src/bin/dwarfdump/dwarfdump.c renamed record_line_error() to print_common_line_error() to match what it actually does. Removed (via #if 0) a couple lines doing a bogus DWARF_CHECK_ERROR2() This removes a strange incomplete/useless error message in case of a damaged .debug_line line table. modified: src/bin/dwarfdump/print_lines.c Added comments reminding the reader what DWARF_CHECK_ERROR_PRINT_CU() does as a side effect. modified: src/bin/dwarfdump/print_macro.c 2022-10-12: David Anderson commit 62e34e9f9f8d5701c42a7fedfe2f74203cb0f532 Change the default line table file number back to 1 for dwarf5, per the std. modified: src/lib/libdwarf/dwarf_line.c 2022-10-09: David Anderson commit 602111edf64e1c92e7784da695188a508517e0d4 Up to date with git log modified: ChangeLog 2022-10-09: David Anderson commit 52ab751da109d4f188dc4258bb8bb5b23d7ccd91 Mentions the 0.5.0 changes. Arranges that _ (underbar) in non-code blocks shows up as underbar. modified: README modified: README.md 2022-10-09: David Anderson commit 9b1863596623ecb416c4e84c5b845547b75c9bac Bringing up to date with previous changes. modified: ChangeLog Fixing bad indents and removing trailing whitespace modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/print_debug_names.c modified: src/bin/dwarfdump/print_pubnames.c modified: src/lib/libdwarf/dwarf_debugnames.c modified: src/lib/libdwarf/dwarf_global.c modified: src/lib/libdwarf/dwarf_global.h modified: src/lib/libdwarf/dwarf_string.h modified: src/lib/libdwarf/libdwarf.h Removing three blank lines at the end of the file. modified: src/lib/libdwarf/dwarf_alloc.h 2022-10-08: David Anderson commit ad68dc9ded311765383bbc4d4ed51c9bf5eabe3a Something very odd happened a few minutes ago. Compiler complained, fixed, and now it complains so changed back to what it was. modified: print_debug_names.c 2022-10-08: David Anderson commit 1fc0940905024c1959af60a406c73538a9b73898 Merge: a57daf22 f6f99de5 Merge branch 'master' of https://github.com/davea42/libdwarf-code 2022-10-08: David Anderson commit a57daf229124d6c251fdb6263737453b434253f0 Fixed bug in error call. *error needed. modified: src/bin/dwarfdump/print_debug_names.c 2022-10-08: David Anderson commit 98262df16271e7fd2e6869f73eaf2453b4014288 Added example with raw reading of .debug_names. A small hint of how one could do things oneself. modified: doc/checkexamples.c 2022-10-08: David Anderson commit c9173e03edb6c50a82549ab19bc0014201b8ed39 updated to git log. Latest small changes now pass Coverity Scan with 0 defects. modified: ChangeLog 2022-10-08: David Anderson commit f6f99de5ed971424acdaad1b75e89770da798313 updated to git log. Latest small changes now pass Coverity Scan with 0 defects. modified: ChangeLog 2022-10-08: David Anderson commit ec415e3e1c8ac798de28ba5c99b85a377fb3d7f6 Now all these use the slighly modified library-internal function for reading pubnnames-like section.s modified: src/lib/libdwarf/dwarf_funcs.c modified: src/lib/libdwarf/dwarf_global.c modified: src/lib/libdwarf/dwarf_pubtypes.c modified: src/lib/libdwarf/dwarf_types.c modified: src/lib/libdwarf/dwarf_vars.c modified: src/lib/libdwarf/dwarf_weaks.c 2022-10-08: David Anderson commit 9c79fbb70e6728441a0913451487b43bd08d5105 Another instance of the res/cres typo fixed. modified: src/bin/dwarfdump/print_debug_names.c 2022-10-08: David Anderson commit c20b1ddf3dd2694086a1981ec7dbeb8ffbab7229 Fixed a typo in the introduction. modified: doc/libdwarf.dox 2022-10-08: David Anderson commit ac2e6b9313a2c9798a686896fc3cc105e53bbc94 One test of a result int tested the wrong result int, one from a different call.. res->cres modified: src/bin/dwarfdump/print_debug_names.c 2022-10-07: David Anderson commit 8ccf3e0f65a4b819a363f56639cbc14877388bac Up to date with git log modified: ChangeLog 2022-10-07: David Anderson commit f0c944a68a9ec0dfa562adf324417d1517e5bbad Refinement of the Changes text. modified: doc/libdwarf.dox 2022-10-07: David Anderson commit e58f3f6d51329860b11b6af3418a107aee73356a Updated version from 0.4.3 (never released) to 0.5.0 (not released) modified: CMakeLists.txt modified: README modified: README.md modified: configure.ac modified: doc/libdwarf.pdf modified: meson.build Improvments in doxygen comments. modified: src/lib/libdwarf/libdwarf.h modified: doc/libdwarf.dox 2022-10-06: David Anderson commit fc081e4d2e89466bd0be103dc9ef5b8b6ff470b3 Now when printing the DW_IDX operations it checks that the calculated DIE global offset is a real entry in .debug_info. modified: src/bin/dwarfdump/print_debug_names.c When doing local check for a working dwarf_offdie_b based on a global DIE offset from dwarf_dnames... prints to report an error but is silent about the check on success. modified: src/bin/dwarfdump/print_pubnames.c 2022-10-06: David Anderson commit 4a7855d5257f3d99ba702dd89df65366c52b22ae Correcting the code reading .debug_names modified: src/lib/libdwarf/dwarf_global.c Improving description of dwarf_dnames_cu_table() modified: src/lib/libdwarf/libdwarf.h 2022-10-05: David Anderson commit cd1c1b303a677454328d40aa4250742e0771f36a For readability add a newline befor the "tu" list. modified: src/bin/dwarfdump/print_debug_names.c Move a test to *after* one of its values is computed. So we can print a cu list or tu list from the section. modified: src/lib/libdwarf/dwarf_debugnames.c Add in the other standard DW_IDX types (though for _dwarf_internal_get_debug_names_globals() we will not use their values, if present. modified: src/lib/libdwarf/dwarf_global.c 2022-10-04: David Anderson commit 064cc87652bccaf8732b62f392e518f1ee8277be Up to date with git log. modified: ChangeLog 2022-10-04: David Anderson commit 3a74c246dc43d19d050c842e7486b3ec907b4c55 Minor tweaks to the presentation of pubnames-style records. For single entry, print '1 entry' otherwise print the number and 'entries' src/bin/dwarfdump/ modified: print_pubnames.c 2022-10-04: David Anderson commit c8531de88ae5f65d0d13141bd011b57c062d4ba7 Altered declaration of get_true_section_name() modified: dd_esb_using_functions.h Now get_true_section_name returns DW_DLV_OK or DW_DLV_NO_ENTRY so we can determine for sure if a section mentioned is present in the object. modified: dd_true_section_name.c Major revision of the format from .debug_pubnames etc sections and now Dwarf_Globals shows .debug_names. The section print names the either or both of .debug_names or .debug_pubnames when appropriate. modified: print_pubnames.c 2022-10-04: David Anderson commit b9342523ffff0e227ab86972e2b6f6b2e341edf2 Add dwarf_global_tag_number() when reading .debug_names. modified: src/lib/libdwarf/dwarf_global.c Fix some of the Dwarf_Global dw_global arg doxygen. Add dwarf_global_tag_number() and its doxygen. modified: src/lib/libdwarf/libdwarf.h 2022-10-03: David Anderson commit e9f478c15d6916eff239faac0bc5941640464241 Correcting words about .debug_names section CU indexing. Now dwarf_get_globals() gets global offsets for .debug_pubnames and .debug_names (or both if both in an object file). modified: doc/libdwarf.dox Moved an include up to satisfy ordering constraint modified: src/lib/libdwarf/dwarf_debuglink.c Corrected dwarf_dnames_cu_table() to use zero-base indexing. If bucket_array not filled in just return DW_DLV_NO_ENTRY. modified: src/lib/libdwarf/dwarf_debugnames.c dwarf_get_globals() Now acesses .debug_pubnames first and then dwarf_names to get its list of global data/func names. Some refactoring to avoid duplicate coding. modified: src/lib/libdwarf/dwarf_global.c New data recorded given the two sections that can contribute to dwarf_get_globals. modified: src/lib/libdwarf/dwarf_global.h Adding two zero args in the call to the library-internal function that gets all the data in this format. modified: src/lib/libdwarf/dwarf_funcs.c modified: src/lib/libdwarf/dwarf_pubtypes.c modified: src/lib/libdwarf/dwarf_types.c modified: src/lib/libdwarf/dwarf_vars.c modified: src/lib/libdwarf/dwarf_weaks.c Fixed documentation on .debug_names CU indexing (is zero based, not 1 base). Documented dwarf_get_globals gets more than it used to. modified: src/lib/libdwarf/libdwarf.h 2022-10-03: David Anderson commit 7c39204f588f5839f9519c6b5fb55d489fa95f10 Corrected cu table indexing to start at 0. modified: src/bin/dwarfdump/print_debug_names.c Removed 7 lines of code not actually used or needed here. modified: src/bin/dwarfdump/print_pubnames.c 2022-09-30: David Anderson commit f146f5f6c63bc247ec4ccb07c0ed060ae734c2dc In doxygen comments fixed: geting -> getting modified: doc/checkexamples.c 2022-09-24: David Anderson commit 3681c26ac60c84adb6da8a1ac8d6173368c792ee Minor change. Now mentions 0.4.3 (not released) modified: README modified: README.md 2022-09-24: David Anderson commit 0144a8a50fe9df2f8c11bbe2448cc0297b42d6b3 Minor wording changes. modified: README modified: README.md 2022-09-19: David Anderson commit c9e6fa7824ff296da95162bac5133321b829c24c Updated date modified: doc/libdwarf.dox Regenerated modified: doc/libdwarf.pdf Modified the module names that appear in documentation. To clarify the purpose of each group of functions/types. modified: src/lib/libdwarf/libdwarf.h 2022-09-18: David Anderson commit 041a71a6a73af5b50b62b7bb480cc9b65adc5b91 Fixed indents and removed trailing whitespace. modified: src/bin/dwarfdump/dd_esb.c modified: src/bin/dwarfdump/dd_uri.c modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/print_macro.c 2022-09-18: David Anderson commit c400b0342295b3fa0b7fbd5c21b85aebd58cc668 Fixed indents and removed trailing whitespace. src/lib/libdwarf: modified: dwarf_alloc.c modified: dwarf_die_deliv.c modified: dwarf_error.c modified: dwarf_init_finish.c 2022-09-17: David Anderson commit ae227a6da772227ff5a7b1de2caf10e42e9dcb1d Fixing mistakes in the new zstd compression. Would only compile if zlib present before this fix. now compiles with either or both or neither of zlib and zstd. Have no example objects using zstd to test against -- at this time. modified: dwarf_init_finish.c 2022-09-16: David Anderson commit 1492145fb41f35031afdddc3e205077b84578a75 Now up to date with git log modified: ChangeLog 2022-09-16: David Anderson commit ca28cdbfdcb0ed4403971a3f1394e2f80c148f70 Minor clarification of email address. modified: doc/libdwarf.dox Regenerated. modified: doc/libdwarf.pdf Made the @brief more consistent, Return not Returns. Other small clarifications. Spelling DIE, not die, when referring to the generic Debugging Information Entry. Similarly cie and fde when referring to a generic idea of such. modified: src/lib/libdwarf/libdwarf.h 2022-09-15: David Anderson commit e14073e6fc7da9c1ad603fb2cad680d76752c28d Just adding a space in one command. modified: CMakeLists.txt 2022-09-15: David Anderson commit ac82452f202b94b71bf45f3a383cf1115271fc79 Added 0.4.3 note modified: README modified: README.md 2022-09-15: David Anderson commit 9c59817790d9cff5bd493fb2c7c6b2c24a285588 Now reports if zstd is available (in which case it will be necessary to link in that library) modified: configure.ac 2022-09-15: David Anderson commit 9106a52e7ac4e04c1f693a2a73d6380ea9a02cfe In case of an error with the 'type' in an SHF_COMPESSED compress data struct, the report mentions the value in the corrupted field. modified: src/lib/libdwarf/dwarf_init_finish.c 2022-09-14: David Anderson commit e829c387e8316006a487d155553a126e206222a6 Added commentary explaining why dwarfstring_constructor_static() is a good thing to use, sometimes. modified: dwarf_string.h 2022-09-13: David Anderson commit a1e70ed83ea80d7de968e127b239cf9710d2a824 Changes mentioning 0.4.2 and libzstd (0.4.3) modified: README modified: README.md 2022-09-13: David Anderson commit 75ca4be54ace1c02c9534dbffcdc76b73be559e2 Now supports libz and/or libzstd if these are available. modified: src/lib/libdwarf/dwarf_init_finish.c 2022-09-13: David Anderson commit 3a678f22449dbb58f3ef5c701e988945190600e6 Version now 0.4.3. No Changes from 0.4.2 other than allowing/handling libzstd for object section compression. modified: doc/libdwarf.dox 2022-09-13: David Anderson commit 407d1006dceccccf926bc49a77d26ceffdb23856 Set release to 0.4.3 for a future release. Now checks for and builds with libzstd in addtion to libz. modified: CMakeLists.txt modified: configure.ac modified: meson.build modified: src/bin/dwarfdump/CMakeLists.txt modified: src/lib/libdwarf/CMakeLists.txt modified: src/lib/libdwarf/Makefile.am modified: src/lib/libdwarf/meson.build 2022-09-11: David Anderson commit 1bc320995f3ca58c6e49d76f89a443048480863b Now up to date with git log. modified: ChangeLog 2022-09-11: David Anderson commit 73b5193322832def08aa88447825def649fb52e8 The printf here do not mention the executable name now. We don't need the name of dwarfdump anyway, and this keeps the baselines simple, not having to realize dwarfdump.O is the same ( in the sense of comparing baseline text) as dwarfdump. See libdwarf-regressiontests for the tests involved. modified: src/bin/dwarfdump/dd_getopt.c 2022-09-09: David Anderson commit b22dc679c8a46e4bb39cee7b5d558a09b60023ec Now up to date with gitlog again. modified: ChangeLog 2022-09-09: David Anderson commit a8b18ce826134d005cedfbf90ac13a72d351419f Merge: 14bfea01 dadc41b3 Merge branch 'master' of https://github.com/davea42/libdwarf-code 2022-09-09: David Anderson commit 14bfea01cb5f190c5bb06e11160217f026fc0586 Recent change to fix leak had a mistake caught by Coverity Scan. Fixed. modified: src/bin/dwarfexample/simplereader.c 2022-09-09: David Anderson commit 472a9a00fb816ee06c18b7788ca32658520dfb62 Minor text about new fix to libdwarf. modified: doc/libdwarf.dox modified: doc/libdwarf.pdf 2022-09-09: David Anderson commit 5611a8748a63fa279071a5f89ef51d6248886556 the fix moments ago to dwarf_alloc.c was the fix to ossfuzz issue 51183 If strdup fails, write an error message. modified: src/bin/dwarfdump/print_macro.c 2022-09-09: David Anderson commit dadc41b3757fd705ae283c3070220e21c497ae4a If strdup fails, write an error message. modified: src/bin/dwarfdump/print_macro.c 2022-09-09: David Anderson commit 651aac848a452cfb06826f7533b89f829a7c1cb0 If tfind succeeds no need to strdup. And if strdup fails preceding tsearch, write an error message. modified: src/bin/dwarfdump/dd_makename.c 2022-09-09: David Anderson commit bbbf57693319c6898c5a700744ed67d65d5864ed Added a comment: ok if strdup returns 0 in this one spot. modified: src/bin/dwarfdump/dd_addrmap.c 2022-09-09: David Anderson commit eb538f6e8bb4f557b2dba89d21e8b4f8a1855c1d Added + FINDSEC(&dbg->de_gnu_debuglink, + our_pointer, section_name_out, + sec_start_ptr_out, sec_len_out, sec_end_ptr_out); + FINDSEC(&dbg->de_note_gnu_buildid, + our_pointer, section_name_out, + sec_start_ptr_out, sec_len_out, sec_end_ptr_out); which should have been there before. modified: src/lib/libdwarf/dwarf_util.c 2022-09-09: David Anderson commit fcc44f961a1e94903abcd4301250050aa6ddbc46 Added: + malloc_section_free(&dbg->de_gnu_debuglink); + malloc_section_free(&dbg->de_note_gnu_buildid); which are absolutely required! modified: src/lib/libdwarf/dwarf_alloc.c 2022-09-09: David Anderson commit 1e3dcb3e656468fab80a51b6a08f69cfc3b08505 Final for 0.4.2, one thinks. modified: doc/libdwarf.pdf 2022-09-09: David Anderson commit 809ddcfb589b1f8f9a0283a66d3f259aa700aa97 Up to date with git log. modified: ChangeLog 2022-09-09: David Anderson commit 8c219b670b2d1622bbb26608aed345ecae2cce3a Documenting and ensuring that when DW_DLV_ERROR is returned from a dwarf_init* or dwarf_object_init call the examples and documentation call dwarf_dealloc_error(). modified: doc/checkexamples.c modified: doc/libdwarf.dox modified: doc/libdwarf.pdf modified: src/bin/dwarfexample/findfuncbypc.c modified: src/bin/dwarfexample/frame1.c modified: src/bin/dwarfexample/jitreader.c modified: src/bin/dwarfexample/simplereader.c modified: src/lib/libdwarf/libdwarf.h 2022-09-09: David Anderson commit 1bcef65cd6c17566b871365f4561013509c4ec79 Minor leak on an error case fixed (dwarfgen exits just after the error detected). modified: src/bin/dwarfgen/createirepfrombinary.cc 2022-09-08: David Anderson commit 6d699b501ac67054afaf064da492a67fcd01f113 Added include of dd_minimal.h modified: test/test_getopt.c 2022-09-08: David Anderson commit c826e7e3b2174f16e113a654c5c9b4f251b33b91 Changed stderr output to stdout. Added ERROR in each. added to dwarfdump count of major errors. modified: src/bin/dwarfdump/dd_command_options.c modified: src/bin/dwarfdump/dd_compiler_info.c modified: src/bin/dwarfdump/dd_getopt.c On malloc fail added ERROR output, with a sttic flag so each such appears only once. modified: src/bin/dwarfdump/dd_makename.c Fixed the idempotency names to DD_MINIMAL_H modified: src/bin/dwarfdump/dd_minimal.h Added ERROR in message string and added to count of major errors. modified: src/bin/dwarfdump/dd_naming.c modified: src/bin/dwarfdump/dd_tsearchbal.c modified: src/bin/dwarfdump/dd_uri.c modified: src/bin/dwarfdump/dwarfdump.c 2022-09-08: David Anderson commit 248944aacb09ce4704fecec31e09c7870568ec39 Added def of dd_minimal_count_global_error() so we can ignore that function. It is for counting global errors in dwarfdump so we provied a do-nothing replacement here. modified: src/bin/gennames/gennames.c 2022-09-08: David Anderson commit 677bb1ac37dc86785d57cb54c470a2c14944dca8 Added definition of dd_minimal_count_global_error(void) so we can ignore that function here, dwarfdump is not involved. modified: test/test_getopt.c 2022-09-08: David Anderson commit 66442f5be7bdc62f0ebbb224f09c1ceb2106d67d Added a single line comment on the intent of a function. modified: src/bin/attr_form/attr_form_build.c 2022-09-08: David Anderson commit 4a9c16d842ecb215c3b454182f1ee0338a7d2850 Removed duplicated call of a function resetting global flags. modified: src/bin/dwarfdump/dwarfdump.c 2022-09-08: David Anderson commit a8bf66e29e0360259db779385c0c742eeda92653 Modified Windows only code to avoid passing NULL to open() modified: src/bin/dwarfdump/dd_dwconf.c 2022-09-08: David Anderson commit fc865bc2a1524774cf5f5586cd96f6436785e00d When we create an ERROR string here ensure it gets counted in the dwarfdump ERROR count. modified: src/bin/dwarfdump/dd_esb.c 2022-09-08: David Anderson commit 23728d30dfd28cc46314f3b65fb2b34f45ad26df Coverity Scan defect 238524Notes a resource leak at exit(). Added a _dwarf_dealloc_error() call. modified: src/bin/dwarfgen/createirepfrombinary.cc 2022-09-08: David Anderson commit 3d3496588f2fdbbd94d78a01593dd925699df234 Coverity Scan 277697 thinks a deref of de_cu_context_list_end (value NULL) is possible. Though it is not possible I add a NULL check.Add a check for null in insert_into_cu_context_list. And return an error if null. Also,add a return int to flag to the (library-internal) caller if there was an error. modified: src/lib/libdwarf/dwarf_die_deliv.c 2022-09-08: David Anderson commit 4eb102e3ac8b89f236fc666ac189cadc3f2b5148 Remove a recent ill-advised line of code. modified: src/lib/libdwarf/dwarf_generic_init.c 2022-09-08: David Anderson commit d77a5bc41c92b1bdad920f00db91a09ef7b03dad Remove an ill advised recent line of code. modified: src/lib/libdwarf/dwarf_init_finish.c 2022-09-08: David Anderson commit 220975cb9c9d09265412f6bf042a24211c51b1d9 CoverityScan defects 277696 277695 note a duplicate close of local int debuglink_fd and a call to close with argument -1. modified: src/lib/libdwarf/dwarf_object_detector.c 2022-09-07: David Anderson commit f5d5ac617f49858746683356960dbf55d9eee2ae Now properly handles Dwarf_Error which was not in any Dwarf_Debug. Fixing a leak provoked by corrupt object file. modified: src/lib/libdwarf/dwarf_alloc.c 2022-09-07: David Anderson commit ce24576552791fdae7ed7109aa08621016062e43 At each exit() ensure basic destructors called. modified: src/bin/dwarfdump/dd_command_options.c 2022-09-07: David Anderson commit 908a4389d22bf3a81a24d077d9bae77c3bcfa882 Revisions to avoid exit() while ensuring an ERROR is printed and counted as an error in dwarfdump's final counts. modified: src/bin/dwarfdump/dd_esb.c Now records the dd_esb.c errors in the count and calls reset_global_flags() so that there are no leaks from flags when cleaning up. modified: src/bin/dwarfdump/dwarfdump.c 2022-09-07: David Anderson commit 0b847231e3719ff3ba037589f8fc73382c028f14 Adding dd_minimal.h to the headers lists. (meson figures that out for itself, nothing to change in meson.build) modified: src/bin/dwarfdump/CMakeLists.txt modified: src/bin/dwarfdump/Makefile.am 2022-09-07: David Anderson commit 42c281c5d9661351b76a98be0b1c8b919b81fd9c Amplified the comment explaining why this new header exists. modified: src/bin/dwarfdump/dd_minimal.h 2022-09-07: David Anderson commit 289edb30d4e4181939075a953783c85b24e2efc3 Added the same include "dd_minimal.h" void dd_minimal_count_global_error(void) {} here as we use dd_esb.c here and do not need the global count. modified: src/bin/attr_form/attr_form_build.c modified: src/bin/tag_attr/tag_attr.c modified: src/bin/tag_tree/tag_tree.c 2022-09-07: David Anderson commit 02c8fbaf1ddd00c63cae483932ed898c919062db Added include "dd_minimal.h" void dd_minimal_count_global_error(void) {} as dd_esb.c requires that function to exist and the function has no meaning in these files. modified: test/test_canonical.c modified: test/test_esb.c modified: test/test_macrocheck.c modified: test/test_makename.c 2022-09-07: David Anderson commit 7e53e2733795d5c648e03e59700cd5a1f968af08 Function declared here used by dd_esb.c to notify dwarfdump.c that an error message was printed by dd_esb.c new file: src/bin/dwarfdump/dd_minimal.h Added comment following a #endif modified: src/lib/libdwarf/libdwarf_private.h 2022-09-05: David Anderson commit d73830f81b879b2a07eaea9572d00118b24fe85a Declare global_destructors() so dd_command_options can call it on exit(). modified: src/bin/dwarfdump/dd_globals.h Now every exit() first calls global_destructors() to free up data related to glflags fields. Avoids a leak. modified: src/bin/dwarfdump/dd_command_options.c modified: src/bin/dwarfdump/dwarfdump.c 2022-09-05: David Anderson commit 90eee21528c6a38488756528d9dbba16aea666e0 Use exit() from main() instead of return. Easier to track when one does ot know which exit() was inoked. modified: src/bin/dwarfdump/dwarfdump.c Ensure that at least _dwarf_flush_static_error_list() gets called on dwarf_finish(), even if the Dwarf_Debug passed in is NULL. In case of a badly corrupted object this lets us avoid a 'possible leak' as valgrind calls it. modified: src/lib/libdwarf/dwarf_generic_init.c 2022-09-05: David Anderson commit 58d5b1b829fd667136eeb7bcf64cfaa6d4258ce2 Brought up to date with git log. modified: ChangeLog commit 6f96e446567b2fe943365b7168b53a4b3b26ab7c DEBUG renamed as DEBUG_ALLOC (DEBUG_ALLOC should not normally be defined) modified: src/lib/libdwarf/dwarf_alloc.c 2022-09-05: David Anderson commit 15211129be3e7ce4c434bb0eca7e5b6336f4ee68 Added include libdwarf_private.h as an aid to testing behaviour when malloc space exhausted (Faking exhaustion via a tiny amount of code NOT in the source tree). modified: src/bin/dwarfdump/dd_addrmap.c modified: src/bin/dwarfdump/dd_command_options.c modified: src/bin/dwarfdump/dd_compiler_info.c modified: src/bin/dwarfdump/dd_esb.c modified: src/bin/dwarfdump/dd_helpertree.c modified: src/bin/dwarfdump/dwarfdump.c Added a fixed=size static array (with 5 entries) so in the very rare case of an error not attributable to a Dwarf_Debug it is recorded and can be freed later. Caused by memory exhaustion (alloc fail) or by an object file with a very serious corruption making it impossible to open in libdwarf. See _dwarf_flush_static_error_list() modified: src/lib/libdwarf/dwarf_alloc.c Adding the static_err list function declarations (two of them) modified: src/lib/libdwarf/dwarf_alloc.h Initializing a local pointer to 0. Fixing DEBUG messages that had copy-paste errors. modified: src/lib/libdwarf/dwarf_error.c Added call to _dwarf_flush_static_error_list() modified: src/lib/libdwarf/dwarf_init_finish.c 2022-09-04: David Anderson commit ff1e8be91ba2ca13a50ee999c012691cdd8b0910 Small changes to ensure that if memory runs out (even if 'runs out' for the first malloc/calloc call and remains unavailable dwarfdump does something reasonable, reports an error, and just stops. With no leakage. modified: src/bin/dwarfdump/dd_command_options.c modified: src/bin/dwarfdump/dd_dwconf.c modified: src/bin/dwarfdump/dd_makename.c modified: src/bin/dwarfdump/dd_naming.c modified: src/bin/dwarfdump/dwarfdump.c modified: src/lib/libdwarf/dwarf_alloc.c modified: src/lib/libdwarf/dwarf_debuglink.c modified: src/lib/libdwarf/dwarf_harmless.c modified: src/lib/libdwarf/dwarf_init_finish.c modified: src/lib/libdwarf/dwarf_opaque.h 2022-09-04: David Anderson commit 99ddb681f6d67484e42ba7d13a338b544b27a346 The changes for malloc checking. new file: dif20220904-malloc The differences that need to to to master new file: dif20220904-malloc-for-master 2022-09-03: David Anderson commit acd5ca8f2a46b8a9833b98f9c53c1f254e114408 All these and more folded into test.yml deleted: ci_freebsd_autotools.yml deleted: ci_linux_autotools.yml deleted: ci_linux_cmake.yml deleted: ci_linux_meson.yml deleted: ci_macos_autotools.yml deleted: ci_msys2_autotools.yml deleted: ci_msys2_cmake.yml deleted: ci_msys2_meson.yml 2022-09-03: David Anderson commit bab18372d4add9498f3063daa683f4aef366311e cmake -G needs Ninja (capital letter) not ninja modified: test.yml 2022-09-03: David Anderson commit 30c570b1d9a7fb3036027915650f2896b2645278 Adding final macos build modified: test.yml 2022-09-03: David Anderson commit f0d6e0510874f52e501d6f5e247a7699d339f346 Merge: cd70ec3f 14738b59 Merge branch 'master' of https://github.com/davea42/libdwarf-code Minor conflict github and local on a test macos yml. Resolved. 2022-09-03: David Anderson commit cd70ec3f8045e7afca2256710088d9e12b024976 Now tests meson macos modified: ci_macos_autotools.yml 2022-09-03: David Anderson commit 14738b59d202288d27b2e3abf099cbc575730174 Update ci_macos_autotools.yml Fixed typo 2022-09-03: David Anderson commit 27bad56e45c9cf4b19ffc4fb36ef355bc28b8d40 Now tests cmake mac build modified: ci_macos_autotools.yml 2022-09-03: David Anderson commit 035037285bce33443066cb268dcb277fff05f19f Changed the badge wording slightly. modified: README modified: README.md 2022-09-03: David Anderson commit 38d3e07382ebb2e43b36eb66a6cbe90afceb291d Now just one badge representing builds on 4 platforms and configure/cmake/meson on each platform. modified: README modified: README.md 2022-09-03: David Anderson commit 02b03b7da78d1789023d4bc134199297d150c7ce Clang discovered a mistake in a usage message set of strings. It did not affect correctness, but it did provoke a clang 13.0.0 warning so the build stopped. modified: src/bin/attr_form/attr_form_build.c 2022-09-03: David Anderson commit b0784a81000fe592fafd97c77f82971ddb036e44 To avoid warnings from a new compiler (warnings seen now for the first time) we remove some C with undefined meaning such as headdepth = head->llink - (struct ts_entry *)0; See ISO C 1990 section 6.3.6. We add a specific field to count the balanced tree depth instead of using strange pointer arithmetic on llink. No need for pointer arithmetic at all. There is a better way to do this using a HEAD separate struct and a pointer-to an rlink field as that would reduce struct size here, but we are postponing that for now. modified: src/bin/dwarfdump/dd_tsearchbal.c 2022-09-01: David Anderson commit f7015bda84749ef4f9b4746bbb3834087adba8cd Another set-but-not-used variable. Deleted now. modified: dwarf_machoread.c 2022-09-01: David Anderson commit 0dadb043b5a3553ff0b2daa08391bda8ab2bb66e ninja check -> ninja test modified: test.yml 2022-09-01: David Anderson commit 5783429f4556d166273d3b965d1fbb6c56a296b8 Local variable blockoffset was set and incremented but never used. Clang warned. Removed now. modified: src/lib/libdwarf/dwarf_gnu_index.c 2022-09-01: David Anderson commit f205172c01d5fdc1060e377f7c80b271e86cecac Fixed freebsd meson typos modified: test.yml 2022-09-01: David Anderson commit 36ac11b71e8d27402bee1ca435b5b8e1d6012757 Added freebsd cmake and meson tests modified: test.yml 2022-09-01: David Anderson commit 23bbdf69fb2238705ddbcf4f09b4aee90d2f3239 Accidental dup of 2 tests. Fixed. modified: test.yml 2022-09-01: David Anderson commit 449394e1c3cf6a1f40d56358807ec7d831ed56bd Adding autotools of freebsd amd macos modified: test.yml 2022-09-01: David Anderson commit 203f9cd662635f286a6d0ed443a007426a5a16af Adding freebsd and macos (so far autotools only) modified: test.yml 2022-09-01: David Anderson commit 8d374c9fd35c472c528df534282a7557d2fb4b29 Added all msys2 tests modified: test.yml 2022-09-01: David Anderson commit 47b69a860b6c13a7f50d0ef33a9fdf6229aa2752 Update test.yml deleted accident ~ as last line 2022-09-01: David Anderson commit 22446d1247ad5dcc0a51f7be605293e829492297 Omitted a required colon. Fixed. modified: test.yml 2022-09-01: David Anderson commit a5f9b6c048683419cbe4dd25eadd816e08801272 Now up to date with commit log modified: ChangeLog 2022-09-01: David Anderson commit 2bdc1b8630cc8b66d298a2ee7bffd7d869ae65ae Adding -suppress-de-alloc-tree to the dwarfdump -h output. modified: src/bin/dwarfdump/dd_command_options.c 2022-09-01: David Anderson commit 0b1abc536477eb2566f5dc7fbf4596b124194385 A new workflow, soon to run all tests. new file: .github/workflows/test.yml 2022-08-31: David Anderson commit 83d20678854741cce0feaf1b19389e6e35ec97ad Latest frmo gitlog. modified: ChangeLog 2022-08-31: David Anderson commit ea38f1e3517be59437fdc30ca694bb7dd94f0985 Making the documentation references in the last couple lines look better in markdown output while still working ok for github README.md output. modified: README modified: README.md 2022-08-31: David Anderson commit b9363a2eaf6844696e200cd1da14acfd68045f0b spell found a small number of typos. Fixed. modified: doc/libdwarf.dox Regenerated modified: doc/libdwarf.pdf 2022-08-30: David Anderson commit 9495f685a97d91207d221f0f9e6f90d794727ee7 Removed incomplete line. modified: README modified: README.md 2022-08-30: David Anderson commit b87a261170b0ce5dbc059ab1e8c7268e52873bf6 Wording correction, one line. modified: README modified: README.md 2022-08-30: David Anderson commit 54abd870387e0c4cba33dcbdaec53797ff5ecde2 Now with freebsd badge modified: README modified: README.md 2022-08-30: David Anderson commit 2b2801fd1c445c99f689bf29e15213351e987814 added sh to run autogen.sh as it is not marked executable modified: .github/workflows/ci_freebsd_autotools.yml 2022-08-30: David Anderson commit b3afda251be61e6f6243f68f2c55531eeb8c3909 Another try modified: ci_freebsd_autotools.yml 2022-08-30: David Anderson commit b66467c507f9e36d4f513946167e1e124b6994a6 Update ci_freebsd_autotools.yml Hopefully useful change. 2022-08-30: David Anderson commit 1173f024fe4005d700aca6ec7812e6793d089089 Fixing indentation modified: ci_freebsd_autotools.yml 2022-08-30: David Anderson commit 0179979290700347979b86a66c7b1f3ecab1c1d8 Trying freebsd new file: ci_freebsd_autotools.yml 2022-08-30: David Anderson commit d9b03d3e55052a5d665a4fff12867d3124a4b0e0 Minor tweaks to wording. modified: README modified: README.md Small additions to the changes in 0.4.2 wording modified: doc/libdwarf.dox modified: doc/libdwarf.pdf 2022-08-30: David Anderson commit 320d34bf7552f7ddff7991d7dd5cd626ed50e917 The latest standard GNU autotools INSTALL script. modified: INSTALL 2022-08-27: David Anderson commit 350b7689a5f6d2b371ce24e17be70c8e7e8a7723 Up to date with git log modified: ChangeLog 2022-08-27: David Anderson commit 04eefdd4c72d19ee04ccfe066c07e07d04f38bec Corrected DW202208-01 text and added gitfixid. modified: bugxml/data.txt 2022-08-27: David Anderson commit 428235e3d132fb62faf7732735fdbb034d6264b4 Fixes DW202208-001. Fuzzed object gets double free in libdwarf. modified: dwarf_frame.c 2022-08-27: David Anderson commit 60303eb80ecc7747bf29776d545e2a5c5a76f6f8 A new vulnerability: DW202208-001 modified: data.txt 2022-08-24: David Anderson commit 271cc04a1bdd1f47d641ab9219fb138aa02839ff Reformatted again. This time with black -l 70 modified: test_dwarfdump.py modified: test_dwdiff.py 2022-08-24: David Anderson commit aeb828a7530a5bad627d05f644f5f897bfa6bc49 Reformatted with black modified: test/test_dwarfdump.py modified: test/test_dwdiff.py modified: test/test_transformpath.py 2022-08-24: David Anderson commit 545c05da89a44ad2dbf359569d9e65b76c082a01 More minor tweaks about msys2 to clarify that most of the msys2 information here applies to configure/autotools and meson, not just cmake. modified: README.cmake 2022-08-24: David Anderson commit 0de39deee9bb049e9bbd613007e03275624a0471 Removed the mention of dos2unix because that is no longer used anywhere on any OS. modified: .github/workflows/ci_linux_autotools.yml 2022-08-24: David Anderson commit 7c16dc8632200c7ab0e213bfa443b700267c9751 Corrected and amplified notes about building on Windows under mingw64 msys2 modified: README modified: README.cmake modified: README.md 2022-08-20: David Anderson commit f641291015fc44d35ad2510ec9dc34ada2620d3f Added a small detail here about the dwarf_debuglink.c latest change. modified: ChangeLog 2022-08-20: David Anderson commit dea658c0e7c12fcabc64c1fdd95b2d530dfecd16 Updated from git log modified: ChangeLog 2022-08-20: David Anderson commit 703a75efddaf310867093e61e171b306e77897db src/lib/libdwarf/dwarf_debuglink.c: coverity defect 276811 comparison same on both sides coverity defect 276810 Explicit null dereference. This code changed August 14 and these bugs were introduced. Now fixed. modified: src/lib/libdwarf/dwarf_debuglink.c Just added a small comment. modified: src/lib/libdwarf/dwarf_string.c 2022-08-18: David Anderson commit 15c54f288f2b09bb2c6af6df0ec0860d833596d4 Revising these to correctly reference the renamed test source files. modified: test/CMakeLists.txt modified: test/Makefile.am modified: test/meson.build modified: test/test_debuglink-a.sh modified: test/test_debuglink-b.sh modified: test/test_dwarfdump.py modified: test/test_dwarfdumpLinux.sh modified: test/test_dwarfdumpMacos.sh modified: test/test_dwarfdumpPE.sh modified: test/test_jitreaderdiff.sh 2022-08-18: David Anderson commit 14838a29c57348704c87ab2ab58cd54a421c96d2 No longer needed. deleted: test/dos2unix.py Renaming all source files (.c .py .sh) to start with test_ for consistency. renamed: test/debuglinktest-a.sh -> test/test_debuglink-a.sh renamed: test/debuglinktest-b.sh -> test/test_debuglink-b.sh renamed: test/dwarf_leb_test.c -> test/test_dwarf_leb.c renamed: test/dwarf_tied_test.c -> test/test_dwarf_tied.c renamed: test/dwarfdumptest.py -> test/test_dwarfdump.py renamed: test/dwarfdumpLinux.sh -> test/test_dwarfdumpLinux.sh renamed: test/dwarfdumpMacos.sh -> test/test_dwarfdumpMacos.sh renamed: test/dwarfdumpPE.sh -> test/test_dwarfdumpPE.sh renamed: test/dwarfdumpsetup.sh -> test/test_dwarfdumpsetup.sh renamed: test/dwdiff.py -> test/test_dwdiff.py renamed: test/testesb.c -> test/test_esb.c renamed: test/getnametest.c -> test/test_getname.c renamed: test/getopttest.c -> test/test_getopt.c renamed: test/helpertree_test.c -> test/test_helpertree.c renamed: test/jitreaderdiff.sh -> test/test_jitreaderdiff.sh renamed: test/makename_test.c -> test/test_makename.c renamed: test/section_bitmaps_test.c -> test/test_section_bitmaps.c renamed: test/transformpath.py -> test/test_transformpath.py 2022-08-17: David Anderson commit 289e94ea5ae3c0ec083d4c3aa3cb6df1b9b6bf44 Updating meson and configure/autotools build information and mentioning README.cmake is where cmake build information resides. modified: README.md Some details memory use added and the document date updated. No API change. modified: doc/libdwarf.dox modified: doc/libdwarf.pdf 2022-08-17: David Anderson commit f327372bc5da90e3f2650c93a626db1dc1dd4f69 Updating to match what we know works. modified: README modified: README.cmake modified: README.md 2022-08-17: David Anderson commit a2326e43aaaf499bab7632b910ada2dd5962ebae Latest from git log modified: ../../ChangeLog 2022-08-17: David Anderson commit b24e37ca21eb6a4cf67d3ced0e489f478471eda5 Adding ninja test to the workflow. modified: .github/workflows/ci_msys2_cmake.yml 2022-08-17: David Anderson commit 0cc469fe57ac75b606cd4760f0c33c99b0d9fdf9 Cleaned up scripting errors testing for $? modified: test/jitreaderdiff.sh 2022-08-17: David Anderson commit 3f53ac3a96ebade40744f8226f53e55579e54662 In the cmake case do not attempt the jitreader nor the dwarfdump tests. So far those do not work on WIN32. The autotools and meson buils run those just fine. modified: test/CMakeLists.txt 2022-08-16: David Anderson commit 8d8b6738e72f77a4c1b90e4b35e8fc043b3bc94d At a crucial point $? was not saved to r so the dwdiff.py result value was not tested correctly. Fixed. modified: test/jitreaderdiff.sh 2022-08-16: David Anderson commit f1c8667fd5bed0c5dfd5e224da5544c7fa0cfb52 Unused arguments deleted from a couple static functions. No API change. modified: src/lib/libdwarf/dwarf_tsearchhash.c 2022-08-15: David Anderson commit 938175b113897ede284120521f953d9476651ff9 The dwarfdumpPE,Macos,Elf test set did not work with cmake as msys2 was not able to use the introductory #line to derive the script program to run the python. So now we name python3 and Linux and msys2 work for these tests. modified: test/CMakeLists.txt Added a little bit of testing host_os to drop 'debuglinktest-a.sh' and 'debuglinktest-b.sh' from ninja test as getting the Windows output to match Unix/Linux baseline files to match Windows environmengs is ...not working. modified: test/meson.build 2022-08-15: David Anderson commit 00c79fc290777061042d72d52099539c264b1011 This is for regression testing to attempt to make Windows paths look like Unix paths so we can have a single baseline for all OS's. Note that it's not *really* working right yet so for Windows the two actual tests (debuglink) are not run. The msys2 vs Windows paths combined with what dwdebuglink does with paths makes sort of a mess... modified: test/transformpath.py 2022-08-15: David Anderson commit bc9f1f04c543382b1e11446a1df0774e6ad70f0b Changed temp file names for consistency in file naming. And to correct the -a 'mv' command to update the baseline, which has been wrong for some time... modified: test/debuglinktest-a.sh modified: test/debuglinktest-b.sh 2022-08-15: David Anderson commit 8a4675eb41be8056f9d977069cf68118d1da6e12 These are the new test baselines for debuglink. Just the "=====done with" line changed. modified: test/debuglink.base modified: test/debuglink2.base 2022-08-15: David Anderson commit 7ad43120effcf43d2d524d20a85e2685eff9b306 To ease comparisons against a baseline the "=======done with" output line just lists the file basename. No directories shown. modified: src/bin/dwarfexample/dwdebuglink.c 2022-08-14: David Anderson commit 8cdf8f0fd1d02e3781d76989642971d9e391812a Changes to let the basic checks (make check, ninja test) work properly on Windows (there is no change to the linux debuglink output).. modified: src/lib/libdwarf/dwarf_debuglink.c modified: test/transformpath.py 2022-08-13: David Anderson commit 456736367be280efd5f910448c127687ae7cbe59 delete obsolete comment. modified: src/lib/libdwarf/dwarf_debuglink.c Now uses the new python code for helping allow identity to baselines checking just like test/debuglinktest-a.sh does. Was an oversight this was not done earlier. modified: test/debuglinktest-b.sh 2022-08-13: David Anderson commit bd14b6128ca5ce2b63e465950291d2de28b6a3a9 Eliminated unused arg from print_usage_message() Changed int to Dwarf_Signed so pointer subtraction is handled correctly. modified: bin/attr_form/attr_form_build.c modified: bin/dwarfdump/dd_checkutil.c modified: bin/dwarfdump/dd_command_options.c modified: bin/dwarfdump/dd_common.c modified: bin/dwarfdump/dd_common.h modified: bin/tag_attr/tag_attr.c modified: bin/tag_tree/tag_tree.c Removed NULL_DEVICE_NAME define as it is not used here. modified: lib/libdwarf/dwarf_debuglink.c modified: lib/libdwarf/dwarf_util.c 2022-08-12: David Anderson commit ee6f657efcb025f4333654ca351d9fa500d685d0 Now up to date with git log text. modified: ChangeLog 2022-08-12: David Anderson commit ba778304169ddae8d66fd09e4b6d22a68c1341ba Removed an assign in a test. Clearer code. modified: src/bin/dwarfdump/dd_regex.c Remove trailing blank. modified: src/lib/libdwarf/dwarf_crc32.c modified: src/lib/libdwarf/dwarf_die_deliv.c Split a line, it was above the library codingstyle limit. modified: src/lib/libdwarf/dwarf_debuglink.c 2022-08-12: David Anderson commit 2d12f0c05a01f5b27969290ecdbd5555f43a62ce Changes to eliminate VS warnings. Float constants 0.0 -> 0.0f (etc). modified: dd_attr_form.c Four calloc calls were not followed by a NULL return check. Now they are checked. modified: dd_checkutil.c hasprefix->has_cu_producer_prefix for clarity with removal of an argument. modified: dd_compiler_info.c 2022-08-12: David Anderson commit 37d97e9b344059f881f0e5c778c0597b16b42753 - while ((c = *lp) && isinset(ap+1,c)) + for (c = *lp ; c && isinset(ap+1,c); c = *lp) The old way gets a warning with VS compiler. Good catch. modified: src/bin/dwarfdump/dd_regex.c Again VS C: A previous refactoring left an extra level of {} in the code and created dead code. Removed the extra {} and the dead code. modified: src/lib/libdwarf/dwarf_die_deliv.c 2022-08-11: David Anderson commit 98093f7abf71dfaf91b9b2c61edd0ac82c8d952e A few cases of main having unused argc/argv variables existed with a (void)argv; (void)argv; following the main return to avoid an unused argument warning. Now these use main(void) and those argv/argc mentions have been removed. exit(1) signifying failure is now exit(EXIT_FAILURE) modified: test/dwarf_tied_test.c modified: test/getnametest.c modified: test/getopttest.c modified: test/makename_test.c modified: test/section_bitmaps_test.c modified: test/test_dwarfstring.c modified: test/test_errmsglist.c modified: test/test_extra_flag_strings.c modified: test/test_linkedtopath.c modified: test/test_macrocheck.c modified: test/testesb.c modified: test/testobjLE32PE.test.c 2022-08-11: David Anderson commit 3fceae2002734ebc50bf6a905ff5c613f90bbd34 All uses of exit(1) and exit(FAILED) are now exit(EXIT_FAILURE) [a C89 built-in macro value] modified: src/bin/attr_form/attr_form_build.c modified: src/bin/buildopstab/buildopscounttab.c modified: src/bin/dwarfdump/dd_command_options.c modified: src/bin/dwarfdump/dd_compiler_info.c modified: src/bin/dwarfdump/dd_defined_types.h modified: src/bin/dwarfdump/dd_dwconf.c modified: src/bin/dwarfdump/dd_regex.c modified: src/bin/dwarfdump/dd_tsearchbal.c modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/print_frames.c modified: src/bin/dwarfexample/dwdebuglink.c modified: src/bin/dwarfexample/findfuncbypc.c modified: src/bin/dwarfexample/frame1.c modified: src/bin/dwarfexample/jitreader.c modified: src/bin/dwarfexample/showsectiongroups.c modified: src/bin/dwarfexample/simplecrc.c modified: src/bin/dwarfexample/simplereader.c modified: src/bin/gennames/gennames.c modified: src/bin/tag_attr/tag_attr.c modified: src/bin/tag_tree/tag_common.c modified: src/bin/tag_tree/tag_tree.c Uses of off_t, ssize_t, and size_t clarified with comments and variable renaming. modified: src/lib/libdwarf/dwarf_crc32.c Fixed uses of const. modified: src/lib/libdwarf/dwarf_debuglink.c Added casts to clarify intent, and to avoid compiler warnings. modified: src/lib/libdwarf/dwarf_debugnames.c Removed a debugging abort() declaration. modified: src/lib/libdwarf/dwarf_die_deliv.c 2022-08-10: vtorri commit d8cff124e44b1a2332b25eede30914928fbc9f8a Remove useless warnings about "non standard function names" from the (#127) Microsoft compiler modified: meson.build Co-authored-by: Vincent Torri 2022-08-10: vtorri commit 9ad1c567fcbabdd0ce18b27341a564f8c3ef0800 define off_t only for microsoft compiler (#126) Co-authored-by: Vincent Torri 2022-08-09: David Anderson commit c4490ffdb50fd3cab852a723170bbf1bc0c1a0ab Hopefully now avoids MS VS warnings. We'll see. modified: src/lib/libdwarf/dwarf_die_deliv.c Removed unused arg from an internal-only function. modified: src/lib/libdwarf/dwarf_opaque.h 2022-08-09: David Anderson commit 33f89fe7fbf4dd6e6f6e09fefc03a785fbedf364 Changes VS does not define ssize_t nor off_t so we add #ifdef and some typedefs under _WIN32 here. modified: src/lib/libdwarf/libdwarf_private.h Changes to allow use of MS VS compiler and avoid its warnings. If narrowing data one must use a cast. modified: src/lib/libdwarf/dwarf_abbrev.c modified: src/lib/libdwarf/dwarf_alloc.c modified: src/lib/libdwarf/dwarf_arange.c modified: src/lib/libdwarf/dwarf_debuglink.c modified: src/lib/libdwarf/dwarf_debuglink.h modified: test/test_linkedtopath.c 2022-08-08: David Anderson commit 969f46d90ae3bea6adfbd707665c4890cfaa0b16 Latest from gitlog modified: ChangeLog 2022-08-08: David Anderson commit 6309d9bab6e1383d593abae3ef340c92f876d707 Added a few words to one entry. modified: ChangeLog Now these refer to 0.4.2, the future release. There are no changes that affect the API. So far. No changes planned at this point. modified: README modified: README.md modified: doc/libdwarf.dox 2022-08-08: David Anderson commit f49d122f8b21c66af6304fbe519f04c4e2502b61 Added a byte to a calloc area and zero that last byte specially after called code initializes the content up to that last byte. Simple and now CoverityScan does not think there is a defect. modified: src/lib/libdwarf/dwarf_peread.c 2022-08-08: David Anderson commit af87fa59f7fd0365af44552154878627d49f035f Renaming so the sanity tests of path length of the relevant libdwarf header directory read sensibly. modified: src/bin/buildopstab/buildopscounttab.c 2022-08-06: David Anderson commit ce46d6f989f94ae944509e638b44fadf96c7d099 Another set of changes to address new compiler warnings where size_t bigger than long. Expect more. modified: src/bin/dwarfdump/dd_command_options.c modified: src/bin/dwarfdump/dd_esb.c modified: src/bin/dwarfdump/dd_getopt.c modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/print_macro.c modified: src/lib/libdwarf/dwarf_debuglink.c modified: src/lib/libdwarf/dwarf_macro5.c modified: src/lib/libdwarf/dwarf_object_detector.c modified: src/lib/libdwarf/dwarf_string.c modified: src/lib/libdwarf/dwarf_string.h modified: test/test_errmsglist.c if (want_deleted) changed to if (intent == want_delete) Detected by recent Windows VS compiler. The compiler warning here exposed a real bug. modified: src/lib/libdwarf/dwarf_tsearchhash.c 2022-08-06: David Anderson commit 4f4e57e758ffb35fed6547e381b6aa70d2b32810 Removed trailing whitespace from two lines (in comments). modified: src/lib/libdwarf/libdwarf.h 2022-08-05: David Anderson commit 7e71a28851927ac5a98e3f5bbdb3bb6f31868854 Latest from git log added. modified: ChangeLog 2022-08-05: David Anderson commit a91754a04be281d0d354edea2d61b3f21b973324 Changed unsigned long to size_t as a recent Windows compiler warns about a conversion to long from a wider type. One applauds the compiler writer's advances in making code safer, but it does make for a bit of source adjustment from time to time. modified: src/bin/dwarfdump/dd_safe_strcpy.c modified: src/bin/dwarfdump/dd_safe_strcpy.h modified: src/lib/libdwarf/dwarf_safe_strcpy.c modified: src/lib/libdwarf/dwarf_safe_strcpy.h 2022-07-23: David Anderson commit 72e7670a4a1301a24f388e86fabd57e7d78905ab Updated with last from git log modified: ChangeLog 2022-07-23: David Anderson commit e0fee334ee4822b8619d3c5781ea63ad085c9f07 Entered git fix id for DW202207-001 modified: bugxml/data.txt 2022-07-23: David Anderson commit c632d387e43a36cdecf72e0595521c6f92766349 Bug entry for DW202207-001 modified: bugxml/data.txt 2022-07-23: David Anderson commit 24dff940cc4c71a9c3cb5475aee231b19163a12c Fix for DW202207-001 Corrupted string in .gnu.debuglink could cause a segmentation violation, resulting in DenialOfService. modified: src/lib/libdwarf/dwarf_debuglink.c 2022-07-23: David Anderson commit 436ea0d3fd7bef82679be01af8ce69e3f84e1c62 auto updates 'make rebuild' to name rel 0.4.2 in comments in generated source. modified: src/bin/dwarfdump/dwarf_names.c modified: src/bin/dwarfdump/dwarfdump-af-table.h modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h modified: src/bin/dwarfdump/dwarfdump-ta-table.h modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h modified: src/bin/dwarfdump/dwarfdump-tt-table.h modified: src/lib/libdwarf/dwarf_names.c 2022-07-15: David Anderson commit d68c167e90dd03758e8a548d612d38a608dfd5b5 Latest git log entry now in ChangeLog modified: ChangeLog 2022-07-15: David Anderson commit 78005a95d916c84b92f0ca58f75ded3a2e3f91d8 Implemented a better, faster, universal way to deal with R__NONE relocation records. Should have done it this way years ago. modified: lib/libdwarf/dwarf_elfread.c 2022-07-15: David Anderson commit def530e467d6f15bdd87bc96a368a96c4b3f7ac3 Several lines had indentation errors. Fixed. modified: lib/libdwarf/dwarf_global.c 2022-07-15: David Anderson commit aefc12ea2baf55f68c2025874a61728d30864266 Shortened one line past the libdwarf line length limit. modified: dwarf_form.c 2022-07-15: David Anderson commit b90af706cd68fe41b824b15824a3bda44d640818 So we have latest git log data here. modified: ChangeLog 2022-07-14: David Anderson commit e85fbe398ec44ec322b5996e4db70ed66d131d73 Added R_AARCH64_NONE (means no relocation to do) modified: src/lib/libdwarf/dwarf_elf_defines.h Now handles R_AARCH64_NONE modified: src/lib/libdwarf/dwarf_elfread.c 2022-06-25: David Anderson commit 5f721888872503179a43db68ce2263742279a6d8 Now with git log data about 0.4.2. modified: ChangeLog 2022-06-25: David Anderson commit df602748801f45b1b20f2b87b68e4fbd7e4b5d28 Preparation for 0.4.2 changes list (when there are some). modified: doc/libdwarf.dox 2022-06-25: David Anderson commit 83d51778a824b6d1f6fbfcdf79ea8852185175ce These are the places with the version number. All now are 0.4.2 as 0.4.1 has been released. modified: CMakeLists.txt modified: configure.ac modified: doc/libdwarf.dox modified: doc/libdwarfp.mm modified: meson.build modified: src/lib/libdwarf/libdwarf.h 2022-06-25: David Anderson commit 92fe20d176ca41cc6b4d16e40d6d3bfd13c4b7b9 Now tarrelease mentions the full .xz file name for the latest new vulnerabilities modified: bugxml/data.txt 2022-06-25: David Anderson commit b5e3e736ed94d2c104adccadf3476b180b5dcd99 Adding release as 0.4.1 for the two 2022 vulnerabilities. modified: bugxml/data.txt 2022-06-16: David Anderson commit 9416aa9452c37b3ac252e709c39b46705916b97e Now updated with latest git log entries. modified: ChangeLog 2022-06-16: David Anderson commit ca014c42a87e6dd0ea63d899e32865b636a0115e Corrections to the example. Was not handling DW_AT_ranges properly. modified: src/bin/dwarfexample/findfuncbypc.c 2022-06-15: David Anderson commit ca31d34a3e7db69f7101ea41b16076d8ae9d6ce5 Now with lastest fix: DW202206-001 from git log. modified: ChangeLog 2022-06-15: David Anderson commit 8b37fd87346fd225a6f2822f07b2a89cc453b910 Now referencing DW202206-001 vulnerability modified: bugxml/data.txt modified: doc/libdwarf.dox 2022-06-15: David Anderson commit 7ef09e1fc9ba07653dd078edb2408631c7969162 Fixes old bug(which could result in Denial of Service) due to a missing check before reading the 8 bytes of a DW_FORM_ref_sig8. DW202206-001 modified: src/lib/libdwarf/dwarf_form.c 2022-06-12: David Anderson commit bc068ac4049261bcd5cc6293aa2c90dc58fbcf8d Now properly runs the test_errmsglist test case. So now all the 'make check' cases pass for configure,cmake,and meson builds. modified: test/meson.build 2022-06-12: David Anderson commit 5a0719397f08efe872978966a7e3fc85238cb5dd For running tests, test the dwarfexample executables only if the build requested dwarfexample. modified: test/meson.build 2022-06-11: David Anderson commit 4da94f40b2e271e0220429cf656484590227ab07 Added a note about the fixed vulnerability, see Recent Changes. modified: doc/libdwarf.dox New date. Regenerated. modified: doc/libdwarf.pdf 2022-06-11: David Anderson commit 8a2e978e1a4d6bbd2b1383f6da0ce18cba67f692 Merge: 585b3052 a313d485 Merge branch 'master' of https://github.com/davea42/libdwarf-code Adding DESTDIR to doc/Makefile.am 2022-06-11: David Anderson commit a313d4854f22d0a1cfa2a529341b9665b311e5c8 Merge: b48330ff 934c0da5 Merge pull request #117 from heirecka/respect-destdir-with-doc Respect DESTDIR when installing docs 2022-06-11: Heiko Becker commit 934c0da583a60757f4e37a1a60f690645629066d Respect DESTDIR when installing docs 2022-06-09: David Anderson commit 585b3052f38a8f681cfc9ed5250f7642c18c09e7 Now gets top_blddir correct for all flavors. modified: debuglinktest-a.sh modified: debuglinktest-b.sh modified: jitreaderdiff.sh Now refers to correct name jitreaderdiff.sh modified: meson.build 2022-06-09: David Anderson commit b48330ff424b23ac2524c5804a7069ad624e0765 Removed 14 lines of code that was intended to help testing on windows, but which actually just made it impossible. modified: src/bin/dwarfexample/dwdebuglink.c Corrected a comment related to Windows paths modified: src/lib/libdwarf/dwarf_debuglink.c Added transformpath.py to the files to be distributed. modified: test/Makefile.am Removed 24 lines and replaced with a single execution of a simple python helper program the test works on msys2 and Linux.. modified: test/debuglinktest-a.sh A pair of lines had trailing whitespace. Fixed. modified: test/transformpath.py 2022-06-09: David Anderson commit cf21af79a07ed5343acca677c83466f295a1695a Named an @section that was missing a name. modified: doc/libdwarf.dox New code helping in tests. new file: test/transformpath.py 2022-06-04: David Anderson commit 72e701141b015e2822c8782cb1a0378f6a09bfaf Removed obsolete lines. modified: test/jitreaderdiff.sh 2022-05-31: David Anderson commit 7da828b6e52638a5769c610c7b7d9da6c0b58cda As requested by the bug submitter, I updated the name field from a github id to an actual name. modified: data.txt 2022-05-30: David Anderson commit 01c464bea73d7884714830bdd0f0ff2b5144c350 Now with the error message update and fix of very old -v bug. modified: ChangeLog 2022-05-30: David Anderson commit 1084a3be38a5e0ecec8b00498efabd9f2723e92d Updated error message related to DW202205-001 and fixed odd logic and it changed -v --print-pubnames output! Which has been incorrct in one field for many years. The field is very not important it's really to help understand the byte layout of .debug_pub[names,types]. So, old bug corrected and new error message made much more understandable. modified: src/lib/libdwarf/dwarf_global.c 2022-05-29: David Anderson commit 9683c08424f21b4188ec1461cb08ce4d2077ce70 Updated with latest git log data. modified: ChangeLog 2022-05-29: David Anderson commit 9e5d19905744676e41eeabb1f3f2f1253a9bea95 Now DW202205-001 has the commit id of the fix. modified: bugxml/data.txt 2022-05-29: David Anderson commit 8151575a6ace77d005ca5bb5d71c1bfdba3f7069 Fixes vulnerability DW202205-001 Reports error instead of crashing the when reading a specially crafted (corrupted) .debug_pubnames or .debug_pubtypes section. modified: src/lib/libdwarf/dwarf_global.c 2022-05-29: David Anderson commit 8e202226e604864b792ade45de8595c8944c0269 First version of DW202205-001. bugxml/ modified: data.txt 2022-05-28: David Anderson commit 88df39e5278b4ed2385fdb22fa83f0e5e3c141c9 The make check test source failed to free a malloc'd string so would get a -fsanitize warning. Fixed. modified: test/testesb.c 2022-05-25: David Anderson commit b5472a8797f939a2f1673bf1b459836f514139b5 Latest log data modified: ChangeLog 2022-05-21: David Anderson commit 2c04dab0fac09c4b0d58b8ab4c1cd1aa54e3cf1d CoverityScan found a leak under a specific error condition. Fixed. modified: src/lib/libdwarf/dwarf_line.c 2022-05-21: David Anderson commit c6fbcc6d904f370e6b760f4e88362f5f5cf58c09 Now with latest git log data. modified: ChangeLog 2022-05-21: David Anderson commit 268f398ca3b16d77b963a4310621375d20ed7a7a To get the leading - to dwarfdump options to show up in Recent Changes changed -v to \-v etc. modified: doc/libdwarf.dox regenerated. modified: doc/libdwarf.pdf 2022-05-21: David Anderson commit 24d2cdec480c300b8c7416d08cde0dd99aaa27ee Improved the documentation of dwarf_suppress_debuglink_crc. modified: doc/libdwarf.dox modified: src/lib/libdwarf/libdwarf.h Regenerated. modified: doc/libdwarf.pdf 2022-05-21: David Anderson commit a653b2a8954ff1b42622aafc3cc16a950cfdd555 Dated 21 May 2022 for version 0.4.1 Now with a section detailing access to GNU debuglink and debug-id, and Macos dSYM separate-debug objects. modified: doc/libdwarf.dox Regenerated modified: doc/libdwarf.pdf Minor clarifications in doxygen comments to dwarf_init_path(). modified: src/lib/libdwarf/libdwarf.h 2022-05-19: David Anderson commit 117a02907ec18f36f51abf2a0c83bdc8ef3c6386 Latest git log data included. modified: ChangeLog 2022-05-19: David Anderson commit 60fcd08634420f7ac6eabe37794fc499c00bb147 Factored out _dwarf_setup_base_address so we easily handle the case of a compiler using DW_AT_entry_pc ( first defined in DWARF3) as base address when there is no DW_AT_low_pc at the compilation-unit DIE. modified: src/lib/libdwarf/dwarf_die_deliv.c 2022-05-19: David Anderson commit e6d468ae0ba05e610bf4f8969d30700fc2998327 Added comments about cc_low_pc and DW_AT_entry_pc and an Apple compiler. modified: src/lib/libdwarf/dwarf_opaque.h Removed a blank line where there were two such in a row. modified: src/lib/libdwarf/libdwarf.h 2022-05-18: David Anderson commit 60c755d6c78c7c505c33d51a3bb536a15cc65386 bringing changelog up to the minute. modified: ChangeLog 2022-05-18: David Anderson commit 79ec4257064bcb7012f234dae0139556345e54de Removed trailing whitespace. modified: dwdebuglink.c Adjusted incorrect indents. modified: showsectiongroups.c A comment made a line too long. Split into two lines. modified: simplereader.c 2022-05-18: David Anderson commit 3eb71332c0bad63ff42e38450e52847ff8267752 Removed trailing whitespace from two lines. Split one too-long line into two lines. modified: dd_command_options.c 2022-05-17: David Anderson commit a56b9146ead9a1d3308075ffad287fc56ccc9b85 Bringing it up to date with git log modified: ChangeLog 2022-05-17: David Anderson commit 3c60185eb0c11a86d350004dde9f409c94b9094b The sed commands unfortunately used : as a separator, which conflicts with Windows paths. So now we use @ as the sed expression separator. modified: test/debuglinktest-a.sh modified: test/debuglinktest-b.sh 2022-05-17: David Anderson commit a98f554548811be7d7ceb63496974e24bf40c98c Added "" around an error situation with --add-debuglink_path so any space-like characters will be (kind of) revealed. modified: src/bin/dwarfdump/dd_command_options.c 2022-05-17: David Anderson commit 26a87e4d742b60564b3e40154f74f810ed8ae3a6 Clean up a small indent mistake. Has no effect on results. modified: CMakeLists.txt 2022-05-17: David Anderson commit 743b1f88bd7383ccee667ca72937f9cf7dee56e6 Removes -Ddoc as that presently does nothing. Call meson with both build and source directories mentioned ( . and .. ) to avoid relying on meson to figure out either one. modified: .github/workflows/ci_linux_meson.yml modified: .github/workflows/ci_msys2_meson.yml 2022-05-15: David Anderson commit 69d30e988c52661f7d8a1148a8574d8323da6f40 Now these match up with what actually works. modified: README modified: README.cmake modified: README.md 2022-05-15: David Anderson commit 6baad78d26ab48248b1eedabda0a486ebe638c37 Plain -j rejected. For now, leaving off -j. modified: .github/workflows/ci_msys2_cmake.yml 2022-05-15: David Anderson commit 972388e868d5c9a28dac75d2c24cbbb2cf84559a avoids trying to run tests, now uses ninja not make, though that is not an important aspect. modified: .github/workflows/ci_msys2_cmake.yml 2022-05-13: David Anderson commit 1a8fa7c6f561f0b96d216685238ceb943a5994c4 Now adds ninja install step which results inconecting executables to the libdwarf dll. modified: .github/workflows/ci_msys2_meson.yml 2022-05-12: David Anderson commit f164841a2edd20d32437c3e33192d491e69d574f Corrected a () pair to a {} pair, about line 228 modified: test/CMakeLists.txt 2022-05-12: David Anderson commit 7538384df89f38bb25df14cb5e3c5a1c3b96ac84 Corrected the name to follow meson requirements. modified: src/lib/libdwarf/meson.build Removed an unnecessary andin appropriate join_paths() in the tests (added when there were other issues causing confusion). modified: test/meson.build 2022-05-09: David Anderson commit e5f3720dba59100cc4bf0bb32baf3d73bfcd95aa For now only run on a pull request or manual start of a test. modified: .github/workflows/ci_linux_autotools.yml modified: .github/workflows/ci_linux_cmake.yml modified: .github/workflows/ci_linux_meson.yml modified: .github/workflows/ci_macos_autotools.yml modified: .github/workflows/ci_msys2_autotools.yml modified: .github/workflows/ci_msys2_cmake.yml modified: .github/workflows/ci_msys2_meson.yml Now only copy dwarfdump.conf it it has not yet been copied. modified: test/dwarfdumptest.py Trying to get msys2 to function properly with meson. modified: test/meson.build 2022-05-09: David Anderson commit a284f065cd3ab50d96624357cb3db660d2f4ff27 Removed debug output. modified: .github/workflows/ci_msys2_autotools.yml Now mentions msys2 autotools badge. modified: README modified: README.md 2022-05-09: David Anderson commit 43db5311cdce00275c16477e3ceb2fbde1feaeab Removing the 'cat' debug command, things working better. modified: test/dwarfdumpMacos.sh 2022-05-09: David Anderson commit 909674b14a56674050e91afee91746dae392dda2 Removing the temporary exit 0 with proper exit 1 for a fail. modified: dwarfdumpMacos.sh 2022-05-09: David Anderson commit a53f099f0431bbb62ba0b37fc35c99e63efe6713 Now we let dwdiff.py deal with the diff so we do not need any dos2unix at all. modified: dwarfdumpLinux.sh modified: dwarfdumpMacos.sh modified: dwarfdumpPE.sh The initial planned argument was not needed, so dropped it. modified: dwdiff.py 2022-05-09: David Anderson commit e4515648a2f0faa4d3d2f7a3e3213cf12f224be3 Changing to a special setup to find out why msys2 autotools fails one text. modified: .github/workflows/ci_msys2_autotools.yml modified: test/dwarfdumpMacos.sh 2022-05-07: David Anderson commit 6b132c7c71fc512f5837ecebd7191e507b77949b Added --output-on-failure to ctest use. modified: .github/workflows/ci_msys2_cmake.yml 2022-05-07: David Anderson commit 99a0fd9bcdf2d1f6a57a8a6ef45f4dd4160291c2 Making part look a bit nicer, more regular. modified: test/CMakeLists.txt 2022-05-07: David Anderson commit 120c7decf20508b38e0364dcaaac64fe25eb253c Tweaking to get details on failure. modified: .github/workflows/ci_msys2_autotools.yml 2022-05-06: David Anderson commit 4331d42a7f3732f3e3554bdde03ee333b1365cd7 Omitted a declaration. modified: src/bin/dwarfdump/dd_command_options.c The baseline is updated because the debuglink output format changed just slightly for a more consistent appearance. modified: test/debuglink.base modified: test/debuglink2.base modified: test/debuglinktest-a.sh modified: test/debuglinktest-b.sh 2022-05-06: David Anderson commit b8de88bace78f5a41dee61c5ae32776a378925d2 Compiler caught declaration of no-loner-used variable. modified: src/lib/libdwarf/dwarf_debuglink.c Added clarifying zero of a pointer after free. modified: src/lib/libdwarf/dwarf_rnglists.c 2022-05-06: David Anderson commit 91a59fdff538d77122328a00e0eacbd743142952 Clarified a comment about section groups. modified: src/bin/dwarfdump/dwarfdump.c dwarfstring_list_add_new() had lost its final return DW_DLV_OK, (mistake noted by clang) and now it is restored. modified: src/lib/libdwarf/dwarf_debuglink.c 2022-05-06: David Anderson commit 0d19957b9f127bc27e9007248e16e95af9066e57 Improved the description of of --suppress-debuglink-crc and --no-follow-debuglink modified: doc/dwarfdump.1 2022-05-06: David Anderson commit db25b22842cc8687d43e149143e5533f577a3e77 Added the new dwarf_suppress_debuglink_crc() to the Recent Changes section. modified: doc/libdwarf.dox Regenerated. modified: doc/libdwarf.pdf 2022-05-05: David Anderson commit ecb2acd171f22551b5b75480d38c03ef965e63a4 Now discusses the new option --suppress-debuglink-crc and adds words to the older option --no-follow-debuglink to make the distinction clear. modified: doc/dwarfdump.1 removed debug printf in these two. modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/print_debug_names.c 2022-05-05: David Anderson commit be0fa88d5bb0d39eb9d70986156dfa04a9e2f5dc Removed many debug printf statements. Corrected a bug where debuglink without debug_id would suppress debuglink access. modified: src/lib/libdwarf/dwarf_debuglink.c Added dwarf_suppress_debuglink_crc() (which is public) and _dwarf_get_suppress_debuglink_crc() (which is for library internal use only). Supporting the dwarfdump --suppress-debuglink-crc option now. modified: src/lib/libdwarf/dwarf_object_detector.c Added _dwarf_get_suppress_debuglink_crc() declaration. modified: src/lib/libdwarf/dwarf_opaque.h 2022-05-05: David Anderson commit 4eee9355193f30cbc6e1e3262142e1ad23d40e16 Fixed an indent in a comment. modified: dwarf_line.c 2022-05-05: David Anderson commit b1021e46fd72448d4bc1dfbd72d52eac9755f292 Adding option --suppress-debuglink-crc so users have the option of avoiding a crc calculation when gnu debuglink is in the object file. Useful for someone building and testing a given executable and its .debug multiple times. modified: src/bin/dwarfdump/dd_command_options.c 2022-05-05: David Anderson commit 152318a73c43831d102a247ba6e520ecf95b9681 Adding new public function dwarf_suppress_debuglink_crc allowing callers to avoid having libdwarf do a crc calculation and just assume if one was done that it would match. modified: src/lib/libdwarf/libdwarf.h 2022-05-04: David Anderson commit f936ea937a396ded8f8d29d7e4853dab6a27ef78 DO NOTUSE THIS COMMIT Changes in place to improve GNU debuglink and debug ID section handling. Not complete. modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/print_debug_names.c modified: src/bin/dwarfexample/dwdebuglink.c modified: src/lib/libdwarf/dwarf_debuglink.c modified: src/lib/libdwarf/dwarf_object_detector.c 2022-05-02: David Anderson commit f3a1ab8b71bdbf8b979982638efce41ac3a7dc6a Revised from previous failing version. new file: .github/workflows/ci_msys2_autotools.yml 2022-05-02: David Anderson commit 9931479609353ca728ca584e4ea69017c2263820 These seem to be broken, so removing: .github/workflows/ deleted: ci_msys2.yml deleted: ci_msys2_autotools.yml 2022-05-01: David Anderson commit b40b84ad094f2374689d0c344d6073cd1343099a Adding use of --disable-dependency-tracking to deal with build failures (only affects some people). modified: README modified: README.md 2022-04-30: David Anderson commit 1458862877d1b8d90534fa7818c398b79d46bcad Fixed typo just introduced. modified: .travis.yml 2022-04-30: David Anderson commit 2971fd319d7f5a6f898d9fa71629436f89d7ed9a added --disable-dependency-checking to see if that lets the build work. modified: .travis.yml 2022-04-30: David Anderson commit bb591b6b55a74f43ba29c2f69f20e457fcfb59cd Removed mention of dos2unix, we no longer really need that standard install program. modified: README modified: README.md 2022-04-30: David Anderson commit a422fef0790868d020e0236dc969253c722cba54 Removing bogus options I added earlier. modified: .github/workflows/ci_msys2_autotools.yml 2022-04-30: David Anderson commit 2e80e291988234e74e8d1d5a21b2c1f06248defb Sorted the content of EXTRA DIFF. modified: test/Makefile.am Now these use simple python scripts for diff and dos2unix. modified: test/debuglinktest-a.sh modified: test/debuglinktest-b.sh modified: test/dos2unix.py modified: test/dwarfdumpLinux.sh modified: test/dwarfdumpMacos.sh modified: test/dwarfdumpPE.sh modified: test/jitreaderdiff.sh 2022-04-30: David Anderson commit 5ed2fb728d5e29b5548dd584c33a010b019543ae Now 0.4.1 modified: README modified: README.md Simple python instead of messy scripting with traditional commands to take care of dos/linux line end differences . new file: test/dos2unix.py new file: test/dwdiff.py 2022-04-30: David Anderson commit a4ac89e738db35659df213ab856d5a74363869da The contents resorted by test name for consistency and easier checking. Nothing was found that was actually wrong. modified: test/Makefile.am 2022-04-29: David Anderson commit 94735fbb5f6195f9e5e02385dcc7c502be4918b8 Still not working. Delete bad line. modified: .travis.yml 2022-04-29: David Anderson commit 64b10ff8f4b465c8d09cbcdabee3f8080b76dc55 Another try with travis. modified: .travis.yml 2022-04-29: David Anderson commit 074776afd21fa5fd51b8d7016664c8c5d983e12c Now using apt-get, not apt. modified: .travis.yml 2022-04-29: David Anderson commit caab423142f6f29214f8fe5d1aed136724bf4241 Added install of dos2unix for certain make check instances. modified: .travis.yml 2022-04-29: David Anderson commit 387908c4fb97cb5ff66d8db30b0ba4c7258b8431 Now adds dwarfexample to run all the checks. modified: .github/workflows/ci_linux_autotools.yml Corrected a bug in TESTS setup. modified: test/Makefile.am 2022-04-29: David Anderson commit bfbdcac78a7805b31bf988b1b5edf902f3761796 Added cat to see the test log. modified: ci_linux_autotools.yml 2022-04-29: David Anderson commit e4a7a265237ffad6bcd51d2ca8a4360a2e0d4380 Uses apt-get, not plain apt now. modified: ci_linux_autotools.yml 2022-04-29: David Anderson commit 959e16658757e08b3e352bc6c13e7d742700d50a Ensuring dos2unix present modified: .github/workflows/ci_linux_autotools.yml Ensuring dos2unix mentioned modified: README modified: README.md 2022-04-29: David Anderson commit 6af6e566ae71b585659484e7be7cbab83dd770fb These are all to make msys2 pass. In that case, for now, we suppress the debuglink tests in make check Add new HAVE_DEBUGLINK so we can turn off the pair of debuglink tests in test/Makefile.am modified: configure.ac modified: test/Makefile.am These changes work toward having the debug link case work under msys2, but these are not quite sufficient. modified: src/bin/dwarfexample/dwdebuglink.c modified: src/lib/libdwarf/dwarf_debuglink.c modified: test/debuglinktest-a.sh modified: test/debuglinktest-b.sh Minor change to run dos2unix for the msys2 case. modified: test/jitreaderdiff.sh 2022-04-28: David Anderson commit d654f00c0beeced4bf09a838c03097e967a28b89 Changed the other --host to be -pc- too. modified: .github/workflows/ci_msys2_autotools.yml 2022-04-28: David Anderson commit 1dadd8683a9a0a99e5eac5499249c0fded87d0ce Adding subdir-objects to the AM_INIT_AUTOMAKE command. modified: configure.ac 2022-04-28: David Anderson commit 1654620960462ea94d4514453a4b95360030cf25 Trying a different --host option. modified: ../../../.github/workflows/ci_msys2_autotools.yml 2022-04-28: David Anderson commit 9446099f47770566afec1fbbb57d4ae92c8ed1b7 Merge: 832b3c23 92bb569e Merge branch 'master' of https://github.com/davea42/libdwarf-code msys2 workflow. 2022-04-28: David Anderson commit 92bb569e9529dd5a9d8c63ec03cfd40648a06826 Merge: 57235d51 4242179e Merge pull request #111 from vtorri/vtorri_ci_msys2_all CI msys2: check all the build systems 2022-04-28: David Anderson commit 832b3c236d2f787589c7f0a7d147044300a4f301 Merge: 210cd279 57235d51 Merge branch 'master' of https://github.com/davea42/libdwarf-code Merge fix of undefined behavior 2022-04-28: David Anderson commit 57235d51e60d3755405d9e85fe71491a69b3956a Merge: b0a4f74b 986d5a7e Merge pull request #114 from klucke/master Fix undefined behavior found when compiled with UBSAN in clang. 2022-04-28: David Anderson commit 210cd2796e12c6581e91e4c91387abe8169a0e4c Deleted references from MAINTAINERCLEANFILES of a couple of files that have not been created here for a long time. modified: test/Makefile.am 2022-04-28: David Anderson commit 2f9b5c534bc4d0e7de8bff4fbe878df81c99a916 Restoring rm -f of test files used during execution of the test. modified: test/dwarfdumpLinux.sh 2022-04-28: Kyle Lucke commit 986d5a7e090b08604b57bebff102dc783829c346 Fix undefined behavior found when compiled with UBSAN in clang. This patch resolves the following undefined behavior error: "runtime error: applying zero offset to null pointer" seen when calling dwarf_srclines_b when compiled with clang's UBSAN libraries. 2022-04-28: Kyle Lucke commit 27ff3a28dd900575e15395a8f101b0a2eaa3bc69 Fix undefined behavior found when compiled with UBSAN in clang. This patch resolves the following undefined behavior error: "runtime error: applying zero offset to null pointer" seen when calling dwarf_srclines_b when compiled with clang's UBSAN libraries. 2022-04-28: David Anderson commit b0a4f74bc1fe940a6a4d7bbb6d6a1513df9485e9 A check for a specific length of debug_id was unwarranted and has been removed. Various lengths are possible. modified: src/lib/libdwarf/dwarf_debuglink.c 2022-04-28: Vincent Torri commit 4242179e6463d28df3e9511ed7da163548b3621b CI msys2: check allthe build systems Also build for 32 and 64 bits 2022-04-27: David Anderson commit 7054e6f56210e5edbe9924dbe2490e682e4c4789 Added -j for make and make check. Use all possible cpu cores to speed up build and check.. modified: .github/workflows/ci_linux_autotools.yml 2022-04-27: David Anderson commit 957278adca179a39db02245e0148b2b5c0d4d16b Merge: e961abff 2fb4fd12 Merge pull request #109 from vtorri/vtorri_ci_msys2_autotools_shared CI msys2 autotools: pass 64 bits host and enable shared. 2022-04-27: David Anderson commit e961abffb153e4e17225c76a0f16853763c4dc84 For meson, also copy to build base dir. modified: test/dwarfdumptest.py 2022-04-27: David Anderson commit 00ac19cd5f344837752c2d5126cbea5659c66470 Remove duplicated 'make check' modified: .github/workflows/ci_macos_autotools.yml Modified a message text about dwarfdump.conf to aid debugging. modified: test/dwarfdumptest.py 2022-04-27: David Anderson commit 991f1d53b392921fd97ca8b6ea3e9cbad4e26658 Enable interactive run of workflows modified: .github/workflows/ci_linux_meson.yml modified: .github/workflows/ci_msys2_autotools.yml modified: .github/workflows/ci_msys2_cmake.yml modified: .github/workflows/ci_msys2_meson.yml Now back to a usable autotools. modified: configure.ac modified: test/Makefile.am 2022-04-27: Vincent Torri commit 2fb4fd1288407eb54e6350af460674c3f103cf76 CI msys2 autotools: pass 64 bits host and enable shared. Allow distcheck to use these options too modified: .github/workflows/ci_msys2_autotools.yml 2022-04-26: David Anderson commit cfdc512e89096478357e7f10ca46b0bf4e72a134 Merge: ed57bfa7 0e47bfae Merge pull request #107 from vtorri/vtorri_ci_msys2_autotools CI: add autotools CI on MSYS2 2022-04-26: David Anderson commit ed57bfa7198a1d6b151e653670750d918cb97185 Minor tweaks. modified: Makefile.am Slightly modified. No real change. modified: test_errmsglist.c 2022-04-27: Vincent Torri commit 0e47bfae69426afa86f02a0e52a20deb0a4bbf88 Merge: aec0280d fd4efe9d Merge remote-tracking branch 'upstream/master' into vtorri_ci_msys2_autotools 2022-04-26: David Anderson commit fd4efe9d947c2e0e443fbcc00f82bf49a94011d2 Made the data output look nicer. Adjusted the test output location for meson. modified: test/dwarfdumptest.py Now runs the dwarfdump sanity tests using test/dwarfdumptest.py modified: test/meson.build 2022-04-26: David Anderson commit c02712b63b52b28ea79a824eca9ffb58d8d56b46 Converted dwarfdump quick test driver to be python. modified: test/CMakeLists.txt Corrected the file name in one print statement (an error case). modified: test/dwarfdumptest.py 2022-04-26: David Anderson commit cdad435e3f933cdc9b59d1735cae8595232e46df Now using check-local to test dwarfdump sanity. modified: test/Makefile.am This does the actual sanity check. Returns 0 as exit code on success, else returns non-zero as exit code. modified: test/dwarfdumptest.py 2022-04-26: David Anderson commit e767827197fa0e7d12dbcb68f37c1df432adf8b3 Working toward improving make check. modified: configure.ac modified: test/Makefile.am modified: test/dwarfdumpLinux.sh modified: test/dwarfdumpsetup.sh modified: test/meson.build 2022-04-26: David Anderson commit b8f3f6a92bec238cb93e7782ff585f4484e968b2 Bringing it up to date. modified: ChangeLog 2022-04-26: David Anderson commit b56e12edf0eb1d7764381cef1a8017d167c48a0b Adding AUTOMAKE_OPTIONS=subdir-objects so mow all .am files have it. Fixes warnings from autoreconf/autogen.sh with no other apparent effect. modified: test/Makefile.am 2022-04-25: David Anderson commit fbbe14b4e0da35e611a274b3f1ce17a15803a388 Adding AUTOMAKE_OPTIONS=subdir-objects to these removed a bunch of warnings at autoreconf time. test/ will get it committed to, soon. modified: Makefile.am modified: doc/Makefile.am modified: src/bin/attr_form/Makefile.am modified: src/bin/buildopstab/Makefile.am modified: src/bin/builduritable/Makefile.am modified: src/bin/dwarfdump/Makefile.am modified: src/bin/dwarfexample/Makefile.am modified: src/bin/dwarfgen/Makefile.am modified: src/bin/gennames/Makefile.am modified: src/bin/tag_attr/Makefile.am modified: src/bin/tag_tree/Makefile.am modified: src/lib/libdwarf/Makefile.am modified: src/lib/libdwarfp/Makefile.am 2022-04-25: David Anderson commit 630fb3d558b5edf906fd7c2ff95191e4fe92c90c A working comparator useful for Elf PE Macos object tests new file: dwarfdumptest.py 2022-04-23: David Anderson commit 5544b90a041b80c839cdabf61949804ec5dc25c9 Latest changes listed. modified: ChangeLog 2022-04-23: David Anderson commit a7ca2b59ae7c6af7d64293c8ce7277f4d393ba81 Fixed typo in debuglink-a test. modified: CMakeLists.txt 2022-04-23: David Anderson commit 8205f892722665531b78d0036f8a16b03e63747b Now reflects the simplified execution of debuglinktest*.sh modified: CMakeLists.txt Now the imput, either an argument or DWTOPSRCDIR env var may be used to set the source directory. Whichever is convenient for the build system involved. modified: debuglinktest-b.sh 2022-04-23: David Anderson commit 83d11ca14ca759d813279cb01d016816d46ab099 Either pass in source dir base as the argument or set env var DWTOPSRCDIR to that same directory path modified: debuglinktest-a.sh 2022-04-23: David Anderson commit 6cab7aee24ad3f88c036fb1ead5f9ff9ebcaa715 Merge: d41a75b3 1add733c Merge pull request #105 from vtorri/vtorri_tests_headers tests: reorganize headers merging now 2022-04-23: Vincent Torri commit 1add733ce12f161eda20d2353943e1c97138043a tests: reorganize headers modified: test/dwarf_leb_test.c modified: test/dwarf_tied_test.c modified: test/getnametest.c modified: test/helpertree_test.c modified: test/makename_test.c modified: test/section_bitmaps_test.c modified: test/test_canonical.c modified: test/test_dwarfstring.c modified: test/test_errmsglist.c modified: test/test_extra_flag_strings.c modified: test/test_linkedtopath.c modified: test/test_regex.c modified: test/test_safe_strcpy.c modified: test/testesb.c 2022-04-22: David Anderson commit d41a75b358fb73a44d0936fd8846b37184a537ce Simplfied and clarified the run oof the dwarfdump check scripts. To run each, a) be in the test build directory b) set the only argument to these script to be the source direcory base OR set env var DWTOPSRCDIR to the source directory base. Doing both is not useful, the argument will override the env var. modified: test/CMakeLists.txt modified: test/dwarfdumpLinux.sh modified: test/dwarfdumpMacos.sh modified: test/dwarfdumpPE.sh modified: test/dwarfdumpsetup.sh 2022-04-22: David Anderson commit 5afc4081af707e4f4619c2437944d2983a9d3054 Removed unused jitreader.sh argument modified: CMakeLists.txt Removed unused code that once referenced the second argument. Explained how this is run in a couple lines of comments. modified: jitreaderdiff.sh 2022-04-22: David Anderson commit fd6bb67a2d7b8e0644123ca0c0463cd664f37f12 In case of error, useful info was left out due to a line being in the wrong place. Fixed. modified: dwarfdumpPE.sh 2022-04-22: David Anderson commit 7f9f252c83f199db80214217dc29c80f0e8e765f In case it fails early report more output in the log. modified: jitreaderdiff.sh 2022-04-22: David Anderson commit 2c2c680bf416730a8bcdf2911ac21444076f0489 Merge: bbd879a4 8cd841d8 Merge branch 'master' of https://github.com/davea42/libdwarf-code meson etc. 2022-04-22: David Anderson commit bbd879a4f341ecb23dabbac16d9cb040e9385b10 Removed comments mentioning DWTOPSRCDIR, the comment is now useless. DWTOPSRCDIR not used. modified: buildopscounttab.c 2022-04-22: David Anderson commit 8cd841d835a6cd94f3d5d8ce76db5400cb295b45 Merge: 94a5cd45 10a87d36 Merge pull request #103 from vtorri/master Add msys2 cmake badge. merging. 2022-04-22: David Anderson commit 94a5cd457b21d1f13906a269a52811845bb7de23 Removed HAVE_WIN32, we do not use that. Removed check for regex.h as we use our own regex, not a system regex. modified: configure.ac 2022-04-22: Vincent Torri commit 10a87d36f28906887b5a72c1c8af4f0a91679a7d Add msys2 cmake badge reorder badges by OS modified: README.md 2022-04-22: David Anderson commit 715a3ea663fd3c20ed18d1c23b325472bd26ec4b Merge: 9cbb1cd2 0fb7534b Merge branch 'master' of https://github.com/davea42/libdwarf-code Merging workflow update 2022-04-22: David Anderson commit 0fb7534b49fc37b89a9d69a96c77515416553f22 Merge: 195abb91 cd61226a Merge pull request #102 from vtorri/vtorri_ci_cmake CI: add msys2 cmake workflow 2022-04-22: David Anderson commit 9cbb1cd2b564d5a31153c6b38cb224ccc6ecf398 Correcting the markdown link to the online html. Was not showing as a link, just as text. modified: README modified: README.md 2022-04-22: Vincent Torri commit cd61226ad5ceba0257fe33f6bccdd205684b6705 tests: fix compilation on some of them on Windows 2022-04-22: Vincent Torri commit 39b1f632cb1ecdb49ac94b60ef11f061b50b7b4e link against zlib if available 2022-04-22: Vincent Torri commit b9dd78e8110eb021217512cd8880bddcfc814dfd on Windows, no compilation for libelf 2022-04-22: Vincent Torri commit f94d32a34ce1a249da8c91aafe7d2ca9018dfa5d on Windows, no static lib should be compiled 2022-04-22: Vincent Torri commit 4d2472d84dd69dcff0e3ffc676ddc3925781a89c CI: add msys2 cmake workflow 2022-04-21: David Anderson commit 195abb918699b528492f9d62b4b97cff2754b94f Bringing it up to date with git log latest. modified: ChangeLog 2022-04-21: David Anderson commit 6e7c0b6edd7c2fadc93115b4102dfb67018277dc The dwarfdump new argument mentioned. modified: doc/libdwarf.dox Simplified the handling of version and arguments reporting, making it on-demand and more complete. modified: src/bin/dwarfdump/dd_common.c modified: src/bin/dwarfdump/dd_common.h An internal argument was changed and an option added. These implement that. modified: src/bin/attr_form/attr_form_build.c modified: src/bin/dwarfdump/dd_command_options.c modified: src/bin/dwarfdump/dd_glflags.c modified: src/bin/dwarfdump/dd_glflags.h modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/tag_attr/tag_attr.c modified: src/bin/tag_tree/tag_tree.c The tests now reflect the simplified version data which simplifies all these shell scripts. modified: test/dwarfdumpLinux.sh modified: test/dwarfdumpMacos.sh modified: test/dwarfdumpPE.sh modified: test/dwarfdumpsetup.sh 2022-04-21: David Anderson commit 0c42286d00949e13efd2acd88aa573042462cde7 Version is now 0.4.1 and we rebuilt various tables (make rebuild). modified: CMakeLists.txt modified: configure.ac modified: doc/libdwarf.dox modified: doc/libdwarfp.mm modified: meson.build modified: src/bin/dwarfdump/dwarf_names.c modified: src/bin/dwarfdump/dwarfdump-af-table.h modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h modified: src/bin/dwarfdump/dwarfdump-ta-table.h modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h modified: src/bin/dwarfdump/dwarfdump-tt-table.h modified: src/lib/libdwarf/dwarf_names.c modified: src/lib/libdwarf/libdwarf.h 2022-04-21: David Anderson commit a54b5ae29ff26e367c442e86c6cb62b5fd0fcbfd Corrected badges. modified: README modified: README.md 2022-04-20: David Anderson commit 53801ddc8ba16661a373aa69d9ae2b324c0037c3 Now the workflows and travis CI setup correctly with tbe improved names. modified: README modified: README.md 2022-04-19: David Anderson commit 34c49734e5246d8f5dae0a05b49d2cdb0bb0da9f Renaming workflows for consistency. modified: README modified: README.md 2022-04-19: David Anderson commit cc03ab56be4a75e12aa319d70ab7fa301f1daa05 modified: ci_linux_autotools.yml renamed: ci_msys2.yml -> ci_msys2_meson.yml modified: ../../README.md 2022-04-19: David Anderson commit 8c896f50a5a496e2c7a2a6af1776c58564e3edb4 Renaming for consistency renamed: ci_meson.yml -> ci_linux_meson.yml 2022-04-19: David Anderson commit c4bd8fd5815492e744f1143db8eed8a5b6231c12 workflows/ This is the old name. Not current. deleted: cmake2.yml 2022-04-19: David Anderson commit 722b978dc57855992042ff403c7c252f95d5e569 Badges now working ok. modified: README modified: README.md 2022-04-17: David Anderson commit c634c42cd74cdcb88a3a9824137b6661202c32e6 Added MacOS build modified: README modified: README.md 2022-04-17: David Anderson commit b971f06a46b200ebd85d55dfca01e762dcd1294f Merge: eaaa747e 80d78092 Merge branch 'master' of https://github.com/davea42/libdwarf-code New action, picking up. 2022-04-17: David Anderson commit eaaa747ed536e47fe559eb4d261ded419fee3e7e Now with macos badge, though github has not finished rebuilding its index so it shows 'no status' modified: README modified: README.md Comment changed (on one line). modified: configure.ac 2022-04-17: David Anderson commit 80d780926928927ac4fa1830d394766da39d53ac Merge: 907b04b6 6b8fcee7 Merge pull request #97 from davea42/davea42-patch-1 Create ci_macos_autotools.yml 2022-04-17: David Anderson commit 6b8fcee752701f522755c109006003a0a73c4285 Update ci_macos_autotools.yml 2022-04-17: David Anderson commit ce2656ff00b90363643d4065017cae7a97f05247 Update ci_macos_autotools.yml removed useless lines. 2022-04-17: David Anderson commit 5b8da558de50925ba3d87a2e7c882a77de94e221 Create ci_macos_autotools.yml 2022-04-15: David Anderson commit 907b04b64fec6e8c44e4568fa237f4699a856f06 Adding a note about 'no status' modified: README modified: README.md 2022-04-15: David Anderson commit 57fc6de6af2f887b64356e58417de97e98090d50 Now a link to access the on-line html documentation. modified: README modified: README.md Regenerated, but not anything new. modified: doc/libdwarf.pdf 2022-04-15: David Anderson commit 2515f81184af677a07548fd0f2ed3cc891a981fc Fixed small typographical errors, slightly clarifies some points, and removes a small duplicate paragraph. Date set to 15 April 2022 modified: doc/libdwarf.dox Regenerated. modified: doc/libdwarf.pdf 2022-04-15: David Anderson commit da931ad30da9d9db7ab56b2a3b09c6584cc82dbb Now references an on-line html version of the libdwarf documentation. modified: README modified: README.md 2022-04-15: David Anderson commit c615da8d70386d516b385ea5b6f2b403cf49c586 Refined the look. Some badges are in trouble, unclear why (at this time). modified: README modified: README.md 2022-04-15: David Anderson commit 8166ff2c7245edcb23635e80db61472ce5db04c8 renamed: c-cpp.yml -> ci_linux_autotools.yml 2022-04-14: David Anderson commit a895356448c7c31647f8acffafa63567c85a175d Merge: 5b6906df e0e1237e Merge pull request #92 from davea42/davea42-patch-1 Create ci_linux_cmake.yml 2022-04-14: David Anderson commit e0e1237e4db05d908506e3c6301a44caaeb78dc0 Create ci_linux_cmake.yml Runs cmake on Ubuntu 2022-04-14: David Anderson commit 5b6906df26e914de525c0622aa558ea4f4c1bc77 Adding workflow_dispatch: for testing modified: c-cpp.yml 2022-04-14: David Anderson commit 9b93e4d50f52ec37d60ee67503e2148561b186a0 allow manual workflow despatch agaiin. modified: cmake2.yml 2022-04-12: David Anderson commit a1ef351230da45761b5f467ca0adced92caf2ddc Removed manual run of github action. modified: .github/workflows/cmake2.yml 2022-04-11: David Anderson commit 6993512b8c1ebb1a52b91def4557d67eba79cfa4 Revised cmake command modified: cmake2.yml 2022-04-11: David Anderson commit 52a6b7ac900964584d37ae59e088c4bca3ebf0f2 So we run the cmake tests and build examples modified: .github/workflows/cmake2.yml 2022-04-11: David Anderson commit 5df0d7743a2961d0044b88a22ff373fafd6ebcfe Added workflow_dispatch: modified: cmake2.yml 2022-04-11: David Anderson commit 6559f8aa7020294f229a54d9f4548a9ea5c8aa0e Added cmake build status (workflow) modified: README modified: README.md 2022-04-11: David Anderson commit cd36480c6823d3c0d38e5de8cb3ae03e1705269f Create cmake2.yml 2022-04-11: David Anderson commit 581f010e85caa474cc057f08b71051e883629c4b Going to try again. deleted: .github/workflows/cmake.yml 2022-04-11: David Anderson commit ba69b87c00e04875a60bc17ddb14354fc3b57c04 cmake CI 2022-04-11: David Anderson commit 9576e7dbfbb28a09bef3dcf8b5a1d431c5eb202d Create cmake.yml Basic cmake use. 2022-04-10: David Anderson commit cd31e8673ad444c01f371146663e2ad59421abda Tiny tweaks to the wording and formatting (avoiding some run-on sentences). modified: README modified: README.md 2022-04-10: David Anderson commit 7606d343de02b5220e213d8c5dc15ff096463593 Regenerated to pick up two word spellings correctd in libdwarf.h doxygen comments. modified: doc/libdwarf.pdf 2022-04-10: David Anderson commit 3226a600b9d3cb81255694bcff582171d060bdc0 There is no change in logic here. Corrected indents and removed trailing whitespace. Removed a couple if #if 0 #endif blocks where were leftovers, useless. modified: src/lib/libdwarf/dwarf_debugnames.c Removed trailing whitespace modified: src/lib/libdwarf/dwarf_debugnames.h 2022-04-10: David Anderson commit 98cda425a07f95050476879509def543e96c93ae Shortened a couple of link id strings (these identifiers are for doxygen, not seen in doxygen output). modified: doc/libdwarf.dox And in addtion to using the new link identifier fixed a couple of words in doxygen comments that were misspelled. modified: src/lib/libdwarf/libdwarf.h 2022-04-07: David Anderson commit e58053b842822bc1a23eefbfd151bee3dcdfac31 Updated with latest tiny changes to doc and internals. modified: ChangeLog 2022-04-07: David Anderson commit 318cb65159534b78905f4425b5dddc2d776b338d Updated the date to today. modified: doc/libdwarf.dox Regenerated. modified: doc/libdwarf.pdf Corrected typos in doxygen comments. modified: src/lib/libdwarf/libdwarf.h 2022-04-07: David Anderson commit 40712108a19262aecbf920aaaff5497f9106354c Removed 4 lines of dead code noticed by CoverityScan. modified: src/bin/dwarfdump/print_debug_names.c 2022-04-06: David Anderson commit 3e75142a5d8938466e00a942c41a04f69510915d Refining the formatting of the printf output. modified: src/bin/dwarfdump/print_debug_names.c modified: src/lib/libdwarf/dwarf_debugnames.c A comment noting that specialized access functions are missing, but full access to the section is provided. modified: src/lib/libdwarf/libdwarf.h 2022-04-06: David Anderson commit 0965889ac137fae87255b7440854be1a90f02436 Noting that old versions of meson don't work with libdwarf. modified: README modified: README.md 2022-04-06: David Anderson commit 2922a020b7aa3014c3a72a85f4e7d90a529db5f4 The start of a .debug_names example. Incomplete. modified: doc/checkexamples.c Now with current date as libdwarf.h doxygen has .debug_names access functions. modified: doc/libdwarf.dox 2022-04-05: David Anderson commit e8f7ce231679bb632761731ff4fdeff14813d6df Now working properly and with doxygen. modified: src/bin/dwarfdump/print_debug_names.c modified: src/lib/libdwarf/dwarf_debugnames.c modified: src/lib/libdwarf/dwarf_debugnames.h modified: src/lib/libdwarf/libdwarf.h 2022-04-05: David Anderson commit 0f9e5e29a0be4e2e7e67384298c7278818a43cd1 We can now print the .debug_pubnames details. Formatting will surely change somewhat. modified: src/bin/dwarfdump/print_debug_names.c Now we read all the fields in .debug_pubnames. For tailored access some additional functions may be desirable. modified: src/lib/libdwarf/dwarf_debugnames.c modified: src/lib/libdwarf/dwarf_debugnames.h 2022-04-05: David Anderson commit fd4ddb637cfd30eb0d83e673387073499beff248 Uses DWARF_HALF_SIZE instead of the constant 2 for clarity of intent. modified: src/lib/libdwarf/dwarf_form.c 2022-04-04: David Anderson commit 990a9ef4e03e3a1e4ccb10b76d19a11a7de10e0b We can now read and print all the data in .debug_names. Some functions aimed at easier use for some specific purposes will surely be needed soon. The new functions for .debug_names not yet documented. modified: src/lib/libdwarf/dwarf_debugnames.c Some of the formatting will surely need some changes, for best readability. modified: src/bin/dwarfdump/print_debug_names.c 2022-04-04: David Anderson commit 770138eb6290cbc5049854c7c20322bfcd0e516f Fix indents and trailing whitespace. modified: src/lib/libdwarf/dwarf_line.c 2022-04-02: David Anderson commit 2b92f489fe6adcc601b0c9cd6232c8e0595c52a7 DO NOT USE THIS COMMIT: progress toward .debug_names, but not yet working. modified: src/bin/dwarfdump/print_debug_names.c modified: src/lib/libdwarf/dwarf_debugnames.c modified: src/lib/libdwarf/libdwarf.h 2022-04-01: David Anderson commit e16b3ae1e6f7f0c5c2fa58f5e594d95fc9ca826e Now prints more of .debug_names content. modified: src/bin/dwarfdump/print_debug_names.c 2022-04-01: David Anderson commit aa2ac7df24b84aed427b69aee36d39df5559379b Removed a bit of capitalization, updated date. modified: doc/libdwarf.dox 2022-04-01: David Anderson commit 3553916447e27ce835c73c5dbc29b5f395267012 Updated per recent changes. modified: ChangeLog 2022-04-01: David Anderson commit bf5ef885b48d54371f33194f363821b9b3c0c424 Updated date. modified: doc/libdwarf.dox Regenerated. modified: doc/libdwarf.pdf Fixed typo in doxygen comment. Versions supported are 2,3,4,5 (3 was left out in one place). modified: src/lib/libdwarf/libdwarf.h 2022-03-30: David Anderson commit 2f8cef7397727e2ab54fb2a36486a7faae3e4410 Removed a couple of obsolete lines. modified: README.cmake Added a comment line to motivate the check for sys/stat.h modified: meson.build The leading ifdef nest now has a tiny bit of indentation so it is easier to understand. modified: src/lib/libdwarf/libdwarf.h 2022-03-30: David Anderson commit 5ca9322094b76f52d0fe084cd56a5ef392f402f5 Updating the date here to today. modified: README modified: README.md 2022-03-29: David Anderson commit 78e155c5c77fc8559833ff69ae34ad9112c0f833 Bringing up to date modified: ChangeLog 2022-03-29: David Anderson commit 88c12410f68668b56c41921bab5cd8dc7a0674ec Mentioning requirements now. modified: README modified: README.md 2022-03-29: David Anderson commit 8fb921a4a3314b6a6b87dcb6b1e7e03d6d20fdc9 Ensure that meson.build and meson_options.txt get put into distributions. modified: Makefile.am modified: doc/Makefile.am modified: src/bin/attr_form/Makefile.am modified: src/bin/buildopstab/Makefile.am modified: src/bin/builduritable/Makefile.am modified: src/bin/dwarfdump/Makefile.am modified: src/bin/dwarfexample/Makefile.am modified: src/bin/dwarfgen/Makefile.am modified: src/bin/gennames/Makefile.am modified: src/bin/tag_attr/Makefile.am modified: src/bin/tag_tree/Makefile.am modified: src/lib/libdwarf/Makefile.am modified: src/lib/libdwarfp/Makefile.am modified: test/Makefile.am 2022-03-29: David Anderson commit d02f1521e3bdf81447f3cc4948582b5aa2eaf08e Freebsd clang requires that %p printf actual argment(s) cast char* or other pointers to void* to avoid a warning/error. Sensible to do for all compilers. modified: test/getopttest.c 2022-03-29: David Anderson commit 7cbda41e827e349b12caab8d50aaf5ab0b6aecaa Removed invalid -Dtest=on and added install command from the meson building test. modified: scripts/buildandreleasetest.sh 2022-03-29: David Anderson commit 4b2588c84bfa12dfcbbaec224617880d16e1cd85 Now references 0.4.0 in examples modified: README.md Added sys/stat.h to header checks so building dwarfgen is possible. modified: meson.build 2022-03-29: David Anderson commit eead5dcbc14d717aeb7c1be37dacc2a3307585e9 Modified a comment. modified: src/bin/dwarfgen/dwarfgen.cc These now ensure private fields are referenceable to ensure we get no error/warnings from compilers checking for inaccessible fields. modified: src/bin/dwarfgen/irepdie.h modified: src/bin/dwarfgen/irepframe.h modified: src/bin/dwarfgen/irepline.h modified: src/bin/dwarfgen/irepmacro.h 2022-03-28: David Anderson commit 9995267e2a9728e961581827b4852d42e05aede0 Now properly handles the .debug_names header augmentation string. modified: src/lib/libdwarf/dwarf_debugnames.c Now some error strings that were identical are sligtly different so one can tell exactly where the error occured. modified: src/lib/libdwarf/dwarf_util.h 2022-03-25: David Anderson commit 7b29e7fd954ab3a69cbd132f841467c9a6e8e3f5 Updated to mention github Issue #90 modified: ChangeLog 2022-03-25: David Anderson commit 8c76113079db823e0517122628c2f0f993a418ca Now with the dwarf_line.c fix for Heap buffer overflow when parsing ELF files #90 in ChangeLog. modified: ChangeLog Regenerated pdf modified: doc/libdwarf.pdf 2022-03-25: David Anderson commit 3a080e2172a618260e2e68ac0b9b470ba09a82af - @date 2022-03-19 v0.4.0 + @date 2022-03-23 v0.4.0 so the corrections can be differentiated from the 03-19 version. modified: doc/libdwarf.dox 2022-03-25: David Anderson commit 8c05e9f66b7ef6ddfe6c79d5c280a7e3b89efd28 In case an include directory index is out of range, now emits a text beginning with /ERROR< so such is easy to locate and suppresses adding DW_AT_comp_dir to the expanded name. See github issue Heap buffer overflow when parsing ELF files #90 See regressiontests/moqigod/buffer-overflow-example-2022 for the fuzzed object containing the error. modified: src/lib/libdwarf/dwarf_line.c 2022-03-23: David Anderson commit 161e7f2da5a7a94c34ccf815344f834d3e9b63c6 Up to date with git changes. modified: ChangeLog 2022-03-23: David Anderson commit 5343316a89928a1bee491f069bd3a80a4efca685 Fixing issues Coverity Scan found. Leak in 'impossible' circumstances and one was dead code. modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfgen/createirepformfrombinary.cc 2022-03-23: David Anderson commit 6b07b04ba4f7ff71d5502aa73cb2d6793fe250d0 Fixed indents of a group of doxygen comments. modified: src/lib/libdwarf/libdwarf.h 2022-03-23: David Anderson commit 98c332b5b8d934cfeba9042adcdf267bd0fca9c1 Updated with latest changes. modified: ChangeLog 2022-03-23: David Anderson commit e3012302ca3d7c9918c0e7efa320e7e043d89a1b Fix trailing whitespace. Fix indents. modified: src/bin/dwarfdump/print_debug_names.c 2022-03-23: David Anderson commit 1ad7978552817d2450d2cc9a260f012145b99163 Remove trailing whitespace. Fix indent errors. Fix style errors like if( and for( modified: src/lib/libdwarf/dwarf_debugnames.c modified: src/lib/libdwarf/dwarf_form.c modified: src/lib/libdwarf/dwarf_frame.c modified: src/lib/libdwarf/dwarf_global.c modified: src/lib/libdwarf/dwarf_loc.c modified: src/lib/libdwarf/dwarf_peread.c modified: src/lib/libdwarf/dwarf_stringsection.c 2022-03-23: David Anderson commit 1de2a7cff5a84ba8452df86b58f30eb22f3e21fb Removed trailing whitespace. modified: dwarf_debugnames.h modified: libdwarf.h 2022-03-23: David Anderson commit 751355259ffc19e145be68be66e0270898520345 CoverityScan noticed memory leaks of Dwarf_Error in case of extremely unusual DW_DLV_ERROR cases. Wny these were only noticed now...surprising...these are old mistakes. modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfgen/createirepformfrombinary.cc 2022-03-20: David Anderson commit 664598681c7812d78edc8bc540fb848b252bebda Updated with latest in git log. modified: ChangeLog 2022-03-20: David Anderson commit 3cc3cc3b8cfa9602e44efd111bb944cfa5ef76e0 Now Dwarf_Debug_s has an initial field of a number, which is set to a hex value as the Dwarf_Debug is being constructed. On deallocation the value is reset to zero. In addition, random Dwarf_Debug pointers are checked to ensure the special value is present, and if not present an error is thrown. modified: src/lib/libdwarf/dwarf_abbrev.c modified: src/lib/libdwarf/dwarf_alloc.c modified: src/lib/libdwarf/dwarf_die_deliv.c modified: src/lib/libdwarf/dwarf_form.c modified: src/lib/libdwarf/dwarf_frame.c modified: src/lib/libdwarf/dwarf_global.c modified: src/lib/libdwarf/dwarf_loc.c modified: src/lib/libdwarf/dwarf_macro.c modified: src/lib/libdwarf/dwarf_opaque.h modified: src/lib/libdwarf/dwarf_stringsection.c modified: src/lib/libdwarf/dwarf_util.h 2022-03-20: David Anderson commit c6f8fb36e665b6bda1496d24eb253cb68a1624bd Latest version. modified: doc/libdwarf.pdf 2022-03-19: David Anderson commit 3c05b3a5f2397acff1bda4f1f952af31134898e2 Fixing doxygen comments. modified: libdwarf.h 2022-03-19: David Anderson commit f4687afedc5389f71b88ce0e8e3427cc8260333b Updated date modified: doc/libdwarf.dox Now all the @brief doxygen commands begin with a capital letter (for consistency) except for the few where the actual function name is the sole content (dwarf_get_FORM_name() etc) modified: src/lib/libdwarf/libdwarf.h 2022-03-18: David Anderson commit ecc3c6446e2965daaa5eeff6dc4315fbea526a77 Updated with latest modified: ChangeLog 2022-03-18: David Anderson commit aa13c9cc626392ab48af68d3ea5ebfb2e53adc6b Fix a memory leak in the new code. modified: src/lib/libdwarf/dwarf_debugnames.c Correct doxygen comments. modified: src/lib/libdwarf/libdwarf.h A slight alteration of the 'generate a fake .debug_names' code here, but it is not sufficient. We have correct compiler-generated debug_names on hand now so this fake is no longer needed. modified: src/lib/libdwarfp/dwarf_pro_dnames.c 2022-03-18: David Anderson commit df751d240966531f1db04e51752dbc3ec4504505 Brought up to date with gitlog modified: ChangeLog Changed date to today. modified: doc/libdwarf.dox Regenerated today. modified: doc/libdwarf.pdf 2022-03-18: David Anderson commit 34672538aa862c6067998486b17f2968dfb6cf56 Merge: 732cd872 a755934e Merge branch 'dnames' Bringing .debug_names access and printing to a somewhat useful state. 2022-03-18: David Anderson commit a755934ec18cca07f41c800a544179a7ff36522c Adding defgroup title words to a few where it was omitted modified: doc/checkexamples.c Adding to the debug_names 0.4.0 changes modified: doc/libdwarf.dox Correcting doxy for the dnames changes. modified: src/lib/libdwarf/libdwarf.h 2022-03-16: David Anderson commit 732cd8725375bdd9f04eab946e782b696308fb97 Merge: 29602bba 70eefe93 Merge pull request #88 from vtorri/vtorri_selftest Rename SELFTEST with TESTING. Also fix compilation of tests with the 2022-03-15: Vincent Torri commit 70eefe938666f00fe4934ef015c2bd6911ecb534 Rename SELFTEST with TESTING. Also fix compilation of tests with the autotools on Windows modified: src/bin/dwarfdump/dd_esb.c modified: src/bin/dwarfdump/dd_macrocheck.c modified: test/CMakeLists.txt modified: test/Makefile.am modified: test/meson.build 2022-03-14: David Anderson commit 29602bba225bfc204e6e0b4d0d5ce024f6ff24df Merge: 941297f6 1fbfe0aa Merge pull request #87 from vtorri/vtorri_test_macrocheck meson test: add macrocheck test 2022-03-13: David Anderson commit dad2e036ec793e64c149a9905def9da15efe913f Now prints more of .debug_names content. modified: src/bin/dwarfdump/print_debug_names.c modified: src/lib/libdwarf/dwarf_debugnames.c modified: src/lib/libdwarf/dwarf_debugnames.h Fixed debug names interfaces and renamed attr_array to idxattr_array to emphasize these are index-attributes, not attributes. modified: src/lib/libdwarf/libdwarf.h 2022-03-13: Vincent Torri commit 1fbfe0aa64b529809d21c0e437757088576354da launch test in meson CI 2022-03-13: Vincent Torri commit e5059232d720cad0ed337a6513979e1dd783276a fix autotools macrocheck test 2022-03-13: Vincent Torri commit aeea0d27613f9d879afa61f110df93ce099bc479 meson test: add macrocheck test new file: test/test_macrocheck.c modified: src/bin/dwarfdump/dd_macrocheck.c modified: test/meson.build 2022-03-12: David Anderson commit 7ce0d16e8473ea12b15bbf4c5c2724c8b37d6935 DO NOT USE THIS COMMIT. Code is present for nearly the entire section, but bugs exist. modified: src/bin/dwarfdump/print_debug_names.c modified: src/lib/libdwarf/dwarf_debugnames.c modified: src/lib/libdwarf/libdwarf.h 2022-03-12: David Anderson commit e629f12d3bf52395e08f2ccf8e18ce87572aced2 DO NOT USE THIS COMMIT. A work in progress. Most of the reader implemented and compiles. modified: src/bin/dwarfdump/print_debug_names.c modified: src/lib/libdwarf/dwarf_debugnames.c modified: src/lib/libdwarf/dwarf_debugnames.h modified: src/lib/libdwarf/libdwarf.h 2022-03-12: David Anderson commit 941297f6e2ef3e09cce8f5fe07fbbe3c1ce144d9 Merge: 6b2d283c 690ac582 Merge branch 'master' of https://github.com/davea42/libdwarf-code Adding to README.md and modifying workflow c-cpp.yml. 2022-03-12: David Anderson commit 690ac582e6899fb64013d29ff3a85b4b0fd41c0e Merge: 6e2ee048 5d25f579 Merge pull request #86 from vtorri/vtorri_badge Add msys2 CI badge in README.md 2022-03-12: Vincent Torri commit 5d25f579a2d808d00ab913856da7cc1f3c0b587d Add msys2 CI badge in README.md modified: .github/workflows/c-cpp.yml modified: README.md 2022-03-11: David Anderson commit 6b2d283ccaf162c8dfe2c2588beda4576f442947 Merge: 789cecbe 6e2ee048 Merge branch 'master' of https://github.com/davea42/libdwarf-code A new workflows yml. 2022-03-11: David Anderson commit 6e2ee04895932aaa462ab8a4e6a022d1595f4cb1 Merge: 97436475 5a112e80 Merge pull request #85 from vtorri/master Add msys2 CI 2022-03-11: Vincent Torri commit 5a112e8098531cffb039a5ff2e50ca1241faca14 Add msys2 CI new file: .github/workflows/ci_msys2.yml 2022-03-10: David Anderson commit 789cecbe636c62c28c5e0ecfb75e5284cbf71e4d DO NOT USE THIS COMMIT. It adds new debug_names output, but is quite incomplete and...maybe ugly so far. modified: src/bin/dwarfdump/print_debug_names.c modified: src/lib/libdwarf/dwarf_debugnames.c 2022-03-10: David Anderson commit 0985e103e0dc409437cc12b5581a3b58f59bb772 Correcting some doxygen comments on reading .debug_names functions. modified: src/lib/libdwarf/libdwarf.h 2022-03-10: David Anderson commit 99aa290646facdd2ad77fc69590c83f4ea593d00 Small fixes to formatting in the introduction and in the list of changes. modified: doc/libdwarf.dox 2022-03-09: David Anderson commit 97436475c0a9dd688f094111b56b09af24972e9c Brings ChangeLog up to date with git log modified: ChangeLog 2022-03-09: David Anderson commit 4180ee7a05973e9e9bfc46dad95e906e57100ee2 Merge: 005f218f 02763e21 Merge pull request #84 from vtorri/master Add meson support for examples 2022-03-09: Vincent Torri commit 02763e2175b027c0e087de8cb4ad269096758762 fix build on linux modified: src/bin/dwarfexample/showsectiongroups.c modified: src/bin/dwarfexample/simplereader.c 2022-03-09: Vincent Torri commit ccf167a9d9501057252a2f11403e4896dc0f9210 Add meson support for examples new file: src/bin/dwarfexample/meson.build modified: .github/workflows/ci_meson.yml modified: meson.build modified: meson_options.txt modified: src/bin/dwarfexample/dwdebuglink.c modified: src/bin/dwarfexample/findfuncbypc.c modified: src/bin/dwarfexample/frame1.c modified: src/bin/dwarfexample/jitreader.c modified: src/bin/dwarfexample/showsectiongroups.c modified: src/bin/dwarfexample/simplereader.c 2022-03-06: David Anderson commit 005f218f2831b9db965e9216a3076adcd039020a Improved the completness of .debug_names section handling. There is more to do! Not done yet. modified: src/bin/dwarfdump/print_debug_names.c modified: src/lib/libdwarf/dwarf_debugnames.c 2022-03-04: David Anderson commit e58783f80e2ef156a077dfbfddd30c2e76ecb06b Moved reading a bucket array to _dwarf_initialize_bucket_details() while remembering details, making dwarf_dnames_bucket() much simpler. modified: src/lib/libdwarf/dwarf_debugnames.c modified: src/lib/libdwarf/dwarf_debugnames.h 2022-03-04: David Anderson commit 8c6ead8ee86fe63e3ef19429af7514eafa664fa1 Now prints debug_names 'buckets'. modified: src/bin/dwarfdump/print_debug_names.c modified: src/lib/libdwarf/dwarf_debugnames.c 2022-03-04: David Anderson commit 2f2033ddc346463f102ba8be439032fea13bb4f0 Updated with latest from git log modified: ChangeLog 2022-03-04: David Anderson commit f78b8580cb49573c1a2ca69d623cf00b7b141b23 Revert dwarf_get_location_op_value_d() to dwarf_get_location_op_value_c() as the older version does all that is useful. The three arguments missing from dwarf_get_location_op_value_c() turned out to be useless. The newer (and now removed) dwarf_get_location_op_value_d() was added 2020-06-09. Documenting the change. modified: doc/checkexamples.c modified: doc/libdwarf.dox Implementing the change. modified: src/bin/dwarfdump/print_die.c modified: src/lib/libdwarf/dwarf_loc.c modified: src/lib/libdwarf/dwarf_loc.h modified: src/lib/libdwarf/dwarf_locationop_read.c modified: src/lib/libdwarf/libdwarf.h 2022-03-04: David Anderson commit 29d7fdf0d5620daab5700fdc5a6e9bf08c90bab6 Made the return value comments on dwarf_hasattr() more detailed and specific. modified: src/lib/libdwarf/libdwarf.h 2022-03-04: David Anderson commit ae8b32cde96cd545a256665cae9939f017911c63 dwarf_xu_header_free() renamed to dwarf_dealloc_xu_header(). dwarf_gdbindex_free() renamed to dwarf_dealloc_gdbindex(). dwarf_loc_head_c_dealloc renamed to dwarf_dealloc_loc_head_c(). For consistency with all the other dealloc functions. modified: doc/checkexamples.c modified: doc/libdwarf.dox modified: src/bin/dwarfdump/print_debugfission.c modified: src/bin/dwarfdump/print_die.c modified: src/bin/dwarfdump/print_frames.c modified: src/bin/dwarfdump/print_gdbindex.c modified: src/lib/libdwarf/dwarf_alloc.c modified: src/lib/libdwarf/dwarf_gdbindex.c modified: src/lib/libdwarf/dwarf_loc.c modified: src/lib/libdwarf/dwarf_loclists.c modified: src/lib/libdwarf/dwarf_xu_index.c modified: src/lib/libdwarf/libdwarf.h 2022-03-04: David Anderson commit b2e1497670c89bb7d77c82f92e832b65ab5ad766 Regenerate with version 0.4.0 modified: src/bin/dwarfdump/dwarf_names.c modified: src/bin/dwarfdump/dwarfdump-af-table.h modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h modified: src/bin/dwarfdump/dwarfdump-ta-table.h modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h modified: src/bin/dwarfdump/dwarfdump-tt-table.h modified: src/lib/libdwarf/dwarf_names.c Update the dwarf_return_empty_pubnames() calls, now omitting the unused Dwarf_Error argument. modified: src/bin/dwarfdump/print_pubnames.c modified: src/bin/dwarfdump/print_static_funcs.c modified: src/bin/dwarfdump/print_static_vars.c modified: src/bin/dwarfdump/print_types.c modified: src/bin/dwarfdump/print_weaknames.c modified: src/lib/libdwarf/dwarf_global.c 2022-03-04: David Anderson commit 5ae8e00a468923a370bdcb3e1532b02c5d17e0e4 Now version 0.4.0 as we change a small number of API items. modified: CMakeLists.txt modified: configure.ac modified: doc/libdwarf.dox modified: doc/libdwarfp.mm modified: meson.build Change version and also remove unused third (Dwarf_Error) argument from dwarf_return_empty_pubnames() modified: src/lib/libdwarf/libdwarf.h 2022-03-02: David Anderson commit d4f01e3ad8314633940714ef7b6cb0038991f4d6 Now each has version based on 0.3.5 , updated from 0.3.4. modified: CMakeLists.txt modified: configure.ac modified: doc/libdwarf.dox modified: doc/libdwarfp.mm modified: meson.build modified: src/lib/libdwarf/libdwarf.h Now this updates libdwarf.dox too. modified: tools/updatesemanticversion.py 2022-03-02: David Anderson commit 304e13b0c213e4766a9c866835078e86a0982f14 Now with final changes listed (nothing important) for the 0.3.4 release) modified: ChangeLog 2022-03-02: David Anderson commit fe1de8bed00c492a4e6294c04d0b266c7e5725f3 Two changes for cmake builds of libdwarf on Windows. Issues #82 and #83 on github. One ensures -DLIBDWARF_BUILD is passed to the compiler and one ensures we use DW_FZLIB to add zlib to the list of things to link in (when it exists). modified: src/lib/libdwarf/CMakeLists.txt 2022-02-23: David Anderson commit 8c56a98e99ae367e57b02a5d7f7dab01add878e9 Now says For Release on date line. modified: ../libdwarf.dox Regenerated modified: ../libdwarf.pdf 2022-02-22: David Anderson commit 5a033c458d1aae3539aa37825dabc6a650f493e6 Updated with today's initializer fix. modified: ChangeLog 2022-02-22: David Anderson commit ffecad750da5ebb572680f4b3155bddaac538369 A compiler warned of two local variables with no initializer and with -enable-werror the warnings broke the build. modified: src/bin/dwarfdump/print_abbrevs.c modified: src/bin/dwarfdump/print_die.c 2022-02-22: David Anderson commit 961a276fab7a8409c0b375055f36c843d6b1f25e To match recent commits modified: ChangeLog 2022-02-22: David Anderson commit 10c455b9a94a7da5ca22df8e7b8ed59ddd5d4506 In a comment remove a -lelf as that is irrelevant now (for this code). modified: simplecrc.c 2022-02-22: David Anderson commit ba03f108e88a7b53014ed1f78a7667039224bb4b Merge: 944bae54 cc08ad1e Merge pull request #80 from vtorri/vtorri_dumpbytes remove dump_bytes() from simplecrc.c and dwarf_object_detector.c 2022-02-22: Vincent Torri commit cc08ad1e5b6b6b00657a48545633efac0d1b0906 remove dump_bytes() from simplecrc.c and dwarf_object_detector.c modified: src/bin/dwarfexample/simplecrc.c modified: src/lib/libdwarf/dwarf_object_detector.c 2022-02-20: David Anderson commit 944bae54e3c123e72457528721258334a1b0e723 Brought this up to date with git log modified: ChangeLog 2022-02-20: David Anderson commit dd967d4e2c700b3f5bdefb8a515e587a66412661 This fixes a coverity scan warning. Removing argv and argc from declaration of main. int main(void) is specifically valid by the C90 standard section 5.1.2.2.1 modified: src/bin/builduritable/uritablebuild.c 2022-02-20: David Anderson commit 2a5f5f80db296999a79e7a4bfe10a914a64c60b8 Now does doxygen before building the pdfs. modified: doc/Makefile.am Removed some test wording. Now ready for release. modified: doc/libdwarf.dox regenerated modified: doc/libdwarf.pdf 2022-02-20: David Anderson commit a1fa90b53277cc5d68d3ac72edd99d8dd758b9c1 Now meson build also does 'ninja test' modified: scripts/buildandreleasetest.sh 2022-02-20: David Anderson commit c032334997410674486504a7f08da1c1620f433a Added words about meson build modified: README modified: README.md 2022-02-20: David Anderson commit 8e534a95aa4dce4d6a55f70f4721fe7f9263071e Merge: 2b31510d 7f427f44 Merge pull request #79 from vtorri/vtorri_ci_meson add continuous integration for meson 2022-02-20: Vincent Torri commit 7f427f445afcc73dab4df1da2f8494d729317d97 add badge for meson ci 2022-02-20: Vincent Torri commit 4ce27aa8efffc4aeb30ef568e136483f56ba1de6 fir ci name 2022-02-20: Vincent Torri commit ee8a159fd00fe8d5ffaff5c822e0e7e764f59a49 fix option value 2022-02-20: Vincent Torri commit 8e1108113cc3fc29117b96bad6a355b85705a8a4 add ci for meson 2022-02-19: David Anderson commit 2b31510d7d7ee448522865da1fd389d61c175842 To match up with test/meson.build modified: test/CMakeLists.txt 2022-02-19: David Anderson commit 7c8c80e7d7c25b531c760736c775dc205f1ab94e Merge: a8c37adb 62a12bb9 Merge pull request #78 from vtorri/vtorri_test_api Fix link of test binaries on Windows 2022-02-19: Vincent Torri commit 62a12bb905a66ad6130a813361441a40423dc0ae Fix link of test binaries on Windows modified: ../test/meson.build 2022-02-19: David Anderson commit a8c37adb12d8b862fc2ccbf87d5e02174241ef39 Not sure this suffices, but at least pointer-to will fit in Dwarf_Unsigned. modified: test/dwarf_tied_test.c 2022-02-19: David Anderson commit d4662df3cf46f3aff1cd90da5fd96a0199767f39 Merge: 7552759f 42d949b4 Merge branch 'master' of https://github.com/davea42/libdwarf-code Removing useless reloc files. 2022-02-19: David Anderson commit 42d949b4a46f07f9d12beb08a8c893c171961de9 Merge: ffb2453f 922b64b8 Merge pull request #76 from vtorri/vtorri_reloc2 Remove useless reloc files 2022-02-19: David Anderson commit 7552759fef90fd04efb7d35b2499e38c424edad2 Due to a small mistake in these scripts make -j8 (or any j greater than 1) would fail with really strange errors. Fixed. modified: dwarfdumpLinux.sh modified: dwarfdumpMacos.sh modified: dwarfdumpPE.sh modified: dwarfdumpsetup.sh 2022-02-19: Vincent Torri commit 922b64b8693498fc0a5cb1c70eabab673e2a87f1 removetest_headersoc.c from Makefile.am too 2022-02-19: Vincent Torri commit 00d03246ab219091d8c89782ec98d0abf269210c Remove useless reloc files deleted: src/lib/libdwarf/dwarf_elf_reloc_386.h deleted: src/lib/libdwarf/dwarf_elf_reloc_aarch64.h deleted: src/lib/libdwarf/dwarf_elf_reloc_arm.h deleted: src/lib/libdwarf/dwarf_elf_reloc_mips.h deleted: src/lib/libdwarf/dwarf_elf_reloc_ppc.h deleted: src/lib/libdwarf/dwarf_elf_reloc_ppc64.h deleted: src/lib/libdwarf/dwarf_elf_reloc_sparc.h deleted: src/lib/libdwarf/dwarf_elf_reloc_x86_64.h deleted: src/lib/libdwarf/dwarf_reloc_386.h deleted: src/lib/libdwarf/dwarf_reloc_arm.h deleted: src/lib/libdwarf/dwarf_reloc_mips.h deleted: src/lib/libdwarf/dwarf_reloc_ppc.h deleted: src/lib/libdwarf/dwarf_reloc_ppc64.h deleted: src/lib/libdwarf/dwarf_reloc_x86_64.h deleted: test/test_headersok.c modified: src/lib/libdwarf/CMakeLists.txt modified: src/lib/libdwarf/Makefile.am modified: test/CMakeLists.txt modified: test/Makefile.am modified: test/meson.build 2022-02-19: David Anderson commit 1d9ff1c320880daf79560041e8331760162a3937 Use the short local name for the augmentation_string_size, not the long spelling. Simpler to use the short name consistently instead of mixing the usage. modified: dwarf_debugnames.c 2022-02-19: David Anderson commit ffb2453ff63e9e01c82344f67a522e0176c4b70a Spelling correction modified: doc/libdwarf.dox Added meson build modified: scripts/buildandreleasetest.sh Fixed the NUL byte code, (one line). modified: src/lib/libdwarf/dwarf_debugnames.c Enhanced each test by an (actually superfluous) rm -f. modified: test/dwarfdumpLinux.sh modified: test/dwarfdumpMacos.sh modified: test/dwarfdumpPE.sh 2022-02-18: David Anderson commit e4996685372aa2d1dcf3a8912f06e4766c39d12e Now prints a bit more of the .debug_names section content. modified: src/bin/dwarfdump/print_debug_names.c 2022-02-18: David Anderson commit 6a3ab22a4550927963b42d719a418ebe58a2124a Fixing the tableofcontents command modified: libdwarf.dox Regenerated modified: libdwarf.pdf 2022-02-18: David Anderson commit 78576330a29181572e4b3b8fb0e825c89ac06832 Fixed two warnings. modified: print_debug_names.c 2022-02-18: David Anderson commit c908b27658aa6913cad1a53f16cfadc9236ab062 Fixed unused local var formtu warning. modified: print_debug_names.c 2022-02-17: David Anderson commit 0b9d4d0292def591e2619fc3f6e29becb9fc1c7a Now prints cu/tu table. modified: src/bin/dwarfdump/print_debug_names.c Couple lines of debug inside #if 0 modified: src/lib/libdwarf/dwarf_debugnames.c Fixed a misspelling in a doxygen comment. modified: src/lib/libdwarf/libdwarf.h 2022-02-17: David Anderson commit adb94559b060f37d95ebdec96cc6c74a4303d83b Revised the handling of PE SizeOfRawData and VirtualSize object section fields so it skips processing sections it knows are irrelevant to dwarf. The way VirtualSize is used means it is impossible to write a precise size bound so we added a couple heuristics to prevent corrupted objects from causing crashes. modified: dwarf_peread.c 2022-02-16: David Anderson commit 7b5d7cf0ba6c2118b4d1a51f6ca2b4b8d4195086 Updated with latest git log entries modified: ChangeLog 2022-02-16: David Anderson commit 8c82fb83d9bff92e3222aef0c43db3188215b560 Merge: 4054f253 bbc4aa69 Merge branch 'Snork2-master' Improved error messages modified: pdfbld.sh 2022-02-16: David Anderson commit 4054f253e98a5f3e0e2535bf170e498a94810ed1 Merge: 893ecdb4 f9b9e30e Merge branch 'master' of https://github.com/davea42/libdwarf-code Improving PE size checks 2022-02-16: David Anderson commit f9b9e30e8b395fca84c47a1f3b963fb2041a6772 Merge: b693bf3f c389702a Merge pull request #74 from Snork2/master Replacing Windows PE section size sanity check. 2022-02-16: David Anderson commit bbc4aa69423564f5a5802f7958674e078ecbedaf Merge: 893ecdb4 c389702a Merge branch 'master' of https://github.com/Snork2/libdwarf-code into Snork2-master checking it davea 2022-02-16: David Anderson commit 893ecdb48200c2f8165d5d184dae03800d7517ee Now with latest from git log modified: ChangeLog 2022-02-16: snork2 commit c389702a205e77299a33747655d6f9acec08e962 Replacing Windows PE section size sanity check. Removed in-memory size check, and replaced in with in-file size check. Checking in-memory section size can trigger false positive result with large .bss sections. 2022-02-16: David Anderson commit b693bf3f2826b129cfd41d184744411815f42dd4 File was never distributed, and now is unused. deleted: doc/ChangesToLibdwarf.pdf Now builds libdwarf.pdf from the doxygen data modified: doc/Makefile.am modified: doc/libdwarf.pdf modified: doc/libdwarfp.pdf modified: doc/pdfbld.sh 2022-02-16: David Anderson commit 3538839bb713e483d992f217693d8db44089260b We no longer use libdwarf.mm deleted: doc/libdwarf.mm No longer updates version in libdwarf.mm modified: tools/updatesemanticversion.py 2022-02-15: David Anderson commit c4ace46963d86d3e24d95ac6755563987cd6fb28 Upldate meson modified: README modified: README.md Corrected version modified: meson.build Now correctly updates the version in the meson build. modified: tools/updatesemanticversion.py 2022-02-14: David Anderson commit e76ff528c3927c6a8d7a115a029c694f000e5156 README is identical to README.md modified: README 2022-02-14: David Anderson commit a71d4ccb214ee508a6b9962725ce968ff869cde5 modified: README.md 2022-02-14: David Anderson commit d179cb4b06ff9982f42afb2e436e80bb5508a201 Adding a meson build script (first cut, it will change a bit) modified: README modified: README.md 2022-02-14: David Anderson commit 305cfb2aaa05a48d6a239a30adce4ff452a30854 Small change for doxygen. Not the final word. modified: Makefile.am Tweaked wording a bit. modified: libdwarf.dox regenerated. modified: libdwarf.pdf 2022-02-14: David Anderson commit ecb7db0181ee1d8376cec2a57f510b950c913305 modified: src/lib/libdwarf/dwarf_macro5.c MC_SENTINAL -> MC_SENTINEL Private to this one source file. 2022-02-14: David Anderson commit cfe1198f456fc581cfd442a4ca1db337cc5d35c0 Bringing in January git log, bringing up to date modified: ChangeLog 2022-02-14: David Anderson commit 84d0a968658c3646a542ebec688056e380375378 Mostly making meson build in a random far away directory work properly. CHanged the search for include directories from -I../dwarfdump (etc) to harmless -I'.' and +localinclude = include_directories('../dwarfdump') and - include_directories : config_dir, + include_directories : [config_dir, localinclude], modified: src/bin/attr_form/meson.build modified: src/bin/buildopstab/meson.build modified: src/bin/gennames/meson.build modified: src/bin/tag_attr/meson.build modified: src/bin/tag_tree/meson.build Just added small comment modified: src/lib/libdwarfp/dwarf_pro_log_extra_flag_strings.c Now joins other places and uses "libdwarf.h" in the include stmt. modified: src/lib/libdwarfp/libdwarfp.h modified: test/meson.build Deleted pointless blank line. modified: test/test_linkedtopath.c Now int main(void) as simpler way to have valid main prototype. Deleted if 0 ... endif pair with nothing in it. modified: test/test_regex.c Deleted extra blank lines. modified: test/test_safe_strcpy.c 2022-02-14: David Anderson commit b83bcf6111a2fdade3fcd49f233dcc8a7d055edf Merge: ef5a839d ff79942b Merge pull request #73 from vtorri/master fix tests compilation with meson 2022-02-12: Vincent Torri commit ff79942bfed5a3dfbff75d96c616f2ccb6529754 fix tests compilation with meson modified: test/meson.build modified: test/test_linkedtopath.c modified: test/test_regex.c 2022-02-10: David Anderson commit ef5a839d8d9e258f5a3ba8bf17ad9bbd7956128f Correcteting the example source and adding doxygen comments so it shows up in doxygen output. modified: doc/checkexamples.c Updated date modified: doc/libdwarf.dox Now with all available examples (meaning checkexamples.c code) referenced in doxygen output. modified: src/lib/libdwarf/libdwarf.h 2022-02-10: David Anderson commit 1b225518b5286b90ac7cace55edf887585f7e7d3 Merge: 0a28232a fe5f9f35 Merge branch 'master' of https://github.com/davea42/libdwarf-code Merging meson with added testing. 2022-02-10: David Anderson commit fe5f9f35b9b7f1573472170dfe315e924c099887 Merge: 5ccaf65e 18eff97c Merge pull request #72 from vtorri/master Add initial meson test support 2022-02-10: Vincent Torri commit 18eff97c11ca201f159727f9f21ade2d3f5ddd9b Add initial meson test support new file: test/meson.build modified: meson.build modified: test/dwarf_tied_test.c modified: test/getnametest.c modified: test/getopttest.c modified: test/helpertree_test.c modified: test/makename_test.c modified: test/section_bitmaps_test.c modified: test/test_dwarfstring.c modified: test/test_extra_flag_strings.c modified: test/test_headersok.c modified: test/test_linkedtopath.c modified: test/testesb.c 2022-02-09: David Anderson commit 0a28232a8baab8b965c5ccd0909f33a4c1405bdc Updated date and version number 2022-02-08: David Anderson commit 625220d05cf52bf03b98abc1fdd09772461b48c6 More examples of use, data locations and more. modified: doc/checkexamples.c modified: doc/libdwarf.dox modified: src/lib/libdwarf/libdwarf.h 2022-02-08: David Anderson commit 5ccaf65e403a7f220a8471a41e312e2d284089f0 Merge: f3ebe9e5 f92425ea Merge pull request #71 from vtorri/vtorri_doc Add Doxygen support for autotools and meson 2022-02-08: Vincent Torri commit f92425ea51f92fe4112a613844dd8a11059998b3 Add Doxygen support for autotools and meson modified: configure.ac modified: doc/Makefile.am modified: doc/meson.build modified: meson.build modified: meson_options.txt 2022-02-05: David Anderson commit f3ebe9e51d198a5d1eb161d894fa48d6ab6b0f4d Merge: 67ea802c 5be0ddf3 Merge pull request #70 from vtorri/vtorri_man install man pages 2022-02-05: Vincent Torri commit 5be0ddf3770997815aed3961900aec4297ed1f8a install man pages new file: doc/meson.build modified: meson.build 2022-02-04: David Anderson commit 67ea802cdc8e1d448bac4bc8affd569877f01b09 Much improved doc of section groups handling. modified: doc/Doxyfile modified: doc/libdwarf.dox modified: src/bin/dwarfexample/showsectiongroups.c 2022-02-04: David Anderson commit 2fd9d252a60e920451483a1d0ca6f57d35df558b Added words about the new section groups example. dwarfexample/showsectiongroups.c modified: doc/libdwarf.dox A new example making it easy to see section group information in an object file. modified: src/bin/dwarfexample/showsectiongroups.c 2022-02-03: David Anderson commit a61e4036ed64b9686cb73b33510fc5efa9c7da61 Updated date, added version modified: libdwarf.dox 2022-02-03: David Anderson commit ad8d49dcffe8cf217c79eaa5e6413823194d3c8f Mentions src/bin/dwarfexample/showsectiongroups.c modified: doc/libdwarf.dox 2022-02-03: David Anderson commit a9e0ea38e9fcbc69c9472e484905844dcd261e27 Now with section groups documentation. modified: doc/jitaccess.dox modified: doc/libdwarf.dox modified: src/lib/libdwarf/libdwarf.h 2022-02-03: David Anderson commit f62b71b0aa3415cd338cb3926ebe25f004cb443f Now lets user choose the target group number. Try showsectiongroups with no arguments. modified: src/bin/dwarfexample/showsectiongroups.c 2022-02-03: David Anderson commit 78cf3249628332b05343d091f54b1c87f1aa15ac Add, in the initial comment, the libdwarf source path. modified: src/bin/dwarfexample/jitreader.c 2022-02-03: David Anderson commit e41e4c2e947c88104c4f63caf04008e1cea15d04 Adding a new example, to show section groups. modified: src/bin/dwarfexample/CMakeLists.txt modified: src/bin/dwarfexample/Makefile.am new file: src/bin/dwarfexample/showsectiongroups.c 2022-02-03: David Anderson commit 131348938d53053a276c42a80630f704e20ab0f5 modified: src/lib/libdwarfp/CMakeLists.txt Somehow dwarf_pro_reloc_stream.c vanished from the source list. Added back in so libdwarfp is complete. 2022-02-03: David Anderson commit c1fb754e6f67755ad546e1e4feacc33d64000ec1 Merge: 97481fc7 7a8dc82f Merge pull request #69 from vtorri/vtorri_libdwarfp reorder and simplify libdwarfp header files 2022-02-03: Vincent Torri commit 7a8dc82f17a2fad20dbbaec07a651ea8008b572e include stdio.h for tests 2022-02-03: Vincent Torri commit 7bcd33f00db6127adbcd057ffc21705c3f3d8ad0 reorder and simplify libdwarfp header files modified: meson.build modified: src/lib/libdwarfp/dwarf_pro_alloc.c modified: src/lib/libdwarfp/dwarf_pro_arange.c modified: src/lib/libdwarfp/dwarf_pro_debug_sup.c modified: src/lib/libdwarfp/dwarf_pro_die.c modified: src/lib/libdwarfp/dwarf_pro_dnames.c modified: src/lib/libdwarfp/dwarf_pro_error.c modified: src/lib/libdwarfp/dwarf_pro_expr.c modified: src/lib/libdwarfp/dwarf_pro_finish.c modified: src/lib/libdwarfp/dwarf_pro_forms.c modified: src/lib/libdwarfp/dwarf_pro_frame.c modified: src/lib/libdwarfp/dwarf_pro_funcs.c modified: src/lib/libdwarfp/dwarf_pro_incl.h modified: src/lib/libdwarfp/dwarf_pro_init.c modified: src/lib/libdwarfp/dwarf_pro_line.c modified: src/lib/libdwarfp/dwarf_pro_log_extra_flag_strings.c modified: src/lib/libdwarfp/dwarf_pro_macinfo.c modified: src/lib/libdwarfp/dwarf_pro_pubnames.c modified: src/lib/libdwarfp/dwarf_pro_reloc.c modified: src/lib/libdwarfp/dwarf_pro_reloc_stream.c modified: src/lib/libdwarfp/dwarf_pro_reloc_symbolic.c modified: src/lib/libdwarfp/dwarf_pro_section.c modified: src/lib/libdwarfp/dwarf_pro_types.c modified: src/lib/libdwarfp/dwarf_pro_vars.c modified: src/lib/libdwarfp/dwarf_pro_weaks.c 2022-02-01: David Anderson commit 97481fc7b01b4065bed4ab1609c7902b7e0db259 New doxygen comments on COMDAT and .dwo section (section groups) modified: doc/libdwarf.dox Possibly...all functions documented in doxygen comments. modified: src/lib/libdwarf/libdwarf.h 2022-01-31: David Anderson commit b0016255666bcec03abcfd9d20312bdaa2d12d6b Bringing up to date with git log modified: ChangeLog 2022-01-31: David Anderson commit fd7bf02c1abd79b61db75496d7f947ae25a0d281 Removed obsolete comments. modified: ../src/lib/libdwarf/dwarf_init_finish.c Adding doxygen comments about getting the real section name. modified: ../src/lib/libdwarf/libdwarf.h 2022-01-31: David Anderson commit 87c1d56b7874b1fa97c29878b6ec1dc495fe2a8b Since de_using_libelf is never set we remove the if and the code applicable to de_using_libelf. modified: src/lib/libdwarf/dwarf_init_finish.c The field de_using_libelf is an obsolete field now. Deleted it. modified: src/lib/libdwarf/dwarf_opaque.h 2022-01-31: David Anderson commit 6fd19c19826c3984e25716d3d9127c9c4bca7104 doxygen documentation of dwarf_get_TAG_name etc. modified: src/lib/libdwarf/libdwarf.h 2022-01-30: David Anderson commit 651388ef33b0e64b1e9a95ce3880afbe50b74cb1 Merge: 3fe530ac 027c5718 Merge pull request #68 from vtorri/vtorri_last_bin Add meson support for the last binaries 2022-01-30: Vincent Torri commit 027c5718a31f298bb047b18ed7817215db55c5e1 Add meson support for the last binaries new file: src/bin/buildopstab/meson.build new file: src/bin/builduritable/meson.build new file: src/bin/gennames/meson.build modified: README.md modified: meson.build modified: src/bin/buildopstab/buildopscounttab.c modified: src/bin/builduritable/uritablebuild.c modified: src/bin/gennames/gennames.c 2022-01-30: David Anderson commit 3fe530ac33702c7ce23e05f87b97e08139f9829a Added dwarfdump.conf to MAINTAINERCLEANFILES as that just makes sense. modified: test/Makefile.am These explicitly copy dwarfdump.conf individually and now, on success they remove it. modified: test/dwarfdumpLinux.sh modified: test/dwarfdumpMacos.sh modified: test/dwarfdumpPE.sh 2022-01-30: David Anderson commit 4b64c1a7bbc602528cd94b7c20a7e8029a3e83f3 A different approach, clean-local: to clean up. modified: test/Makefile.am 2022-01-30: David Anderson commit 7fdceea11756fc147f47339c4bd22c229214ab0a Now cleaning up temp files from the test. modified: test/Makefile.am 2022-01-30: David Anderson commit 51e9d1a26b807d4c3ae16d78065591dd75246c90 A cleanup of dwarfdump.conf leftover after test modified: test/Makefile.am 2022-01-30: David Anderson commit 5c2820332f459962c3ad56486bc5b6092fc3c899 Create c-cpp.yml 2022-01-29: David Anderson commit 24753cb5658c5325d4b31363ac69fe75a65f190f Now the harmless_error functions are explained by doxygen. modified: src/lib/libdwarf/libdwarf.h 2022-01-29: David Anderson commit 1a5ca50f18170f51aa8bf7210b2b14075c148ee4 Doxygen doc of the crc functions debuglink needs. modified: src/lib/libdwarf/libdwarf.h 2022-01-29: David Anderson commit 74cd9167e9242d058d33e009a06965b9bdb68bf8 Correct a comment. modified: src/lib/libdwarf/dwarf_xu_index.c Added doxygen for .debug_tu_index .debug_cu_index. modified: src/lib/libdwarf/libdwarf.h 2022-01-29: David Anderson commit 01ce650766b8846f0f7c691238a41d59ca1dfa75 Updated to reflect latest release. modified: README modified: README.cmake modified: README.md 2022-01-29: David Anderson commit 4c44a4c19e2a7879da1ed6e1eec49c03bca00101 Corrected a variety of spelling errors in comments. modified: src/bin/dwarfdump/ChangeLog2016 modified: src/bin/dwarfdump/dd_sanitized.c modified: src/bin/dwarfdump/print_abbrevs.c modified: src/bin/dwarfdump/print_lines.c modified: src/bin/dwarfdump/print_llex_codes.c modified: src/bin/dwarfdump/print_loclists_codes.c modified: src/bin/dwarfdump/print_origloclist_codes.c modified: src/bin/dwarfdump/print_static_vars.c 2022-01-29: David Anderson commit 288b3d567e584d8860b335fe12a04120f3e07fea Correct a spelling error in a comment: initalized -> initialized modified: src/lib/libdwarf/dwarf_crc32.c modified: src/lib/libdwarf/dwarf_tsearchhash.c 2022-01-29: David Anderson commit 9ecea55c15ede6264be5eef0413f2881d5cfaae4 Correct spelling errors in comments. modified: src/lib/libdwarf/dwarf_frame.h modified: src/lib/libdwarf/dwarf_init_finish.c modified: src/lib/libdwarf/dwarf_line.c modified: src/lib/libdwarf/dwarf_line.h modified: src/lib/libdwarf/dwarf_ranges.c modified: src/lib/libdwarf/libdwarf_private.h 2022-01-29: David Anderson commit 35dd6258ddf969c86ccdbb5dbdf863484317ea84 Correcting spelling errors in comments. modified: libdwarf.h 2022-01-29: David Anderson commit 029a317dde807cef290aba0048ff572bb556baa2 Corrected a spelling error, now Heterogeneous. modified: dwarf.h 2022-01-29: David Anderson commit deb80914e4648a2ba829d32ba3c419a9ac5e2e1f Corrected three spelling errors. modified: jitaccess.dox modified: libdwarf.dox 2022-01-29: David Anderson commit 96f45a8b5ab09d7596b1363b79ecf45b2062427f Update with latest entries from git log. modified: ChangeLog 2022-01-29: David Anderson commit 1c45ce768634c6135a01de9b37f15edbeec1438d Fix trailing whitespace and some too-long lines. modified: src/lib/libdwarf/dwarf.h modified: src/lib/libdwarf/libdwarf.h 2022-01-29: David Anderson commit 6edc9c60b16f0bb23dd9ac14df0401dfb2d97dff Eliminate trailing white space blank line at end and fix indents. modified: src/bin/buildopstab/buildopscounttab.c modified: src/bin/dwarfdump/dd_canonical_append.c modified: src/bin/dwarfdump/dd_canonical_append.h modified: src/bin/dwarfdump/dd_command_options.c modified: src/bin/dwarfdump/dd_compiler_info.c modified: src/bin/dwarfdump/dd_dwconf.c modified: src/bin/dwarfdump/dd_opscounttab.h modified: src/bin/dwarfdump/dd_safe_strcpy.c modified: src/bin/dwarfdump/dd_safe_strcpy.h modified: src/bin/dwarfdump/dd_tsearchbal.h modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/print_die.c modified: src/bin/dwarfexample/dwdebuglink.c modified: src/bin/gennames/gennames.c 2022-01-29: David Anderson commit 9293a336e1197cb89a33748f2b96bd81e8421f2a Version now 0.3.4 modified: src/bin/dwarfdump/dwarf_names.c modified: src/bin/dwarfdump/dwarfdump-af-table.h modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h modified: src/bin/dwarfdump/dwarfdump-ta-table.h modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h modified: src/bin/dwarfdump/dwarfdump-tt-table.h modified: src/lib/libdwarf/dwarf_names.c 2022-01-29: David Anderson commit 6ae38e5f8477aa08ca967688ba8d081708d7c55e Corrected two misspelled words in printf output. modified: src/bin/buildopstab/buildopscounttab.c 2022-01-29: David Anderson commit 963a2d71df17a062d89515849e64e96e36bd9def Merge: 6ee163a0 98bc5cff Merge branch 'master' of https://github.com/davea42/libdwarf-code 2022-01-29: David Anderson commit 98bc5cff1a47f995743b29aab1518ccaf00ab434 Merge: 1e8f3b54 f7d7b866 Merge pull request #66 from vtorri/bin_headers Add meson build for attr_form, tag_attr and tag_tree binaries 2022-01-29: Vincent Torri commit f7d7b8669a1cc8c2ec6e246baf4e876ab9d1bc0a Add meson build for attr_form, tag_attr and tag_tree binaries also clean header files order new file: src/bin/attr_form/meson.build new file: src/bin/tag_attr/meson.build new file: src/bin/tag_tree/meson.build modified: meson.build modified: src/bin/attr_form/attr_form_build.c modified: src/bin/tag_attr/tag_attr.c modified: src/bin/tag_tree/tag_tree.c 2022-01-28: David Anderson commit 6ee163a0946b368a8f7cc0f48a0cb1b15f7af997 Now with semantic version 0.3.4 modified: CMakeLists.txt modified: configure.ac modified: doc/libdwarf.mm modified: doc/libdwarfp.mm modified: meson.build modified: src/lib/libdwarf/libdwarf.h Now updates the semantic version in meson.build too modified: tools/updatesemanticversion.py 2022-01-28: David Anderson commit 20ac4e0526cae7d3ff37c81af4fe6e70480ec7ff Merge: 1e8f3b54 a36d7b4c Merge branch 'doxy' Merging doxyfile updates. No .c updates, just libdwarf.h and doc/* files 2022-01-28: David Anderson commit 1e8f3b54aa7a7a6781072d1fd7c6216b746ed3cf More minor include changes to get make check to work. modified: test/helpertree_test.c modified: test/makename_test.c modified: test/section_bitmaps_test.c 2022-01-28: David Anderson commit d56bd7a112bdec8f5e969743eb20f81bfcbcf2f3 Trivial include change. modified: ../tag_tree/tag_common.c 2022-01-28: David Anderson commit 9fd9731804298bc25b93e4cbaaa7a90b7cd021e3 Fixing a few missing includes, like string.h, and moving include of dd_globals.h modified: attr_form/attr_form_build.c modified: tag_attr/tag_attr.c modified: tag_tree/tag_common.c modified: tag_tree/tag_tree.c 2022-01-28: David Anderson commit 0cabb9873e6482e24a0921cae99c7ff6730475b0 Merge: 3eb217a7 9b50bbd4 Merge pull request #62 from vtorri/master Add meson files to libdwarfp and dwarfgen 2022-01-28: David Anderson commit a36d7b4c280a8e4a3cecb2991201021d698b7715 Now with full documentation of dwarf_object_init_b, and dwarf_object_finish() nearly all of it outside libdwarf.h now. modified: doc/jitaccess.dox modified: doc/libdwarf.dox modified: src/lib/libdwarf/libdwarf.h 2022-01-28: Vincent Torri commit 9b50bbd4ec125fb87170b4ae54d6c1acb96979cd Add meson files to libdwarfp and dwarfgen rearrange header files in dwarfdump new file: src/bin/dwarfgen/meson.build new file: src/lib/libdwarfp/meson.build modified: meson.build modified: src/bin/dwarfdump/dd_addrmap.c modified: src/bin/dwarfdump/dd_attr_form.c modified: src/bin/dwarfdump/dd_canonical_append.c modified: src/bin/dwarfdump/dd_checkutil.c modified: src/bin/dwarfdump/dd_command_options.c modified: src/bin/dwarfdump/dd_common.c modified: src/bin/dwarfdump/dd_compiler_info.c modified: src/bin/dwarfdump/dd_dwconf.c modified: src/bin/dwarfdump/dd_esb.c modified: src/bin/dwarfdump/dd_esb.h modified: src/bin/dwarfdump/dd_getopt.c modified: src/bin/dwarfdump/dd_glflags.c modified: src/bin/dwarfdump/dd_globals.h modified: src/bin/dwarfdump/dd_helpertree.c modified: src/bin/dwarfdump/dd_macrocheck.c modified: src/bin/dwarfdump/dd_makename.c modified: src/bin/dwarfdump/dd_naming.c modified: src/bin/dwarfdump/dd_regex.c modified: src/bin/dwarfdump/dd_safe_strcpy.c modified: src/bin/dwarfdump/dd_sanitized.c modified: src/bin/dwarfdump/dd_section_bitmaps.c modified: src/bin/dwarfdump/dd_strstrnocase.c modified: src/bin/dwarfdump/dd_true_section_name.c modified: src/bin/dwarfdump/dd_tsearchbal.c modified: src/bin/dwarfdump/dd_uri.c modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfdump/meson.build modified: src/bin/dwarfdump/print_abbrevs.c modified: src/bin/dwarfdump/print_aranges.c modified: src/bin/dwarfdump/print_debug_gnu.c modified: src/bin/dwarfdump/print_debug_names.c modified: src/bin/dwarfdump/print_debug_sup.c modified: src/bin/dwarfdump/print_debugfission.c modified: src/bin/dwarfdump/print_die.c modified: src/bin/dwarfdump/print_frames.c modified: src/bin/dwarfdump/print_gdbindex.c modified: src/bin/dwarfdump/print_hipc_lopc_attr.c modified: src/bin/dwarfdump/print_lines.c modified: src/bin/dwarfdump/print_llex_codes.c modified: src/bin/dwarfdump/print_loclists.c modified: src/bin/dwarfdump/print_loclists_codes.c modified: src/bin/dwarfdump/print_macinfo.c modified: src/bin/dwarfdump/print_macro.c modified: src/bin/dwarfdump/print_origloclist_codes.c modified: src/bin/dwarfdump/print_pubnames.c modified: src/bin/dwarfdump/print_ranges.c modified: src/bin/dwarfdump/print_rnglists.c modified: src/bin/dwarfdump/print_section_groups.c modified: src/bin/dwarfdump/print_sections.c modified: src/bin/dwarfdump/print_static_funcs.c modified: src/bin/dwarfdump/print_static_vars.c modified: src/bin/dwarfdump/print_str_offsets.c modified: src/bin/dwarfdump/print_strings.c modified: src/bin/dwarfdump/print_tag_attributes_usage.c modified: src/bin/dwarfdump/print_types.c modified: src/bin/dwarfdump/print_weaknames.c modified: src/bin/dwarfgen/CMakeLists.txt modified: src/bin/dwarfgen/Makefile.am modified: src/lib/libdwarf/libdwarf.h modified: src/lib/libdwarf/meson.build modified: src/lib/libdwarfp/libdwarfp.h 2022-01-27: David Anderson commit 4679fd24f9ac32ed6fbda99f340120287a208833 trivial mod. modified: jitaccess.dox 2022-01-27: David Anderson commit 950191ee32de943a6cd609f315a980e634b184e3 Separating jit DWARF access comments from libdwarf.h and creating jitaccess.dox, a new doxygen page containing it. modified: doc/Doxyfile new file: doc/jitaccess.dox modified: doc/libdwarf.dox modified: src/lib/libdwarf/libdwarf.h 2022-01-25: David Anderson commit cfa1d7f378a6777a2c6a54b113ff299160395665 Moving most jitreader/Object_Access to .dox out of libdwarf.h modified: doc/libdwarf.dox Added new doxygen. modified: src/lib/libdwarf/libdwarf.h 2022-01-25: David Anderson commit 12c3720b440fac30e89774ef2dbf0b34cc99b8b9 A couple typos in the comments for doxygen fixed. modified: ../src/lib/libdwarf/libdwarf.h 2022-01-25: David Anderson commit a6b01c5ab7e9aa6f5e0c0e0faeba515e1f99f433 Doxygen comments added for some gdbindex functions. modified: src/lib/libdwarf/libdwarf.h 2022-01-25: David Anderson commit 55af202fe636b3ae69dadf16d0caa5b0607f4dc4 Updated so each has a doxygen @ file and a few overview words doxygen will show. modified: src/lib/libdwarf/dwarf.h modified: src/lib/libdwarf/libdwarf.h 2022-01-25: David Anderson commit e75f70c3002de723aff3952a1156b64b94af11fb Now includes dwarf.h too modified: doc/Doxyfile 2022-01-24: David Anderson commit 3790f5a52ef0bccc0105a723fca8708f3baa5399 Adding links to the gdbindex section format. modified: dwarf_gdbindex.c modified: libdwarf.h 2022-01-24: David Anderson commit 583d12b330db74f172d21e12584531404c70495a doxygen comments added for the .gdb_index section access functions. modified: doc/libdwarf.dox modified: src/lib/libdwarf/libdwarf.h 2022-01-24: David Anderson commit 3eb217a7a4461a5df7ed0bdd03aba2bfa1846e72 Updating from current git log. modified: ChangeLog 2022-01-24: David Anderson commit fd4e1fd4f67f55a52b0495a27f4b64ed8a257e6b Added a sort after tar -tf because in Freebsd 13 64bit tar sometimes reports files in a different order. Causing a misleading miscompare. So we sort the output of tar -tf so if the lists are the same we pass. modified: scripts/buildandreleasetest.sh Fixed spelling mistakes in comments. modified: src/lib/libdwarf/libdwarf.h 2022-01-23: David Anderson commit 17e7fb2fffa3e6653781e74881afd1615d08397b Cleaned up examples modified: doc/checkexamples.c Changed date of the document to today modified: doc/libdwarf.dox 2022-01-23: David Anderson commit 44b1189ccf810ab3b092814a7063ddffb7a7a75e Refining the wording about GNU debuglink. modified: doc/checkexamples.c modified: src/lib/libdwarf/libdwarf.h 2022-01-23: David Anderson commit 416d9dac0c3c8bf63c872cc73e180b93490a212d Correcting/updating debuglink doc and example modified: doc/checkexamples.c modified: src/lib/libdwarf/libdwarf.h 2022-01-23: David Anderson commit 9a03c0ec3f471bc5c3a35e2b412fe3819c0ebe5d Fixed some typos in the examples. modified: checkexamples.c 2022-01-23: David Anderson commit 07fdd70942a1ee4187ba5dfdcc7124ef7fe5f2df Now up to date with git log modified: ChangeLog 2022-01-23: David Anderson commit 68f20b4e563a8353ae19d3acf171abd704380e45 the .debug_pubnames and like sections and functions are now documented. Actually documenting just one as the rest, aside from section name and details of the function name have identical arguments and identical effect. modified: doc/checkexamples.c modified: doc/libdwarf.dox modified: src/lib/libdwarf/libdwarf.h 2022-01-23: David Anderson commit 124c79a52959d78901f21eb96daff71113ea7356 removing unwanted white space and fixing a couple too-long lines. modified: src/lib/libdwarf/dwarf_elf_load_headers.c modified: src/lib/libdwarf/dwarf_frame2.c modified: src/lib/libdwarf/dwarf_global.c 2022-01-22: David Anderson commit 9ba99807ad02b9245266ec284e0908d1ae6417bb Now a better example of looking at .debug_aranges. modified: doc/checkexamples.c Now the aranges functions set up with doxygen comments. modified: src/lib/libdwarf/libdwarf.h 2022-01-22: David Anderson commit 5b8b1561ade90ede1e9b692531edfc491132da76 Now an example of use of the str_offsets section linked to the functions. modified: doc/checkexamples.c modified: src/lib/libdwarf/libdwarf.h 2022-01-22: David Anderson commit 958cf1241ee9b97b83ee5a6def48a888dcb4850e Improvements in Frame table description Now mentions the .debug_str_offsets section is one whose internals can be read. modified: doc/libdwarf.dox Doxygen comments for .debug_str_offsets[.dwo] modified: src/lib/libdwarf/libdwarf.h 2022-01-21: David Anderson commit a05d75f8c2503158045b4444ce36f60c135dd400 The special frame registers section was hard to read. made 5 words bold. modified: libdwarf.dox 2022-01-21: David Anderson commit f48f081ced1df09d96cb3d668c1fa8372af2bbf7 doxygen doc on directly reading a .debug_str section. modified: doc/libdwarf.dox modified: src/lib/libdwarf/libdwarf.h 2022-01-21: David Anderson commit ec720c5bb4fa4d031771ae51fb69c787b9489882 Doxygen comments added. Details given on the required invariants if changing the defaults. See dwarf_set_frame_rule_table_size () etc. modified: doc/libdwarf.dox modified: src/lib/libdwarf/libdwarf.h 2022-01-21: David Anderson commit 4a173bd0535d3e05cffd91916fc31243a3d60c86 Renaming for clarity and consistency. Removing all reference to DW_TSHASHTYPE as it does not apply to balanced search. renamed: dwarfdump/dd_tsearch.h -> dwarfdump/dd_tsearchbal.h Changed all references to the header to the new name. modified: attr_form/attr_form_build.c modified: dwarfdump/CMakeLists.txt modified: dwarfdump/Makefile.am modified: dwarfdump/dd_addrmap.c modified: dwarfdump/dd_attr_form.c modified: dwarfdump/dd_helpertree.c modified: dwarfdump/dd_macrocheck.c modified: dwarfdump/dd_makename.c modified: dwarfdump/dd_tsearchbal.c modified: dwarfdump/meson.build modified: dwarfdump/print_macro.c 2022-01-20: David Anderson commit 2306f2078905fc9b89e7966b281c5d76687cce9e Bring ChangeLog up to date from git log. modified: ChangeLog 2022-01-20: David Anderson commit de3fe09c864cef1262e73e3243c87e651cb7b5fc Removed use of HAVE_STDLIB_H and HAVE_STRING_H and HAVE_STDDEF_H everwhere as these are in c90 and we assume c90. the dwarf_names.c changes are about removing irrelevant (and unusable) DWARF_FRAME names in dwarf.h. DW_FRAME_RA_COL DW_FRAME_STATIC_LINK DW_FRAME_CFA_COL which had to do with SGI/IRIX use and are not used anywhere in libdwarf or libdwarfp. modified: src/bin/dwarfdump/dwarf_names.c modified: src/bin/dwarfgen/createirepformfrombinary.cc modified: src/bin/dwarfgen/createirepfrombinary.cc modified: src/bin/dwarfgen/dg_getopt.c modified: src/bin/dwarfgen/dwarfgen.cc modified: src/bin/dwarfgen/irepattrtodbg.cc modified: src/bin/dwarfgen/ireptodbg.cc modified: src/lib/libdwarf/dwarf_names.c modified: src/lib/libdwarfp/dwarf_pro_alloc.c modified: src/lib/libdwarfp/dwarf_pro_arange.c modified: src/lib/libdwarfp/dwarf_pro_debug_sup.c modified: src/lib/libdwarfp/dwarf_pro_die.c modified: src/lib/libdwarfp/dwarf_pro_dnames.c modified: src/lib/libdwarfp/dwarf_pro_error.c modified: src/lib/libdwarfp/dwarf_pro_finish.c modified: src/lib/libdwarfp/dwarf_pro_forms.c modified: src/lib/libdwarfp/dwarf_pro_frame.c modified: src/lib/libdwarfp/dwarf_pro_funcs.c modified: src/lib/libdwarfp/dwarf_pro_init.c modified: src/lib/libdwarfp/dwarf_pro_line.c modified: src/lib/libdwarfp/dwarf_pro_macinfo.c modified: src/lib/libdwarfp/dwarf_pro_pubnames.c modified: src/lib/libdwarfp/dwarf_pro_reloc.c modified: src/lib/libdwarfp/dwarf_pro_reloc_stream.c modified: src/lib/libdwarfp/dwarf_pro_reloc_symbolic.c modified: src/lib/libdwarfp/dwarf_pro_section.c modified: src/lib/libdwarfp/dwarf_pro_types.c modified: src/lib/libdwarfp/dwarf_pro_vars.c modified: src/lib/libdwarfp/dwarf_pro_weaks.c 2022-01-20: David Anderson commit 43bbf81f2af827ce7b7504658e4438de055c4528 Trivial issues with configure. modified: configure.ac Lots of places still had #ifdef HAVE_STDLIB_H which was a problem for cmake. And we do not need HAVE_STDLIB_H or HAVE_STRING_H or HAVE_STDDEF_H any longer, they are standard C90. modified: CMakeLists.txt modified: cmake/config.h.cmake modified: src/bin/dwarfdump/dd_addrmap.c modified: src/bin/dwarfdump/dd_canonical_append.c modified: src/bin/dwarfdump/dd_checkutil.c modified: src/bin/dwarfdump/dd_esb.c modified: src/bin/dwarfdump/dd_getopt.c modified: src/bin/dwarfdump/dd_globals.h modified: src/bin/dwarfdump/dd_helpertree.c modified: src/bin/dwarfdump/dd_tsearchbal.c modified: src/bin/dwarfdump/dwarfdump.c modified: src/bin/dwarfexample/dwdebuglink.c modified: src/bin/dwarfexample/findfuncbypc.c modified: src/bin/dwarfexample/frame1.c modified: src/bin/dwarfexample/simplereader.c modified: src/lib/libdwarfp/dwarf_pro_log_extra_flag_strings.c modified: test/dwarf_tied_test.c modified: test/getopttest.c modified: test/test_canonical.c modified: test/test_errmsglist.c modified: test/test_safe_strcpy.c modified: test/testesb.c 2022-01-20: David Anderson commit 0bab1913e563be7174ff0e012572ff7f394d2909 modified: src/bin/dwarfdump/dwarf_names.c Removed pointless DW_FRAME OPS (just a couple) which changed dwarf_names.c modified: src/lib/libdwarf/dwarf.h modified: src/lib/libdwarf/dwarf_names.c More doxygen work. Removed a couple inapproprate DW_FRAME: DW_FRAME_ operations and made DW_FRAME_CFA_COL and DW_FRAME_CFA_COL3 the same value. modified: src/lib/libdwarf/libdwarf.h 2022-01-20: David Anderson commit f2716b01f74f3ec215f4e4f0955d428577f40499 Merge: 0aa057f9 ab955f7f Merge pull request #61 from vtorri/vtorri_meson add meson build system for libdwarf only 2022-01-20: Vincent Torri commit ab955f7ff264f17a623cb2651e5e266272ed4cc5 add zlib macro in config.h when detected 2022-01-20: Vincent Torri commit 728b7ccec1e252ec0cc55d93ad108ccf52825958 remove check of struct _Elf 2022-01-20: Vincent Torri commit 3de43f2887c4bac3ca9129992337f87209f55fa2 remove useless macros 2022-01-20: Vincent Torri commit 1d10e2b1ccb3e2a8d3ef317a857e112ec20a3802 meson - fifth step 2022-01-20: Vincent Torri commit 840ab86dba6bdb0ad5975c03ecd26ad2c4053ea4 meson - fourth step 2022-01-19: David Anderson commit 0aa057f9bbc90178f95b63e7f3d0950a5baddb1b Deleted obsolete comments. Updated copyright year modified: src/lib/libdwarf/dwarf_frame.c Added doxygen comments for frame reading. modified: src/lib/libdwarf/libdwarf.h 2022-01-19: David Anderson commit 796782ab9632246a16434ba7441db5f4588165bd Now the frame example is set up for doxygen modified: doc/checkexamples.c Adding doxygen comments for frame operations. modified: src/lib/libdwarf/libdwarf.h 2022-01-20: Vincent Torri commit af8ae0981422b761bede5baf084301985fa73ae3 meson - third step 2022-01-19: Vincent Torri commit f7c032a949e91f3559e2f97b9c6acb928586270a meson - second step 2022-01-19: Vincent Torri commit 147cb92e16cbc19ef9bd1b5d74256f7885d67dff Add meson build system - first step 2022-01-19: David Anderson commit 421040cb4e78636ee894e08c76a0849c64b1aa66 removed the inclusion of libdwarf_private.h, that was not necessary. Added #define of TRUE and FALSE as those used in the examples for clarity. modified: doc/checkexamples.c 2022-01-19: David Anderson commit cc3a60411a305a5d7c0313354bf06ce0f743fb09 dwarfdump: modified: print_frames.c a couple simple local variables were not initialized. Now they are. 2022-01-19: David Anderson commit 68f19d39485dd9c7404386d4f04d3a24f2fb9fe2 Merge: 82873ae3 19e62905 Merge branch 'master' of https://github.com/davea42/libdwarf-code 2022-01-19: David Anderson commit 19e62905a8e6cb2500c03b842e72280a94361e53 Merge: 34c0a37e d12c3238 Merge pull request #59 from vtorri/vtorri_prototype2 Fix one more "function declaration isn't a prototype" warning in 2022-01-18: David Anderson commit 82873ae3940e63f9b70626425e0b58fe8f523312 Examples improved for reading macro sections modified: doc/checkexamples.c modified: doc/libdwarf.dox New doxygen for reading macro sections. modified: src/lib/libdwarf/libdwarf.h 2022-01-18: David Anderson commit 218abadcfe6cdb9711a3ce9c6267a7abd995d8f7 Updated copyright year modified: src/lib/libdwarf/dwarf_macro5.c 2022-01-18: Vincent Torri commit d12c3238323c7ca01e59fe7ccc0b3bca06725152 Fix one more "function declaration isn't a prototype" warning in dwarfdump modified: ../src/bin/dwarfdump/print_ranges.c 2022-01-18: David Anderson commit 34c0a37e16aa07c689ae0adb7eff6909ed93d044 Merge: 66a582ec dfb28de7 Merge pull request #58 from vtorri/vtorri_elfaccess Fix "function declaration isn't a prototype" warning 2022-01-18: Vincent Torri commit dfb28de7273af7265ff68367b55770658ebc3193 Remove useless elfaccess.h header file modified: CMakeLists.txt modified: cmake/config.h.cmake modified: configure.ac modified: src/lib/libdwarfp/dwarf_pro_arange.c modified: src/lib/libdwarfp/dwarf_pro_dnames.c modified: src/lib/libdwarfp/dwarf_pro_funcs.c modified: src/lib/libdwarfp/dwarf_pro_pubnames.c modified: src/lib/libdwarfp/dwarf_pro_reloc_stream.c modified: src/lib/libdwarfp/dwarf_pro_reloc_symbolic.c modified: src/lib/libdwarfp/dwarf_pro_section.c modified: src/lib/libdwarfp/dwarf_pro_types.c modified: src/lib/libdwarfp/dwarf_pro_vars.c modified: src/lib/libdwarfp/dwarf_pro_weaks.c 2022-01-17: David Anderson commit 66a582ec334fb83cab6b7309683d6512774be114 Fixed a too-long comment. modified: src/lib/libdwarf/dwarf_peread.c Removed trailing whitespace. modified: src/lib/libdwarf/libdwarf.h 2022-01-17: David Anderson commit c2f5490affcb460b207eaf210961c79c3f92d5d0 Dated today modified: doc/libdwarf.dox Aligned some assignments modified: src/lib/libdwarf/dwarf_loc.c Eliminated a bit of useless commentary modified: src/lib/libdwarf/dwarf_loc.h Added doxygen comments to the loclists functions. modified: src/lib/libdwarf/libdwarf.h 2022-01-17: Vincent Torri commit bc871159daad5544a0bba8d187de81e9351ffdec Fix "function declaration isn't a prototype" warning modified: src/bin/dwarfdump/print_die.c modified: src/bin/dwarfdump/print_macro.c 2022-01-16: David Anderson commit 5bb2b169521765c9f671255e674cbed15e5bc688 The .debug_names section initial doc. modified: doc/libdwarf.dox modified: src/lib/libdwarf/libdwarf.h 2022-01-15: David Anderson commit 06b94f187a57265fb887a662da10cef33a9b263e Up to date with git log modified: ChangeLog 2022-01-15: David Anderson commit 989a86283e6767a01dd69872f2bc40b0c27ee37c More functions with doxygen. modified: src/lib/libdwarf/libdwarf.h 2022-01-15: David Anderson commit db3f28a0c531d25c33af5b9f9d9acbdcf5458650 Merge: dcf32335 710b0e5d Merge branch 'master' of https://github.com/davea42/libdwarf-code Merge of configure/cmake stuff. 2022-01-15: David Anderson commit 710b0e5d2387468791f1b660813ac9318553a088 Merge: 28120f0c 1bb32429 Merge pull request #56 from vtorri/vtorri_checks remove tests related to Elf64_Rela, Elf64_Rel and Elf64_Sym 2022-01-15: Vincent Torri commit 1bb3242996087dff144c0812a7cafd80d155cc26 remove output related to removed tests 2022-01-15: Vincent Torri commit 5e943441d0ba9f0d8f2e265e94d8420bd45530d2 Remove useless checks of Elf64_Rela, Elf64_Rel and Elf64_Sym structures Also remove unused HAVE_LIBELF_OFF64_OK in cmake file modified: CMakeLists.txt modified: cmake/config.h.cmake modified: configure.ac 2022-01-15: David Anderson commit dcf3233577c1272a760027ede512603acd5daf3a Now with latest git log content. modified: ChangeLog 2022-01-15: David Anderson commit 28120f0c707d7bba44d399d867822c9995310353 Fixing trailing white space modified: src/lib/libdwarf/dwarf_abbrev.c modified: src/lib/libdwarf/dwarf_form.c modified: src/lib/libdwarf/dwarf_line.c modified: src/lib/libdwarf/dwarf_object_detector.c 2022-01-15: David Anderson commit dce675ea8a83c679525d6a4ea2c51ef10f30980b Added an overview of sections like .debug_abbrev where we have functions allowing access without any reference to any CU. modified: doc/libdwarf.dox 2022-01-15: David Anderson commit 389a1b1ee589b14091a7cfc5e22c9d6dd33bccce Fixing over-long lines and trailing whitespace. modified: src/lib/libdwarf/libdwarf.h 2022-01-15: David Anderson commit 6ac9988c9c85a1891546a745f91949a0b954e55c Doxygen added for abbreviations access. modified: libdwarf.h 2022-01-15: David Anderson commit 5b7755f8c1c1b094786d7e5ee98341a4c27211e2 Updated to reveal merges. modified: ChangeLog 2022-01-15: David Anderson commit a485e75134d1fa171753bdd8edea7a20522bf209 recent fixes to configure. modified: ChangeLog 2022-01-15: David Anderson commit 80baad5e09082051234cba4807fcfd0ba2f79009 Merge: fbba7b00 ce9ec60f Merge branch 'master' of https://github.com/davea42/libdwarf-code Removing unused cruft from configure.ac CMakeLists.txt 2022-01-15: David Anderson commit ce9ec60f90642a25675ecd5d36aea15d2c46f78d Merge: 0c3cb985 b04ffc0a Merge pull request #55 from vtorri/vtorri_elf remove checks of useless header files 2022-01-15: David Anderson commit fbba7b0075718e8b761c8a433bc502035142d605 make dist requires these files be present. new file: doc/ChangeLog new file: scripts/ChangeLog new file: src/bin/attr_form/ChangeLog new file: src/bin/buildopstab/ChangeLog new file: src/bin/builduritable/ChangeLog new file: src/bin/dwarfdump/ChangeLog new file: src/bin/dwarfexample/ChangeLog new file: src/bin/dwarfgen/ChangeLog new file: src/bin/gennames/ChangeLog new file: src/bin/tag_attr/ChangeLog new file: src/bin/tag_tree/ChangeLog new file: src/lib/libdwarf/ChangeLog new file: src/lib/libdwarfp/ChangeLog new file: test/ChangeLog 2022-01-14: David Anderson commit 0c3cb985b5b5173919df5c0ad8e8d20a9797ac45 Now does doxygen doc of some use in the Like Tables interfaces. modified: src/lib/libdwarf/libdwarf.h 2022-01-14: David Anderson commit 5b2e350a7f8c5466c34f8282154f2fb9662f81a0 Now working links to line table registers list modified: doc/libdwarf.dox modified: src/lib/libdwarf/libdwarf.h 2022-01-14: David Anderson commit 2cb6ea3dd22b890ebca7da2b5d926429d2476d90 Made a reference point for line table registers to refer to. modified: doc/libdwarf.dox Line Table functions now with doxygen. modified: src/lib/libdwarf/libdwarf.h 2022-01-14: David Anderson commit 33e4d5b0d274721a993f0bcfa2d924261acf942a Correct erroneous doxygen comments line table include directories. modified: libdwarf.h 2022-01-14: David Anderson commit b4b2ed0ce79305c95a0e261cf4d53cd3d104d316 Fixed examples added a defgroup for doxygen modified: doc/checkexamples.c Removed a pointless comment. modified: src/lib/libdwarf/dwarf_line.c Seven functions now described for doxygen. A couple functions moved to the group they belong in: the section group. modified: src/lib/libdwarf/libdwarf.h 2022-01-14: David Anderson commit be03cf75d0f5d59a47a5d521390e3cd97f7e13e0 Merge: f5710dde 9ccd32ac Merge pull request #54 from vtorri/vtorri_sgi remove the check of the unused sgidefs.h header file 2022-01-14: Vincent Torri commit 9ccd32ac60551c0c91efba87906f605903c5e898 remove the check of the unused sgidefs.h header file modified: configure.ac 2022-01-13: David Anderson commit f5710ddee5884887206f43611c24f4b03847698e Merge: cdf7867b 81d0e378 Merge branch 'master' of https://github.com/davea42/libdwarf-code vtorri update to debuglink.c for windows 2022-01-13: David Anderson commit 81d0e3782a20e868279bac677e85444387fe1ab2 Merge: 30c838ab f843484c Merge pull request #53 from vtorri/vtorri_unistd Include direct.h on Windows to declare getcwd() 2022-01-13: David Anderson commit cdf7867b294e277ad260b68e8f9fff62582a5499 Changes to be committed: Refined the example to follow proper practice. modified: doc/checkexamples.c Several Dwarf_Line_Context functions now with doxygen data modified: src/lib/libdwarf/libdwarf.h 2022-01-13: Vincent Torri commit f843484c29a8875154dc95eaac07bb9e858cc56c Include direct.h on Windows to declare getcwd() modified: src/lib/libdwarf/dwarf_debuglink.c 2022-01-13: David Anderson commit 30c838aba40da0e21e63a1084008a655bd3f8fe8 Fix botch preventing compiles. modified: libdwarf.h 2022-01-13: David Anderson commit a1e47bfd803c3ef49a47a4bcc7fdf13e4820ddb2 Fixing doxygen comments. modified: doc/checkexamples.c Adding wording about threading. modified: doc/libdwarf.dox Adding doxygen comments modified: src/lib/libdwarf/libdwarf.h 2022-01-12: David Anderson commit bcc2d4999d2c9093fc672b57dae8953a68865438 Now with a loud notification this is a draft. modified: libdwarf.dox 2022-01-09: David Anderson commit 5dd64ffcf4636e57a4e34f919f44d64b9c74a242 More functions with doxygen. modified: src/lib/libdwarf/libdwarf.h 2022-01-09: David Anderson commit 801e7ae7cce755170960053da8253ff7b91898eb Refined examples. modified: doc/checkexamples.c Addtional functions have doxygen. modified: src/lib/libdwarf/libdwarf.h 2022-01-09: David Anderson commit 3e136d554b8026e1fb12e9642ece348cdf1ce061 Added new documentation here modified: ../../../doc/checkexamples.c Doxygen minor changes modified: libdwarf.h 2022-01-09: David Anderson commit 2fbd53d049610d7d646871efeaaeeb78a03b007a More functions with doxygen comments modified: ../../../doc/checkexamples.c modified: libdwarf.h 2022-01-09: David Anderson commit 7b8934640dab15c9090675f5443a82d4e564811d Several functions now with doxygen comments. modified: src/lib/libdwarf/libdwarf.h 2022-01-09: David Anderson commit e04d3d5ce127235924195ba571c7df9cebeb723f Added doxygen comments. modified: libdwarf.h 2022-01-09: David Anderson commit 5d22f2ef063c8fac25e384edcfd4f95ca4723f2a Moved one defgroup down so the collection of fast access groups are together. modified: libdwarf.h 2022-01-09: David Anderson commit fa47785c1931262536aa09384b68e9c64722f21f Adding doxygen comments. modified: src/lib/libdwarf/libdwarf.h 2022-01-08: David Anderson commit fdb6a15d6b2711188d4f35a899ce86bfac942aa2 A few more functions doxygened modified: src/lib/libdwarf/libdwarf.h 2022-01-08: David Anderson commit d72ce4954d52339fa4091ee036a6a2463283d0a1 One new doxygen set. Some minor adjustments. modified: libdwarf.h 2022-01-08: David Anderson commit df52327a7e766d2295abcbd3ba8be3de2114dc26 Doxygen comments added for several attribute functions. modified: src/lib/libdwarf/libdwarf.h 2022-01-08: David Anderson commit 1c86068a9fb583c9dd116bc0267c03a9610fec05 Now end ChangeLog2021 and new ChangeLog properly up to date and correct. modified: ChangeLog modified: ChangeLog2021 2022-01-08: David Anderson commit 7f03bdff67a60ece7f2619e99b6f4cde229b2545 One comment line changed. modified: src/lib/libdwarf/libdwarf.h 2022-01-08: David Anderson commit 394651d0b98c656636262383748344c9642a7722 Changed the defgroup title a few places for greater clarity. modified: libdwarf.h 2022-01-08: David Anderson commit 0822f7a3d6f830045702f0b36a9a1f08cc1f5af4 Now withy first set of functions on DIEs doxygen-d. modified: src/lib/libdwarf/libdwarf.h 2022-01-08: David Anderson commit 946daf8cb4df7f84118aa22ba7b97f36c82add2f Doxygen comments on a few functions. modified: src/lib/libdwarf/libdwarf.h 2022-01-08: David Anderson commit 2812e9b0c089dc34d6807db40bac564b68982f52 Correcting the comments on a function one should not call. dwarf_validate_die_sibling() (though dwarfdump calls it). modified: src/lib/libdwarf/libdwarf.h 2022-01-08: David Anderson commit a498289724ae3890431b59a98943b662a00a5c22 Corrected examples and doxy data modified: doc/checkexamples.c Added doxy data for some functions. modified: src/lib/libdwarf/libdwarf.h 2022-01-07: David Anderson commit 297c54a84d7db421be7e383947123a174d3549be Corrected typos in two parameter names. modified: ../src/lib/libdwarf/libdwarf.h 2022-01-07: David Anderson commit 3daaa621b0c94501a0f9d03bd11b7adf70ebf77b Corrected mistakes and made some examples more generally appropriate in return values. modified: doc/checkexamples.c More doxygen added modified: src/lib/libdwarf/libdwarf.h 2022-01-07: David Anderson commit d27df7ce1cb6a657af628a87266d33c2584218a0 A couple more functions documented doxygen. modified: ../src/lib/libdwarf/libdwarf.h 2022-01-07: David Anderson commit f2cfde15b38d5ad51c15ee9552cf7513f7db6b0d Some more functions have doxygen comments. modified: src/lib/libdwarf/libdwarf.h 2022-01-07: David Anderson commit 28b5e558883c0e4556ed99bdbc8670b243b140d9 More functions with doxygen input modified: src/lib/libdwarf/libdwarf.h 2022-01-07: David Anderson commit e8120831f89f06a08c8c37e1038c2e9127cc400e Doxygen update on 3 functions modified: src/lib/libdwarf/libdwarf.h 2022-01-06: David Anderson commit 84eb2075cd0543d48c07132f839892947b2bd86d Small improvements to the doxygen content. modified: src/lib/libdwarf/libdwarf.h 2022-01-06: David Anderson commit f51f44d223b3d9c9d707084a8d319c2aeafe9c68 Additional doxygen comments. modified: src/lib/libdwarf/libdwarf.h 2022-01-06: David Anderson commit 907168815ff2eae6206d25d394198c9e80d7d6d4 Update copyright year. modified: src/lib/libdwarf/dwarf_alloc.c modified: src/lib/libdwarf/dwarf_harmless.c modified: src/lib/libdwarf/dwarf_harmless.h modified: src/lib/libdwarf/dwarf_init_finish.c 2022-01-06: David Anderson commit f802ba7f3ce74a785f36962e73a82a6e2150b112 Improve the wording on error handling modified: doc/libdwarf.dox Renaming non-public functions dwarf_harmless_cleanout -> _dwarf_harmless_cleanout dwarf_harmless_init -> _dwarf_harmless_init modified: src/lib/libdwarf/dwarf_alloc.c modified: src/lib/libdwarf/dwarf_harmless.c modified: src/lib/libdwarf/dwarf_harmless.h modified: src/lib/libdwarf/dwarf_init_finish.c Moved some lines around for a more consistent look. Removed DW_HARMLESS_ERROR_MSG_STRING_SIZE as client code has no use for it. modified: src/lib/libdwarf/libdwarf.h 2022-01-05: David Anderson commit f6a951f009d853d1b1ef1de34af00924eb867c2f Completed the Error handling description. modified: libdwarf.dox 2022-01-05: David Anderson commit 47e0357e26c748921767995294d3a4cd0cf4759d Only the base directory has ChangeLog now, the others relegated to history. renamed: scripts/ChangeLog -> scripts/ChangeLog2021 renamed: src/bin/dwarfdump/ChangeLog -> src/bin/dwarfdump/ChangeLog2021 renamed: src/bin/dwarfexample/ChangeLog -> src/bin/dwarfexample/ChangeLog2021 renamed: src/bin/dwarfgen/ChangeLog -> src/bin/dwarfgen/ChangeLog2021 renamed: src/lib/libdwarf/ChangeLog -> src/lib/libdwarf/ChangeLog2021 renamed: src/lib/libdwarfp/ChangeLog -> src/lib/libdwarfp/ChangeLog2021 2022-01-05: David Anderson commit b1d510f891fee8c1cc81548cf3dfb0df187835a0 ChangeLog is for 2022 now. modified: ChangeLog new file: ChangeLog2021 Now showing libdwarf.h #defines instead of hiding them. Works well with doxygen groups. modified: doc/Doxyfile main() now main(void) per standard modified: src/bin/dwarfexample/jitreader.c 2022-01-05: David Anderson commit 1d8564c693381e800afc3d1cde3418a71f4fce6d Update copyright. modified: src/lib/libdwarf/libdwarf_private.h 2022-01-05: David Anderson commit 2ad8ffe22a440c045b0197d7d02844b7059e4eff Cleaning up line length, trailing whitespace, and doxygen group naming. modified: src/lib/libdwarf/dwarf.h modified: src/lib/libdwarf/libdwarf.h 2022-01-05: David Anderson commit 00e5a6550aa2cf4db69fb7003dd4e74dbc01c522 No longer refers to anything but public headers. Simpler. modified: src/bin/dwarfexample/jitreader.c 2022-01-05: David Anderson commit a9c3585ac91197534163d3c55b900a657007142e Squashed commit of the following: commit 6d78aeb0ba3c4239c9103227e6b8c172e100168a Author: David Anderson Date: Wed Jan 5 09:18:23 2022 -0800 The init_dl() function much better documented. Focusing longer text in checkexamples, removing from libdwarf.h proper. modified: doc/checkexamples.c modified: src/lib/libdwarf/libdwarf.h commit 3430711d147aed4587fd356b1a4e4e28cf2839bc Author: David Anderson Date: Tue Jan 4 16:43:38 2022 -0800 One more blank line. modified: src/lib/libdwarf/libdwarf.h commit b3174e213d6f607d0ec1a80fbe2744a5f6d9af15 Author: David Anderson Date: Tue Jan 4 16:09:02 2022 -0800 Now in groups modified: doc/checkexamples.c Final reorganization steps. modified: src/lib/libdwarf/libdwarf.h commit e5fe596d678682a0d593ab78c787bd428ffe897f Author: David Anderson Date: Tue Jan 4 15:41:29 2022 -0800 More movements of functions, small items. modified: libdwarf.h commit 2d0fae72c710a36dcd6cbb21c628ef9b5ffe556e Author: David Anderson Date: Tue Jan 4 15:20:54 2022 -0800 Moving two functions to the group they should be in. modified: libdwarf.h commit 29ec78ab1fe54d40720bae5dacde7094bd976958 Author: David Anderson Date: Tue Jan 4 15:16:13 2022 -0800 Now gnu_pubnames/pubtypes have a defgroup modified: libdwarf.h commit 689c98c9a38312aea3dec57d8b48beeaca03074c Author: David Anderson Date: Tue Jan 4 15:10:11 2022 -0800 Now .debug_pubnames .debug_pubtypes and the others in this format in a group. modified: libdwarf.h commit 4dad4395d673e6578beb4802c9bbf7d3f79d6feb Author: David Anderson Date: Tue Jan 4 14:59:45 2022 -0800 Now .debug_aranges access in a defgroup modified: libdwarf.h commit 96b91edb66158e45d8f4636b3730c6c300189aa2 Author: David Anderson Date: Tue Jan 4 14:46:48 2022 -0800 Now .debug_names in a defgroup modified: libdwarf.h commit 9acb599a067479c11b83fb8ab18ec401a9474c56 Author: David Anderson Date: Tue Jan 4 14:39:05 2022 -0800 Frame section names stuff all together modified: libdwarf.h commit e88cf083b0659fa3b397a2d76e9295b4ee4b8eb5 Author: David Anderson Date: Tue Jan 4 13:47:16 2022 -0800 The dwarf_get_TAG etc funcs in a group now. modified: libdwarf.h commit 94f43001e3b907eb840dc9fcc47c46431c2e9835 Author: David Anderson Date: Tue Jan 4 11:13:52 2022 -0800 deleted duplicated lines modified: libdwarf.h commit ef696175ae405f8c948c818c321890d0ad9b33f3 Author: David Anderson Date: Tue Jan 4 11:07:53 2022 -0800 Major block of functions moved, attribute-related. modified: libdwarf.h commit cceffe5d7605dacd691bc289f7096a837c171937 Author: David Anderson Date: Tue Jan 4 10:27:00 2022 -0800 Now defines DW_DLV_BADOFFSET, used in dwarfdump. modified: src/bin/dwarfdump/dd_globals.h Deleted unused defines and moved some defines. modified: src/lib/libdwarf/libdwarf.h commit 55e3f25be8fd0c38c06dbb767105ff17b1c7a38e Author: David Anderson Date: Tue Jan 4 10:21:22 2022 -0800 Deleted dwarf_compress_integer_block() as it was meant to be removed earlier. No code in libdwarfp uses DW_DLV_NOCOUNT, DW_DLV_BADADDR or DW_DLV_BADOFFSET. None of this could have been useful in any case, it dealt with non-standard integer block compression. modified: src/lib/libdwarfp/dwarf_pro_forms.c modified: src/lib/libdwarfp/dwarf_pro_line.c modified: src/lib/libdwarfp/libdwarfp.h commit 123a4bc9528a7534cc37dd7621a918d15d96b95a Author: David Anderson Date: Tue Jan 4 09:48:03 2022 -0800 Tiny changes. modified: doc/checkexamples.c Toward a better organization modified: src/lib/libdwarf/libdwarf.h commit e442fb9a6676bed0203e3fe83a922c2daf3d1fa0 Author: David Anderson Date: Sun Jan 2 11:25:21 2022 -0800 Many functions moved to a more pleasing order. modified: libdwarf.h commit 94038eb06094d26b0a7843506adf924137ce5916 Author: David Anderson Date: Sun Jan 2 10:42:29 2022 -0800 A part of the doxygen input new file: doc/libdwarf.dox Many functions and types moved toward the target rearrangement. modified: src/lib/libdwarf/libdwarf.h commit 6dfa13d33638b2343f5bffef627d1625f102c2e6 Author: David Anderson Date: Sun Jan 2 07:23:29 2022 -0800 Turned off sorting by name modified: doc/Doxyfile Now with some doxygen information modified: doc/checkexamples.c Fixing a reference to checkexamples.c modified: doc/libdwarf.mm Many functions moved around to make a sensible organization (as opposed to semi-random). Some doxygen comments added. modified: src/lib/libdwarf/libdwarf.h