| 1 |
2023-12-19: David Anderson |
| 2 |
commit e08f6bc975c87f27da0699cd6c232d3ccf04880e |
| 3 |
|
| 4 |
New information. |
| 5 |
modified: READMEwin-msys2.md |
| 6 |
|
| 7 |
2023-12-19: David Anderson |
| 8 |
commit ae5a7cd3ab524c5abe9f990b1c6983b4cc75bce3 |
| 9 |
|
| 10 |
More clarifications. |
| 11 |
modified: READMEcmake.md |
| 12 |
|
| 13 |
2023-12-19: David Anderson |
| 14 |
commit 129b8b359dc9e168cf473852f95ccce3e92d938f |
| 15 |
|
| 16 |
To make it look right. |
| 17 |
modified: READMEcmake.md |
| 18 |
|
| 19 |
2023-12-19: David Anderson |
| 20 |
commit 66f16a565b500bef2bb4e66ff39d946fe7d9fcb9 |
| 21 |
|
| 22 |
modified: READMEcmake.md |
| 23 |
Some clarifications and one error fixed. |
| 24 |
|
| 25 |
2023-12-19: David Anderson |
| 26 |
commit e12149c819f9436fb92a32c273d0d8035224b7b0 |
| 27 |
|
| 28 |
Now with GNUInstallDirs in CMakeLists.txt |
| 29 |
modified: ChangeLog |
| 30 |
|
| 31 |
2023-12-19: David Anderson |
| 32 |
commit 7e22b9711fd7804187b681fb80fd315b13de6198 |
| 33 |
Merge: fe1a067e 028de444 |
| 34 |
|
| 35 |
Merge branch 'install' of https://github.com/flagarde/libdwarf-code into flagarde-install |
| 36 |
Testing pull request |
| 37 |
|
| 38 |
The branch updates and simplifies all the CMakeLists.txt files |
| 39 |
to use include(GNUInstallDirs) and take advantage of all it does. |
| 40 |
Works fine in all test environments (including VS). |
| 41 |
|
| 42 |
2023-12-18: David Anderson |
| 43 |
commit fe1a067ec073729ad9e1001db4498f3887c33d18 |
| 44 |
|
| 45 |
Up to date with git log |
| 46 |
modified: ChangeLog |
| 47 |
|
| 48 |
2023-12-18: David Anderson |
| 49 |
commit 22c352276446ac0c42e73f04573dc6cae50ca94b |
| 50 |
|
| 51 |
Due to a change signed to unsigned and an oversight |
| 52 |
printing of DW_OP_ DWARF data could print ESB_ERR |
| 53 |
at times Just a two line error. |
| 54 |
Fixed. |
| 55 |
modified: src/bin/dwarfdump/print_die.c |
| 56 |
|
| 57 |
2023-12-18: David Anderson |
| 58 |
commit 1dcc86df64507889f85a93004e6ffb0381adc04c |
| 59 |
|
| 60 |
Avoid warning from VS C. |
| 61 |
modified: src/bin/dwarfdump/print_die.c |
| 62 |
|
| 63 |
2023-12-18: David Anderson |
| 64 |
commit 61d824c2897de83dde230be667989467f868c8f2 |
| 65 |
|
| 66 |
Remove VS C warnings by adding safe casts. |
| 67 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 68 |
Remove VS C warnings by changing a local variable type. |
| 69 |
Rename file-local struct member names to have a common prefix bh_. |
| 70 |
modified: src/bin/dwarfdump/print_die.c |
| 71 |
|
| 72 |
Harmless cast of argument to static function print_line_detail() |
| 73 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 74 |
|
| 75 |
2023-12-18: David Anderson |
| 76 |
commit 4a72b17e80f10458944dae4b2031d580804e045f |
| 77 |
|
| 78 |
Added appropriate casts in 3 places |
| 79 |
to silence VS C warnings. |
| 80 |
These are an improvement for the human reader, too. |
| 81 |
modified: src/lib/libdwarf/dwarf_crc32.c |
| 82 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 83 |
modified: src/lib/libdwarf/dwarf_xu_index.c |
| 84 |
|
| 85 |
2023-12-18: David Anderson |
| 86 |
commit 0948a0042285e5b1b611c0f778eac26d33197a1a |
| 87 |
|
| 88 |
Warnings from VS C provoked another |
| 89 |
nice change to macro READ_UNALIGNED_CK() |
| 90 |
which is used all over the place. |
| 91 |
modified: src/lib/libdwarf/dwarf_util.h |
| 92 |
|
| 93 |
2023-12-18: David Anderson |
| 94 |
commit 1e8b7bdc4c6d5c45b7218098e9d74f158f6d5763 |
| 95 |
|
| 96 |
Small adjustmets (mainly casts) to avoid warnings |
| 97 |
from VS C compiler. |
| 98 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 99 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 100 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 101 |
modified: src/lib/libdwarf/dwarf_line.c |
| 102 |
modified: src/lib/libdwarf/dwarf_loc.c |
| 103 |
modified: src/lib/libdwarf/dwarf_locationop_read.c |
| 104 |
modified: src/lib/libdwarf/dwarf_loclists.c |
| 105 |
modified: src/lib/libdwarf/dwarf_query.c |
| 106 |
modified: src/lib/libdwarf/dwarf_rnglists.c |
| 107 |
modified: src/lib/libdwarf/dwarf_str_offsets.c |
| 108 |
|
| 109 |
2023-12-18: David Anderson |
| 110 |
commit f91eddc2ac7c2719e99e06006c7501995e346c01 |
| 111 |
|
| 112 |
The BIGGEST_UINT #define and its uses are now gone. |
| 113 |
It was never necessary in the macros it |
| 114 |
was used in and it was arbitrary. |
| 115 |
Should have been removed years ago. |
| 116 |
modified: src/lib/libdwarf/dwarf_gdbindex.c |
| 117 |
modified: src/lib/libdwarf/dwarf_util.h |
| 118 |
|
| 119 |
2023-12-17: David Anderson |
| 120 |
commit e2730f58ade299fd5aa29d0dfcb7b14d92790eed |
| 121 |
|
| 122 |
These remove the remaining type warnings from VS C |
| 123 |
in dwarfdump. |
| 124 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 125 |
modified: src/bin/dwarfdump/print_abbrevs.c |
| 126 |
modified: src/bin/dwarfdump/print_die.c |
| 127 |
|
| 128 |
2023-12-17: David Anderson |
| 129 |
commit 0a24f82f08da94bb0bc5994efa277f20a7adb09c |
| 130 |
|
| 131 |
Added a comment for doxygen. |
| 132 |
on dwarf_get_section_info_by_index_a() |
| 133 |
modified: src/lib/libdwarf/libdwarf.h |
| 134 |
|
| 135 |
2023-12-17: David Anderson |
| 136 |
commit fdcf13474576cd9c94197d2bf9cf80d0cd05baf2 |
| 137 |
|
| 138 |
Changes to be committed: |
| 139 |
more type changes and casts to remove |
| 140 |
VS warnings. |
| 141 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 142 |
modified: src/lib/libdwarf/dwarf_frame.h |
| 143 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 144 |
|
| 145 |
2023-12-17: David Anderson |
| 146 |
commit b90d83d5f8d02dc448468447e96db3228108e17e |
| 147 |
|
| 148 |
Fixing many compiler warnings. |
| 149 |
Changing the return type of another function |
| 150 |
to Dwarf_Unsigned |
| 151 |
so it actually makes sense. |
| 152 |
Which will not break anyone's code. |
| 153 |
(from VS) |
| 154 |
modified: doc/libdwarf.dox |
| 155 |
modified: src/lib/libdwarf/dwarf_crc32.c |
| 156 |
modified: src/lib/libdwarf/dwarf_frame.h |
| 157 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 158 |
modified: src/lib/libdwarf/dwarf_global.c |
| 159 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 160 |
modified: src/lib/libdwarf/dwarf_line.c |
| 161 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 162 |
modified: src/lib/libdwarf/dwarf_locationop_read.c |
| 163 |
modified: src/lib/libdwarf/dwarf_loclists.c |
| 164 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 165 |
modified: src/lib/libdwarf/libdwarf.h |
| 166 |
|
| 167 |
2023-12-17: David Anderson |
| 168 |
commit dc6a96ef8756a328dc3bf10d80c054aa9217ebcd |
| 169 |
|
| 170 |
Changed library-internal data types (and added a very few casts) |
| 171 |
to avoid type warnings by a compiler. |
| 172 |
modified: src/lib/libdwarf/dwarf_loc.c |
| 173 |
modified: src/lib/libdwarf/dwarf_loc.h |
| 174 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 175 |
modified: src/lib/libdwarf/dwarf_macro.c |
| 176 |
modified: src/lib/libdwarf/dwarf_macro5.c |
| 177 |
modified: src/lib/libdwarf/dwarf_object_detector.c |
| 178 |
modified: src/lib/libdwarf/dwarf_object_read_common.c |
| 179 |
modified: src/lib/libdwarf/dwarf_peread.c |
| 180 |
|
| 181 |
2023-12-17: David Anderson |
| 182 |
commit 49b5a83026a119ecba524b07841c87bd5a035ebf |
| 183 |
|
| 184 |
Altering (mostly by making internal data Dwarf_Unsigned) |
| 185 |
so that we avoid many warnings. |
| 186 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 187 |
modified: src/lib/libdwarf/dwarf_query.c |
| 188 |
modified: src/lib/libdwarf/dwarf_rnglists.c |
| 189 |
modified: src/lib/libdwarf/dwarf_setup_sections.c |
| 190 |
modified: src/lib/libdwarf/dwarf_str_offsets.c |
| 191 |
modified: src/lib/libdwarf/dwarf_util.c |
| 192 |
|
| 193 |
Fixed a mistaken return-value type from int to Dwarf_Unsigned. |
| 194 |
See Changes in doc/libdwarf.dox |
| 195 |
modified: src/lib/libdwarf/dwarf_query.c |
| 196 |
modified: doc/libdwarf.dox |
| 197 |
modified: src/lib/libdwarf/libdwarf.h |
| 198 |
|
| 199 |
2023-12-17: David Anderson |
| 200 |
commit def4e90753d756192359ef580cbd331631f87d26 |
| 201 |
|
| 202 |
Fixing many instances of unecessarily truncating integers |
| 203 |
to not truncate by changing declared size to be appropriate. |
| 204 |
Fixing a few (library-private) argument lists |
| 205 |
to avoid integer truncation by using the right |
| 206 |
data type. |
| 207 |
modified: src/bin/dwarfdump/print_abbrevs.c |
| 208 |
modified: src/lib/libdwarf/dwarf_line.h |
| 209 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 210 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 211 |
modified: src/lib/libdwarf/dwarf_print_lines.c |
| 212 |
modified: src/lib/libdwarf/dwarf_util.c |
| 213 |
modified: src/lib/libdwarf/dwarf_xu_index.c |
| 214 |
|
| 215 |
2023-12-17: David Anderson |
| 216 |
commit d58a0dcd9a3aad87c437a73e3f2fe9c37ea2cf38 |
| 217 |
|
| 218 |
Fixing some compiler warnings. |
| 219 |
modified: dd_macrocheck.c |
| 220 |
modified: dwarfdump.c |
| 221 |
modified: print_die.c |
| 222 |
|
| 223 |
2023-12-16: David Anderson |
| 224 |
commit 320e8c3b4a28cc1ffb7df55da8a10f06d016aaee |
| 225 |
|
| 226 |
Dealing with compiler warnings. A few required |
| 227 |
actual correction of the source, most just |
| 228 |
required casting. |
| 229 |
modified: src/bin/dwarfdump/dd_getopt.c |
| 230 |
modified: src/bin/dwarfdump/dd_macrocheck.c |
| 231 |
modified: src/bin/dwarfdump/print_abbrevs.c |
| 232 |
modified: src/bin/dwarfdump/print_debug_names.c |
| 233 |
modified: src/bin/dwarfdump/print_die.c |
| 234 |
modified: src/bin/dwarfdump/print_frames.c |
| 235 |
modified: src/bin/dwarfdump/print_gdbindex.c |
| 236 |
modified: src/bin/dwarfdump/print_lines.c |
| 237 |
modified: src/bin/dwarfdump/print_loclists.c |
| 238 |
modified: src/bin/dwarfdump/print_macro.c |
| 239 |
modified: src/bin/dwarfdump/print_rnglists.c |
| 240 |
|
| 241 |
2023-12-16: David Anderson |
| 242 |
commit 46f159a17a8c08f579238525fa2565a50f049a4b |
| 243 |
|
| 244 |
The argument was formally incorrect before. |
| 245 |
The correction should not cause any problem for |
| 246 |
anyone. Mistake noticed because a compiler |
| 247 |
warning appeared highlighting callers. |
| 248 |
|
| 249 |
@@ -1736,7 +1736,7 @@ dwarf_loclist_from_expr_c(Dwarf_Debug dbg, |
| 250 |
Dwarf_Unsigned expression_length, |
| 251 |
Dwarf_Half address_size, |
| 252 |
Dwarf_Half offset_size, |
| 253 |
- Dwarf_Small dwarf_version, |
| 254 |
+ Dwarf_Half dwarf_version, |
| 255 |
|
| 256 |
modified: src/lib/libdwarf/dwarf_loc.c |
| 257 |
|
| 258 |
dwarf_loclist_from_expr_c(Dwarf_Debug dw_dbg, |
| 259 |
Dwarf_Unsigned dw_expression_length, |
| 260 |
Dwarf_Half dw_address_size, |
| 261 |
Dwarf_Half dw_offset_size, |
| 262 |
- Dwarf_Small dw_dwarf_version, |
| 263 |
+ Dwarf_Half dw_dwarf_version, |
| 264 |
modified: src/lib/libdwarf/libdwarf.h |
| 265 |
|
| 266 |
2023-12-15: David Anderson |
| 267 |
commit 1c53f94e90399b4cbf5f946d633b81a1a597e431 |
| 268 |
|
| 269 |
Now has a short section about linking against and |
| 270 |
testing libdwarf.so |
| 271 |
|
| 272 |
The short section about linking against libdwarf.a |
| 273 |
has a tiny change (moved some words up to the |
| 274 |
section about linking against libdwarf.so) |
| 275 |
modified: doc/libdwarf.dox |
| 276 |
|
| 277 |
2023-12-14: Jeremy Rifkin |
| 278 |
commit 4ccb40556f59f10fe7a34c3edace8808ffb9463c |
| 279 |
|
| 280 |
Add ifndef-define for O_RDONLY in elf_load_headers and generic_init (#211) |
| 281 |
|
| 282 |
2023-12-14: David Anderson |
| 283 |
commit 6a9cfa3b9708bc04e90890cec84115b72ba8240c |
| 284 |
|
| 285 |
Up to date with git log. |
| 286 |
modified: ChangeLog |
| 287 |
|
| 288 |
2023-12-14: David Anderson |
| 289 |
commit 6e24c3cc2d9b0a7a1455b10327bbf9ae173e0a1f |
| 290 |
|
| 291 |
Removing -D_CRT_NONSTDC_NO_WARNINGS everywhere to |
| 292 |
avoid compiler warnings from Visual Studio |
| 293 |
|
| 294 |
meson.build: libdwarf_args += [ '-D_CRT_NONSTDC_NO_WARNINGS', '-D_CRT_SECURE_NO_WARNINGS' ] |
| 295 |
src/bin/dwarfdump/dd_esb.c:#define _CRT_SECURE_NO_WARNINGS |
| 296 |
src/bin/dwarfdump/dd_tsearchbal.c:#define _CRT_SECURE_NO_WARNINGS |
| 297 |
src/bin/gennames/gennames.c:#define _CRT_SECURE_NO_WARNINGS |
| 298 |
src/lib/libdwarf/dwarf_machoread.c:#define _CRT_SECURE_NO_WARNINGS |
| 299 |
src/lib/libdwarf/dwarf_object_read_common.c:#define _CRT_SECURE_NO_WARNINGS |
| 300 |
src/lib/libdwarf/dwarf_peread.c:#define _CRT_SECURE_NO_WARNINGS |
| 301 |
|
| 302 |
modified: meson.build |
| 303 |
modified: src/bin/dwarfdump/dd_esb.c |
| 304 |
modified: src/bin/dwarfdump/dd_tsearchbal.c |
| 305 |
modified: src/bin/gennames/gennames.c |
| 306 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 307 |
modified: src/lib/libdwarf/dwarf_object_read_common.c |
| 308 |
modified: src/lib/libdwarf/dwarf_peread.c |
| 309 |
|
| 310 |
2023-12-12: David Anderson |
| 311 |
commit 82d23bc1218880bb153c5d541b873901a634dfe4 |
| 312 |
|
| 313 |
error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] |
| 314 |
|
| 315 |
On 32bit systems casts like (Dwarf_Unsigned) |
| 316 |
applied to a pointer need to be |
| 317 |
(Dwarf_Unsigned)(uintptr_t) |
| 318 |
to avoid failing in compilations. |
| 319 |
Four places. |
| 320 |
|
| 321 |
Would not fail if one avoids --enable-wall and the like. |
| 322 |
But now fixed. |
| 323 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 324 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 325 |
|
| 326 |
2023-12-10: David Anderson |
| 327 |
commit deebe40e89214efe61c7b56debf2565974027dc8 |
| 328 |
|
| 329 |
Latest from git log (plus extra on DW_IDX) |
| 330 |
modified: ChangeLog |
| 331 |
|
| 332 |
2023-12-10: David Anderson |
| 333 |
commit 12e478e78a93d957c2eb8518dd958c00b8f1cee9 |
| 334 |
|
| 335 |
modified: src/bin/dwarfdump/dwarfdump-af-table.h |
| 336 |
modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h |
| 337 |
modified: src/bin/dwarfdump/dwarfdump-ta-table.h |
| 338 |
modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h |
| 339 |
modified: src/bin/dwarfdump/dwarfdump-tt-table.h |
| 340 |
|
| 341 |
The full set of changes in gdb dwarf2.def is: |
| 342 |
+/* Internal linkage. A flag. */ |
| 343 |
DW_IDX (DW_IDX_GNU_internal, 0x2000) |
| 344 |
+/* External linkage. A flag. Note that gdb no longer generates this; |
| 345 |
+ the default is to assume external linkage. */ |
| 346 |
DW_IDX (DW_IDX_GNU_external, 0x2001) |
| 347 |
+/* This entry is the program's entry point. A flag. */ |
| 348 |
+DW_IDX (DW_IDX_GNU_main, 0x2002) |
| 349 |
+/* Language for this entry. A DW_LANG_* value. */ |
| 350 |
+DW_IDX (DW_IDX_GNU_language, 0x2003) |
| 351 |
+/* This entry is a linkage name. A flag. */ |
| 352 |
+DW_IDX (DW_IDX_GNU_linkage_name, 0x2004) |
| 353 |
modified: src/lib/libdwarf/dwarf.h |
| 354 |
modified: src/lib/libdwarf/dwarf_names.c |
| 355 |
|
| 356 |
2023-12-08: David Anderson |
| 357 |
commit 26bedb0159e0ff6b1795009115213ebd14b6d959 |
| 358 |
|
| 359 |
Now all 0.9.1 |
| 360 |
modified: CMakeLists.txt |
| 361 |
modified: configure.ac |
| 362 |
modified: doc/libdwarf.dox |
| 363 |
modified: doc/libdwarfp.mm |
| 364 |
modified: meson.build |
| 365 |
modified: src/lib/libdwarf/libdwarf.h |
| 366 |
|
| 367 |
2023-12-08: David Anderson |
| 368 |
commit 8b0bd09d8c77d45a68cb1bb00a54186a92b683d9 |
| 369 |
|
| 370 |
Corrected spelling of one word. |
| 371 |
modified: doc/libdwarf.pdf |
| 372 |
|
| 373 |
2023-12-08: David Anderson |
| 374 |
commit d9f6fe863d775a1e480d79f630e4a97ed78969ab |
| 375 |
|
| 376 |
Up to date with spelling fix |
| 377 |
modified: ChangeLog |
| 378 |
|
| 379 |
2023-12-08: David Anderson |
| 380 |
commit 9666fdf00753ffd9608f136972f9484d59c613cb |
| 381 |
|
| 382 |
Corrected spelling mistake. libnrary -> library |
| 383 |
modified: doc/libdwarf.dox |
| 384 |
modified: doc/libdwarf.pdf |
| 385 |
|
| 386 |
2023-12-08: David Anderson |
| 387 |
commit 7894f73f4fe22046a855bafd87902f7eedaaf00a |
| 388 |
|
| 389 |
Up to date with git log |
| 390 |
modified: ChangeLog |
| 391 |
|
| 392 |
2023-12-08: David Anderson |
| 393 |
commit b33f2b6a2643e7b552cdfeb835ab48a9c82768da |
| 394 |
|
| 395 |
Now up to latest for release. |
| 396 |
modified: doc/libdwarf.pdf |
| 397 |
|
| 398 |
2023-12-08: David Anderson |
| 399 |
commit 32934f5e442383361b4239298aa4b407d6e35160 |
| 400 |
|
| 401 |
Updating to release date |
| 402 |
modified: README.md |
| 403 |
modified: doc/libdwarf.dox |
| 404 |
|
| 405 |
2023-12-07: David Anderson |
| 406 |
commit 288b59b0aaf662fdab66cd61e39c599daa9edc82 |
| 407 |
|
| 408 |
A typo. Fixed. |
| 409 |
modified: test.yml |
| 410 |
|
| 411 |
2023-12-07: David Anderson |
| 412 |
commit 8416a134976192b1acbdb3bb22c04c72cbad41aa |
| 413 |
|
| 414 |
Rm dup mingw inst (ninja) |
| 415 |
modified: msys2_meson.yml |
| 416 |
modified: test.yml |
| 417 |
|
| 418 |
2023-12-07: David Anderson |
| 419 |
commit 089b4ff4229fd09ba2659c131859359bb5178f53 |
| 420 |
|
| 421 |
runner-to-vm |
| 422 |
modified: freebsd_autotools.yml |
| 423 |
modified: test.yml |
| 424 |
|
| 425 |
2023-12-06: David Anderson |
| 426 |
commit 3d296d4f5efd1bbce23cc28084f95a3ace39c252 |
| 427 |
|
| 428 |
Cleaning up, all seems working. |
| 429 |
modified: freebsd_meson.yml |
| 430 |
modified: mac_meson.yml |
| 431 |
modified: test.yml |
| 432 |
|
| 433 |
2023-12-06: David Anderson |
| 434 |
commit fcbe5ce9261815aa566cd8f45d291e5ffdfb1146 |
| 435 |
|
| 436 |
runner-to-vm |
| 437 |
modified: freebsd_cmake.yml |
| 438 |
|
| 439 |
2023-12-06: David Anderson |
| 440 |
commit 68517f3e28fc05536efab9f8f9a402c6f947d85a |
| 441 |
|
| 442 |
trial |
| 443 |
modified: freebsd_meson.yml |
| 444 |
|
| 445 |
2023-12-06: David Anderson |
| 446 |
commit 0aa394c7c7820121e92971959830702538282322 |
| 447 |
|
| 448 |
trial |
| 449 |
modified: freebsd_meson.yml |
| 450 |
|
| 451 |
2023-12-06: David Anderson |
| 452 |
commit cb3dba2b4a93b9d28d9265df6a346ef12d2585e2 |
| 453 |
|
| 454 |
zlib wrong name. Leaving off. |
| 455 |
modified: freebsd_meson.yml |
| 456 |
|
| 457 |
2023-12-06: David Anderson |
| 458 |
commit f3f80cbdb4093a61297ab103af9b778837181529 |
| 459 |
|
| 460 |
Fix |
| 461 |
modified: freebsd_meson.yml |
| 462 |
|
| 463 |
2023-12-06: David Anderson |
| 464 |
commit 1889a6a211a33a9ac501153df01e829cb0b5c4f7 |
| 465 |
|
| 466 |
again |
| 467 |
modified: freebsd_meson.yml |
| 468 |
|
| 469 |
2023-12-06: David Anderson |
| 470 |
commit e1d9e65143d98a7045bd80713be030306cffdffa |
| 471 |
|
| 472 |
Correcting bug |
| 473 |
modified: freebsd_meson.yml |
| 474 |
|
| 475 |
2023-12-06: David Anderson |
| 476 |
commit f5cb963c7668eedfe7cd22a2685bf0906e99cb15 |
| 477 |
|
| 478 |
add pkgconf |
| 479 |
modified: freebsd_autotools.yml |
| 480 |
|
| 481 |
2023-12-06: David Anderson |
| 482 |
commit 9a3eecf4ac7092c1f0c3acb31a0ffd62efc7b869 |
| 483 |
|
| 484 |
Altering fsync setting |
| 485 |
modified: freebsd_autotools.yml |
| 486 |
|
| 487 |
2023-12-06: David Anderson |
| 488 |
commit 55f6bd906de69d92bf8b3102a90a56a91376992e |
| 489 |
|
| 490 |
Now autoreconf not autogen.sh |
| 491 |
modified: freebsd_autotools.yml |
| 492 |
|
| 493 |
2023-12-06: David Anderson |
| 494 |
commit df0703d57a93ac6e06e6200625a4c51c5a7b2d63 |
| 495 |
|
| 496 |
Added libtool |
| 497 |
modified: freebsd_autotools.yml |
| 498 |
|
| 499 |
2023-12-06: David Anderson |
| 500 |
commit 465e050a3851e3aee1264bca0632af14fd87a5ab |
| 501 |
|
| 502 |
For freebsd do fsync_files: false |
| 503 |
modified: test.yml |
| 504 |
|
| 505 |
2023-12-06: David Anderson |
| 506 |
commit c4c7290e061d89443e021df8c8d4a159c7d56799 |
| 507 |
|
| 508 |
Added fsync as false |
| 509 |
modified: freebsd_autotools.yml |
| 510 |
|
| 511 |
2023-12-06: David Anderson |
| 512 |
commit 832704300ba662976cabe4f4f26627c873f5c55c |
| 513 |
|
| 514 |
Remove old comments. |
| 515 |
modified: mac_meson.yml |
| 516 |
|
| 517 |
2023-12-06: David Anderson |
| 518 |
commit 2b6f8e535c2c25fa2920f85eeb918332f3be9f5b |
| 519 |
|
| 520 |
new for single test. |
| 521 |
new file: freebsd_meson.yml |
| 522 |
|
| 523 |
2023-12-06: David Anderson |
| 524 |
commit bc7a7c04d1ac56e0c8a48b5a5ef41a0749d7eab5 |
| 525 |
|
| 526 |
Meson setup was written wrong... |
| 527 |
modified: mac_meson.yml |
| 528 |
modified: test.yml |
| 529 |
|
| 530 |
2023-12-06: David Anderson |
| 531 |
commit 673c308605640046fd44994fbc8124f006d1127c |
| 532 |
|
| 533 |
oops.silly mistake. |
| 534 |
modified: msys2_meson.yml |
| 535 |
|
| 536 |
2023-12-06: David Anderson |
| 537 |
commit 7239cad53e355eab75b55816b38565e0f949a372 |
| 538 |
|
| 539 |
Fixing, was failing |
| 540 |
modified: msys2_meson.yml |
| 541 |
|
| 542 |
2023-12-06: David Anderson |
| 543 |
commit 751e4a1464ba54fd3a68e9ebca54c98bb936c0f8 |
| 544 |
|
| 545 |
Fix errors |
| 546 |
modified: msys2_cmake.yml |
| 547 |
|
| 548 |
2023-12-06: David Anderson |
| 549 |
commit 4f94c59b774e8c1cf5f29e2ed6dac1ab0d8a322f |
| 550 |
|
| 551 |
Removing unwanted install items. |
| 552 |
modified: mac_autotools.yml |
| 553 |
|
| 554 |
2023-12-06: David Anderson |
| 555 |
commit 7fc16952c66a9ebb7880481929fd2dd0e2beb9cf |
| 556 |
|
| 557 |
Added sync_files: false |
| 558 |
modified: freebsd_cmake.yml |
| 559 |
|
| 560 |
2023-12-06: David Anderson |
| 561 |
commit 822d1316d6ec466c6c3b98a261e956f0a40cb8ab |
| 562 |
|
| 563 |
Toward individual tests to deal with |
| 564 |
particular build issues. |
| 565 |
new file: freebsd_autotools.yml |
| 566 |
new file: msys2_cmake.yml |
| 567 |
new file: msys2_meson.yml |
| 568 |
|
| 569 |
2023-12-06: David Anderson |
| 570 |
commit 205743f182ac924b043df94d573b4cbe8f1e426b |
| 571 |
|
| 572 |
fixing freebsd cmake |
| 573 |
modified: test.yml |
| 574 |
|
| 575 |
2023-12-06: David Anderson |
| 576 |
commit caca010a2a8967a7f7b0a126d63f6146af449550 |
| 577 |
|
| 578 |
trial change to get workable options |
| 579 |
modified: freebsd_cmake.yml |
| 580 |
Now with corrected mac cmake. |
| 581 |
modified: test.yml |
| 582 |
|
| 583 |
2023-12-06: David Anderson |
| 584 |
commit 297b199b0bf620e0d2beb89cc480de3050f8ff3a |
| 585 |
|
| 586 |
needed more -D for cmake. |
| 587 |
modified: mac_cmake.yml |
| 588 |
|
| 589 |
2023-12-06: David Anderson |
| 590 |
commit 725369b0e9d721b4c221db515e7643e681485a57 |
| 591 |
|
| 592 |
small tweak |
| 593 |
modified: mac_cmake.yml |
| 594 |
|
| 595 |
2023-12-06: David Anderson |
| 596 |
commit c059560573dcbd0e0d0e5b3b4e49b91ec9190e43 |
| 597 |
|
| 598 |
Testing. |
| 599 |
modified: freebsd_cmake.yml |
| 600 |
new file: mac_cmake.yml |
| 601 |
modified: test.yml |
| 602 |
|
| 603 |
2023-12-05: David Anderson |
| 604 |
commit 333982334bb4dbd7035c17e668fc0833674f149d |
| 605 |
|
| 606 |
Things changed, making them work, I hope |
| 607 |
modified: .github/workflows/test.yml |
| 608 |
|
| 609 |
2023-12-05: David Anderson |
| 610 |
commit 92874271148d444d5b9d4eeb1a22599ba82fe35e |
| 611 |
|
| 612 |
Removing unwanted whitespace, |
| 613 |
fixing indents. |
| 614 |
modified: src/lib/libdwarf/dwarf_generic_init.c |
| 615 |
modified: src/lib/libdwarf/dwarf_object_detector.c |
| 616 |
modified: src/lib/libdwarf/dwarf_query.c |
| 617 |
|
| 618 |
2023-12-05: David Anderson |
| 619 |
commit 7ac6ea034e5e4abc65ba2e2ca8ea4c9d5f86c639 |
| 620 |
|
| 621 |
Changing a few local variables to Dwarf_Unsigned |
| 622 |
to avoid some warnings |
| 623 |
about size differences from a particular compiler. |
| 624 |
modified: src/lib/libdwarf/dwarf_line.c |
| 625 |
modified: src/lib/libdwarf/dwarf_line.h |
| 626 |
modified: src/lib/libdwarf/dwarf_util.c |
| 627 |
|
| 628 |
2023-12-05: David Anderson |
| 629 |
commit 5d89e76d41fd9b111c803b0a748f5703cd765b7f |
| 630 |
|
| 631 |
Fixes a mistake returning object values through |
| 632 |
pointers. Found by Coverity Scan. |
| 633 |
A mistake created a few days ago. |
| 634 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 635 |
Add cast to int on error number returned |
| 636 |
by dwarf_errno(), these are guaranteed |
| 637 |
to be integers under 1000 and >= 0. Removes a compiler warning. |
| 638 |
modified: src/lib/libdwarf/dwarf_object_detector.c |
| 639 |
|
| 640 |
2023-12-03: David Anderson |
| 641 |
commit 3f5352adff5f9dec013faf8365518a68486b3809 |
| 642 |
|
| 643 |
Dated Dec 3. |
| 644 |
modified: libdwarf.dox |
| 645 |
modified: libdwarf.pdf |
| 646 |
|
| 647 |
2023-12-02: David Anderson |
| 648 |
commit 67257f5da2b30d476477c55f8cfd85236bfcb7c7 |
| 649 |
|
| 650 |
Up to date with git log |
| 651 |
modified: ChangeLog |
| 652 |
|
| 653 |
2023-12-02: David Anderson |
| 654 |
commit c4ca69922baf8854a4677dde0681b9a7fc3207bd |
| 655 |
|
| 656 |
When system endian and object endian do not |
| 657 |
always match, the debuglink 4 byte hash value needs |
| 658 |
de_copy_word() applied. |
| 659 |
modified: src/lib/libdwarf/dwarf_object_detector.c |
| 660 |
Better doc of de_copy_word in Dwarf_Debug_s |
| 661 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 662 |
|
| 663 |
2023-12-02: David Anderson |
| 664 |
commit 5fddac64954aefe7a3e33234c5f2ca48491ab0c4 |
| 665 |
|
| 666 |
Now with a translation from PE machine number to a name. |
| 667 |
modified: src/bin/dwarfdump/CMakeLists.txt |
| 668 |
modified: src/bin/dwarfdump/Makefile.am |
| 669 |
new file: src/bin/dwarfdump/dd_pe_cputype.h |
| 670 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 671 |
|
| 672 |
2023-12-01: David Anderson |
| 673 |
commit 460b234d6474ae4fd3048c154594fa4df925805b |
| 674 |
|
| 675 |
Now up to date with git log |
| 676 |
modified: ChangeLog |
| 677 |
|
| 678 |
2023-12-01: David Anderson |
| 679 |
commit 903e8cc407e56cde7467c67d7a9ba97d5b06a4fa |
| 680 |
|
| 681 |
Adding dd_mac_cputype.h and dd_elf_cputype.h |
| 682 |
to the build where necessary. |
| 683 |
modified: src/bin/dwarfdump/CMakeLists.txt |
| 684 |
modified: src/bin/dwarfdump/Makefile.am |
| 685 |
|
| 686 |
Adding support for option --print-machine-arch |
| 687 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 688 |
modified: src/bin/dwarfdump/dd_glflags.c |
| 689 |
modified: src/bin/dwarfdump/dd_glflags.h |
| 690 |
|
| 691 |
Added a missing entry. |
| 692 |
modified: src/bin/dwarfdump/dd_mac_cputype.h |
| 693 |
|
| 694 |
Implementing --print-machine-arch |
| 695 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 696 |
|
| 697 |
Fixing whitespace issues. |
| 698 |
modified: src/bin/dwarfdump/print_die.c |
| 699 |
Deleting obsolete commentary. |
| 700 |
modified: src/bin/dwarfdump/print_sections.c |
| 701 |
|
| 702 |
2023-12-01: David Anderson |
| 703 |
commit abb4acf6e8c9b40610372770839dd7e5131f8214 |
| 704 |
|
| 705 |
This has the implementation of the three new functions |
| 706 |
that give access to object file header and section data. |
| 707 |
Small changes, but widely spread! |
| 708 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 709 |
modified: src/lib/libdwarf/dwarf_elfread.c |
| 710 |
modified: src/lib/libdwarf/dwarf_elfread.h |
| 711 |
modified: src/lib/libdwarf/dwarf_generic_init.c |
| 712 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 713 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 714 |
modified: src/lib/libdwarf/dwarf_machoread.h |
| 715 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 716 |
modified: src/lib/libdwarf/dwarf_peread.c |
| 717 |
modified: src/lib/libdwarf/dwarf_peread.h |
| 718 |
modified: src/lib/libdwarf/dwarf_query.c |
| 719 |
|
| 720 |
2023-12-01: David Anderson |
| 721 |
commit e10170f606842aa164d676ca0135ba15f063f511 |
| 722 |
|
| 723 |
Now December, so the html shows the new month. |
| 724 |
modified: bugxml/dwarfbug.html |
| 725 |
modified: bugxml/dwarfbuglohi.html |
| 726 |
|
| 727 |
2023-12-01: David Anderson |
| 728 |
commit c2d9d3c3303b7d3fb9f836f0348ff0a8640515b3 |
| 729 |
|
| 730 |
Changes list up to date |
| 731 |
modified: doc/libdwarf.dox |
| 732 |
|
| 733 |
New for better reporting of dwarf_machine_architecture() |
| 734 |
by dwarfdump |
| 735 |
new file: src/bin/dwarfdump/dd_elf_cputype.h |
| 736 |
new file: src/bin/dwarfdump/dd_mac_cputype.h |
| 737 |
|
| 738 |
The three new API functions declared and documented/doxygen. |
| 739 |
dwarf_machine_architecture() |
| 740 |
dwarf_get_section_info_by_index_a() |
| 741 |
dwarf_get_section_info_by_name_a() |
| 742 |
modified: src/lib/libdwarf/libdwarf.h |
| 743 |
|
| 744 |
2023-11-30: David Anderson |
| 745 |
commit b90ea31db1dfa9f9d9b95d25554e05738fd63b0a |
| 746 |
|
| 747 |
Fixing problems in doxgen comments. |
| 748 |
modified: doc/checkexamples.c |
| 749 |
modified: doc/libdwarf.dox |
| 750 |
|
| 751 |
2023-11-29: David Anderson |
| 752 |
commit 416d1e0f398e25806f5c56f63221e25cb18236fa |
| 753 |
|
| 754 |
Latest info. Up to date. |
| 755 |
modified: ChangeLog |
| 756 |
|
| 757 |
2023-11-29: David Anderson |
| 758 |
commit c71e435ac49df3f99eac4e0181b75efe4e19e397 |
| 759 |
|
| 760 |
Added new fields to Dwarf_Debug for use...soon: |
| 761 |
de_ftype (one of the DW_FTYPE values) |
| 762 |
and de_processor (soon to be the object data |
| 763 |
saying which processor is named in the object file). |
| 764 |
|
| 765 |
Documenting new functions dwarf_get_section_info_by_index_a() |
| 766 |
and dwarf_get_section_info_by_name_a() |
| 767 |
which return additional section information to callers |
| 768 |
for all supported object types.. |
| 769 |
modified: doc/libdwarf.dox |
| 770 |
|
| 771 |
Use the new functionss. |
| 772 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 773 |
|
| 774 |
Set the dbg field de_ftype with the DW_FTYPE_ |
| 775 |
value applicable to the object. |
| 776 |
modified: src/lib/libdwarf/dwarf_generic_init.c |
| 777 |
|
| 778 |
Add the new functions. The old ones now call the new ones. |
| 779 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 780 |
|
| 781 |
Record flags, addr and offset (which were not previously |
| 782 |
recorded. |
| 783 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 784 |
|
| 785 |
Declare and document the new functions. |
| 786 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 787 |
|
| 788 |
Set the fields as_offset and as_flags now. |
| 789 |
modified: src/lib/libdwarf/dwarf_peread.c |
| 790 |
|
| 791 |
Declare and document the new functions. |
| 792 |
modified: src/lib/libdwarf/libdwarf.h |
| 793 |
|
| 794 |
2023-11-29: David Anderson |
| 795 |
commit 36152b90d3bf88209c1a26bc51ea4ae743cc5b03 |
| 796 |
|
| 797 |
Removed trailing whitespace and fixed a couple |
| 798 |
violations of the CODINGSTYLE.md for libdwarf. |
| 799 |
modified: dwarf_debuglink.c |
| 800 |
modified: dwarf_frame.c |
| 801 |
modified: dwarf_util.h |
| 802 |
|
| 803 |
2023-11-28: David Anderson |
| 804 |
commit d2b1ec9269ef23aa2527845d483106ff0727fe8b |
| 805 |
|
| 806 |
Now up to date with ChangeLog. CoverityScan at 0 defects again. |
| 807 |
modified: ChangeLog |
| 808 |
|
| 809 |
2023-11-28: David Anderson |
| 810 |
commit d3596f02aca5bf1a9b151a7c80f5c9cf261508fb |
| 811 |
|
| 812 |
Coverityscan found 3 issues. |
| 813 |
|
| 814 |
Here, they were real could lead to a segv. |
| 815 |
the issue was the code has options oriented |
| 816 |
to testing (probably a mistake to put such in an example) |
| 817 |
and there was a dereference of a null pointer |
| 818 |
that could occur in a particular scenario. Fixed. |
| 819 |
modified: src/bin/dwarfexample/simplereader.c |
| 820 |
|
| 821 |
Here the (new, undocumented) option of leaving |
| 822 |
either of two pointer inputs (for return values) NUll to |
| 823 |
dwarf_get_section_info_by_name was |
| 824 |
not coded correctly. Fixed. |
| 825 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 826 |
|
| 827 |
2023-11-28: David Anderson |
| 828 |
commit 03afade11bd58bb239ec92c2ea517348ba918187 |
| 829 |
|
| 830 |
Found more places to use IS_INVALID_DBG() |
| 831 |
replacing various inconsistent tests |
| 832 |
of a dbg (Dwarf_Debug pointer). |
| 833 |
|
| 834 |
modified: src/lib/libdwarf/dwarf_alloc.c |
| 835 |
modified: src/lib/libdwarf/dwarf_arange.c |
| 836 |
modified: src/lib/libdwarf/dwarf_debug_sup.c |
| 837 |
modified: src/lib/libdwarf/dwarf_debugnames.c |
| 838 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 839 |
modified: src/lib/libdwarf/dwarf_error.c |
| 840 |
modified: src/lib/libdwarf/dwarf_form.c |
| 841 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 842 |
modified: src/lib/libdwarf/dwarf_gdbindex.c |
| 843 |
modified: src/lib/libdwarf/dwarf_global.c |
| 844 |
modified: src/lib/libdwarf/dwarf_gnu_index.c |
| 845 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 846 |
modified: src/lib/libdwarf/dwarf_loc.c |
| 847 |
modified: src/lib/libdwarf/dwarf_loclists.c |
| 848 |
modified: src/lib/libdwarf/dwarf_query.c |
| 849 |
modified: src/lib/libdwarf/dwarf_util.c |
| 850 |
|
| 851 |
2023-11-27: David Anderson |
| 852 |
commit fbfbf16e94878e1242f46f1ed9e54a0c9010bbd9 |
| 853 |
|
| 854 |
Individual tests of dbg and de_magic are now |
| 855 |
all in util.h new macro IS_INVALID_DBG |
| 856 |
to ensure consistency. |
| 857 |
modified: ../../lib/libdwarf/dwarf_abbrev.c |
| 858 |
modified: ../../lib/libdwarf/dwarf_alloc.c |
| 859 |
modified: ../../lib/libdwarf/dwarf_frame.c |
| 860 |
modified: ../../lib/libdwarf/dwarf_generic_init.c |
| 861 |
modified: ../../lib/libdwarf/dwarf_global.c |
| 862 |
modified: ../../lib/libdwarf/dwarf_harmless.c |
| 863 |
modified: ../../lib/libdwarf/dwarf_init_finish.c |
| 864 |
modified: ../../lib/libdwarf/dwarf_loc.c |
| 865 |
modified: ../../lib/libdwarf/dwarf_macro.c |
| 866 |
modified: ../../lib/libdwarf/dwarf_rnglists.c |
| 867 |
modified: ../../lib/libdwarf/dwarf_util.h |
| 868 |
modified: ../../lib/libdwarf/dwarf_xu_index.c |
| 869 |
|
| 870 |
2023-11-27: David Anderson |
| 871 |
commit 92a841cbc79fbe7c038b68be3b140b5ce27c687e |
| 872 |
|
| 873 |
Updated to the date of last minor change. |
| 874 |
modified: doc/libdwarf.dox |
| 875 |
|
| 876 |
Now when reading PE object files callers can get |
| 877 |
the size of even sections not involved in DWARF. |
| 878 |
Because useful to some, some of the time. |
| 879 |
modified: src/lib/libdwarf/dwarf_peread.c |
| 880 |
modified: src/lib/libdwarf/dwarf_peread.h |
| 881 |
|
| 882 |
2023-11-27: David Anderson |
| 883 |
commit 76c4b8295cb3ac1a4efade9e79f90ba2470c5f62 |
| 884 |
|
| 885 |
Removing pointless blank line |
| 886 |
modified: bugxml/data.txt |
| 887 |
|
| 888 |
2023-11-25: David Anderson |
| 889 |
commit c29a5b34d77562766250a79adc8bfbde48eeb4a5 |
| 890 |
|
| 891 |
Corrected the gitfixid. |
| 892 |
modified: bugxml/data.txt |
| 893 |
regenerated. |
| 894 |
modified: bugxml/dwarfbug.html |
| 895 |
modified: bugxml/dwarfbug.xml |
| 896 |
modified: bugxml/dwarfbuglohi.html |
| 897 |
|
| 898 |
2023-11-25: David Anderson |
| 899 |
commit c3a2dfc6837485f97cecdb818461cf48f4654ca7 |
| 900 |
|
| 901 |
Now with latest |
| 902 |
modified: ChangeLog |
| 903 |
|
| 904 |
2023-11-25: David Anderson |
| 905 |
commit d76cce559b898f7059ce5ffd82f3cfd58cb392fe |
| 906 |
|
| 907 |
With latest info on debuglink issues |
| 908 |
modified: bugxml/data.txt |
| 909 |
The source here uses a libdwarf public |
| 910 |
function incorrectly which |
| 911 |
guarantees a memory leak. Now the test case |
| 912 |
follows the rules... |
| 913 |
modified: fuzz/fuzz_debuglink.c |
| 914 |
|
| 915 |
Fix so that dwarf_gnu_debuglink() will not |
| 916 |
dereference a NULL pointer. |
| 917 |
modified: src/lib/libdwarf/dwarf_debuglink.c |
| 918 |
|
| 919 |
Clarify the doxgen comments on dwarf_gnu_debuglink(). |
| 920 |
modified: src/lib/libdwarf/libdwarf.h |
| 921 |
|
| 922 |
2023-11-25: David Anderson |
| 923 |
commit 0ee98238cc37e79d27cdb2f85eb7af81b9e8215a |
| 924 |
|
| 925 |
Up to date with git log |
| 926 |
modified: ChangeLog |
| 927 |
|
| 928 |
2023-11-25: David Anderson |
| 929 |
commit d87a170a1c0f79aa001c104367248984307ab221 |
| 930 |
|
| 931 |
This is a new-to-me bug report |
| 932 |
and its fix. DW202311-001 |
| 933 |
modified: bugxml/data.txt |
| 934 |
modified: bugxml/dwarfbug.html |
| 935 |
modified: bugxml/dwarfbug.xml |
| 936 |
modified: bugxml/dwarfbuglohi.html |
| 937 |
|
| 938 |
2023-11-25: David Anderson |
| 939 |
commit ef77596af000719c04bd3e40b97139247ff3efb4 |
| 940 |
|
| 941 |
This is the definition of the new macro |
| 942 |
CHECK_DBG for use inside libdwarf. |
| 943 |
modified: src/lib/libdwarf/dwarf_util.h |
| 944 |
|
| 945 |
2023-11-25: David Anderson |
| 946 |
commit f9ce938de8ffa5e837d9215d17bd1b677fdcab03 |
| 947 |
|
| 948 |
Ensuring that all API functions that have a |
| 949 |
Dwarf_Debug input argument check the passed |
| 950 |
in pointer thoroughly using a new CHECK_DBG |
| 951 |
macro in dwarf_util.h |
| 952 |
Many of the place have been incorrectly |
| 953 |
checking for many years. |
| 954 |
modified: src/lib/libdwarf/dwarf_abbrev.c |
| 955 |
modified: src/lib/libdwarf/dwarf_arange.c |
| 956 |
modified: src/lib/libdwarf/dwarf_crc32.c |
| 957 |
modified: src/lib/libdwarf/dwarf_debug_sup.c |
| 958 |
modified: src/lib/libdwarf/dwarf_debugaddr.c |
| 959 |
modified: src/lib/libdwarf/dwarf_debuglink.c |
| 960 |
modified: src/lib/libdwarf/dwarf_debugnames.c |
| 961 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 962 |
modified: src/lib/libdwarf/dwarf_dsc.c |
| 963 |
modified: src/lib/libdwarf/dwarf_error.c |
| 964 |
modified: src/lib/libdwarf/dwarf_find_sigref.c |
| 965 |
modified: src/lib/libdwarf/dwarf_form.c |
| 966 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 967 |
modified: src/lib/libdwarf/dwarf_gdbindex.c |
| 968 |
modified: src/lib/libdwarf/dwarf_generic_init.c |
| 969 |
modified: src/lib/libdwarf/dwarf_global.c |
| 970 |
modified: src/lib/libdwarf/dwarf_gnu_index.c |
| 971 |
modified: src/lib/libdwarf/dwarf_groups.c |
| 972 |
modified: src/lib/libdwarf/dwarf_harmless.c |
| 973 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 974 |
modified: src/lib/libdwarf/dwarf_line.c |
| 975 |
modified: src/lib/libdwarf/dwarf_loc.c |
| 976 |
modified: src/lib/libdwarf/dwarf_loclists.c |
| 977 |
modified: src/lib/libdwarf/dwarf_macro.c |
| 978 |
modified: src/lib/libdwarf/dwarf_macro5.c |
| 979 |
modified: src/lib/libdwarf/dwarf_query.c |
| 980 |
modified: src/lib/libdwarf/dwarf_ranges.c |
| 981 |
modified: src/lib/libdwarf/dwarf_rnglists.c |
| 982 |
modified: src/lib/libdwarf/dwarf_str_offsets.c |
| 983 |
modified: src/lib/libdwarf/dwarf_stringsection.c |
| 984 |
modified: src/lib/libdwarf/dwarf_xu_index.c |
| 985 |
|
| 986 |
2023-11-25: David Anderson |
| 987 |
commit 6fe6f29f1c191202a2334f2eeeca4e2e292adb15 |
| 988 |
Merge: 7cddf97e 1f698830 |
| 989 |
|
| 990 |
Merge branch 'main' of https://github.com/davea42/libdwarf-code |
| 991 |
merge from github |
| 992 |
|
| 993 |
2023-11-25: David Anderson |
| 994 |
commit 7cddf97ee462ca27f753328de241cfb350aa6ac9 |
| 995 |
|
| 996 |
We now test a Dwarf_Debug better in libdwarf, so we have |
| 997 |
to set dbg->de_magic properly to test what we |
| 998 |
want to test here. Done. |
| 999 |
modified: test/test_linkedtopath.c |
| 1000 |
|
| 1001 |
2023-11-25: David Anderson |
| 1002 |
commit bd6d53d323061738f70de05f56cc6df0b357646d |
| 1003 |
|
| 1004 |
Minor clarifications and /* dbg */ is now dw_dbg |
| 1005 |
in two places. |
| 1006 |
modified: src/lib/libdwarf/libdwarf.h |
| 1007 |
|
| 1008 |
2023-11-24: David Anderson |
| 1009 |
commit 06d843c916ab88543cec7b0e64554b8adf1607f2 |
| 1010 |
|
| 1011 |
Was failing to check that the Dwarf_Debug argument |
| 1012 |
was non-null. Exposed as a result of oss fuzz |
| 1013 |
63900 (which started out as a bug in fuzz/fuzz_debuglink.c) |
| 1014 |
modified: ../src/lib/libdwarf/dwarf_debuglink.c |
| 1015 |
Then we were notified this was originally |
| 1016 |
oss fuzz 56452 ! Odd, we had not heard of 56542 before. |
| 1017 |
|
| 1018 |
The bug has been present since libdwarf/dwarf_debuglink.c |
| 1019 |
was written in 2021. |
| 1020 |
|
| 1021 |
2023-11-24: David Anderson |
| 1022 |
commit 1f6988307748f427566e3266695bb72d5384bf3d |
| 1023 |
|
| 1024 |
Was failing to check that the Dwarf_Debug argument |
| 1025 |
was non-null. Exposed as a result of oss fuzz |
| 1026 |
63900 (which started out as a bug in fuzz/fuzz_debuglink.c) |
| 1027 |
modified: ../src/lib/libdwarf/dwarf_debuglink.c |
| 1028 |
|
| 1029 |
The bug has been present since libdwarf/dwarf_debuglink.c |
| 1030 |
was written in 2021. |
| 1031 |
|
| 1032 |
2023-11-24: David Anderson |
| 1033 |
commit b2d1f44e6a75042a6dc9a3c2f9fe6c9515ca4f5b |
| 1034 |
|
| 1035 |
Missing the #define of O_BINARY. Fixed now. |
| 1036 |
modified: fuzz/fuzz_debuglink.c |
| 1037 |
|
| 1038 |
2023-11-23: David Anderson |
| 1039 |
commit 528f7495b63d73ec46c153be8770753f4b6869f2 |
| 1040 |
|
| 1041 |
Up to date with git log now |
| 1042 |
modified: ChangeLog |
| 1043 |
|
| 1044 |
2023-11-23: David Anderson |
| 1045 |
commit 5c91360e97f3cc6a56edbcc1b5e3fd03ad620d4d |
| 1046 |
|
| 1047 |
Now does a better job of printing DW_OP_const_type |
| 1048 |
and a more complete job of printing a dwarf-expression |
| 1049 |
inside another dwarf-expression (odd as that seems). |
| 1050 |
And now, for DW_OP_const_type checks the cu-relative |
| 1051 |
offset for correctness and reports the target die |
| 1052 |
TAG and name. |
| 1053 |
modified: src/bin/dwarfdump/print_die.c |
| 1054 |
|
| 1055 |
2023-11-22: David Anderson |
| 1056 |
commit 4a62ab06eb85f7b369b5b426039b347caa5ec1c7 |
| 1057 |
|
| 1058 |
Adding printing of a dwarf-expression inside |
| 1059 |
another dwarf expression for certain DW_OP codes. |
| 1060 |
DW_OP_implicit_value |
| 1061 |
DW_OP_entry_value |
| 1062 |
DW_OP_GNU_entry_value |
| 1063 |
modified: src/bin/dwarfdump/print_die.c |
| 1064 |
|
| 1065 |
2023-11-22: David Anderson |
| 1066 |
commit 898058a794322fc51df7b94a491eaa8a57a7e6c7 |
| 1067 |
|
| 1068 |
Changed an unsigned to Dwarf_Unsigned to avoid |
| 1069 |
a warning from Windows C. |
| 1070 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 1071 |
|
| 1072 |
2023-11-22: David Anderson |
| 1073 |
commit 32f5ff2ba4ad978c2b27ed31a9380fd9e5253407 |
| 1074 |
|
| 1075 |
Fixed trailing whitespace. |
| 1076 |
Added a blank line in comments for clarity of doxygen output. |
| 1077 |
modified: src/lib/libdwarf/libdwarf.h |
| 1078 |
|
| 1079 |
2023-11-18: David Anderson |
| 1080 |
commit 6c14db69a3819f43573144bba3d12e4dcdc006fb |
| 1081 |
|
| 1082 |
It's long been the case that for each CU |
| 1083 |
the cu_die would be created twice and one |
| 1084 |
discarded. |
| 1085 |
|
| 1086 |
Now (at least if one uses |
| 1087 |
dwarf_next_cu_header_e() ) that that creation |
| 1088 |
happens only once . |
| 1089 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 1090 |
modified: src/lib/libdwarf/dwarf_find_sigref.c |
| 1091 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 1092 |
modified: src/lib/libdwarf/dwarf_query.c |
| 1093 |
modified: src/lib/libdwarf/dwarf_tied.c |
| 1094 |
|
| 1095 |
2023-11-18: David Anderson |
| 1096 |
commit 4e585d13d5326579fb4cb462a95c292db9e37c3a |
| 1097 |
|
| 1098 |
Adding space characers in | to force rebuild. |
| 1099 |
modified: fuzz/fuzz_crc.c |
| 1100 |
|
| 1101 |
2023-11-17: David Anderson |
| 1102 |
commit efa593bc2ddbcd9734ca0dd4ddfff11e492a155a |
| 1103 |
|
| 1104 |
Latest, with typos fixed. |
| 1105 |
modified: doc/libdwarf.pdf |
| 1106 |
|
| 1107 |
2023-11-17: David Anderson |
| 1108 |
commit 1eadb33958d3d51f3c661a11591e81d43d183796 |
| 1109 |
|
| 1110 |
Corrected spellings and updated the date in the document. |
| 1111 |
modified: doc/libdwarf.dox |
| 1112 |
Corrected a spelling and modified the |
| 1113 |
documentation of dwarf_next_cu_header_d() |
| 1114 |
and dwarf_next_cu_header_e() a little. |
| 1115 |
modified: src/lib/libdwarf/libdwarf.h |
| 1116 |
|
| 1117 |
2023-11-17: David Anderson |
| 1118 |
commit 55517fccd6117174ba0cea9c618cade3622922f8 |
| 1119 |
|
| 1120 |
Up to date with git log |
| 1121 |
modified: ChangeLog |
| 1122 |
|
| 1123 |
2023-11-17: David Anderson |
| 1124 |
commit 31b1ce7a1808c1d05f16c36ad9c52a28e5f6ef80 |
| 1125 |
|
| 1126 |
With the new dwarf_next_cu_header_e() details. |
| 1127 |
modified: doc/libdwarf.pdf |
| 1128 |
|
| 1129 |
2023-11-17: David Anderson |
| 1130 |
commit a312db08715a48318402c4333f0a3385e004cc7b |
| 1131 |
Merge: 865bc397 0732a127 |
| 1132 |
|
| 1133 |
Merge branch 'flagarde-patch-1' |
| 1134 |
The cmake build problem is now fixed. |
| 1135 |
|
| 1136 |
2023-11-17: David Anderson |
| 1137 |
commit 0732a12741368b9eb69a6e4c555700156a2af238 |
| 1138 |
Merge: 865bc397 9693f06f |
| 1139 |
|
| 1140 |
Merge branch 'patch-1' of https://github.com/flagarde/libdwarf-code into flagarde-patch-1 |
| 1141 |
Fixing cmake typo relevant to zstd. |
| 1142 |
|
| 1143 |
2023-11-17: David Anderson |
| 1144 |
commit 865bc397c63e12af080d0717f98d642f07df372b |
| 1145 |
|
| 1146 |
Refactored the main CU loop printing DIEs so |
| 1147 |
the actual loop is significantly shorter and |
| 1148 |
easier to understand. |
| 1149 |
modified: src/bin/dwarfdump/print_die.c |
| 1150 |
|
| 1151 |
2023-11-17: flagarde |
| 1152 |
commit 9693f06ffee3e1f0d0f89fa4b236e63925e064a6 |
| 1153 |
|
| 1154 |
Update FindZSTD.cmake |
| 1155 |
|
| 1156 |
2023-11-16: David Anderson |
| 1157 |
commit be0a501c954388f0ce236f1de9a888e1b07ddafb |
| 1158 |
|
| 1159 |
Added two new fuzz files as examples of using |
| 1160 |
dwarf_next_cu_header_e() and dwarf_siblingof_c() |
| 1161 |
modified: fuzz/Makefile.am |
| 1162 |
|
| 1163 |
2023-11-15: David Anderson |
| 1164 |
commit 027888d3efb83820d132cb8f6ae2b5844466860a |
| 1165 |
|
| 1166 |
Now using dwarf_next_cu_header_e() |
| 1167 |
and removing the old call of dwarf_siblingof_b() as |
| 1168 |
the CU-DIE is returned by dwarf_next_cu_header_e(). |
| 1169 |
modified: src/bin/dwarfdump/print_die.c |
| 1170 |
modified: src/bin/dwarfdump/print_frames.c |
| 1171 |
|
| 1172 |
An internal function changed its prototype so |
| 1173 |
we have both dwarf_siblingof_b() and |
| 1174 |
dwarf_siblingof_c() with essentially no |
| 1175 |
duplicated code. |
| 1176 |
The implementation of dwarf_next_cu_header_e() added. |
| 1177 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 1178 |
|
| 1179 |
An internal function changed prototype. |
| 1180 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 1181 |
|
| 1182 |
one line changed to match toe new prototype for |
| 1183 |
the internal function. |
| 1184 |
modified: src/lib/libdwarf/dwarf_tied.c |
| 1185 |
|
| 1186 |
Added and documented dwarf_next_cu_header_e() |
| 1187 |
and dwarf_siblingof_c(). |
| 1188 |
modified: src/lib/libdwarf/libdwarf.h |
| 1189 |
|
| 1190 |
To match up with the new API function we |
| 1191 |
modify the dummy local version which does nothing. |
| 1192 |
modified: test/test_dwarf_tied.c |
| 1193 |
|
| 1194 |
2023-11-15: David Anderson |
| 1195 |
commit 6e8a397887d6bc8e694c20617cb252a7c8423a4f |
| 1196 |
|
| 1197 |
Documenting dwarf_next_cu_header_e() |
| 1198 |
and dwarf_siblingof_c() |
| 1199 |
and adding important documentation of |
| 1200 |
dwarf_next_cu_header_d() and dwarf_siblingof_b() |
| 1201 |
modified: doc/libdwarf.dox |
| 1202 |
|
| 1203 |
New examples with the new, improved dwarf_next_cu_header_e() |
| 1204 |
modified: doc/checkexamples.c |
| 1205 |
|
| 1206 |
2023-11-13: David Anderson |
| 1207 |
commit 5ea9cce104ae3e21b3f7337892b982a026154376 |
| 1208 |
|
| 1209 |
These are using the new dwarf_next_cu_header_e() |
| 1210 |
new file: fuzz_die_cu_e.c |
| 1211 |
new file: fuzz_die_cu_e_print.c |
| 1212 |
|
| 1213 |
2023-11-13: David Anderson |
| 1214 |
commit 449e194bc4ebce603f03d721c031011eda366c84 |
| 1215 |
|
| 1216 |
Added a line to the Linking against libdwarf.a |
| 1217 |
of an essential step of adding -lz -lzstd |
| 1218 |
modified: doc/libdwarf.dox |
| 1219 |
|
| 1220 |
2023-11-13: David Anderson |
| 1221 |
commit ca40575dc3915093e17b860f65afa666e53afc2a |
| 1222 |
Merge: ec0abd14 853ca654 |
| 1223 |
|
| 1224 |
Merge branch 'jeremy-rifkin-jr/cmake-checks' |
| 1225 |
Approve/commit the CMakeLists.txt improvements. |
| 1226 |
|
| 1227 |
2023-11-13: David Anderson |
| 1228 |
commit 853ca6546dc61c596a72f06d4dfc0c4e410c9a9e |
| 1229 |
Merge: ec0abd14 b0a6d4b5 |
| 1230 |
|
| 1231 |
Merge branch 'jr/cmake-checks' of https://github.com/jeremy-rifkin/libdwarf-code into jeremy-rifkin-jr/cmake-checks |
| 1232 |
fix definition in CMakeLists.txt and remove unused/redundant checks too. |
| 1233 |
|
| 1234 |
2023-11-13: David Anderson |
| 1235 |
commit ec0abd14c6e9a1548e0feaf20196a3db04d02473 |
| 1236 |
|
| 1237 |
With a new coverity scan version it found |
| 1238 |
some questionable things. Where an assignment |
| 1239 |
is redundant. |
| 1240 |
Basically adding or removing an assignment of 0. |
| 1241 |
modified: src/bin/dwarfdump/print_frames.c |
| 1242 |
modified: src/bin/dwarfexample/findfuncbypc.c |
| 1243 |
modified: src/bin/dwarfexample/simplereader.c |
| 1244 |
modified: src/bin/dwarfgen/irepline.h |
| 1245 |
modified: src/lib/libdwarf/dwarf_global.c |
| 1246 |
modified: src/lib/libdwarfp/dwarf_pro_macinfo.c |
| 1247 |
|
| 1248 |
2023-11-13: Jeremy |
| 1249 |
commit b0a6d4b5b9c9412ed345686761447c0e99add2c6 |
| 1250 |
|
| 1251 |
Remove unused and redundant checks, also fix a definition |
| 1252 |
|
| 1253 |
2023-11-12: David Anderson |
| 1254 |
commit b38adecb85a1c0f1ada5ace2c5b259056c0727a5 |
| 1255 |
|
| 1256 |
Clarifying dwarf_next_cu_header_d() |
| 1257 |
modified: doc/checkexamples.c |
| 1258 |
modified: src/lib/libdwarf/libdwarf.h |
| 1259 |
|
| 1260 |
2023-11-11: David Anderson |
| 1261 |
commit fb3209ad69cea4a156b97f4d4b3e5486bae31ab5 |
| 1262 |
Merge: d05a5125 4391e2ba |
| 1263 |
|
| 1264 |
Merge branch 'flagarde-unloop' |
| 1265 |
Improvements in cmake usage. |
| 1266 |
|
| 1267 |
2023-11-11: flagarde |
| 1268 |
commit 4391e2ba824908451737dbae1b7fcfc018c7104d |
| 1269 |
|
| 1270 |
put all options on the beginning to be more user friendly |
| 1271 |
|
| 1272 |
2023-11-11: flagarde |
| 1273 |
commit 6bff62427e5a7c7190b2ace3682ac0131674b368 |
| 1274 |
|
| 1275 |
include it this target commands |
| 1276 |
|
| 1277 |
2023-11-11: flagarde |
| 1278 |
commit 2c5f41b64bf1ee6d9f4f9c491b680b0a7f31e7ef |
| 1279 |
|
| 1280 |
GENNAMES_OUTPUT is never used |
| 1281 |
|
| 1282 |
2023-11-11: flagarde |
| 1283 |
commit 953038c32f59491d9c641bcbf7b5296caf77b0b1 |
| 1284 |
|
| 1285 |
enable test just when needed |
| 1286 |
|
| 1287 |
2023-11-11: flagarde |
| 1288 |
commit ea2efa043b31e5c15d675f076625d58788b8f335 |
| 1289 |
|
| 1290 |
set the header folder in the right place |
| 1291 |
|
| 1292 |
2023-11-11: flagarde |
| 1293 |
commit 526dcda065a73bffd0f52155b1b3992e00014973 |
| 1294 |
|
| 1295 |
Supress useless variables |
| 1296 |
|
| 1297 |
2023-11-11: flagarde |
| 1298 |
commit 7338b5019a02694f814bfc01ecdcd7cbfbfed665 |
| 1299 |
|
| 1300 |
Simplify dwarfp |
| 1301 |
|
| 1302 |
2023-11-11: flagarde |
| 1303 |
commit e55d4f25d71809500c21ad0ea5df8cab0fe5dfb9 |
| 1304 |
|
| 1305 |
simplify dwarf target |
| 1306 |
|
| 1307 |
2023-11-10: David Anderson |
| 1308 |
commit d05a51256d01a04c8eaf47bad3446924006be78b |
| 1309 |
|
| 1310 |
Up to date with latest cmake changes |
| 1311 |
modified: ChangeLog |
| 1312 |
|
| 1313 |
2023-11-10: David Anderson |
| 1314 |
commit f697a9077c6263bcb12a7ef2ae3bc50c74be61ba |
| 1315 |
Merge: c8451af2 cede2bd7 |
| 1316 |
|
| 1317 |
Merge branch 'flagarde-cmake' |
| 1318 |
Simplifying cmake CMakeLists.txt |
| 1319 |
and remove a leftover reference to libelf. |
| 1320 |
|
| 1321 |
2023-11-11: flagarde |
| 1322 |
commit cede2bd7d3666c430cea1f0ea8131ab0a246ff31 |
| 1323 |
|
| 1324 |
Libelf is gone |
| 1325 |
|
| 1326 |
2023-11-11: flagarde |
| 1327 |
commit a85b6e8a74693634f7edd525941e58cbafe4443b |
| 1328 |
|
| 1329 |
Simplify the logic |
| 1330 |
|
| 1331 |
2023-11-11: flagarde |
| 1332 |
commit 9e4395a7d609fec0cc72a1df6be8e62b51e1c4fe |
| 1333 |
|
| 1334 |
Zlib and ZSTD are only used in libdwarf so make it PRIVATE |
| 1335 |
|
| 1336 |
2023-11-11: flagarde |
| 1337 |
commit f6523085f94b23acea1648e04e3e6fdf05ee8131 |
| 1338 |
|
| 1339 |
Remove redundant line |
| 1340 |
|
| 1341 |
2023-11-11: flagarde |
| 1342 |
commit 66edaed74e9deb45a583d938b438c05077539fa0 |
| 1343 |
|
| 1344 |
DWARF_LIBS is never used |
| 1345 |
|
| 1346 |
2023-11-08: David Anderson |
| 1347 |
commit c8451af25f5007f6cbb45ac6e0ca5ced43307614 |
| 1348 |
Merge: 2eabd6e2 183e5ea6 |
| 1349 |
|
| 1350 |
Merge branch 'flagarde-zstd' |
| 1351 |
Cleaning up cmake zstd references to be more standard cmake |
| 1352 |
usage. Adding cmakedefine for zstd. |
| 1353 |
|
| 1354 |
2023-11-08: David Anderson |
| 1355 |
commit 183e5ea6c96756c792e5f62a2c16df3953b63907 |
| 1356 |
Merge: 2eabd6e2 e112a648 |
| 1357 |
|
| 1358 |
Merge branch 'zstd' of https://github.com/flagarde/libdwarf-code into flagarde-zstd |
| 1359 |
Cmake correction for libzstd |
| 1360 |
|
| 1361 |
2023-11-08: David Anderson |
| 1362 |
commit 2eabd6e2a6d4de9b39e4175072f57206dcab0722 |
| 1363 |
Merge: e1a4cc53 245cc0d6 |
| 1364 |
|
| 1365 |
Merge branch 'flagarde-zlib' |
| 1366 |
Removing some awkward cmake code and switch to find_package(). |
| 1367 |
Much simpler. |
| 1368 |
|
| 1369 |
2023-11-08: flagarde |
| 1370 |
commit e112a64806dd4fc5226117ae7ec77e900f7d4968 |
| 1371 |
|
| 1372 |
Update config.h.cmake |
| 1373 |
|
| 1374 |
2023-11-08: flagarde |
| 1375 |
commit bf09d993ce42985d7d5233b6a9d7e94b00cf9a5f |
| 1376 |
|
| 1377 |
propagate to config.h |
| 1378 |
|
| 1379 |
2023-11-08: flagarde |
| 1380 |
commit 245cc0d6712543fe7bfbecca69a15813a63b605a |
| 1381 |
|
| 1382 |
propagate HAVE_ZLIB_H to config.h |
| 1383 |
|
| 1384 |
2023-11-08: flagarde |
| 1385 |
commit 218bd5c1246b2cad79ef2811777db63512ad5c4c |
| 1386 |
|
| 1387 |
Use FindZSTD |
| 1388 |
|
| 1389 |
2023-11-08: flagarde |
| 1390 |
commit d76d3c04dad115b02ea157aa9eb6115a62876cb8 |
| 1391 |
|
| 1392 |
Use FindZLIB.cmake provided by CMake |
| 1393 |
|
| 1394 |
2023-11-07: David Anderson |
| 1395 |
commit e1a4cc53c3e82727964e1d1e0d8ef1340e4c7152 |
| 1396 |
Merge: e9355ca7 583ece00 |
| 1397 |
|
| 1398 |
Merge branch 'jeremy-rifkin-cmake-improvements' |
| 1399 |
|
| 1400 |
Adds cmake GNUInstallDirs for cross platform installs. |
| 1401 |
Introduces a set of CMAKE_INSTALL_* variables |
| 1402 |
which do not conflict with anything in the libdwarf project. |
| 1403 |
A description in some detail is in the book |
| 1404 |
Provessional CMake (I have no financial interest |
| 1405 |
in the book). |
| 1406 |
|
| 1407 |
2023-11-06: David Anderson |
| 1408 |
commit 583ece00ed0031e928dc925221922661e51cb053 |
| 1409 |
Merge: e9355ca7 6216e185 |
| 1410 |
|
| 1411 |
Merge branch 'cmake-improvements' of https://github.com/jeremy-rifkin/libdwarf-code into jeremy-rifkin-cmake-improvements |
| 1412 |
Looking at cmake changes |
| 1413 |
|
| 1414 |
2023-11-06: Jeremy |
| 1415 |
commit 6216e185863f41d6f19ab850caabfff7326020d7 |
| 1416 |
|
| 1417 |
Try to fix include issues |
| 1418 |
|
| 1419 |
2023-11-06: David Anderson |
| 1420 |
commit e9355ca7a32dcaef96dfb2be9641b0f8b0654a85 |
| 1421 |
|
| 1422 |
Accidentally omitted an ifndef on O_BINARY. Fixed. |
| 1423 |
modified: fuzz_crc.c |
| 1424 |
|
| 1425 |
2023-11-06: David Anderson |
| 1426 |
commit 1e19293b64bf293a2e274f8881681807f01e8674 |
| 1427 |
Merge: 8698def7 7f806b48 |
| 1428 |
|
| 1429 |
Merge branch 'jeremy-rifkin-cmake-improvements' |
| 1430 |
Fixes a cmake warning and allows more choice |
| 1431 |
in cmake about what to build and whether PIC required. |
| 1432 |
|
| 1433 |
2023-11-06: David Anderson |
| 1434 |
commit 7f806b481281ab81d189036845fa2bb30ad773f4 |
| 1435 |
Merge: 8698def7 8b163d80 |
| 1436 |
|
| 1437 |
Merge branch 'cmake-improvements' of https://github.com/jeremy-rifkin/libdwarf-code into jeremy-refken-cmake-improvements |
| 1438 |
|
| 1439 |
Want a clearer view of rifkin changes for cmake |
| 1440 |
|
| 1441 |
2023-11-06: Jeremy |
| 1442 |
commit 8b163d80aa30afd37027e826f6e8becd8e62ee2f |
| 1443 |
|
| 1444 |
Make LIBDWARF_STATIC, LIBDWARF_BUILD, and PIC public definitions |
| 1445 |
|
| 1446 |
2023-11-06: Jeremy |
| 1447 |
commit 8687cd60eadf6bf37a4a59df96ceb48e5c35faa9 |
| 1448 |
|
| 1449 |
Fixes |
| 1450 |
|
| 1451 |
2023-11-05: David Anderson |
| 1452 |
commit 8698def74a06747acbbb0cf2037a750a38d066a3 |
| 1453 |
|
| 1454 |
A new file, test/canonicalpath.py, |
| 1455 |
was left out which would make basic |
| 1456 |
debuglink tests fail from a distribution without this file. |
| 1457 |
modified: test/Makefile.am |
| 1458 |
|
| 1459 |
2023-11-05: David Anderson |
| 1460 |
commit 2a0015b0d63d26d8f1190b1eab0a8ac881607008 |
| 1461 |
|
| 1462 |
A message spelling error correction: |
| 1463 |
diectory->directory |
| 1464 |
modified: scripts/allsimplebuilds.sh |
| 1465 |
|
| 1466 |
2023-11-05: Jeremy |
| 1467 |
commit 4ca6a7bc86b27d56741923f03c15b5aa274efc28 |
| 1468 |
|
| 1469 |
Set CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS |
| 1470 |
|
| 1471 |
2023-11-05: Jeremy |
| 1472 |
commit 5799cc056302a7f909d9a31863bd0a40ac7ebe5b |
| 1473 |
|
| 1474 |
Bump to 3.5 |
| 1475 |
|
| 1476 |
2023-11-05: Jeremy |
| 1477 |
commit 10d661e45a6b2199f75e885c132b1180511fb50b |
| 1478 |
|
| 1479 |
Some small cmake improvements |
| 1480 |
|
| 1481 |
2023-11-04: David Anderson |
| 1482 |
commit ee5b78e4bd66063965c7ca607205fd11ddabf9a2 |
| 1483 |
|
| 1484 |
Now freebsd uses cross-platform-actions, |
| 1485 |
as vmactions no longer works for freebsd. |
| 1486 |
modified: test.yml |
| 1487 |
|
| 1488 |
2023-11-04: David Anderson |
| 1489 |
commit ca727c34a251051515b0df6a1119c763fda2f6e5 |
| 1490 |
|
| 1491 |
trial h |
| 1492 |
|
| 1493 |
2023-11-04: David Anderson |
| 1494 |
commit 0d450b7d5e947c1f2ddd111ee567037d599d9c3e |
| 1495 |
|
| 1496 |
Passes actionlint |
| 1497 |
modified: freebsd_cmake.yml |
| 1498 |
|
| 1499 |
2023-11-04: David Anderson |
| 1500 |
commit b23b987345456773caafe70d865b1f7426f35e84 |
| 1501 |
|
| 1502 |
trial g |
| 1503 |
modified: freebsd_cmake.yml |
| 1504 |
|
| 1505 |
2023-11-04: David Anderson |
| 1506 |
commit df6b15bbff0e82ea7d7b5cbdfc19981bdec57f11 |
| 1507 |
|
| 1508 |
Trial-f |
| 1509 |
modified: freebsd_cmake.yml |
| 1510 |
|
| 1511 |
2023-11-04: David Anderson |
| 1512 |
commit 3a97aab67b3a5905ba847c5e13b8ca1930deeb53 |
| 1513 |
|
| 1514 |
trial |
| 1515 |
modified: freebsd_cmake.yml |
| 1516 |
|
| 1517 |
2023-11-04: David Anderson |
| 1518 |
commit d893e75e262a50a2569ac3ed24f8b7a0a22df9ad |
| 1519 |
|
| 1520 |
Trial |
| 1521 |
modified: freebsd_cmake.yml |
| 1522 |
|
| 1523 |
2023-11-04: David Anderson |
| 1524 |
commit 0de5c2dfc3d976ad49222bfa802483f038f1ead0 |
| 1525 |
|
| 1526 |
Fixing |
| 1527 |
modified: freebsd_cmake.yml |
| 1528 |
|
| 1529 |
2023-11-04: David Anderson |
| 1530 |
commit 4cb15b806a6fdad75cd0704c9059bf66636183e5 |
| 1531 |
|
| 1532 |
Trying again |
| 1533 |
modified: freebsd_cmake.yml |
| 1534 |
|
| 1535 |
2023-11-04: David Anderson |
| 1536 |
commit 48335681e96eebd4e52936cb2dcec397b4b1e5a3 |
| 1537 |
|
| 1538 |
Switch to cross-platform-actions |
| 1539 |
modified: freebsd_cmake.yml |
| 1540 |
|
| 1541 |
2023-11-04: David Anderson |
| 1542 |
commit d89230e0ec759693f271554c75b1f7c597e9b85b |
| 1543 |
|
| 1544 |
commenting out a run that hangs starting vm |
| 1545 |
modified: test.yml |
| 1546 |
|
| 1547 |
2023-11-04: David Anderson |
| 1548 |
commit cc47409a15926dc09a0bfbd9548deda51de68d7e |
| 1549 |
|
| 1550 |
Removing a run that hangs booting freebsd |
| 1551 |
modified: test.yml |
| 1552 |
|
| 1553 |
2023-11-04: David Anderson |
| 1554 |
commit 0cfe7788ba99cd0cf29be820c751b73520f9b866 |
| 1555 |
|
| 1556 |
Improved the order of libdwarf calls in examplee, making |
| 1557 |
it easier to release unneeded memory. |
| 1558 |
modified: doc/checkexamples.c |
| 1559 |
|
| 1560 |
2023-11-04: David Anderson |
| 1561 |
commit 2a6fb5361d9d2da2e97a5d2c9679435cc722667a |
| 1562 |
|
| 1563 |
Making examplee more complete. |
| 1564 |
modified: checkexamples.c |
| 1565 |
|
| 1566 |
2023-11-04: David Anderson |
| 1567 |
commit a0c5696fa95eed566f2ea46a35bb85fab00deb88 |
| 1568 |
|
| 1569 |
Create CODE_OF_CONDUCT.md |
| 1570 |
|
| 1571 |
2023-11-04: David Anderson |
| 1572 |
commit 93098873433f0ef7fa0d4a3631aa72fbbddf8cf6 |
| 1573 |
|
| 1574 |
now with dwarf_srcfiles() doc changes here. |
| 1575 |
modified: ChangeLog |
| 1576 |
|
| 1577 |
2023-11-04: David Anderson |
| 1578 |
commit 2727bb089899417a73657d1918aac5758d2f9a46 |
| 1579 |
|
| 1580 |
Now with much improved doc of dwarf_srcfiles() |
| 1581 |
modified: doc/libdwarf.pdf |
| 1582 |
|
| 1583 |
2023-11-04: David Anderson |
| 1584 |
commit a18672597c58452ed932b9937fe873f7110421eb |
| 1585 |
|
| 1586 |
Better documentation of dwarf_srcfiles() and |
| 1587 |
accessing the version number of a line table. |
| 1588 |
modified: src/lib/libdwarf/libdwarf.h |
| 1589 |
|
| 1590 |
2023-11-04: David Anderson |
| 1591 |
commit 4bcf94ee30ffc6d424b776917c984d33bb64316f |
| 1592 |
|
| 1593 |
Corrected the comment about compiling this. |
| 1594 |
Added a missing local variable declaration. |
| 1595 |
modified: doc/checkexamples.c |
| 1596 |
|
| 1597 |
2023-11-04: David Anderson |
| 1598 |
commit a189179b3c0a447f23c80ddc3849883be2a12650 |
| 1599 |
|
| 1600 |
With latest doc updates shown. |
| 1601 |
modified: ChangeLog |
| 1602 |
|
| 1603 |
2023-11-04: David Anderson |
| 1604 |
commit 4e2c435a38cd7eb0c05b3ae1616e599cc176a20f |
| 1605 |
|
| 1606 |
Improving format and content of |
| 1607 |
dwarf_srcfiles() documentation. Now with 4 November |
| 1608 |
date. |
| 1609 |
modified: doc/libdwarf.dox |
| 1610 |
modified: doc/libdwarf.pdf |
| 1611 |
modified: src/lib/libdwarf/libdwarf.h |
| 1612 |
|
| 1613 |
2023-11-03: David Anderson |
| 1614 |
commit 21e4498903193e0b675dff341e61e344870ac8b0 |
| 1615 |
|
| 1616 |
Updated. |
| 1617 |
modified: ChangeLog |
| 1618 |
|
| 1619 |
2023-11-03: David Anderson |
| 1620 |
commit 7c714926d5680fe1dc4806d20cce2ac8f66fb1eb |
| 1621 |
|
| 1622 |
What canonicalpath.py returns |
| 1623 |
for some directories is now ...std... |
| 1624 |
instead of the previous ..std.. |
| 1625 |
modified: test/debuglink.base |
| 1626 |
modified: test/debuglink2.base |
| 1627 |
|
| 1628 |
The switch to canonicalpath.py was not correctly |
| 1629 |
handled. Now fixed. |
| 1630 |
modified: test/test_debuglink-a.sh |
| 1631 |
modified: test/test_debuglink-b.sh |
| 1632 |
|
| 1633 |
2023-11-03: David Anderson |
| 1634 |
commit 40e09c31500c492c33b09f52c82e4e40941d5721 |
| 1635 |
|
| 1636 |
Minor tweaks |
| 1637 |
modified: doc/libdwarf.dox |
| 1638 |
Much more complete description of what dwarf_srcfiles() |
| 1639 |
returns and how to use it. |
| 1640 |
modified: src/lib/libdwarf/libdwarf.h |
| 1641 |
|
| 1642 |
2023-11-03: David Anderson |
| 1643 |
commit 5b2b463f756660bbd20fd0746a54503536770c71 |
| 1644 |
|
| 1645 |
Small changes so that we can pass |
| 1646 |
regression testing on MacOS and hopefully msys2. |
| 1647 |
modified: ChangeLog |
| 1648 |
|
| 1649 |
2023-11-03: David Anderson |
| 1650 |
commit d00ec74b9eadbdc6e0e83089944cd59841ec63fc |
| 1651 |
|
| 1652 |
Removing debug print statements. |
| 1653 |
modified: test/canonicalpath.py |
| 1654 |
|
| 1655 |
2023-11-02: David Anderson |
| 1656 |
commit 9530b4a8100ea8e931d5b3d552e5d688bcdb94bb |
| 1657 |
|
| 1658 |
This is the same as regressiontests/script/canonicalpath.py |
| 1659 |
new file: canonicalpath.py |
| 1660 |
Now use canonicalpath.py and ignore test_transformpath.py |
| 1661 |
modified: test_debuglink-a.sh |
| 1662 |
modified: test_debuglink-b.sh |
| 1663 |
|
| 1664 |
2023-11-02: David Anderson |
| 1665 |
commit 3df08b8af737c11f774c1586460ad5d8c443d3c0 |
| 1666 |
|
| 1667 |
These were not treating O_BINARY correctly and/or |
| 1668 |
failing to use it at all. It is necessary on Windows |
| 1669 |
to read object files properly. |
| 1670 |
No change in logic at all. |
| 1671 |
modified: fuzz/fuzz_aranges.c |
| 1672 |
modified: fuzz/fuzz_crc.c |
| 1673 |
modified: fuzz/fuzz_crc_32.c |
| 1674 |
modified: fuzz/fuzz_debug_addr_access.c |
| 1675 |
modified: fuzz/fuzz_debug_str.c |
| 1676 |
modified: fuzz/fuzz_debuglink.c |
| 1677 |
modified: fuzz/fuzz_die_cu.c |
| 1678 |
modified: fuzz/fuzz_die_cu_attrs.c |
| 1679 |
modified: fuzz/fuzz_die_cu_attrs_loclist.c |
| 1680 |
modified: fuzz/fuzz_die_cu_info1.c |
| 1681 |
modified: fuzz/fuzz_die_cu_offset.c |
| 1682 |
modified: fuzz/fuzz_die_cu_print.c |
| 1683 |
modified: fuzz/fuzz_dnames.c |
| 1684 |
modified: fuzz/fuzz_gdbindex.c |
| 1685 |
modified: fuzz/fuzz_globals.c |
| 1686 |
modified: fuzz/fuzz_gnu_index.c |
| 1687 |
modified: fuzz/fuzz_init_b.c |
| 1688 |
modified: fuzz/fuzz_init_binary.c |
| 1689 |
modified: fuzz/fuzz_macro_dwarf4.c |
| 1690 |
modified: fuzz/fuzz_macro_dwarf5.c |
| 1691 |
modified: fuzz/fuzz_rng.c |
| 1692 |
modified: fuzz/fuzz_set_frame_all.c |
| 1693 |
modified: fuzz/fuzz_showsectgrp.c |
| 1694 |
modified: fuzz/fuzz_simplereader_tu.c |
| 1695 |
modified: fuzz/fuzz_srcfiles.c |
| 1696 |
modified: fuzz/fuzz_stack_frame_access.c |
| 1697 |
modified: fuzz/fuzz_str_offsets.c |
| 1698 |
modified: fuzz/fuzz_tie.c |
| 1699 |
modified: fuzz/fuzz_xuindex.c |
| 1700 |
|
| 1701 |
Fixing the reporting of filenames so that even on msys2 |
| 1702 |
the report is sensible (for msys2) |
| 1703 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 1704 |
|
| 1705 |
Tweak to make it work. |
| 1706 |
modified: src/lib/libdwarf/meson.build |
| 1707 |
|
| 1708 |
Introducing the correct header ifdefs involving DWP_API |
| 1709 |
to match the concept in libdwarf.h |
| 1710 |
modified: src/lib/libdwarfp/libdwarfp.h |
| 1711 |
|
| 1712 |
2023-11-02: David Anderson |
| 1713 |
commit ca7c784d5e45baf132adf0238bff4ca835fa0f29 |
| 1714 |
|
| 1715 |
A new month, so a change in the titles. |
| 1716 |
modified: bugxml/dwarfbug.html |
| 1717 |
modified: bugxml/dwarfbuglohi.html |
| 1718 |
|
| 1719 |
2023-11-02: David Anderson |
| 1720 |
commit bca7f325467a5dd11d5f8b6afc8594b269822100 |
| 1721 |
|
| 1722 |
Changed a suggestion from buildandreleasetest.sh to allsimplebuilds.sh |
| 1723 |
as that makes more sense here. |
| 1724 |
modified: READMEmacos.md |
| 1725 |
|
| 1726 |
2023-10-31: David Anderson |
| 1727 |
commit e00930a69244025dda57b53238bc6231117c9bd9 |
| 1728 |
|
| 1729 |
Now we test O_BINARY and only if not already set set it to zero. |
| 1730 |
Because in the msys2 windows environment O_BINARY has a value already |
| 1731 |
(from system headers). So we avoid a poinless warning. |
| 1732 |
modified: fuzz/fuzz_aranges.c |
| 1733 |
modified: fuzz/fuzz_debug_str.c |
| 1734 |
modified: fuzz/fuzz_dnames.c |
| 1735 |
modified: fuzz/fuzz_gdbindex.c |
| 1736 |
modified: fuzz/fuzz_globals.c |
| 1737 |
modified: fuzz/fuzz_gnu_index.c |
| 1738 |
modified: fuzz/fuzz_init_b.c |
| 1739 |
modified: fuzz/fuzz_macro_dwarf4.c |
| 1740 |
modified: fuzz/fuzz_set_frame_all.c |
| 1741 |
modified: fuzz/fuzz_str_offsets.c |
| 1742 |
|
| 1743 |
2023-10-30: David Anderson |
| 1744 |
commit 0a4ba6b0b5dcee6a1876d660c0286960e857a5d6 |
| 1745 |
|
| 1746 |
Correcting the code looking for libz/libzstd |
| 1747 |
in /opt/local or /usr/local. |
| 1748 |
|
| 1749 |
DO NOT USE THIS COMMIT |
| 1750 |
it is just to save this correction and |
| 1751 |
further changes will be madel |
| 1752 |
modified: meson.build |
| 1753 |
modified: src/lib/libdwarf/meson.build |
| 1754 |
|
| 1755 |
2023-10-30: David Anderson |
| 1756 |
commit 667a6fa8aa7f194a93feae917807033f876fae91 |
| 1757 |
|
| 1758 |
Simplifying. We now require both zlib and libzstd |
| 1759 |
to be present for decompressing object sections. |
| 1760 |
If one is missing it is the same as both missing |
| 1761 |
and then we build libdwarf with no decompression |
| 1762 |
capability. |
| 1763 |
It's much simpler code this way. |
| 1764 |
|
| 1765 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 1766 |
|
| 1767 |
2023-10-25: David Anderson |
| 1768 |
commit b778c2a9a895bfe7e71aa6c1159a59741579a209 |
| 1769 |
|
| 1770 |
Checking for an app (such as cmake) was |
| 1771 |
not properly dealing with the app is not present |
| 1772 |
situation. Resulted in warning. Fixed. |
| 1773 |
modified: scripts/allsimplebuilds.sh |
| 1774 |
|
| 1775 |
2023-10-25: David Anderson |
| 1776 |
commit 45c4b785359b32ff20a9325e2776855ee9abfaa1 |
| 1777 |
|
| 1778 |
Now meson can find and use zlib, libzstd even |
| 1779 |
if they are in /usr/local/lib instead of system directories. |
| 1780 |
Or in /opt/local/lib etc. No user action required. |
| 1781 |
|
| 1782 |
We no longer use any deprecated meson functions. |
| 1783 |
The meson version required is still 0.53. |
| 1784 |
modified: meson.build |
| 1785 |
modified: test/meson.build |
| 1786 |
|
| 1787 |
2023-10-25: David Anderson |
| 1788 |
commit f04d7df32ff612de1f24dcc47d5c2faea618e017 |
| 1789 |
|
| 1790 |
Better reporting on zlib libzstd, hopefully better |
| 1791 |
searching too. |
| 1792 |
modified: meson.build |
| 1793 |
|
| 1794 |
2023-10-25: David Anderson |
| 1795 |
commit d51dd661329891a7919feabc47f35760314fee00 |
| 1796 |
|
| 1797 |
Brought up to date. |
| 1798 |
modified: ChangeLog |
| 1799 |
|
| 1800 |
2023-10-25: David Anderson |
| 1801 |
commit b5c2aa54344f4a725ecb7e81cd7f92d68e3d48ba |
| 1802 |
|
| 1803 |
Now using project_build_root() and |
| 1804 |
project_source_root() instead of the |
| 1805 |
deprecated functions build_root() and |
| 1806 |
source_root(). |
| 1807 |
|
| 1808 |
Updated the required version to 0.56 as this |
| 1809 |
is the version required to support the project*() |
| 1810 |
commands we now use. |
| 1811 |
|
| 1812 |
Also added code to look in specific directories |
| 1813 |
beyond the standard locations |
| 1814 |
for zlib and libzstd (/opt/local/lib and /usr/local/lib) |
| 1815 |
so the build can work in more environments. |
| 1816 |
modified: meson.build |
| 1817 |
modified: test/meson.build |
| 1818 |
|
| 1819 |
2023-10-25: zerons |
| 1820 |
commit 809f32b7664f04a9cec28dd1a518725190a26cbd |
| 1821 |
|
| 1822 |
handle DW_AT_data_bit_offset in get_attr_value() (#189) |
| 1823 |
|
| 1824 |
An oversight that this pull fixes. |
| 1825 |
|
| 1826 |
2023-10-24: David Anderson |
| 1827 |
commit 0e6464b2a55c6a3355695ef9500b79c5d8863ed7 |
| 1828 |
|
| 1829 |
Minor correctsions for meson |
| 1830 |
modified: README.md |
| 1831 |
|
| 1832 |
Toward making it all work more places. |
| 1833 |
modified: meson.build |
| 1834 |
|
| 1835 |
Making it more tolerant of warnings from compilers. |
| 1836 |
modified: scripts/allsimplebuilds.sh |
| 1837 |
|
| 1838 |
Removing unused locals. |
| 1839 |
modified: src/bin/dwarfgen/createirepfrombinary.cc |
| 1840 |
modified: src/bin/dwarfgen/dwarfgen.cc |
| 1841 |
modified: src/lib/libdwarfp/dwarf_pro_section.c |
| 1842 |
|
| 1843 |
Correcting build args for libdwarfp |
| 1844 |
modified: src/lib/libdwarfp/meson.build |
| 1845 |
|
| 1846 |
Removing obsolete ifdef as we do not test that C90 header files exist |
| 1847 |
modified: test/test_macrocheck.c |
| 1848 |
|
| 1849 |
2023-10-22: David Anderson |
| 1850 |
commit ea1d31e8f88104fcf9a86f529615981b964b7b66 |
| 1851 |
|
| 1852 |
Now present with just a 2 line comment. |
| 1853 |
new file: README |
| 1854 |
|
| 1855 |
2023-10-22: David Anderson |
| 1856 |
commit 0402c07c9d87dc9aa76681ce11de8f0fc3c35b43 |
| 1857 |
|
| 1858 |
A change to Makefile.am means we can |
| 1859 |
delete this now, leaving README.md . |
| 1860 |
deleted: README |
| 1861 |
|
| 1862 |
2023-10-22: David Anderson |
| 1863 |
commit d5f0e75ee93986404d69c96d483e3ade6a520a2a |
| 1864 |
|
| 1865 |
All have basically the same line added to each executable(), |
| 1866 |
adding a "link_args :" so that the -fsanitize options |
| 1867 |
are passed to the link step as well as compile steps |
| 1868 |
when running |
| 1869 |
the gcc -fsanitize options. |
| 1870 |
modified: meson.build |
| 1871 |
modified: src/bin/attr_form/meson.build |
| 1872 |
modified: src/bin/buildopstab/meson.build |
| 1873 |
modified: src/bin/builduritable/meson.build |
| 1874 |
modified: src/bin/dwarfdump/meson.build |
| 1875 |
modified: src/bin/dwarfexample/meson.build |
| 1876 |
modified: src/bin/dwarfgen/meson.build |
| 1877 |
modified: src/bin/gennames/meson.build |
| 1878 |
modified: src/bin/tag_attr/meson.build |
| 1879 |
modified: src/bin/tag_tree/meson.build |
| 1880 |
modified: test/meson.build |
| 1881 |
|
| 1882 |
2023-10-21: David Anderson |
| 1883 |
commit f1408bf9e7c98654173fbf5672ee3671e7db0e21 |
| 1884 |
|
| 1885 |
Documented new fde 0.9.0 fde frame function |
| 1886 |
in the Changes section |
| 1887 |
modified: doc/libdwarf.dox |
| 1888 |
|
| 1889 |
2023-10-21: David Anderson |
| 1890 |
commit 37c0c26e48754ee69288d73f238d4f54ce957fdb |
| 1891 |
|
| 1892 |
Now checks if required functiosn exist and sets |
| 1893 |
HAVE_UTF8 inconfig so dwarfdump built with meson |
| 1894 |
and print UTF8 properly. |
| 1895 |
modified: meson.build |
| 1896 |
|
| 1897 |
Added options sanitize as in -Dsanitize=true |
| 1898 |
so we can use -fsanitiz3 |
| 1899 |
and wall as in -Dwall=false |
| 1900 |
so we can turn off warnings as errors. |
| 1901 |
modified: meson_options.txt |
| 1902 |
|
| 1903 |
2023-10-21: David Anderson |
| 1904 |
commit 6504fba6ee02c47517489040afa574a040166478 |
| 1905 |
|
| 1906 |
All these additionally compile dwarfdump_dd_utf8.c so they |
| 1907 |
build with meson (required for swithching regressiontests |
| 1908 |
to building with meson) |
| 1909 |
modified: src/bin/attr_form/meson.build |
| 1910 |
modified: src/bin/dwarfdump/meson.build |
| 1911 |
modified: src/bin/tag_attr/meson.build |
| 1912 |
modified: src/bin/tag_tree/meson.build |
| 1913 |
|
| 1914 |
2023-10-21: David Anderson |
| 1915 |
commit 15d2a8aed6f46f24ba907c181efd3789fec499f5 |
| 1916 |
|
| 1917 |
libdwarfp was misnamed resulting in generating |
| 1918 |
src/lib/libdwarfp/liblibdwarfp.a |
| 1919 |
Fixed now. |
| 1920 |
modified: src/lib/libdwarfp/meson.build |
| 1921 |
|
| 1922 |
2023-10-21: David Anderson |
| 1923 |
commit a377f4f21942e20b8a391a3092d402eb3ff09c3f |
| 1924 |
|
| 1925 |
Left-over references to libelf functions removed. |
| 1926 |
modified: src/lib/libdwarfp/meson.build |
| 1927 |
|
| 1928 |
2023-10-21: David Anderson |
| 1929 |
commit d493bd62b64f157b27529da897ddaf7b1678e33a |
| 1930 |
|
| 1931 |
Added another example of getting frame registers |
| 1932 |
using the latest new frame function in libdwarf.h, |
| 1933 |
modified: src/bin/dwarfexample/frame1.c |
| 1934 |
|
| 1935 |
2023-10-21: David Anderson |
| 1936 |
commit ec9e7b682f198fdc4b735ca5487b724263b95584 |
| 1937 |
|
| 1938 |
When printing lines about dSYM or debuglink paths |
| 1939 |
returned change the prefix of the output to $HOME |
| 1940 |
if that is equivalent to what is the returned string. |
| 1941 |
This enables regressiontests to work |
| 1942 |
in more system types with no errors. |
| 1943 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 1944 |
|
| 1945 |
2023-10-18: David Anderson |
| 1946 |
commit 67215ca4b6f42ce2b591335dd6cf6b384b782b11 |
| 1947 |
|
| 1948 |
One line had an incorrect indent (per project |
| 1949 |
codingstandards). Fixed. |
| 1950 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 1951 |
|
| 1952 |
2023-10-18: Ritesh Oedayrajsingh Varma |
| 1953 |
commit 17de6b8f363f0dc978b6f844c6f1657ebc46f627 |
| 1954 |
|
| 1955 |
Added `dwarf_get_fde_info_for_all_regs3_b` which returns the subsequent PC and whether there are more rows, for easy iteration through all rows in an FDE. This is similar to what `dwarf_get_fde_info_for_reg3_c` already does. (#188) |
| 1956 |
|
| 1957 |
2023-10-13: David Anderson |
| 1958 |
commit 82798b35a5dbb6d0a7a6ddddac0f2e7dc484f4ff |
| 1959 |
|
| 1960 |
No need to check for automake in a release, it's not needed |
| 1961 |
unless one is building from a git clone. |
| 1962 |
|
| 1963 |
modified: scripts/allsimplebuilds.sh |
| 1964 |
|
| 1965 |
A compiler noticed a used-but-not-set local variable. |
| 1966 |
Now removed. |
| 1967 |
modified: src/bin/dwarfexample/simplereader.c |
| 1968 |
|
| 1969 |
2023-10-13: David Anderson |
| 1970 |
commit 17039c9d808e49ab64b04715ca1a752a0bfc7337 |
| 1971 |
|
| 1972 |
Specify what build files to emit from cmake |
| 1973 |
because the default is different on some systems. |
| 1974 |
Here we choose |
| 1975 |
-G "Unix Makefiles" |
| 1976 |
whereas in scripts/allsimplebuilds.sh we use |
| 1977 |
-G Ninja |
| 1978 |
|
| 1979 |
modified: scripts/buildandreleasetest.sh |
| 1980 |
|
| 1981 |
2023-10-13: David Anderson |
| 1982 |
commit 7754301b7063809580c77d1d880c7e193d30f257 |
| 1983 |
|
| 1984 |
Left off a back-quote(`) in new scipt lines ... which broke this script for |
| 1985 |
a few minutes. |
| 1986 |
modified: scripts/buildandreleasetest.sh |
| 1987 |
|
| 1988 |
2023-10-13: David Anderson |
| 1989 |
commit e6eea37b489b22024b8aa5b2ec97e8655c62089a |
| 1990 |
|
| 1991 |
Added words about scripts/allsimplebuilds.sh |
| 1992 |
modified: READMEwin-msys2.md |
| 1993 |
|
| 1994 |
2023-10-13: David Anderson |
| 1995 |
commit 0ff5c18bc10bb110c92fd92ac7b605b6045bfe45 |
| 1996 |
|
| 1997 |
Added scripts/allsimplebuilds.sh to the files in the distribution. |
| 1998 |
modified: Makefile.am |
| 1999 |
|
| 2000 |
Added a few words about scripts/allsimplebuilds.sh |
| 2001 |
modified: README.md |
| 2002 |
|
| 2003 |
Modified to remove accidental cmake -DWALL in two places and remove |
| 2004 |
two instances of 'meson configure' which were not |
| 2005 |
required and which, on msys2, forced one to page through |
| 2006 |
by hand output like 'more' that showed all the meson options. |
| 2007 |
modified: scripts/allsimplebuilds.sh |
| 2008 |
|
| 2009 |
2023-10-13: David Anderson |
| 2010 |
commit e5cf21b004c1b85834c9396062aee5a311c2c82c |
| 2011 |
|
| 2012 |
Adding output of the number of minutes |
| 2013 |
at the end of the run of each script |
| 2014 |
modified: scripts/buildandreleasetest.sh |
| 2015 |
modified: scripts/run-all-tests.sh |
| 2016 |
|
| 2017 |
2023-10-13: David Anderson |
| 2018 |
commit aa1b4c6f3b16b241b2be8848e3f75b5a86806867 |
| 2019 |
|
| 2020 |
New script demonstrating useful simple builds |
| 2021 |
new file: scripts/allsimplebuilds.sh |
| 2022 |
|
| 2023 |
2023-10-11: David Anderson |
| 2024 |
commit ef4b5ebd89ef35c2b92f8ba7d61c2f92f671bf44 |
| 2025 |
|
| 2026 |
Minor tweak to correct a typo (only affected windows msys2 builds) |
| 2027 |
modified: scripts/buildandreleasetest.sh |
| 2028 |
|
| 2029 |
2023-10-11: David Anderson |
| 2030 |
commit 88f9a6619cff179da4fcc19f8a25e465292d87ec |
| 2031 |
|
| 2032 |
All have changes so they work on windows msys2 as well |
| 2033 |
as unix-like systems. |
| 2034 |
modified: test/test_debuglink-a.sh |
| 2035 |
modified: test/test_debuglink-b.sh |
| 2036 |
modified: test/test_dwarfdump.py |
| 2037 |
modified: test/test_dwarfdumpsetup.sh |
| 2038 |
modified: test/test_jitreaderdiff.sh |
| 2039 |
|
| 2040 |
2023-10-11: David Anderson |
| 2041 |
commit e76b0da1a7fc9a7fcc97fe254358f5ef0accc769 |
| 2042 |
|
| 2043 |
Added important details |
| 2044 |
modified: READMEwin-msys2.md |
| 2045 |
Major revision , now works on Windows msys2 as well. |
| 2046 |
modified: scripts/buildandreleasetest.sh |
| 2047 |
|
| 2048 |
2023-10-09: David Anderson |
| 2049 |
commit e40372ce4c656e3a76f20117d80f610df582c2f6 |
| 2050 |
|
| 2051 |
Working toward scripts that work |
| 2052 |
on msys2 with shared libdwarf. |
| 2053 |
modified: scripts/buildandreleasetest.sh |
| 2054 |
modified: test/test_dwarfdumpsetup.sh |
| 2055 |
modified: test/test_jitreaderdiff.sh |
| 2056 |
|
| 2057 |
2023-10-09: David Anderson |
| 2058 |
commit bd752633c39519b2d2564c5bd5750ab2d86b7b44 |
| 2059 |
|
| 2060 |
A simple added rule will avoid |
| 2061 |
automake complaining README is gone. |
| 2062 |
modified: Makefile.am |
| 2063 |
|
| 2064 |
2023-10-09: David Anderson |
| 2065 |
commit f717ac1039bea2c1454edefcd8d7cad37565f4eb |
| 2066 |
|
| 2067 |
Some versions of autoreconf insist on README |
| 2068 |
and ignore README.md. |
| 2069 |
So reintroducing README (a copy of README.md) |
| 2070 |
new file: README |
| 2071 |
|
| 2072 |
2023-10-07: David Anderson |
| 2073 |
commit df4cc3f4ef40b442a30203a3691f7ca3273ae226 |
| 2074 |
|
| 2075 |
Correcting md typo |
| 2076 |
modified: READMEwin-msys2.md |
| 2077 |
|
| 2078 |
2023-10-07: David Anderson |
| 2079 |
commit be42d89044a97e84c7d701c29a6fb4155a871f5c |
| 2080 |
|
| 2081 |
Correcting some errors and |
| 2082 |
also hoping these changes will |
| 2083 |
make things easier to read. |
| 2084 |
modified: README.md |
| 2085 |
modified: READMEcmake.md |
| 2086 |
modified: READMEwin-msys2.md |
| 2087 |
|
| 2088 |
2023-10-07: David Anderson |
| 2089 |
commit ae3271adac45e45d27afb289c601d90f0844ecff |
| 2090 |
|
| 2091 |
It was failing to mention the base build |
| 2092 |
directory as a source for include of config.h. |
| 2093 |
Fixed. |
| 2094 |
modified: src/bin/gennames/Makefile.am |
| 2095 |
|
| 2096 |
2023-10-07: David Anderson |
| 2097 |
commit 639e2bb4daf71899e6f7a2163ea831a1b1b4aafc |
| 2098 |
|
| 2099 |
Minor tweak to the script |
| 2100 |
modified: scripts/buildandreleasetest.sh |
| 2101 |
|
| 2102 |
2023-10-07: David Anderson |
| 2103 |
commit 020bbd37f4529999e37a0a0ca674f6d3cca7dec0 |
| 2104 |
|
| 2105 |
Now, with cmake, both shared-lib and |
| 2106 |
non-shared work properly for Win32 msys2 |
| 2107 |
modified: CMakeLists.txt |
| 2108 |
modified: src/bin/dwarfdump/CMakeLists.txt |
| 2109 |
modified: src/bin/dwarfexample/CMakeLists.txt |
| 2110 |
modified: src/bin/dwarfgen/CMakeLists.txt |
| 2111 |
modified: test/CMakeLists.txt |
| 2112 |
|
| 2113 |
2023-10-07: David Anderson |
| 2114 |
commit 51e42f74e2ad659c33bd451b01f32675871be6b4 |
| 2115 |
|
| 2116 |
Now listing the revised set of README* files. |
| 2117 |
modified: Makefile.am |
| 2118 |
|
| 2119 |
2023-10-07: David Anderson |
| 2120 |
commit 84c189d2323382d65f0a40a2e9f7c02f4d6f7079 |
| 2121 |
|
| 2122 |
Updated DW202310-002. Fixed. |
| 2123 |
modified: bugxml/data.txt |
| 2124 |
Regenerated |
| 2125 |
modified: bugxml/dwarfbug.html |
| 2126 |
modified: bugxml/dwarfbug.xml |
| 2127 |
modified: bugxml/dwarfbuglohi.html |
| 2128 |
|
| 2129 |
2023-10-07: David Anderson |
| 2130 |
commit 3a658bd1dd7437948cecbf82bb9b24f5f6122a7d |
| 2131 |
|
| 2132 |
DW202310-002 |
| 2133 |
ossfuzz: 63024 |
| 2134 |
The bug was a copy-paste mistake. |
| 2135 |
This bug was in the function when |
| 2136 |
the function was first made public, |
| 2137 |
seven days ago. |
| 2138 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 2139 |
|
| 2140 |
2023-10-06: David Anderson |
| 2141 |
commit 19a850b5aae47303dcf9298c05a4e90c8b80a0b4 |
| 2142 |
|
| 2143 |
Now all README are .md and |
| 2144 |
with a new one for msys2 details. |
| 2145 |
deleted: README |
| 2146 |
deleted: README.cmake |
| 2147 |
modified: README.md |
| 2148 |
new file: READMEcmake.md |
| 2149 |
new file: READMEwin-msys2.md |
| 2150 |
|
| 2151 |
2023-10-05: David Anderson |
| 2152 |
commit f6265d5779245f8737c5fc6553569986c96f2134 |
| 2153 |
|
| 2154 |
More accurate description to setup |
| 2155 |
msys2 mingq64 in windows 10 |
| 2156 |
modified: README.cmake |
| 2157 |
|
| 2158 |
2023-10-04: David Anderson |
| 2159 |
commit 28509ddf7cb43015ed7a3760bf4c99b3e9553bed |
| 2160 |
|
| 2161 |
Regenerated with version 0.9.0 |
| 2162 |
modified: src/bin/dwarfdump/dwarfdump-af-table.h |
| 2163 |
modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h |
| 2164 |
modified: src/bin/dwarfdump/dwarfdump-ta-table.h |
| 2165 |
modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h |
| 2166 |
modified: src/bin/dwarfdump/dwarfdump-tt-table.h |
| 2167 |
modified: src/lib/libdwarf/dwarf_names.c |
| 2168 |
|
| 2169 |
2023-10-04: David Anderson |
| 2170 |
commit 5c33a19272d08df6077fcf54420f7ed801f809a5 |
| 2171 |
|
| 2172 |
Updated with latest |
| 2173 |
modified: ChangeLog |
| 2174 |
|
| 2175 |
2023-10-04: David Anderson |
| 2176 |
commit 174b9777367869ce6d7200a6084bf42b815c690f |
| 2177 |
|
| 2178 |
All are now denoted as version 0.9.0 |
| 2179 |
modified: CMakeLists.txt |
| 2180 |
modified: configure.ac |
| 2181 |
modified: doc/libdwarf.dox |
| 2182 |
modified: doc/libdwarfp.mm |
| 2183 |
modified: meson.build |
| 2184 |
modified: src/lib/libdwarf/libdwarf.h |
| 2185 |
|
| 2186 |
2023-10-04: David Anderson |
| 2187 |
commit 453b45451766676d2a0a539c7177c617316089af |
| 2188 |
|
| 2189 |
With pacman commands for use with msys2 |
| 2190 |
on Windows so one can build there. |
| 2191 |
modified: README.cmake |
| 2192 |
|
| 2193 |
2023-10-04: David Anderson |
| 2194 |
commit 4b2285d43d14a307ad956fdf46104c2a68a9b718 |
| 2195 |
|
| 2196 |
Added DW202310-001 ossfuzz 62943 |
| 2197 |
on reading Apple Universal Binary |
| 2198 |
modified: bugxml/data.txt |
| 2199 |
Regenerated |
| 2200 |
modified: bugxml/dwarfbug.html |
| 2201 |
modified: bugxml/dwarfbug.xml |
| 2202 |
modified: bugxml/dwarfbuglohi.html |
| 2203 |
|
| 2204 |
2023-10-04: David Anderson |
| 2205 |
commit a9c64d849e05b89509c9f51aa4d0febcca518e18 |
| 2206 |
|
| 2207 |
Now with full universal binary timeline to date. |
| 2208 |
modified: ChangeLog |
| 2209 |
|
| 2210 |
2023-10-03: David Anderson |
| 2211 |
commit aea77dad8745d9aad5275c3226e4e3156effa71f |
| 2212 |
|
| 2213 |
This is the fix for vulnerability ossfuzz id ossfuzz62943, |
| 2214 |
DW202310-001 |
| 2215 |
which has been in the public repository for one day. |
| 2216 |
Was failing to check, very early on, for |
| 2217 |
an incomplete Mach-O universal object. |
| 2218 |
|
| 2219 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 2220 |
Here is the timeline of Apple Universal Binary handling |
| 2221 |
in libdwarf: |
| 2222 |
|
| 2223 |
2023-09-20 |
| 2224 |
In github libdwarf-code discussion #185 |
| 2225 |
asks if libdwarf supports Mach-O universal objects, |
| 2226 |
which We will abbreviate here as Apple Universal Objects (AUB). |
| 2227 |
Each AUB may have a number of Mach-O executables inside. |
| 2228 |
|
| 2229 |
2023-09-21 |
| 2230 |
Initial commit in the readelfobj-code project of code |
| 2231 |
reading AUB. |
| 2232 |
|
| 2233 |
2023-09-26 |
| 2234 |
Completed code handling AUB in readelfobj-code project.. |
| 2235 |
|
| 2236 |
2023-09-27 |
| 2237 |
In the libdwarf-code project we do a little |
| 2238 |
code cleanup related to Mach-O object files. |
| 2239 |
Added a new API function for |
| 2240 |
AUB in libdwarf.h |
| 2241 |
|
| 2242 |
2023-09-29 |
| 2243 |
Initial commit in dwarfdump so dwarfdump can |
| 2244 |
select what Mach-O object in an AUB to report on |
| 2245 |
(defaults to object 0(zero)). |
| 2246 |
|
| 2247 |
2023-09-29 |
| 2248 |
Full AUB support is now public on github, |
| 2249 |
|
| 2250 |
2023-09-30 |
| 2251 |
DW202309-002 ossfuzz id 62833 |
| 2252 |
DW202309-003 ossfuzz id 62834 |
| 2253 |
DW202309-004 ossfuzz id 62842 |
| 2254 |
reported. Bugs in AUB handling |
| 2255 |
present publically for one day. |
| 2256 |
|
| 2257 |
2023-10-01 |
| 2258 |
Pushed fix for the three bugs in AUB handling: |
| 2259 |
DW202309-002 ossfuzz id 62833 |
| 2260 |
DW202309-003 ossfuzz id 62834 |
| 2261 |
DW202309-004 ossfuzz id 62842 |
| 2262 |
|
| 2263 |
2023-10-02 |
| 2264 |
DW202310-001 ossfuzz id 62943 reported |
| 2265 |
on AUB handling. |
| 2266 |
|
| 2267 |
2023-10-03 |
| 2268 |
Pushed fix to ossfuzz 62943 DW202310-001 |
| 2269 |
|
| 2270 |
2023-10-03: David Anderson |
| 2271 |
commit 1eb099f0a31b836d0a9919643debadbe4d482150 |
| 2272 |
|
| 2273 |
One of the new messages about Mach-O universal |
| 2274 |
binary files had words run togetherr, now fixed. |
| 2275 |
modified: src/lib/libdwarf/dwarf_errmsg_list.h |
| 2276 |
|
| 2277 |
2023-10-02: David Anderson |
| 2278 |
commit 1f4b850411a93648e804be0d33416190b84b1c54 |
| 2279 |
|
| 2280 |
Up to date now. |
| 2281 |
modified: ChangeLog |
| 2282 |
|
| 2283 |
2023-10-02: David Anderson |
| 2284 |
commit 8554a94e7a3661a34eaa99951bdcee2b0239fd93 |
| 2285 |
|
| 2286 |
Two places in _dwarf_object_detector_universal_head_fd() |
| 2287 |
we failed to free(fa). Now we do so. |
| 2288 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 2289 |
|
| 2290 |
2023-10-02: David Anderson |
| 2291 |
commit e533fccd7d891dd66f96a298227a15dd0c05ec78 |
| 2292 |
|
| 2293 |
Now we can easily check for gross corruption of the |
| 2294 |
universal binary headers, and we now check for such. |
| 2295 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 2296 |
|
| 2297 |
Added a new field with the actual whole file size |
| 2298 |
so when reading universal binaries |
| 2299 |
we can easily check for gross corruption of the |
| 2300 |
universal binary headers. au_filesize. |
| 2301 |
modified: src/lib/libdwarf/dwarf_machoread.h |
| 2302 |
|
| 2303 |
2023-10-02: David Anderson |
| 2304 |
commit 0f996051eaf56238cac4a1cf7031166212ab4646 |
| 2305 |
|
| 2306 |
Fixed accidental blank in error 502. |
| 2307 |
Added 503 (as it is required, defined in libdwarf.h) |
| 2308 |
modified: src/lib/libdwarf/dwarf_errmsg_list.h |
| 2309 |
|
| 2310 |
2023-10-02: David Anderson |
| 2311 |
commit e57d0f251d85549b7aad5288ef161d160eff8d90 |
| 2312 |
|
| 2313 |
Removed trailing whitespace. |
| 2314 |
modified: src/lib/libdwarf/libdwarf.h |
| 2315 |
|
| 2316 |
2023-10-02: David Anderson |
| 2317 |
commit ea31407a95ce862e00c2748d7ba8367ee1621f2b |
| 2318 |
|
| 2319 |
Regenerated |
| 2320 |
modified: bugxml/dwarfbug.html |
| 2321 |
modified: bugxml/dwarfbug.xml |
| 2322 |
modified: bugxml/dwarfbuglohi.html |
| 2323 |
|
| 2324 |
2023-10-01: David Anderson |
| 2325 |
commit af3eedfd123a55b876022eba5974defb90b166c6 |
| 2326 |
|
| 2327 |
Updated the text on the latest of the bugs. |
| 2328 |
modified: ../../../bugxml/data.txt |
| 2329 |
|
| 2330 |
Corrected a comment on the new function |
| 2331 |
dwarf_init_path_a(). |
| 2332 |
modified: dwarf_generic_init.c |
| 2333 |
|
| 2334 |
2023-10-01: David Anderson |
| 2335 |
commit 782cc96d558402739288e58fbedd0240844a9b99 |
| 2336 |
|
| 2337 |
Removed 150 lines of #if 0 code (not useful code) |
| 2338 |
and a now-empty function. |
| 2339 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 2340 |
|
| 2341 |
2023-10-01: David Anderson |
| 2342 |
commit 2af75f9fc0042c06c12c820667621fecd78fb4b5 |
| 2343 |
|
| 2344 |
Up to date now. |
| 2345 |
modified: ChangeLog |
| 2346 |
|
| 2347 |
2023-10-01: David Anderson |
| 2348 |
commit 4dcfdaf50c496ef743bc581f139ca9f4d42ddf47 |
| 2349 |
|
| 2350 |
Completed report on DW202309-004, |
| 2351 |
DW202309-003, and DW202309-002. |
| 2352 |
modified: bugxml/data.txt |
| 2353 |
modified: bugxml/dwarfbug.html |
| 2354 |
modified: bugxml/dwarfbug.xml |
| 2355 |
modified: bugxml/dwarfbuglohi.html |
| 2356 |
|
| 2357 |
2023-09-30: David Anderson |
| 2358 |
commit 1608be2e62e028aad0f1d7ad17c5863eca0b57e2 |
| 2359 |
|
| 2360 |
up to date. |
| 2361 |
modified: ChangeLog |
| 2362 |
|
| 2363 |
2023-09-30: David Anderson |
| 2364 |
commit f7c7e84e5a77915bb6570215887118d8e7759122 |
| 2365 |
|
| 2366 |
We have reset memcpy()-like functions to |
| 2367 |
use the prototype that libdwarf has long |
| 2368 |
exported to callers (on request). |
| 2369 |
void copy_word(void *, const void *,unsigned long) |
| 2370 |
|
| 2371 |
The length in practice is small where our swap/no-swap |
| 2372 |
functions are involved. |
| 2373 |
|
| 2374 |
There were some inconsistencies but freebsd 32bit |
| 2375 |
with clang caught them all, so it should be ok |
| 2376 |
everywhere. |
| 2377 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 2378 |
modified: src/lib/libdwarf/dwarf_memcpy_swap.c |
| 2379 |
modified: src/lib/libdwarf/dwarf_memcpy_swap.h |
| 2380 |
modified: src/lib/libdwarf/dwarf_object_detector.c |
| 2381 |
modified: src/lib/libdwarf/dwarf_peread.c |
| 2382 |
|
| 2383 |
2023-09-30: David Anderson |
| 2384 |
commit 566f4ee9305d708853e53ee7589cf93830ca6a3b |
| 2385 |
|
| 2386 |
Fix indents and remove trailing whitespace. |
| 2387 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 2388 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 2389 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 2390 |
modified: src/lib/libdwarf/dwarf_object_detector.c |
| 2391 |
modified: src/lib/libdwarf/dwarf_query.c |
| 2392 |
|
| 2393 |
2023-09-30: David Anderson |
| 2394 |
commit e8df98c5c6629b75402b8ea5e5a44797fb3ae4b3 |
| 2395 |
|
| 2396 |
Remove left-over printf debug output. |
| 2397 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 2398 |
|
| 2399 |
2023-09-30: David Anderson |
| 2400 |
commit a19f51f629dc2d2f84d99926494422cc57e5c10f |
| 2401 |
|
| 2402 |
Now all the word_swap swap_bytes functions |
| 2403 |
have the length argument as size_t (there was |
| 2404 |
some with unsigned long). |
| 2405 |
No calls to these should have a length > 8 |
| 2406 |
(since swap makes no sense on non-integers). |
| 2407 |
modified: src/lib/libdwarf/dwarf_memcpy_swap.h |
| 2408 |
modified: src/lib/libdwarf/dwarf_object_detector.c |
| 2409 |
modified: src/lib/libdwarf/dwarf_peread.c |
| 2410 |
|
| 2411 |
2023-09-30: David Anderson |
| 2412 |
commit 1289ba5b2fe87116e2bd3a79e0373f9460f025a4 |
| 2413 |
|
| 2414 |
Small refactoring of freeing internals |
| 2415 |
so we can use the right call at the right point |
| 2416 |
in case of error. Simpler and clearer. |
| 2417 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 2418 |
|
| 2419 |
2023-09-30: David Anderson |
| 2420 |
commit d88502010481d7bfa550bdf2dd875a83f7462029 |
| 2421 |
|
| 2422 |
New leak reports, all new and directly |
| 2423 |
related to changes yesterday. |
| 2424 |
Have more fixes to commit today. |
| 2425 |
modified: bugxml/data.txt |
| 2426 |
|
| 2427 |
2023-09-30: David Anderson |
| 2428 |
commit 5ac9aa1a0adeb18bad6aa531dddc59b35d9b0030 |
| 2429 |
|
| 2430 |
Removed several lines of dead code: |
| 2431 |
Coverity Scan correctly reported it was dead code. |
| 2432 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 2433 |
|
| 2434 |
2023-09-29: David Anderson |
| 2435 |
commit 834dbc50dec104fbea389b8dcddb8e6c4cc9dfa8 |
| 2436 |
|
| 2437 |
Version in generated source is now 0.8.1 |
| 2438 |
modified: src/lib/libdwarf/dwarf_names.c |
| 2439 |
|
| 2440 |
2023-09-29: David Anderson |
| 2441 |
commit c529bb42fa9088c4f7b61a1253dda42348f15523 |
| 2442 |
|
| 2443 |
version in genererated source is 0.8.1 now |
| 2444 |
modified: src/bin/dwarfdump/dwarfdump-af-table.h |
| 2445 |
modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h |
| 2446 |
modified: src/bin/dwarfdump/dwarfdump-ta-table.h |
| 2447 |
modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h |
| 2448 |
modified: src/bin/dwarfdump/dwarfdump-tt-table.h |
| 2449 |
|
| 2450 |
2023-09-29: David Anderson |
| 2451 |
commit 7b3fdd228496794c9fc58e049f2e31333a64e80d |
| 2452 |
|
| 2453 |
With universal binary features documented. |
| 2454 |
modified: doc/libdwarf.pdf |
| 2455 |
|
| 2456 |
2023-09-29: David Anderson |
| 2457 |
commit 4c995195d2009ab24454c914d59a1ce23d4484c7 |
| 2458 |
|
| 2459 |
Fixed a single misspelling in a doxygen comment. |
| 2460 |
modified: src/lib/libdwarf/libdwarf.h |
| 2461 |
|
| 2462 |
2023-09-29: David Anderson |
| 2463 |
commit 80249f4423b83389c1bd1c4d1ae49f7f5fbc81ea |
| 2464 |
|
| 2465 |
Small spelling corrections and wording |
| 2466 |
changes. |
| 2467 |
modified: libdwarf.dox |
| 2468 |
modified: ../src/lib/libdwarf/libdwarf.h |
| 2469 |
|
| 2470 |
2023-09-29: David Anderson |
| 2471 |
commit 5ad97c9da90aa5830cc8410f142cb288304806c9 |
| 2472 |
|
| 2473 |
up to date. |
| 2474 |
modified: ChangeLog |
| 2475 |
|
| 2476 |
2023-09-29: David Anderson |
| 2477 |
commit 0bf443a5b24c503e5ca37d0e17323f695780ec1b |
| 2478 |
|
| 2479 |
Now the tied-file (if Mach-O universal binary) |
| 2480 |
gets reported as such. |
| 2481 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 2482 |
|
| 2483 |
2023-09-29: David Anderson |
| 2484 |
commit e612fb75b2b75ff78f550aea7c659799432f5bb4 |
| 2485 |
|
| 2486 |
Now dwarfdump prints the number of binaries |
| 2487 |
in the Mach-O universal binary referenced and also |
| 2488 |
prints the number (index) of the individual |
| 2489 |
binary being reported on. |
| 2490 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 2491 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 2492 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 2493 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 2494 |
modified: src/lib/libdwarf/dwarf_query.c |
| 2495 |
new file: src/lib/libdwarf/dwarf_universal.h |
| 2496 |
modified: src/lib/libdwarf/libdwarf.h |
| 2497 |
|
| 2498 |
2023-09-29: David Anderson |
| 2499 |
commit 3422281f8006574059c2ab95ec1a798d89764ffc |
| 2500 |
|
| 2501 |
Support for Mach-O univeral-binary reading |
| 2502 |
DO NOT USE THIS COMMIT. Shortly the many |
| 2503 |
debugging printf lines will be removed. |
| 2504 |
modified: src/lib/libdwarf/CMakeLists.txt |
| 2505 |
modified: src/lib/libdwarf/Makefile.am |
| 2506 |
modified: src/lib/libdwarf/dwarf_abbrev.h |
| 2507 |
modified: src/lib/libdwarf/dwarf_alloc.h |
| 2508 |
modified: src/lib/libdwarf/dwarf_errmsg_list.h |
| 2509 |
modified: src/lib/libdwarf/dwarf_generic_init.c |
| 2510 |
modified: src/lib/libdwarf/dwarf_macho_loader.h |
| 2511 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 2512 |
modified: src/lib/libdwarf/dwarf_machoread.h |
| 2513 |
modified: src/lib/libdwarf/dwarf_object_detector.c |
| 2514 |
modified: src/lib/libdwarf/dwarf_object_detector.h |
| 2515 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 2516 |
|
| 2517 |
2023-09-29: David Anderson |
| 2518 |
commit ce7412392dfae1487572e97428acab63b5cc35ce |
| 2519 |
|
| 2520 |
Adding option |
| 2521 |
--format-universalnumber=<n> |
| 2522 |
so if reading a Mach-O universal binary |
| 2523 |
one can select which executable from that |
| 2524 |
universal binary libdwarf should read. |
| 2525 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 2526 |
modified: src/bin/dwarfdump/dd_glflags.c |
| 2527 |
modified: src/bin/dwarfdump/dd_glflags.h |
| 2528 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 2529 |
|
| 2530 |
2023-09-29: David Anderson |
| 2531 |
commit f60c9e791aa5c6adc42a3027a01b696f7e38a3a5 |
| 2532 |
|
| 2533 |
Correct indent mistake. |
| 2534 |
modified: dwarf_rnglists.c |
| 2535 |
Remove trailing whitespace |
| 2536 |
modified: libdwarf.h |
| 2537 |
|
| 2538 |
2023-09-27: David Anderson |
| 2539 |
commit a01681e600acd695658657165c047b9ba8ea9da2 |
| 2540 |
|
| 2541 |
Removing the unused field mo_is_64bit from an |
| 2542 |
internal struct. |
| 2543 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 2544 |
modified: src/lib/libdwarf/dwarf_machoread.h |
| 2545 |
|
| 2546 |
Corrected four filesize casts from (size_t) to (Dwarf_Unsigned) |
| 2547 |
which represents a correction (in practice |
| 2548 |
invisible to library users). |
| 2549 |
modified: src/lib/libdwarf/dwarf_object_detector.c |
| 2550 |
|
| 2551 |
Added a new function, which is invisible to users |
| 2552 |
for now. |
| 2553 |
modified: src/lib/libdwarf/libdwarf.h |
| 2554 |
|
| 2555 |
2023-09-27: David Anderson |
| 2556 |
commit 3b0408a74c6d2f2b9a81fe3fc0a1564b509ad84e |
| 2557 |
|
| 2558 |
Regenerated with latest vulnerability listed. |
| 2559 |
modified: bugxml/dwarfbug.html |
| 2560 |
modified: bugxml/dwarfbug.xml |
| 2561 |
modified: bugxml/dwarfbuglohi.html |
| 2562 |
|
| 2563 |
2023-09-23: David Anderson |
| 2564 |
commit 04140b4dcf9d5db880fbf15a76c12290f768daa3 |
| 2565 |
|
| 2566 |
Documenting fix to DW202309-001 |
| 2567 |
modified: bugxml/data.txt |
| 2568 |
|
| 2569 |
2023-09-23: David Anderson |
| 2570 |
commit cd741379bd0203a0875b413542d5f982606ae637 |
| 2571 |
|
| 2572 |
Fixing DW202309-001 ossfuzz 62547, a bug |
| 2573 |
which has been in the code for many years. |
| 2574 |
|
| 2575 |
The symptom was use-after-free in calling |
| 2576 |
dwarf_finish(), but provoked by code |
| 2577 |
in dwarf_get_fde_for_die(). |
| 2578 |
modified: src/lib/libdwarf/dwarf_alloc.c |
| 2579 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 2580 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 2581 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 2582 |
|
| 2583 |
2023-09-23: David Anderson |
| 2584 |
commit 2867fa3cc7a79ba89c3b7f5672b6096ac4fc28ff |
| 2585 |
|
| 2586 |
New ossfuzz bug DW202309-001 recorded here now. |
| 2587 |
modified: bugxml/data.txt |
| 2588 |
modified: bugxml/dwarfbug.html |
| 2589 |
modified: bugxml/dwarfbug.xml |
| 2590 |
modified: bugxml/dwarfbuglohi.html |
| 2591 |
|
| 2592 |
Version now 0.8.1 |
| 2593 |
modified: CMakeLists.txt |
| 2594 |
modified: configure.ac |
| 2595 |
modified: doc/libdwarf.dox |
| 2596 |
modified: doc/libdwarf.pdf |
| 2597 |
modified: doc/libdwarfp.mm |
| 2598 |
modified: meson.build |
| 2599 |
modified: src/lib/libdwarf/libdwarf.h |
| 2600 |
|
| 2601 |
2023-09-23: David Anderson |
| 2602 |
commit e367283d6299057c52fdf3e50c13d1759086d55a |
| 2603 |
|
| 2604 |
Preparation for dealing with MacOS universl binaries. |
| 2605 |
New structs not yet used. |
| 2606 |
modified: src/lib/libdwarf/dwarf_macho_loader.h |
| 2607 |
|
| 2608 |
2023-09-18: David Anderson |
| 2609 |
commit d482de0857770c02ac098ce94f487909b06b567a |
| 2610 |
|
| 2611 |
Up to date with git log |
| 2612 |
modified: ChangeLog |
| 2613 |
|
| 2614 |
2023-09-18: David Anderson |
| 2615 |
commit 25ddab93a059ea8ecce088c73d3b4c66a14dbc23 |
| 2616 |
|
| 2617 |
Documentation issues corrected/updated. |
| 2618 |
modified: README |
| 2619 |
modified: README.md |
| 2620 |
modified: bugxml/data.txt |
| 2621 |
modified: bugxml/dwarfbug.html |
| 2622 |
modified: bugxml/dwarfbug.xml |
| 2623 |
modified: bugxml/dwarfbuglohi.html |
| 2624 |
modified: doc/libdwarf.dox |
| 2625 |
|
| 2626 |
2023-09-17: David Anderson |
| 2627 |
commit 81d80f9eb1605046cd4f75c49335d9d1542e3af6 |
| 2628 |
|
| 2629 |
Small changes in a coupld doxygen comments for clarity. |
| 2630 |
modified: src/lib/libdwarf/libdwarf.h |
| 2631 |
|
| 2632 |
2023-09-14: David Anderson |
| 2633 |
commit 77b4280522ca87df6a6c6f63776d889d2b5c2bc8 |
| 2634 |
|
| 2635 |
Added clarifying comentary about an argument |
| 2636 |
to dwarf_rnglists_get_rle_head(). |
| 2637 |
modified: src/lib/libdwarf/dwarf_rnglists.c |
| 2638 |
|
| 2639 |
2023-09-14: David Anderson |
| 2640 |
commit 7ae36936197bbd3c7f2772f790cf9ed9d14b4a84 |
| 2641 |
|
| 2642 |
Added commentary about an argment to dwarf_rnglists_get_rle_head() |
| 2643 |
modified: src/lib/libdwarf/libdwarf.h |
| 2644 |
|
| 2645 |
2023-09-12: David Anderson |
| 2646 |
commit f8cde1b5c811565cc6de994687a698ae59498b1f |
| 2647 |
|
| 2648 |
Remove trailing whitespace and fix |
| 2649 |
indent and fix too-long lines. |
| 2650 |
modified: dwarf_frame.c |
| 2651 |
modified: dwarf_frame2.c |
| 2652 |
modified: dwarf_machoread.c |
| 2653 |
|
| 2654 |
2023-09-12: David Anderson |
| 2655 |
commit 9d25bfd2868a2baea83c761fa6d38e0a7229e4ee |
| 2656 |
|
| 2657 |
latest git log |
| 2658 |
modified: ChangeLog |
| 2659 |
|
| 2660 |
2023-09-12: David Anderson |
| 2661 |
commit ecb2d773f166b7c322d91c312f207d3684d76a6f |
| 2662 |
Merge: 4c48d4cf 320e86eb |
| 2663 |
|
| 2664 |
Merge branch 'main' of https://github.com/davea42/libdwarf-code |
| 2665 |
Fixing a typo in a doxygen comment |
| 2666 |
|
| 2667 |
2023-09-12: Jeremy Rifkin |
| 2668 |
commit 320e86eb126ef0c5f99370d7dd093c1343e2f7e5 |
| 2669 |
|
| 2670 |
Fix small typo (#182) |
| 2671 |
|
| 2672 |
2023-09-11: David Anderson |
| 2673 |
commit 4c48d4cfe66674f9c1c6023ceec5d9491670f6d9 |
| 2674 |
|
| 2675 |
Up to date with git log |
| 2676 |
modified: ChangeLog |
| 2677 |
|
| 2678 |
2023-09-11: David Anderson |
| 2679 |
commit f6941ef1254d72c621fbe8d2f8c1abe9a60262db |
| 2680 |
|
| 2681 |
On FreeBSD 13.2 clang 14 -fsanitize catches certain errors before |
| 2682 |
adding to pointers or before having unsigned |
| 2683 |
add/subtract wrap around (whereas before |
| 2684 |
such were ignored and we could test afterwards |
| 2685 |
for invalid results). |
| 2686 |
So we check before doing the arithmetic now |
| 2687 |
and return error if appropriate. |
| 2688 |
|
| 2689 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 2690 |
modified: src/lib/libdwarf/dwarf_frame.h |
| 2691 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 2692 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 2693 |
modified: src/lib/libdwarf/dwarf_rnglists.c |
| 2694 |
|
| 2695 |
2023-09-11: David Anderson |
| 2696 |
commit 407236514e8c0addac26949db75e4ca7fc56e0fe |
| 2697 |
|
| 2698 |
Minor changes in doxygen comments on frame access |
| 2699 |
functions. |
| 2700 |
modified: doc/libdwarf.dox |
| 2701 |
modified: src/lib/libdwarf/libdwarf.h |
| 2702 |
|
| 2703 |
regeneratid |
| 2704 |
modified: doc/libdwarf.pdf |
| 2705 |
|
| 2706 |
2023-09-11: David Anderson |
| 2707 |
commit 21984aa2874a65bb8919b2bdb025dfc0336ee2d3 |
| 2708 |
|
| 2709 |
Minor update on building from git source. |
| 2710 |
modified: README |
| 2711 |
modified: README.md |
| 2712 |
|
| 2713 |
2023-09-09: David Anderson |
| 2714 |
commit f34e0065c6c8f6081b536c23753f2e53c55c71ed |
| 2715 |
|
| 2716 |
Up to date with git log. |
| 2717 |
modified: ChangeLog |
| 2718 |
|
| 2719 |
2023-09-09: David Anderson |
| 2720 |
commit 6759e3b4e9f6169d8f0ab34c457efc39394989ec |
| 2721 |
|
| 2722 |
Refining the wording now we have |
| 2723 |
successfully run libdwarf-regressiontests. |
| 2724 |
modified: READMEmacos.md |
| 2725 |
|
| 2726 |
2023-09-08: David Anderson |
| 2727 |
commit 68daec433fc7f72ab0b66115e9aae1aa3f91c21f |
| 2728 |
|
| 2729 |
Small clarification of the two new |
| 2730 |
functions. |
| 2731 |
modified: doc/libdwarf.dox |
| 2732 |
modified: doc/libdwarf.pdf |
| 2733 |
|
| 2734 |
2023-09-08: David Anderson |
| 2735 |
commit 1ac73812595632be4a60715958b7ee126b2619dc |
| 2736 |
|
| 2737 |
Tweaking wording. |
| 2738 |
modified: READMEmacos.md |
| 2739 |
Clearer now that continuing to use |
| 2740 |
dwarf_get_fde_info_for_reg3_b(), |
| 2741 |
and dwarf_get_fde_info_for_cfa_reg3_b() |
| 2742 |
versions for frame register access is |
| 2743 |
ok. Lets one use current or earlier |
| 2744 |
libdwarf shared objects. |
| 2745 |
the new _c() versions simply return |
| 2746 |
one argument as the correct type (Dwarf_Signed). |
| 2747 |
modified: doc/libdwarf.dox |
| 2748 |
modified: doc/libdwarf.pdf |
| 2749 |
|
| 2750 |
2023-09-08: David Anderson |
| 2751 |
commit 29f9aa527b21926c772f4563ab90747fa3ff2c34 |
| 2752 |
|
| 2753 |
A compiler warned of instances of set-but-not-used |
| 2754 |
variables and a couple imprecise declarations. |
| 2755 |
All now fixed. |
| 2756 |
modified: src/bin/attr_form/attr_form_build.c |
| 2757 |
modified: src/bin/buildopstab/buildopscounttab.c |
| 2758 |
modified: src/bin/dwarfdump/print_abbrevs.c |
| 2759 |
modified: src/bin/dwarfdump/print_macro.c |
| 2760 |
modified: src/bin/dwarfdump/print_ranges.c |
| 2761 |
modified: src/bin/gennames/gennames.c |
| 2762 |
modified: src/lib/libdwarf/dwarf_loclists.c |
| 2763 |
modified: src/lib/libdwarf/dwarf_tied.c |
| 2764 |
modified: src/lib/libdwarf/dwarf_util.c |
| 2765 |
|
| 2766 |
2023-09-08: David Anderson |
| 2767 |
commit bac3cc0e4987c2850103b1b467d366e46c32678e |
| 2768 |
|
| 2769 |
Now we test on MacOS |
| 2770 |
new file: READMEmacos.md |
| 2771 |
|
| 2772 |
For a 32bit system the count of files created by |
| 2773 |
a cmake install of libdwaff differs (lower by two) |
| 2774 |
than for a 64 bit system. So allow either count. |
| 2775 |
modified: scripts/buildandreleasetest.sh |
| 2776 |
|
| 2777 |
2023-09-07: David Anderson |
| 2778 |
commit 9c615e942d972f5a18856ac37c9c8ec421240b09 |
| 2779 |
|
| 2780 |
Compiler found two unused const variables. Removed them. |
| 2781 |
modified: src/bin/dwarfgen/dwarfgen.cc |
| 2782 |
|
| 2783 |
2023-09-07: David Anderson |
| 2784 |
commit bfcfbc61d783771298edeaa6c4398bc95e34ae20 |
| 2785 |
|
| 2786 |
Small comment changes for doxygen related |
| 2787 |
to the Frame dw_offset argments. |
| 2788 |
modified: libdwarf.h |
| 2789 |
|
| 2790 |
2023-09-07: David Anderson |
| 2791 |
commit f3fa1d61b60763855c093bcc2ee8c473247f77d7 |
| 2792 |
|
| 2793 |
Now set for 0.8.0 |
| 2794 |
modified: doc/libdwarf.pdf |
| 2795 |
|
| 2796 |
2023-09-07: David Anderson |
| 2797 |
commit 3d770bf3441ea646351373d297627dba27a4f70e |
| 2798 |
|
| 2799 |
Regenerated for 0.8.0 |
| 2800 |
modified: doc/libdwarf.pdf |
| 2801 |
|
| 2802 |
2023-09-07: David Anderson |
| 2803 |
commit 2d3c064780a07f1b1e1d9844325d7ad281fdf248 |
| 2804 |
|
| 2805 |
Regenerated with 'make rebuild' to get the correct version |
| 2806 |
in these headers. |
| 2807 |
modified: src/bin/dwarfdump/dwarfdump-af-table.h |
| 2808 |
modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h |
| 2809 |
modified: src/bin/dwarfdump/dwarfdump-ta-table.h |
| 2810 |
modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h |
| 2811 |
modified: src/bin/dwarfdump/dwarfdump-tt-table.h |
| 2812 |
modified: src/lib/libdwarf/dwarf_names.c |
| 2813 |
|
| 2814 |
2023-09-07: David Anderson |
| 2815 |
commit afa59adc34f3446402a63a44bfbe651ad6b6a029 |
| 2816 |
|
| 2817 |
Updating version. No change to libdwarfp. |
| 2818 |
modified: doc/libdwarfp.mm |
| 2819 |
|
| 2820 |
2023-09-07: David Anderson |
| 2821 |
commit 6251f4b8a0543f31d707ad4a3e88b637fe9956a5 |
| 2822 |
|
| 2823 |
Version changed to 0.8.0 for the next release, |
| 2824 |
reflecting the addition of two new functions. |
| 2825 |
modified: CMakeLists.txt |
| 2826 |
modified: configure.ac |
| 2827 |
modified: doc/libdwarf.dox |
| 2828 |
modified: meson.build |
| 2829 |
|
| 2830 |
2023-09-07: David Anderson |
| 2831 |
commit b052c88512369771ff946f824d83064656673695 |
| 2832 |
|
| 2833 |
Added new functions |
| 2834 |
dwarf_get_fde_info_for_reg3_c() |
| 2835 |
dwarf_get_fde_info_for_cfa_reg3_c() |
| 2836 |
which correctly return a Dwarf_Signed |
| 2837 |
value for the dw_offset argument. |
| 2838 |
|
| 2839 |
dwarf_get_fde_info_for_reg3_b() |
| 2840 |
dwarf_get_fde_info_for_cfa_reg3_b() |
| 2841 |
remain unchanged. These return a Dwarf_Unsigned |
| 2842 |
dw_offset value, which callers must |
| 2843 |
cast to Dwarf_Signed for correct use |
| 2844 |
on DWARF frame information, |
| 2845 |
as has been true since the first libdwarf. |
| 2846 |
|
| 2847 |
modified: src/bin/dwarfdump/print_frames.c |
| 2848 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 2849 |
modified: src/lib/libdwarf/libdwarf.h |
| 2850 |
|
| 2851 |
2023-09-06: David Anderson |
| 2852 |
commit 687af9c6f9305f433f4fb94435c75a6e7c3a37cd |
| 2853 |
|
| 2854 |
Up to date with git diff |
| 2855 |
modified: ChangeLog |
| 2856 |
|
| 2857 |
2023-09-06: David Anderson |
| 2858 |
commit ebc892ec98f7003a5b47fecc67d2596f2ca9e7ca |
| 2859 |
|
| 2860 |
Removing trailing whitespace, fixing indents. |
| 2861 |
modified: src/bin/dwarfexample/frame1.c |
| 2862 |
modified: src/bin/dwarfexample/showsectiongroups.c |
| 2863 |
modified: src/bin/dwarfexample/simplereader.c |
| 2864 |
|
| 2865 |
2023-09-06: David Anderson |
| 2866 |
commit e15af5c57dbfc9c9be6fe6f890dc0abb6aec10c4 |
| 2867 |
|
| 2868 |
Removing trailing whitespace, fixing indent mistakes, |
| 2869 |
and shortening too-long lines. |
| 2870 |
Per codingstandard. |
| 2871 |
modified: src/lib/libdwarf/dwarf_frame.h |
| 2872 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 2873 |
modified: src/lib/libdwarf/dwarf_line.c |
| 2874 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 2875 |
modified: src/lib/libdwarf/dwarf_object_detector.c |
| 2876 |
modified: src/lib/libdwarf/dwarf_object_detector.h |
| 2877 |
modified: src/lib/libdwarf/dwarf_safe_arithmetic.h |
| 2878 |
modified: src/lib/libdwarf/libdwarf.h |
| 2879 |
|
| 2880 |
2023-09-06: David Anderson |
| 2881 |
commit 1e0d6e36dfad997a01fcb48586568fad4f042b4d |
| 2882 |
|
| 2883 |
Added a sanity check and explicitly cast |
| 2884 |
the dw_offset to Dwarf_Signed (previously |
| 2885 |
it was implicit in two calls). |
| 2886 |
modified: src/bin/dwarfexample/frame1.c |
| 2887 |
|
| 2888 |
2023-09-06: David Anderson |
| 2889 |
commit 0dbbbdf876dd5a9bab692d93ef56c60c5980910e |
| 2890 |
|
| 2891 |
Added commentary, on frame register data and |
| 2892 |
added explicit cast to use of the dw_offset value |
| 2893 |
used in print_one_fde() |
| 2894 |
Added a sanity check for a library error. |
| 2895 |
modified: src/bin/dwarfdump/print_frames.c |
| 2896 |
|
| 2897 |
2023-09-06: David Anderson |
| 2898 |
commit f2b487fbc062d2703f9938bf4c1cb5ed4b464461 |
| 2899 |
|
| 2900 |
Fixed a typo in doxygen comment. |
| 2901 |
modified: src/lib/libdwarf/libdwarf.h |
| 2902 |
|
| 2903 |
2023-09-06: David Anderson |
| 2904 |
commit 27efdf020621e67a3c913da66b8975c4cc1bf7e8 |
| 2905 |
|
| 2906 |
Refined comments that point out a very old error |
| 2907 |
in the data type of DWARF frame expression |
| 2908 |
content in return arguments. |
| 2909 |
In struct Dwarf_Regtable_Entry3_s |
| 2910 |
(accessible via dwarf_get_fde_info_for_all_regs3()), |
| 2911 |
and returned by functions |
| 2912 |
dwarf_get_fde_info_for_reg3_b(), |
| 2913 |
and dwarf_get_fde_info_for_cfa_reg3_b(). |
| 2914 |
|
| 2915 |
modified: src/lib/libdwarf/libdwarf.h |
| 2916 |
|
| 2917 |
2023-09-04: David Anderson |
| 2918 |
commit 911c0b01f5a4cba92b0b1b99dde9fd5889034e2f |
| 2919 |
|
| 2920 |
Correcting a misspelling in the text. |
| 2921 |
modified: ChangeLog |
| 2922 |
|
| 2923 |
2023-09-03: David Anderson |
| 2924 |
commit dc2095a8618c02476d7a21cb08e3c827b76e97b4 |
| 2925 |
|
| 2926 |
Up to date with git log. |
| 2927 |
modified: ChangeLog |
| 2928 |
|
| 2929 |
2023-09-03: David Anderson |
| 2930 |
commit b43d17fab5246ffb3376ae2151beaafb4138c15a |
| 2931 |
|
| 2932 |
Now mentioning O_CLOEXEC flag |
| 2933 |
on open(). |
| 2934 |
modified: doc/libdwarf.dox |
| 2935 |
Regenerated. |
| 2936 |
modified: doc/libdwarf.pdf |
| 2937 |
|
| 2938 |
2023-09-03: David Anderson |
| 2939 |
commit 3328b9460b13db261200e72e06ce518152bb24d2 |
| 2940 |
|
| 2941 |
In all open() calls we or O_CLOEXEC to the flags |
| 2942 |
bits (when O_CLOEXEC exists). |
| 2943 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 2944 |
modified: src/lib/libdwarf/dwarf_generic_init.c |
| 2945 |
modified: src/lib/libdwarf/dwarf_object_detector.c |
| 2946 |
|
| 2947 |
2023-09-03: David Anderson |
| 2948 |
commit 51f2329e577f186681d6ae4d1c6e52fa8049a24f |
| 2949 |
|
| 2950 |
Current month is now September...regenerated. |
| 2951 |
modified: bugxml/dwarfbug.html |
| 2952 |
modified: bugxml/dwarfbuglohi.html |
| 2953 |
|
| 2954 |
2023-08-31: David Anderson |
| 2955 |
commit cea3a4e239f8360bfaa52a55624d72feb1711aa5 |
| 2956 |
|
| 2957 |
Changes now lists the vulerabilities |
| 2958 |
fixed since the 20 May release of 0.7.0 |
| 2959 |
modified: doc/libdwarf.dox |
| 2960 |
|
| 2961 |
2023-08-30: David Anderson |
| 2962 |
commit b1c64d4198a14725ad26c41da8c4b02e3be9e963 |
| 2963 |
|
| 2964 |
Up to date with git log |
| 2965 |
modified: ChangeLog |
| 2966 |
|
| 2967 |
2023-08-30: David Anderson |
| 2968 |
commit de3f4a471cf013d1feb39f13e4325d41ab35f7ff |
| 2969 |
|
| 2970 |
Added ossfuzz id to the bug fix entry. |
| 2971 |
modified: ChangeLog |
| 2972 |
|
| 2973 |
A typo here on the DW202308-001 entry, the |
| 2974 |
oss fuzz id is dwarfbug*sh |
| 2975 |
modified: bugxml/data.txt |
| 2976 |
Regenerated. |
| 2977 |
modified: bugxml/dwarfbug.html |
| 2978 |
modified: bugxml/dwarfbug.xml |
| 2979 |
modified: bugxml/dwarfbuglohi.html |
| 2980 |
|
| 2981 |
2023-08-29: David Anderson |
| 2982 |
commit 03ae18dc3220ac5630637fa67e399d0c3ad4cb8f |
| 2983 |
|
| 2984 |
Fixing a typo. |
| 2985 |
modified: bugxml/data.txt |
| 2986 |
regenerated |
| 2987 |
modified: bugxml/dwarfbug.html |
| 2988 |
modified: bugxml/dwarfbug.xml |
| 2989 |
modified: bugxml/dwarfbuglohi.html |
| 2990 |
|
| 2991 |
2023-08-28: David Anderson |
| 2992 |
commit 27c0e022346ad93418d15adee0893b31059a75c4 |
| 2993 |
|
| 2994 |
Incorporated git log and added |
| 2995 |
commentary on this vulnerability. |
| 2996 |
modified: ChangeLog |
| 2997 |
|
| 2998 |
2023-08-28: David Anderson |
| 2999 |
commit d6dba09a400c2360c441e997bc7a9196c6341efd |
| 3000 |
|
| 3001 |
Logging ossfuzz59576 vulnerability and fix. |
| 3002 |
modified: bugxml/data.txt |
| 3003 |
|
| 3004 |
2023-08-28: David Anderson |
| 3005 |
commit e53adc90ffd6d5d0fad61546b0041990aefd970b |
| 3006 |
|
| 3007 |
Fixes ossfuzz 59576. |
| 3008 |
A test in case 'L' of augmentations had |
| 3009 |
the wrong test for out of bounds. |
| 3010 |
Changed > to >= . |
| 3011 |
Around line 1615 |
| 3012 |
We lost track that this was an open bug. |
| 3013 |
Now fixed. |
| 3014 |
It has been in existence for years. |
| 3015 |
modified: dwarf_frame2.c |
| 3016 |
|
| 3017 |
2023-08-25: David Anderson |
| 3018 |
commit 4442d453370b50b943331e359e40dd981668175c |
| 3019 |
|
| 3020 |
Expanded the description of the |
| 3021 |
bug fix where an ET_EXEC object |
| 3022 |
was having relocations applied |
| 3023 |
(linkers do not normally produce |
| 3024 |
a non-relocatable object with |
| 3025 |
relocation sections). |
| 3026 |
modified: ChangeLog |
| 3027 |
|
| 3028 |
2023-08-23: David Anderson |
| 3029 |
commit 5bdbcf570cc3f999528a7421c6d4bc0e31fb3565 |
| 3030 |
|
| 3031 |
Up to date with git log |
| 3032 |
modified: ChangeLog |
| 3033 |
|
| 3034 |
2023-08-23: David Anderson |
| 3035 |
commit 96bd161d41050ed367716cdcb249a9e55bfe60a9 |
| 3036 |
|
| 3037 |
An executable with relocations exposed |
| 3038 |
the mistake of running relocations on |
| 3039 |
non-relocatable objects. |
| 3040 |
Now we test the elf header e_type field and if |
| 3041 |
the e_type is not ET_REL we do no relocations. |
| 3042 |
modified: src/lib/libdwarf/dwarf_elfread.c |
| 3043 |
|
| 3044 |
2023-08-20: David Anderson |
| 3045 |
commit b6e314cd78a79c36252dd4948529f0c2e58605ff |
| 3046 |
|
| 3047 |
Up to date with git log |
| 3048 |
modified: ChangeLog |
| 3049 |
|
| 3050 |
2023-08-20: David Anderson |
| 3051 |
commit 2c47b4816685d6e2b9f097a718b155baaa587899 |
| 3052 |
|
| 3053 |
Fixed modification date |
| 3054 |
modified: README |
| 3055 |
modified: README.md |
| 3056 |
|
| 3057 |
2023-08-20: David Anderson |
| 3058 |
commit da6765e589073f7defc94e200ce20db46a56500d |
| 3059 |
|
| 3060 |
The correct define for linking against libdwarf.a |
| 3061 |
(static library) is LIBDWARF_STATIC |
| 3062 |
modified: README |
| 3063 |
modified: README.md |
| 3064 |
modified: doc/libdwarf.dox |
| 3065 |
modified: doc/libdwarf.pdf |
| 3066 |
|
| 3067 |
2023-08-20: David Anderson |
| 3068 |
commit cb22caf8c914ba28866d5e7305191af8b4ca9f2f |
| 3069 |
|
| 3070 |
Misspelled: BUILD_LIBDWARF -> LIBDWARF_BUILD |
| 3071 |
modified: README |
| 3072 |
modified: README.md |
| 3073 |
Latest version |
| 3074 |
modified: doc/libdwarf.pdf |
| 3075 |
|
| 3076 |
2023-08-19: David Anderson |
| 3077 |
commit 405c669f6d1abe9aa9737bdce3c10163fe4ad17e |
| 3078 |
|
| 3079 |
Documents how to properly deal with linking |
| 3080 |
to libdwarf.a in Visual Studio |
| 3081 |
modified: doc/libdwarf.dox |
| 3082 |
Regenerated. |
| 3083 |
modified: doc/libdwarf.pdf |
| 3084 |
|
| 3085 |
2023-08-17: David Anderson |
| 3086 |
commit d0aaf31b3d81344f9e830adff27c54b2f0129367 |
| 3087 |
|
| 3088 |
Up to date. |
| 3089 |
modified: ChangeLog |
| 3090 |
|
| 3091 |
2023-08-17: David Anderson |
| 3092 |
commit 0c707a68bbda59e53fd703a53ce73107b3d6049e |
| 3093 |
|
| 3094 |
Documented the #define of LIBDWARF_STATIC required to |
| 3095 |
link your code to a static library libdwarf.a |
| 3096 |
modified: doc/libdwarf.dox |
| 3097 |
modified: doc/libdwarf.pdf |
| 3098 |
|
| 3099 |
2023-08-17: David Anderson |
| 3100 |
commit d59251b6eb644265689e2e839a5947c5dbbba3c0 |
| 3101 |
|
| 3102 |
Clarified how one links against a |
| 3103 |
static library libdwarf.a |
| 3104 |
|
| 3105 |
modified: README |
| 3106 |
modified: README.md |
| 3107 |
|
| 3108 |
2023-08-15: David Anderson |
| 3109 |
commit ef63115fb2b4c0b4d44bdbb215fe873057d674c1 |
| 3110 |
|
| 3111 |
Clarifying a comment. |
| 3112 |
modified: src/bin/dwarfdump/dd_sanitized.c |
| 3113 |
|
| 3114 |
2023-08-14: David Anderson |
| 3115 |
commit 2c314f3cb2b67346aab727dd92c79dad79cb8661 |
| 3116 |
|
| 3117 |
Small typos/omissions in updates today. |
| 3118 |
modified: src/bin/dwarfdump/CMakeLists.txt |
| 3119 |
modified: src/bin/dwarfdump/Makefile.am |
| 3120 |
modified: src/bin/dwarfdump/meson.build |
| 3121 |
modified: test/CMakeLists.txt |
| 3122 |
modified: test/meson.build |
| 3123 |
|
| 3124 |
2023-08-14: David Anderson |
| 3125 |
commit fc57075d4d937171fea9dc2fec61f7ec120dd2ed |
| 3126 |
|
| 3127 |
We have a working version with utf-8 variable names |
| 3128 |
shown correctly. |
| 3129 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 3130 |
modified: src/bin/dwarfdump/dd_glflags.h |
| 3131 |
modified: src/bin/dwarfdump/dd_sanitized.c |
| 3132 |
modified: src/bin/dwarfdump/dd_utf8.c |
| 3133 |
modified: src/bin/dwarfdump/dd_utf8.h |
| 3134 |
|
| 3135 |
New option --format-suppress-utf8 that unconditionally turns |
| 3136 |
off utf-8 output, reverting to uri-style |
| 3137 |
output. |
| 3138 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 3139 |
|
| 3140 |
2023-08-14: David Anderson |
| 3141 |
commit 8b4b34476c96d6aeff11b8a5252fdeedd38ff722 |
| 3142 |
|
| 3143 |
So builds with dd_utf8.c |
| 3144 |
modified: test/Makefile.am |
| 3145 |
|
| 3146 |
2023-08-14: David Anderson |
| 3147 |
commit 4d313420f101a95c8a10b6eac6d6a0dc72590075 |
| 3148 |
|
| 3149 |
Now mostly builds with configure |
| 3150 |
modified: src/bin/attr_form/Makefile.am |
| 3151 |
modified: src/bin/dwarfdump/dd_utf8.c |
| 3152 |
modified: src/bin/dwarfdump/dd_utf8.h |
| 3153 |
modified: src/bin/tag_attr/Makefile.am |
| 3154 |
modified: src/bin/tag_tree/Makefile.am |
| 3155 |
|
| 3156 |
2023-08-14: David Anderson |
| 3157 |
commit 67220e29afbcd85cdbbb86ea0fa00a799373c985 |
| 3158 |
|
| 3159 |
With utf8 mods |
| 3160 |
modified: dd_sanitized.h |
| 3161 |
|
| 3162 |
2023-08-13: David Anderson |
| 3163 |
commit 1a61a88486b91309897e252889323e81f3498f64 |
| 3164 |
|
| 3165 |
More for utf8. |
| 3166 |
new file: dd_utf8.h |
| 3167 |
|
| 3168 |
2023-08-13: David Anderson |
| 3169 |
commit 467bd43c895a6fa1b231483a7161776502a5e74f |
| 3170 |
|
| 3171 |
Importing utf8 changes from other branch. |
| 3172 |
modified: src/bin/dwarfdump/Makefile.am |
| 3173 |
modified: src/bin/dwarfdump/dd_sanitized.c |
| 3174 |
new file: src/bin/dwarfdump/dd_utf8.c |
| 3175 |
|
| 3176 |
2023-08-13: David Anderson |
| 3177 |
commit 9bd68f2f9b9a76e87b903a810bf4874f108bfce0 |
| 3178 |
|
| 3179 |
A new internal flag: |
| 3180 |
gf_print_utf8_flag |
| 3181 |
If TRUE we will attempt to print utf8 characters |
| 3182 |
as they should, not uri-style. |
| 3183 |
modified: ../../../configure.ac |
| 3184 |
modified: dd_glflags.c |
| 3185 |
modified: dd_glflags.h |
| 3186 |
modified: dwarfdump.c |
| 3187 |
|
| 3188 |
2023-08-12: David Anderson |
| 3189 |
commit 9cb10d3a553a215016e3fa150528f62af3d9b986 |
| 3190 |
|
| 3191 |
Now with latest changes. |
| 3192 |
modified: ChangeLog |
| 3193 |
|
| 3194 |
2023-08-12: David Anderson |
| 3195 |
commit ebcee1385334882c20f375d75302cd3d4bc13798 |
| 3196 |
|
| 3197 |
removing duplicate declarations. |
| 3198 |
One such suffices. |
| 3199 |
|
| 3200 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 3201 |
modified: src/bin/dwarfdump/dd_compiler_info.h |
| 3202 |
modified: src/bin/dwarfdump/dd_globals.h |
| 3203 |
modified: src/lib/libdwarf/dwarf_debugnames.h |
| 3204 |
modified: src/lib/libdwarf/dwarf_object_detector.h |
| 3205 |
|
| 3206 |
2023-08-12: David Anderson |
| 3207 |
commit 8c3812dad14d7a1e9e8b49fb56d3d96ffd2fdc08 |
| 3208 |
|
| 3209 |
Having realized some options used in configure were |
| 3210 |
suppressing some very valuable warnings, discovered |
| 3211 |
that the following were only in configure.ac (not |
| 3212 |
cmake or meson) and verified each suppresses simple |
| 3213 |
warnings such as 'unused local variable'. |
| 3214 |
Removed the following warnings: |
| 3215 |
-Wnull-dereference causes bogus warnings. |
| 3216 |
-Wbad-function-cast removes useful warnings |
| 3217 |
-Wnostringop-overread removes useful warnings |
| 3218 |
-Wbad-function-cast removes useful warnings |
| 3219 |
-Wmissing-parameter-type removes useful warnings |
| 3220 |
modified: configure.ac |
| 3221 |
|
| 3222 |
2023-08-12: David Anderson |
| 3223 |
commit 158ab5c9d4aa115ad502d8ce7dd37008ce649dc0 |
| 3224 |
|
| 3225 |
With latest trivial fix. |
| 3226 |
modified: ChangeLog |
| 3227 |
|
| 3228 |
2023-08-12: David Anderson |
| 3229 |
commit d2c5705953613961b4edde069fb545f4be639f0a |
| 3230 |
|
| 3231 |
Refactoring left in an unused local variable |
| 3232 |
and an unused argument. Removed unused. |
| 3233 |
modified: src/lib/libdwarf/dwarf_line.c |
| 3234 |
|
| 3235 |
2023-08-12: David Anderson |
| 3236 |
commit 99cb7a9b11c85b7a14be6b381b57f284a613b7d1 |
| 3237 |
|
| 3238 |
Update with latest git log |
| 3239 |
modified: ChangeLog |
| 3240 |
|
| 3241 |
2023-08-11: David Anderson |
| 3242 |
commit ffa552d3af71d8ff40dd0aa63d36a4dfbb6f811f |
| 3243 |
|
| 3244 |
Minor change to a comment. |
| 3245 |
modified: src/lib/libdwarf/dwarf_base_types.h |
| 3246 |
|
| 3247 |
Now correctly uses the DWARF5 includes array |
| 3248 |
in the line table header to get the compilation |
| 3249 |
directory (when required) to produce the |
| 3250 |
fullest file path possible. |
| 3251 |
It nearly always gave the right answer, but |
| 3252 |
in the special case where a file index of N |
| 3253 |
in the table had a directory index of 0 |
| 3254 |
the full path came out wrong (duplicate directory |
| 3255 |
names). |
| 3256 |
|
| 3257 |
modified: src/lib/libdwarf/dwarf_line.c |
| 3258 |
|
| 3259 |
2023-08-09: David Anderson |
| 3260 |
commit 336ad49af6f2bb9554ab87ac2ea95981737e12ae |
| 3261 |
|
| 3262 |
Removed mention of libelf (because it is no longer |
| 3263 |
used). |
| 3264 |
modified: scripts/buildandreleasetest.sh |
| 3265 |
|
| 3266 |
Fixed the check for errors on running regression tests: |
| 3267 |
some time ago the final count emitted |
| 3268 |
by libdwarf-regressiontests was changed from |
| 3269 |
FAIL 0 |
| 3270 |
to |
| 3271 |
FAIL count: 0 |
| 3272 |
and run-all-tests.sh was not adjusted to match. |
| 3273 |
Now these match. |
| 3274 |
modified: scripts/run-all-tests.sh |
| 3275 |
|
| 3276 |
2023-08-07: David Anderson |
| 3277 |
commit 340b0e131922943f00dacd4ee4d3389fbcbd2e76 |
| 3278 |
|
| 3279 |
Now the last .c file in dwarfgen renamed: |
| 3280 |
dg_getopt.c -> dg_getopt.cc |
| 3281 |
and simplified to avoid warnings. |
| 3282 |
modified: src/bin/dwarfgen/CMakeLists.txt |
| 3283 |
modified: src/bin/dwarfgen/Makefile.am |
| 3284 |
renamed: src/bin/dwarfgen/dg_getopt.c -> src/bin/dwarfgen/dg_getopt.cc |
| 3285 |
modified: src/bin/dwarfgen/meson.build |
| 3286 |
|
| 3287 |
2023-08-07: David Anderson |
| 3288 |
commit 7965d07fd52d4a81a43d82061099cefd5f207e81 |
| 3289 |
|
| 3290 |
Added a cmake module path entry. Not sure it is necessary. |
| 3291 |
modified: CMakeLists.txt |
| 3292 |
Not clear this is being used, but harmless if not. |
| 3293 |
modified: cmake/FindZSTD.cmake |
| 3294 |
|
| 3295 |
2023-08-07: David Anderson |
| 3296 |
commit af9463ed62919f7c1199fd9c4ce039b9ca03c653 |
| 3297 |
|
| 3298 |
useful, I hope. |
| 3299 |
new file: cmake/FindZSTD.cmake |
| 3300 |
|
| 3301 |
2023-08-06: David Anderson |
| 3302 |
commit 861853c6c0ca3a20859d5387e0d02716c3e7e742 |
| 3303 |
|
| 3304 |
Documenting another LIBELF mention removed (CMakeLists.txt). |
| 3305 |
modified: ChangeLog |
| 3306 |
|
| 3307 |
2023-08-06: David Anderson |
| 3308 |
commit e9f5561052fd5553172705f81491a258c7892f2a |
| 3309 |
|
| 3310 |
Updated to reflect recent identification |
| 3311 |
of example code as PUBLIC DOMAIN. |
| 3312 |
modified: COPYING |
| 3313 |
Now marked PUBLIC DOMAIN. |
| 3314 |
modified: src/bin/dwarfexample/simplereader.c |
| 3315 |
|
| 3316 |
2023-08-06: David Anderson |
| 3317 |
commit 028862dc4373b26448250eeecb12689f0fb00849 |
| 3318 |
|
| 3319 |
Updated reflecting the removal of LIBELF |
| 3320 |
references in libdwarf/CMakeLists.txt |
| 3321 |
modified: ChangeLog |
| 3322 |
|
| 3323 |
2023-08-06: David Anderson |
| 3324 |
commit 822021b5caa50c07ebc229ef3e66506db4352598 |
| 3325 |
|
| 3326 |
Removed references to LIBELF_LIBRARIES |
| 3327 |
and LIBELF_INCLUDE_DIRS |
| 3328 |
as those are no longer relevant. |
| 3329 |
We don't use libelf as of version 0.7.1. |
| 3330 |
modified: src/lib/libdwarf/CMakeLists.txt |
| 3331 |
|
| 3332 |
2023-07-16: David Anderson |
| 3333 |
commit 61fb3beeb9f871794719208743218bac8d34b870 |
| 3334 |
|
| 3335 |
Up to date from git log |
| 3336 |
modified: ChangeLog |
| 3337 |
|
| 3338 |
2023-07-16: David Anderson |
| 3339 |
commit 83e6f04c5b5060b43424de76e024cf73412ac607 |
| 3340 |
|
| 3341 |
Now we check that the number of files |
| 3342 |
that |
| 3343 |
cmake install |
| 3344 |
installs matches the number |
| 3345 |
we know is right. TEST F does this check. |
| 3346 |
modified: scripts/buildandreleasetest.sh |
| 3347 |
|
| 3348 |
2023-07-15: David Anderson |
| 3349 |
commit a44e9c03c45b3164d16885aa821618dc0f34338f |
| 3350 |
|
| 3351 |
Needed so the new libdwarf.pc.cmake |
| 3352 |
is in the distr. |
| 3353 |
modified: src/lib/libdwarfp/Makefile.am |
| 3354 |
|
| 3355 |
2023-07-15: David Anderson |
| 3356 |
commit 831b634c19898cf99ca240cd26b83dc3be6d96b2 |
| 3357 |
|
| 3358 |
cmake only: |
| 3359 |
If (for some reason) one wanted to install libdwarfp |
| 3360 |
and dwarfgen ...the install would not be complete |
| 3361 |
if using -DBUILD_DWARFGEN:BOOL=YES |
| 3362 |
or -DBUILD_DWARFGEN=YES |
| 3363 |
|
| 3364 |
Various small mistakes lead to an incomplete install. |
| 3365 |
No-one should be using -DBUILD_DWARFGEN:BOOL=YES |
| 3366 |
one thinks, but it is unfortunate this option's |
| 3367 |
install was done incorrectly till now. |
| 3368 |
|
| 3369 |
modified: CMakeLists.txt |
| 3370 |
modified: cmake/config.h.cmake |
| 3371 |
modified: src/lib/libdwarfp/CMakeLists.txt |
| 3372 |
new file: src/lib/libdwarfp/libdwarfp.pc.cmake |
| 3373 |
|
| 3374 |
Obsolete now libelf not used. |
| 3375 |
deleted: cmake/FindLibElf.cmake |
| 3376 |
|
| 3377 |
2023-07-14: David Anderson |
| 3378 |
commit f213254afe916b4c7e51fdd88aec4e062d97b470 |
| 3379 |
|
| 3380 |
cmake install |
| 3381 |
was not installing dwarf.h. |
| 3382 |
The bug was introduced in 2021 when |
| 3383 |
the source files were moved around to the |
| 3384 |
current layout and the base CMakeLists.txt |
| 3385 |
install lines were copied to the libdwarf dir. |
| 3386 |
|
| 3387 |
This deletes 2 useless lines and adds a specific |
| 3388 |
line to get dwarf.h installed. |
| 3389 |
modified: src/lib/libdwarf/CMakeLists.txt |
| 3390 |
|
| 3391 |
2023-07-12: David Anderson |
| 3392 |
commit 26e807bd6edb7dd45b9faaebccc340d7278beb4e |
| 3393 |
|
| 3394 |
Bringing up to date with git log |
| 3395 |
modified: ChangeLog |
| 3396 |
|
| 3397 |
2023-07-12: David Anderson |
| 3398 |
commit 81c4c9b69fc8f7a7fe41b321659d6165fc3b5491 |
| 3399 |
|
| 3400 |
The side effect of changing some attribute |
| 3401 |
printing is these baselines for 'make check' |
| 3402 |
have to be updated. Done. |
| 3403 |
modified: test/test-mach-o-32.base |
| 3404 |
modified: test/testobjLE32PE.base |
| 3405 |
modified: test/testuriLE64ELf.base |
| 3406 |
|
| 3407 |
2023-07-12: David Anderson |
| 3408 |
commit 9ba4501eff0e21422b3986f36d6d8b7df43ad911 |
| 3409 |
|
| 3410 |
Remove a couple special cases, unifying |
| 3411 |
under a commot version |
| 3412 |
The visible side effect is that things like address_size |
| 3413 |
print as 4 instead of 0x00000004 in most cases. |
| 3414 |
modified: src/bin/dwarfdump/print_die.c |
| 3415 |
|
| 3416 |
2023-07-12: David Anderson |
| 3417 |
commit f3c20004f7a0857e711e2528c1a7b1d210734b05 |
| 3418 |
|
| 3419 |
Changing the name of a local variable for the convenience |
| 3420 |
of a Windows user. See github issue 173 |
| 3421 |
modified: src/bin/dwarfexample/jitreader.c |
| 3422 |
|
| 3423 |
2023-07-11: David Anderson |
| 3424 |
commit fb90950e8146a81b8b0fe68fe971a655fd592f24 |
| 3425 |
|
| 3426 |
Adding DW202307-001 |
| 3427 |
Also, ensuring that |
| 3428 |
references to regressiontests start |
| 3429 |
with regressiontests/ (A few such |
| 3430 |
were left off). |
| 3431 |
modified: bugxml/data.txt |
| 3432 |
|
| 3433 |
2023-07-11: David Anderson |
| 3434 |
commit c8c5073f35b1efdcc610ecf369c78f87fdd34714 |
| 3435 |
|
| 3436 |
Vulnerability DW202307-001 ossfuzz id: 60506 |
| 3437 |
Reading a fuzzed object with a corrupted |
| 3438 |
experimental (non-standard) line table format |
| 3439 |
could result in a crash/out-of-bounds-read. |
| 3440 |
Present since October 2015 when support for this |
| 3441 |
form of line table was added. |
| 3442 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 3443 |
|
| 3444 |
2023-07-08: David Anderson |
| 3445 |
commit c95f0584878e9443f940930bb26ec5e3a4de5815 |
| 3446 |
|
| 3447 |
Added clarifying comments about printing |
| 3448 |
macro data and handling of macro import. |
| 3449 |
No logic change. |
| 3450 |
modified: doc/checkexamples.c |
| 3451 |
modified: fuzz/fuzz_macro_dwarf5.c |
| 3452 |
modified: src/bin/dwarfdump/print_macro.c |
| 3453 |
|
| 3454 |
2023-07-07: David Anderson |
| 3455 |
commit d075037bfa6e679cb217c7b432ced42aca3c5132 |
| 3456 |
|
| 3457 |
A tiny appearance tweak. |
| 3458 |
modified: CODINGSTYLE.md |
| 3459 |
|
| 3460 |
2023-07-07: David Anderson |
| 3461 |
commit 879fd06d2091b4154fcef31ebc370bf8f525126d |
| 3462 |
|
| 3463 |
Corrected typo and |
| 3464 |
made another minor change. |
| 3465 |
modified: CODINGSTYLE.md |
| 3466 |
Up to date again. |
| 3467 |
modified: doc/libdwarf.pdf |
| 3468 |
|
| 3469 |
2023-07-07: David Anderson |
| 3470 |
commit 236a416ff8a0261b82056119e68f3078a55fd16c |
| 3471 |
|
| 3472 |
Small clarifications. |
| 3473 |
Fixed a ###Indentation line |
| 3474 |
modified: CODINGSTYLE.md |
| 3475 |
|
| 3476 |
2023-07-07: David Anderson |
| 3477 |
commit 1f89bb177df7781b5fd7aaf07bc35378d262a371 |
| 3478 |
|
| 3479 |
The list of sections that can be read |
| 3480 |
independently of other sections now |
| 3481 |
includes .debug_addr (left out by accident). |
| 3482 |
modified: doc/libdwarf.dox |
| 3483 |
|
| 3484 |
2023-07-04: David Anderson |
| 3485 |
commit 2af70c5b8dc4f84d58da25b6978e5894994876be |
| 3486 |
|
| 3487 |
Clarifying (see Changes here) |
| 3488 |
builds on Windows: which build |
| 3489 |
systems allow static (non-shared) libdwarf. |
| 3490 |
modified: README |
| 3491 |
modified: README.md |
| 3492 |
|
| 3493 |
2023-07-03: David Anderson |
| 3494 |
commit a3e20ef181d021286d16dc3730b8a66ff48695a6 |
| 3495 |
|
| 3496 |
Fixed indent mistake |
| 3497 |
modified: test.yml |
| 3498 |
|
| 3499 |
2023-07-03: David Anderson |
| 3500 |
commit ab810163a6198914817c1589e49ba7cb65737248 |
| 3501 |
|
| 3502 |
modified: test.yml |
| 3503 |
|
| 3504 |
2023-07-03: David Anderson |
| 3505 |
commit 00419b2134482ff624f58c97363c78bf0acc5f26 |
| 3506 |
|
| 3507 |
tweak macos |
| 3508 |
modified: test.yml |
| 3509 |
|
| 3510 |
2023-07-03: David Anderson |
| 3511 |
commit fd86cfb3abcfc211bd98875feb35fdd2a0ee077a |
| 3512 |
|
| 3513 |
Should work for macos now |
| 3514 |
modified: mac_meson.yml |
| 3515 |
modified: test.yml |
| 3516 |
|
| 3517 |
2023-07-03: David Anderson |
| 3518 |
commit 64d346fd2a48135be49d259a0992de082a5668c6 |
| 3519 |
|
| 3520 |
add back --overwrite |
| 3521 |
modified: mac_autotools.yml |
| 3522 |
|
| 3523 |
2023-07-03: David Anderson |
| 3524 |
commit 3f589d710b72efa059fefcd5c4c6b82d6903fdba |
| 3525 |
|
| 3526 |
mac no longer do bash curl of homebrew |
| 3527 |
modified: mac_autotools.yml |
| 3528 |
modified: mac_meson.yml |
| 3529 |
modified: test.yml |
| 3530 |
|
| 3531 |
2023-07-03: David Anderson |
| 3532 |
commit b0d9843546697243cb1783867602771c250ff46d |
| 3533 |
|
| 3534 |
Remove install of homebrew |
| 3535 |
modified: mac_autotools.yml |
| 3536 |
|
| 3537 |
2023-07-03: David Anderson |
| 3538 |
commit 98d8eebb1541c3319c30d490538aa758080b2138 |
| 3539 |
|
| 3540 |
Commented macos-meson out too |
| 3541 |
modified: test.yml |
| 3542 |
|
| 3543 |
2023-07-03: David Anderson |
| 3544 |
commit ea27e3621ab65ae837662b2d822e0817103530c4 |
| 3545 |
|
| 3546 |
comment out non-working macos |
| 3547 |
autotools and macos cmake |
| 3548 |
modified: test.yml |
| 3549 |
|
| 3550 |
2023-07-03: David Anderson |
| 3551 |
commit 1a4cfb616bfef89e116efe6a96a9802c11fdf9f2 |
| 3552 |
|
| 3553 |
New test, now with brew cleanup |
| 3554 |
modified: mac_autotools.yml |
| 3555 |
|
| 3556 |
2023-07-02: David Anderson |
| 3557 |
commit ed22079d91d49c6ffc232f8b3cf4cf310bb9dc6b |
| 3558 |
|
| 3559 |
Another trial. |
| 3560 |
modified: mac_autotools.yml |
| 3561 |
|
| 3562 |
2023-07-02: David Anderson |
| 3563 |
commit 9750dff047cb5641583fd36e6e5a82b0c981e845 |
| 3564 |
|
| 3565 |
Another test. |
| 3566 |
modified: mac_autotools.yml |
| 3567 |
|
| 3568 |
2023-07-02: David Anderson |
| 3569 |
commit 4ff3c19b23a2d1c7aa66d4fcfcdd65cd739a07b8 |
| 3570 |
|
| 3571 |
A problem with homebrew, diagnosis added.. |
| 3572 |
modified: mac_autotools.yml |
| 3573 |
modified: test.yml |
| 3574 |
|
| 3575 |
2023-07-02: David Anderson |
| 3576 |
commit f47918226d58322e0541ccfdeb0fbe57d6876162 |
| 3577 |
|
| 3578 |
Now with July date. |
| 3579 |
modified: bugxml/dwarfbug.html |
| 3580 |
modified: bugxml/dwarfbuglohi.html |
| 3581 |
|
| 3582 |
2023-07-02: David Anderson |
| 3583 |
commit ce532787c19522f2aec1001c6afdee89c8c9a214 |
| 3584 |
|
| 3585 |
Fixed four real-but-minor issues found by coverity scan. |
| 3586 |
Has no effect on the output of dwarfgen. |
| 3587 |
modified: src/bin/dwarfgen/dwarfgen.cc |
| 3588 |
|
| 3589 |
2023-06-30: David Anderson |
| 3590 |
commit 72d509693c7b53f0a7db17a7b5e6858dfdb22132 |
| 3591 |
|
| 3592 |
Removing two small blocks referring to libelf. |
| 3593 |
modified: meson.build |
| 3594 |
modified: meson_options.txt |
| 3595 |
|
| 3596 |
2023-06-29: David Anderson |
| 3597 |
commit fe76278480a3e8ae25bdfcceb863568038b13a53 |
| 3598 |
|
| 3599 |
Latest git data. no more libelf |
| 3600 |
references. |
| 3601 |
modified: ChangeLog |
| 3602 |
|
| 3603 |
2023-06-29: David Anderson |
| 3604 |
commit 5b2ba5649702d5ad7b5fbe11a48af704885eafb0 |
| 3605 |
|
| 3606 |
Remove libelf references except |
| 3607 |
to say it is never referenced as of now. |
| 3608 |
modified: README |
| 3609 |
modified: README.cmake |
| 3610 |
modified: README.md |
| 3611 |
|
| 3612 |
2023-06-29: David Anderson |
| 3613 |
commit 4270e7d4f3f0b36b10861dbc90d0127837136d97 |
| 3614 |
|
| 3615 |
Completely missed a test for an alloc fail in one place, |
| 3616 |
and failed to return useful error text in the case where |
| 3617 |
a correct check for alloc fail was done. |
| 3618 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 3619 |
|
| 3620 |
2023-06-29: David Anderson |
| 3621 |
commit cfecc8d526d3c66ede35c0e4cfaec7da5e30535c |
| 3622 |
|
| 3623 |
The ASNX macro needed a tiny change |
| 3624 |
to avoid compiler warnings on big-endian |
| 3625 |
machine. Due to the change of how |
| 3626 |
things like sh_type_ (for example) |
| 3627 |
are defined. |
| 3628 |
modified: dwarfgen.cc |
| 3629 |
|
| 3630 |
2023-06-29: David Anderson |
| 3631 |
commit 77d9cad797963942497d004103b602d55f5a7882 |
| 3632 |
|
| 3633 |
Remove all references to libelf and to elf.h |
| 3634 |
modified: CMakeLists.txt |
| 3635 |
modified: configure.ac |
| 3636 |
modified: meson.build |
| 3637 |
|
| 3638 |
2023-06-29: David Anderson |
| 3639 |
commit fd3c0b9593801941924da35fcf0642e149c0c21b |
| 3640 |
|
| 3641 |
Fix compiler warnings about unused variables |
| 3642 |
etc. |
| 3643 |
modified: src/bin/dwarfgen/dwarfgen.cc |
| 3644 |
|
| 3645 |
2023-06-29: David Anderson |
| 3646 |
commit a3c918dd60eeed229e7841e35f189a4bcf672e5f |
| 3647 |
|
| 3648 |
Remove an uused #define (was for libelf use). |
| 3649 |
modified: src/bin/dwarfgen/dwarf_elf_defines.h |
| 3650 |
|
| 3651 |
2023-06-29: David Anderson |
| 3652 |
commit 12781997e08d74aaf0df42c7fc60d8491db4f436 |
| 3653 |
|
| 3654 |
Finish up changing nbufs from Dwarf_Signed to |
| 3655 |
Dwarf_Unsigned. |
| 3656 |
modified: src/lib/libdwarfp/dwarf_pro_arange.c |
| 3657 |
modified: src/lib/libdwarfp/dwarf_pro_macinfo.c |
| 3658 |
modified: src/lib/libdwarfp/dwarf_pro_macinfo.h |
| 3659 |
modified: src/lib/libdwarfp/dwarf_pro_section.c |
| 3660 |
modified: src/lib/libdwarfp/dwarf_pro_section.h |
| 3661 |
modified: src/lib/libdwarfp/dwarf_pro_types.c |
| 3662 |
modified: src/lib/libdwarfp/dwarf_pro_types.h |
| 3663 |
|
| 3664 |
2023-06-28: David Anderson |
| 3665 |
commit ca199e529e17dd4747c0e209a05711f68d4f5d03 |
| 3666 |
Merge: 0bf73a21 6087df9e |
| 3667 |
|
| 3668 |
Merge branch 'wr-elf' |
| 3669 |
|
| 3670 |
Now with no need for libelf anywhere.. |
| 3671 |
|
| 3672 |
2023-06-28: David Anderson |
| 3673 |
commit 6087df9e17df47095f55314aa4be6d9745cc683b |
| 3674 |
|
| 3675 |
tiny tweak setting sh_addralign. |
| 3676 |
modified: dwarfgen.cc |
| 3677 |
|
| 3678 |
2023-06-28: David Anderson |
| 3679 |
commit dc4c5049940d1ecbec351d0688824a5acc4ee247 |
| 3680 |
|
| 3681 |
generated object now with mode |
| 3682 |
read/write for all (not execute for anyone). |
| 3683 |
modified: dwarfgen.cc |
| 3684 |
|
| 3685 |
2023-06-28: David Anderson |
| 3686 |
commit cfd65e1c94e5a21cdc8c37f58bbece1f3fa81f3b |
| 3687 |
|
| 3688 |
Now seems to generate our limited elf |
| 3689 |
as created by dwarfgen ... |
| 3690 |
correctly. |
| 3691 |
modified: dwarfgen.cc |
| 3692 |
|
| 3693 |
2023-06-28: David Anderson |
| 3694 |
commit 7f6bc8c1d49af2f52e94bed368474493d15a28ea |
| 3695 |
|
| 3696 |
Changed a type from unsigned to Dwarf_Unsigned. |
| 3697 |
modified: irepresentation.h |
| 3698 |
|
| 3699 |
2023-06-28: David Anderson |
| 3700 |
commit c6e459e00dfeee00be7f32ab7589cf6e3bd07f37 |
| 3701 |
|
| 3702 |
Almost works. DO NOT USE THIS COMMIT |
| 3703 |
modified: dwarfgen.cc |
| 3704 |
|
| 3705 |
2023-06-27: David Anderson |
| 3706 |
commit 3c6a9a538f6682d45f40b0bed8e93c4a19b5dfec |
| 3707 |
|
| 3708 |
Now also writes. |
| 3709 |
DO NOT USE THIS COMMIT. |
| 3710 |
modified: dwarfgen.cc |
| 3711 |
|
| 3712 |
2023-06-27: David Anderson |
| 3713 |
commit 32a769c9d98ab744674cb4b2d26baea922299d9c |
| 3714 |
|
| 3715 |
DO NOT USE THIS COMMIT. |
| 3716 |
Compiles, but is incomplete. |
| 3717 |
modified: dwarfgen.cc |
| 3718 |
|
| 3719 |
2023-06-26: David Anderson |
| 3720 |
commit 0bf73a21035510aaa51d508670c7e6d02bef76a7 |
| 3721 |
|
| 3722 |
Completing records on DW202306-011 |
| 3723 |
modified: bugxml/data.txt |
| 3724 |
modified: bugxml/dwarfbug.html |
| 3725 |
modified: bugxml/dwarfbug.xml |
| 3726 |
modified: bugxml/dwarfbuglohi.html |
| 3727 |
|
| 3728 |
2023-06-26: David Anderson |
| 3729 |
commit 6f75899f1f90fa87e52da0df09ddaa2e5be778f9 |
| 3730 |
|
| 3731 |
Correction to a sanity test. |
| 3732 |
DW202306-011 ossfuzz 60090 |
| 3733 |
The test was < yet was supposed to be >= . |
| 3734 |
The test itself is just a few weeks old. |
| 3735 |
Near line 855. |
| 3736 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 3737 |
|
| 3738 |
2023-06-25: David Anderson |
| 3739 |
commit c10644be2f21737ac2b20e586c65e79f9ae8aedc |
| 3740 |
|
| 3741 |
DO NOT USE THIS COMMIT. |
| 3742 |
It's a work in progress. |
| 3743 |
modified: Makefile.am |
| 3744 |
modified: dwarfgen.cc |
| 3745 |
modified: irepresentation.h |
| 3746 |
modified: strtabdata.h |
| 3747 |
|
| 3748 |
2023-06-24: David Anderson |
| 3749 |
commit 6753a63c4dae4b71908fb446fcb93e986e536289 |
| 3750 |
|
| 3751 |
Now just char arrays. |
| 3752 |
modified: dwarf_elfstructs.h |
| 3753 |
|
| 3754 |
2023-06-24: David Anderson |
| 3755 |
commit 0609f2efe2a501f331f265c491a2f9c1d8783d1e |
| 3756 |
|
| 3757 |
Not needed |
| 3758 |
deleted: dwarf_elf_data.h |
| 3759 |
|
| 3760 |
2023-06-24: David Anderson |
| 3761 |
commit 53744098650689bcfcf5441525b1634798c39c2c |
| 3762 |
|
| 3763 |
Not wanted now. |
| 3764 |
deleted: dwarf_elf_interface.h |
| 3765 |
|
| 3766 |
2023-06-22: David Anderson |
| 3767 |
commit 680d91ea3dfd4def97ea7119621ab2f58d21481e |
| 3768 |
|
| 3769 |
Regenerated. |
| 3770 |
modified: bugxml/dwarfbug.html |
| 3771 |
modified: bugxml/dwarfbug.xml |
| 3772 |
modified: bugxml/dwarfbuglohi.html |
| 3773 |
|
| 3774 |
2023-06-19: David Anderson |
| 3775 |
commit fe967a59a203ab08376d416c6eba754ea0ba111c |
| 3776 |
|
| 3777 |
Correctly states the default library |
| 3778 |
for cmake is a static library, libdwarf.a |
| 3779 |
modified: README.cmake |
| 3780 |
|
| 3781 |
2023-06-19: David Anderson |
| 3782 |
commit 53463eff32b9ee59bf94915286f89a4f6301b6cb |
| 3783 |
|
| 3784 |
Latest bug has improved comments. |
| 3785 |
modified: bugxml/data.txt |
| 3786 |
|
| 3787 |
2023-06-19: David Anderson |
| 3788 |
commit 08cfa285846d7c4a2da011c944927a0d55847987 |
| 3789 |
|
| 3790 |
Comparing a signed value to unsigned in one |
| 3791 |
new test was a mistake. Now properly qualified |
| 3792 |
to avoid a mistaken if() |
| 3793 |
(this is a test only applicable to IRIX. ) |
| 3794 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 3795 |
|
| 3796 |
2023-06-19: David Anderson |
| 3797 |
commit 9479e68b4734f27679d36297a3a04b0a213b4934 |
| 3798 |
|
| 3799 |
Have fixed DW202306-010. |
| 3800 |
modified: bugxml/data.txt |
| 3801 |
modified: bugxml/dwarfbug.html |
| 3802 |
modified: bugxml/dwarfbug.xml |
| 3803 |
modified: bugxml/dwarfbuglohi.html |
| 3804 |
|
| 3805 |
2023-06-19: David Anderson |
| 3806 |
commit b7437c9e4923906e9b3f3860a0c8a8289cff0a91 |
| 3807 |
|
| 3808 |
Vulnerability DW202306-010 ossfuzz id: 59950. |
| 3809 |
Now we check for bad augmentation data |
| 3810 |
(like field lengths) where checking was |
| 3811 |
inadequate. |
| 3812 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 3813 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 3814 |
|
| 3815 |
2023-06-19: David Anderson |
| 3816 |
commit 72f3333e2646f350f0c9ee2e342bb4809aab051d |
| 3817 |
|
| 3818 |
modified: .github/workflows/freebsd_cmake.yml |
| 3819 |
modified: .github/workflows/mac_autotools.yml |
| 3820 |
modified: .github/workflows/mac_meson.yml |
| 3821 |
modified: .github/workflows/msys2_autotools.yml |
| 3822 |
|
| 3823 |
Now all the workflows have the permissions: |
| 3824 |
line in the standard position following an on: |
| 3825 |
(rather than before the on:) |
| 3826 |
|
| 3827 |
2023-06-18: David Anderson |
| 3828 |
commit cee6ad7da45827aeee00f93b622066264f041600 |
| 3829 |
|
| 3830 |
Bringing ChangeLog up to date. |
| 3831 |
modified: ChangeLog |
| 3832 |
|
| 3833 |
2023-06-18: David Anderson |
| 3834 |
commit 277e4f718e0061a068a74287291a4d8e8d18e94a |
| 3835 |
|
| 3836 |
Non-shared builds and shared-lib builds |
| 3837 |
result in libdwarf.so (or .dll) having |
| 3838 |
only the intended API functions visible to callers. |
| 3839 |
Modified to match up with the altered #defines |
| 3840 |
near the start of libdwarf.h . |
| 3841 |
modified: meson.build |
| 3842 |
modified: src/bin/attr_form/meson.build |
| 3843 |
modified: src/bin/buildopstab/meson.build |
| 3844 |
modified: src/bin/builduritable/meson.build |
| 3845 |
modified: src/bin/dwarfdump/meson.build |
| 3846 |
modified: src/bin/dwarfexample/meson.build |
| 3847 |
modified: src/bin/dwarfgen/meson.build |
| 3848 |
modified: src/bin/gennames/meson.build |
| 3849 |
modified: src/bin/tag_attr/meson.build |
| 3850 |
modified: src/bin/tag_tree/meson.build |
| 3851 |
modified: src/lib/libdwarf/meson.build |
| 3852 |
|
| 3853 |
2023-06-18: David Anderson |
| 3854 |
commit 9a856a4bee90c1b7cc3f4e8cf6c2dd8ce6b02848 |
| 3855 |
|
| 3856 |
Non-shared builds and shared-lib builds |
| 3857 |
result in libdwarf.so (or .dll) having |
| 3858 |
only the intended API functions visible to callers. |
| 3859 |
modified: CMakeLists.txt |
| 3860 |
modified: src/lib/libdwarf/CMakeLists.txt |
| 3861 |
modified: src/lib/libdwarfp/CMakeLists.txt |
| 3862 |
|
| 3863 |
2023-06-18: David Anderson |
| 3864 |
commit c05c2e4b1295358df4bec45253e8ee3d446aa823 |
| 3865 |
|
| 3866 |
Minor (one line) change to make this work properly with |
| 3867 |
the build and libdwarf.h changes. |
| 3868 |
modified: libdwarf.pc.in |
| 3869 |
|
| 3870 |
2023-06-18: David Anderson |
| 3871 |
commit f3ef97144dff49b647bb2f3734a7c11f951a9dc7 |
| 3872 |
|
| 3873 |
A small change was required to match up |
| 3874 |
as desired with |
| 3875 |
the default settings of meson and cmake |
| 3876 |
builds. |
| 3877 |
modified: scripts/buildandreleasetest.sh |
| 3878 |
|
| 3879 |
2023-06-18: David Anderson |
| 3880 |
commit c3b42421059bffbdecdb7250c8e58cb90f20c4b2 |
| 3881 |
|
| 3882 |
Revising the list of #defines allows |
| 3883 |
building of correct shared library libdwarf |
| 3884 |
in all environments while |
| 3885 |
allowing non-shared (static library) |
| 3886 |
builds with cmake and meson. |
| 3887 |
For linux static library builds |
| 3888 |
can be done. |
| 3889 |
The #defines are slightly easier to |
| 3890 |
understand with this revision. |
| 3891 |
modified: src/lib/libdwarf/libdwarf.h |
| 3892 |
|
| 3893 |
2023-06-18: David Anderson |
| 3894 |
commit 9f725d0ed099cb0b5692cf1f635d05dc3d418e25 |
| 3895 |
|
| 3896 |
Updates reflecting a new meson option |
| 3897 |
--default-library |
| 3898 |
and the ability to do correct |
| 3899 |
shared library builds (meaning |
| 3900 |
library-internal functions are invisible |
| 3901 |
to callers) with all three |
| 3902 |
build systems. |
| 3903 |
modified: README |
| 3904 |
modified: README.cmake |
| 3905 |
modified: README.md |
| 3906 |
|
| 3907 |
2023-06-18: David Anderson |
| 3908 |
commit e5c5f33db75bea03e20e7ca4fb0cb8e4f14b99f6 |
| 3909 |
|
| 3910 |
Adding ChangeLog2021 and 2022 to the distribution. |
| 3911 |
Omitted by accident. |
| 3912 |
modified: Makefile.am |
| 3913 |
|
| 3914 |
2023-06-15: David Anderson |
| 3915 |
commit ae1d1070163785a4f6aeded7f8084eae2898c684 |
| 3916 |
|
| 3917 |
the meson documentation on line wasy wrong. |
| 3918 |
plain mason_options does not work. |
| 3919 |
modified: Makefile.am |
| 3920 |
renamed: meson_options -> meson_options.txt |
| 3921 |
|
| 3922 |
2023-06-15: David Anderson |
| 3923 |
commit 6b65d0eccec28aefeaef4c5a14c9c775802eb38d |
| 3924 |
|
| 3925 |
Now matches the rename of meson_options.txt to meson_options |
| 3926 |
to agree with what the meson doc says. |
| 3927 |
modified: Makefile.am |
| 3928 |
|
| 3929 |
2023-06-15: David Anderson |
| 3930 |
commit a39c5668dbb03ad1e5b1ee0b190f951cf24a3e58 |
| 3931 |
|
| 3932 |
According to meson official documentation |
| 3933 |
any meason after 1.1 should name the file |
| 3934 |
meson_options, not the original |
| 3935 |
meson_options.txt. We cannot use meson below |
| 3936 |
1.45. |
| 3937 |
renamed: meson_options.txt -> meson_options |
| 3938 |
|
| 3939 |
2023-06-15: David Anderson |
| 3940 |
commit 0d5bc0612af062850da4102d5259913ea55fbec8 |
| 3941 |
|
| 3942 |
Now with DW_LANG for Mojo, new this month in DWARF. |
| 3943 |
modified: src/lib/libdwarf/dwarf_names.c |
| 3944 |
|
| 3945 |
2023-06-13: David Anderson |
| 3946 |
commit 1320701ac56f35dbefb01be7857553fbd3e90106 |
| 3947 |
|
| 3948 |
Updated. |
| 3949 |
modified: ChangeLog |
| 3950 |
|
| 3951 |
2023-06-13: David Anderson |
| 3952 |
commit 29f771024891fced11439bfab88ab25b6f60a912 |
| 3953 |
|
| 3954 |
Regenerated. |
| 3955 |
modified: bugxml/dwarfbug.html |
| 3956 |
modified: bugxml/dwarfbug.xml |
| 3957 |
modified: bugxml/dwarfbuglohi.html |
| 3958 |
|
| 3959 |
Added a note that in 0.7.1 there are vulnerabilities |
| 3960 |
fixed (reading corrupt object files). |
| 3961 |
modified: doc/libdwarf.dox |
| 3962 |
|
| 3963 |
2023-06-13: David Anderson |
| 3964 |
commit 28d88b7081d79db13472d112d790eabff9950633 |
| 3965 |
|
| 3966 |
Added gitfixid for DW202306-009. |
| 3967 |
modified: bugxml/data.txt |
| 3968 |
|
| 3969 |
2023-06-13: David Anderson |
| 3970 |
commit 9cae1be75ec333d2b8ab8800df4850ed77a8b025 |
| 3971 |
|
| 3972 |
Fixing DW202306-009 ossfuzz id: 59775 |
| 3973 |
|
| 3974 |
A carefully fuzzed object could read one |
| 3975 |
byte past the end of a frame section |
| 3976 |
If the last thing in a frame section |
| 3977 |
is DW_OP_GNU_encoded_addr (data is |
| 3978 |
supposed to follow such). Corrupt Dwarf. |
| 3979 |
Now we check and return an error. |
| 3980 |
This vulnerability involved DW_OP_GNU_encoded_addr. |
| 3981 |
modified: src/lib/libdwarf/dwarf_locationop_read.c |
| 3982 |
|
| 3983 |
2023-06-13: David Anderson |
| 3984 |
commit 44dbfe78d6586281ef76761fb6b3e6eaf18fcc21 |
| 3985 |
|
| 3986 |
Add doxygen commentary clarifying aspects of |
| 3987 |
reading defailed Frame data. |
| 3988 |
modified: src/lib/libdwarf/libdwarf.h |
| 3989 |
|
| 3990 |
2023-06-13: David Anderson |
| 3991 |
commit 7c3df3000529e0c199163ab44f1c4108a97f22ae |
| 3992 |
|
| 3993 |
Remove a blank last line. |
| 3994 |
modified: src/lib/libdwarf/dwarf_safe_arithmetic.c |
| 3995 |
|
| 3996 |
2023-06-13: David Anderson |
| 3997 |
commit ffe2f9b786f32d6033e9d4570d7b2d9367196e21 |
| 3998 |
|
| 3999 |
minor change in a comment format for consistency. |
| 4000 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 4001 |
|
| 4002 |
2023-06-11: David Anderson |
| 4003 |
commit 0978c6c29a5dd88f2eaf0cd1ce7c88e4912de322 |
| 4004 |
|
| 4005 |
Moving the not-used-yet code to the end of this |
| 4006 |
source file. It is in #if 0 |
| 4007 |
so is not compiled. Leaving the important code first. |
| 4008 |
modified: src/lib/libdwarf/dwarf_safe_arithmetic.c |
| 4009 |
|
| 4010 |
2023-06-11: David Anderson |
| 4011 |
commit f6137eb8a14fe3576cdeb5f09cbe446b0cc0c0da |
| 4012 |
|
| 4013 |
modified: src/lib/libdwarf/dwarf_safe_arithmetic.c |
| 4014 |
|
| 4015 |
Removed unused defines and put the declaration |
| 4016 |
inside #if 0 region last. |
| 4017 |
modified: src/lib/libdwarf/dwarf_safe_arithmetic.h |
| 4018 |
|
| 4019 |
2023-06-11: David Anderson |
| 4020 |
commit d84d88b48abd673db1b5c161769401cd589260f2 |
| 4021 |
|
| 4022 |
Removing a function that is not used. |
| 4023 |
It was in #if 0 #endif and is now gone. |
| 4024 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 4025 |
|
| 4026 |
2023-06-11: David Anderson |
| 4027 |
commit e851ca8323ef7ba2de76dd6219a462706286b8a3 |
| 4028 |
|
| 4029 |
Renamed |
| 4030 |
_dwarf_add_check |
| 4031 |
to |
| 4032 |
_dwarf_signed_add_check |
| 4033 |
|
| 4034 |
Removed another #include. |
| 4035 |
Removed debugging printf (which were #if 0) |
| 4036 |
modified: src/lib/libdwarf/dwarf_safe_arithmetic.c |
| 4037 |
|
| 4038 |
Just has the renaming aspect. |
| 4039 |
modified: src/lib/libdwarf/dwarf_safe_arithmetic.h |
| 4040 |
|
| 4041 |
2023-06-11: David Anderson |
| 4042 |
commit 3dc465cda402fe6c761b5df6ee3d98168b08117f |
| 4043 |
|
| 4044 |
Removed two #include lines -- they are not required here. |
| 4045 |
modified: src/lib/libdwarf/dwarf_safe_arithmetic.c |
| 4046 |
|
| 4047 |
2023-06-11: David Anderson |
| 4048 |
commit f19a9557f8205b15b0d021ad543bd18f213dbdad |
| 4049 |
|
| 4050 |
Removed an unused local variable. |
| 4051 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 4052 |
|
| 4053 |
2023-06-10: David Anderson |
| 4054 |
commit 73a955d6c04f87321fe41057af26ee31e613d3dc |
| 4055 |
|
| 4056 |
Adding |
| 4057 |
permissions: read-all |
| 4058 |
modified: freebsd_cmake.yml |
| 4059 |
modified: mac_autotools.yml |
| 4060 |
modified: mac_meson.yml |
| 4061 |
modified: msys2_autotools.yml |
| 4062 |
modified: test.yml |
| 4063 |
|
| 4064 |
2023-06-10: David Anderson |
| 4065 |
commit 6483e44afa743c5abff9fee5930f5dca58c933da |
| 4066 |
|
| 4067 |
Now up to date. |
| 4068 |
modified: ChangeLog |
| 4069 |
|
| 4070 |
2023-06-10: David Anderson |
| 4071 |
commit d4ba6ab340f3309e05851886f046315143110534 |
| 4072 |
|
| 4073 |
regenerated |
| 4074 |
modified: doc/libdwarf.pdf |
| 4075 |
Altering to match project codingstyle (trailing spaces, for and if format) |
| 4076 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 4077 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 4078 |
|
| 4079 |
A bug introduced a few minutes ago now fixed. |
| 4080 |
we now pass CoverityScan with no issues. |
| 4081 |
modified: src/lib/libdwarf/dwarf_safe_arithmetic.c |
| 4082 |
|
| 4083 |
2023-06-10: David Anderson |
| 4084 |
commit 2a898d863c312bbf453d443986df76d35e60d648 |
| 4085 |
|
| 4086 |
Nearly up to date now. |
| 4087 |
modified: ChangeLog |
| 4088 |
|
| 4089 |
2023-06-10: David Anderson |
| 4090 |
commit 435347714549485d9500cffb58451af0f932ee42 |
| 4091 |
|
| 4092 |
Revised date to today and removed |
| 4093 |
wording on 0.7.1 that no longer applies. |
| 4094 |
modified: doc/libdwarf.dox |
| 4095 |
|
| 4096 |
2023-06-10: David Anderson |
| 4097 |
commit 56a1c79cbf61b898ddb168ffbca52e2c13b78df0 |
| 4098 |
|
| 4099 |
Some function prototypes used /*name*/ |
| 4100 |
and now use doxygen-friendly dw_name |
| 4101 |
instead. |
| 4102 |
modified: src/lib/libdwarf/libdwarf.h |
| 4103 |
|
| 4104 |
2023-06-10: David Anderson |
| 4105 |
commit 1b3fcc3dfe643c959b66e6825671884984d2d9e8 |
| 4106 |
|
| 4107 |
Fixed conflicts with the codingstandard. |
| 4108 |
modified: src/lib/libdwarf/dwarf_leb.c |
| 4109 |
|
| 4110 |
2023-06-10: David Anderson |
| 4111 |
commit 4ac01464970b2f4427ab363e9702308eb294f84e |
| 4112 |
|
| 4113 |
In dwarf_decode_leb128() the function was inconsistent |
| 4114 |
about testing outval and len128_length pointers before |
| 4115 |
dereferencing them. Now it is fully consistent |
| 4116 |
and always allows for NULL for those. |
| 4117 |
modified: src/lib/libdwarf/dwarf_leb.c |
| 4118 |
|
| 4119 |
2023-06-10: David Anderson |
| 4120 |
commit abb50656598c42dd4629e878642e68029f3dbc32 |
| 4121 |
|
| 4122 |
Regenerated. |
| 4123 |
modified: bugxml/dwarfbug.html |
| 4124 |
modified: bugxml/dwarfbug.xml |
| 4125 |
modified: bugxml/dwarfbuglohi.html |
| 4126 |
|
| 4127 |
2023-06-10: David Anderson |
| 4128 |
commit eb0f40c4158227b15fd083ba15d49cb08c47f510 |
| 4129 |
|
| 4130 |
Updated with latest fix |
| 4131 |
modified: bugxml/data.txt |
| 4132 |
|
| 4133 |
2023-06-10: David Anderson |
| 4134 |
commit c5b909630bb566cdbf68fae4091f049f3b22ff11 |
| 4135 |
|
| 4136 |
Added a comment where we call _dwarf_read_cie_fde_prefix() |
| 4137 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 4138 |
|
| 4139 |
DW202306-008 ossfuzz id: 59699 |
| 4140 |
Check a byte pointer before we dereference it |
| 4141 |
in _dwarf_read_cie_fde_prefix(). |
| 4142 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 4143 |
|
| 4144 |
2023-06-10: David Anderson |
| 4145 |
commit 6119e36058a82c7207cd6199bd59cfd5f1c6b0af |
| 4146 |
|
| 4147 |
Latest. |
| 4148 |
modified: bugxml/data.txt |
| 4149 |
|
| 4150 |
2023-06-10: David Anderson |
| 4151 |
commit c8c54ba5c79b0a2687f0fa2ac331479506c3210f |
| 4152 |
|
| 4153 |
DW202306-007 |
| 4154 |
ossfuzz id: 59602 |
| 4155 |
modified: bugxml/data.txt |
| 4156 |
In two particular cases the necessary check for |
| 4157 |
reading-past-end was missing. |
| 4158 |
modified: src/lib/libdwarf/dwarf_locationop_read.c |
| 4159 |
|
| 4160 |
2023-06-10: David Anderson |
| 4161 |
commit e8c726e2be644df2706342b7a80633d07ecd7fb4 |
| 4162 |
|
| 4163 |
Adding printing of DW_CFA_LLVM_def_aspace_cfa_sf |
| 4164 |
address space |
| 4165 |
modified: fuzz/fuzz_set_frame_all.c |
| 4166 |
|
| 4167 |
DW202306-004 |
| 4168 |
fuzzer: ossfuzz id: 59595 |
| 4169 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 4170 |
|
| 4171 |
2023-06-09: David Anderson |
| 4172 |
commit 616d6e93cb24434e112f03e5a313b1207e549854 |
| 4173 |
|
| 4174 |
Now up to latest git log |
| 4175 |
modified: ChangeLog |
| 4176 |
|
| 4177 |
2023-06-09: David Anderson |
| 4178 |
commit 9181a0ef691c392561d3efffc322d06c66d18627 |
| 4179 |
|
| 4180 |
Now we use a non-public struct in dwarf_frame to build up data on |
| 4181 |
register state. And we only copy to the public |
| 4182 |
Frame structs when we must (to return data). |
| 4183 |
And we comment a bit to explain how it works. |
| 4184 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 4185 |
|
| 4186 |
2023-06-09: David Anderson |
| 4187 |
commit 4f95239b05afd4df0599aa669b5b3eefece7d2d2 |
| 4188 |
|
| 4189 |
New private struct for internal use in dwarf_frame.c |
| 4190 |
Now offset is Dwarf_Signed for internal use |
| 4191 |
in dwarf_frame.c |
| 4192 |
modified: src/lib/libdwarf/dwarf_frame.h |
| 4193 |
|
| 4194 |
2023-06-09: David Anderson |
| 4195 |
commit 113261071d93ba00b1abaee9b4b50b3f2fb6bb9f |
| 4196 |
|
| 4197 |
Removed declarations involving struct Dwarf_Regtable3_s_c |
| 4198 |
and struct Dwarf_Regtable_Entry3_s_c |
| 4199 |
as we abandon that additional set of structs. |
| 4200 |
modified: src/lib/libdwarf/libdwarf.h |
| 4201 |
|
| 4202 |
2023-06-09: David Anderson |
| 4203 |
commit 88455911f2e656ce2473ed83b0a0c163ffd8ca8e |
| 4204 |
|
| 4205 |
Added comentary about the test. |
| 4206 |
modified: src/bin/dwarfexample/frame1.c |
| 4207 |
|
| 4208 |
2023-06-09: David Anderson |
| 4209 |
commit 30c420a9e6d3a7a1b18fdc9e8ea880a5492994a2 |
| 4210 |
|
| 4211 |
Updated with latest. |
| 4212 |
modified: bugxml/data.txt |
| 4213 |
modified: bugxml/dwarfbug.html |
| 4214 |
modified: bugxml/dwarfbug.xml |
| 4215 |
modified: bugxml/dwarfbuglohi.html |
| 4216 |
|
| 4217 |
2023-06-09: David Anderson |
| 4218 |
commit 149e60a9424712090a1a0cd44675226bf37a5f0d |
| 4219 |
|
| 4220 |
comments with new bugs added at top of file. |
| 4221 |
modified: bugxml/data.txt |
| 4222 |
|
| 4223 |
2023-06-09: David Anderson |
| 4224 |
commit f200830719316fec4f84ce34f0754a38c802954e |
| 4225 |
|
| 4226 |
Omitted a test for y not zero, leading to division |
| 4227 |
by zero. Fixed. |
| 4228 |
modified: src/lib/libdwarf/dwarf_safe_arithmetic.c |
| 4229 |
|
| 4230 |
2023-06-09: David Anderson |
| 4231 |
commit 9e83da53c8ce3506229dcdd719bff019b6092fcc |
| 4232 |
|
| 4233 |
DW_LANG_Mojo has been added to the languages list |
| 4234 |
by the DWARF committee with value 0x0033 |
| 4235 |
modified: dwarf.h |
| 4236 |
|
| 4237 |
2023-06-08: David Anderson |
| 4238 |
commit c72cd15329751086838f2b15bcad4d25b5075857 |
| 4239 |
|
| 4240 |
Fixing cmake build of test |
| 4241 |
modified: test/CMakeLists.txt |
| 4242 |
Proper declaration of main() to make |
| 4243 |
meson build work. |
| 4244 |
modified: test/test_int64_test.c |
| 4245 |
|
| 4246 |
2023-06-08: David Anderson |
| 4247 |
commit 4b540c4a0150d86c60e7be155c05087ad7656ef3 |
| 4248 |
|
| 4249 |
Now with git fix id for ossfuzz 59517 |
| 4250 |
modified: bugxml/data.txt |
| 4251 |
modified: bugxml/dwarfbug.html |
| 4252 |
modified: bugxml/dwarfbug.xml |
| 4253 |
modified: bugxml/dwarfbuglohi.html |
| 4254 |
|
| 4255 |
2023-06-08: David Anderson |
| 4256 |
commit c9caa16bf69b24db6c3f13e269deb826a4a4bb3a |
| 4257 |
|
| 4258 |
Regenerated. |
| 4259 |
modified: bugxml/dwarfbug.html |
| 4260 |
modified: bugxml/dwarfbug.xml |
| 4261 |
modified: bugxml/dwarfbuglohi.html |
| 4262 |
modified: doc/libdwarf.pdf |
| 4263 |
|
| 4264 |
2023-06-08: David Anderson |
| 4265 |
commit f664f93d456284130afbd3c2e35b39e5f2740366 |
| 4266 |
|
| 4267 |
Adding support for the new int64 safe multiply |
| 4268 |
source files dwarf_safe_arithmetic.[hc] |
| 4269 |
And adding a new test for safe multiply. |
| 4270 |
modified: src/lib/libdwarf/CMakeLists.txt |
| 4271 |
modified: src/lib/libdwarf/Makefile.am |
| 4272 |
modified: src/lib/libdwarf/meson.build |
| 4273 |
|
| 4274 |
2023-06-08: David Anderson |
| 4275 |
commit d9cd2592337d99f44dd6ccb6f4cdee6c3a7bf822 |
| 4276 |
|
| 4277 |
Now uses safe arithmetic where it matters. |
| 4278 |
|
| 4279 |
Adds |
| 4280 |
dwarf_get_fde_info_for_reg3_c() |
| 4281 |
dwarf_get_fde_info_for_cfa_reg3_c() |
| 4282 |
as alternatives to |
| 4283 |
dwarf_get_fde_info_for_reg3_b() |
| 4284 |
Cdwarf_get_fde_info_for_cfa_reg3_b() |
| 4285 |
|
| 4286 |
The difference is the newer ones have a Signed |
| 4287 |
offset, which properly matches the text of |
| 4288 |
the DWARF standard(s). |
| 4289 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 4290 |
|
| 4291 |
Added a new file ru_soffset to support new functions |
| 4292 |
dwarf_get_fde_info_for_reg3_c() |
| 4293 |
dwarf_get_fde_info_for_cfa_reg3_c() |
| 4294 |
which provide a signed offset for certain |
| 4295 |
operations (as stated above). |
| 4296 |
|
| 4297 |
modified: src/lib/libdwarf/dwarf_frame.h |
| 4298 |
Adds two new functions and two new structs |
| 4299 |
to support the new signed offset while |
| 4300 |
keeping the versions that already existed. |
| 4301 |
modified: src/lib/libdwarf/libdwarf.h |
| 4302 |
|
| 4303 |
In other words there new functions and structs, |
| 4304 |
but the previously existing ones are still supported. |
| 4305 |
|
| 4306 |
2023-06-08: David Anderson |
| 4307 |
commit 0012b38dd66632d458c6dfd99186c04fb77490b1 |
| 4308 |
|
| 4309 |
Added a new DW_DLE error 501, for arithmetic overflows. |
| 4310 |
modified: src/lib/libdwarf/dwarf_errmsg_list.h |
| 4311 |
|
| 4312 |
2023-06-08: David Anderson |
| 4313 |
commit 3f0431c7ea563e1ed30896b123aceae9338cba5c |
| 4314 |
|
| 4315 |
Cleaning up indents and removing unused code. |
| 4316 |
modified: src/lib/libdwarf/dwarf_safe_arithmetic.c |
| 4317 |
modified: src/lib/libdwarf/dwarf_safe_arithmetic.h |
| 4318 |
|
| 4319 |
2023-06-08: David Anderson |
| 4320 |
commit 89773e02ef509c07db4095c47c1f71509aee2892 |
| 4321 |
|
| 4322 |
This is the new test related to safe 64bit multiply |
| 4323 |
new file: test/test_int64_test.c |
| 4324 |
|
| 4325 |
2023-06-08: David Anderson |
| 4326 |
commit 354d936634ed42b64ed55e72849ac4ac1170fad1 |
| 4327 |
|
| 4328 |
Added a new test. |
| 4329 |
modified: test/CMakeLists.txt |
| 4330 |
modified: test/Makefile.am |
| 4331 |
modified: test/meson.build |
| 4332 |
|
| 4333 |
2023-06-08: David Anderson |
| 4334 |
commit 342ff0ca5590625e5372a4b122bbd25331471be3 |
| 4335 |
|
| 4336 |
Removed one blank line. |
| 4337 |
modified: src/lib/libdwarf/dwarf_xu_index.c |
| 4338 |
|
| 4339 |
2023-06-08: David Anderson |
| 4340 |
commit 2e23d5442322aa69f2561d71c631c7f2d4846d62 |
| 4341 |
|
| 4342 |
Modified indent on one line. |
| 4343 |
modified: fuzz/fuzz_set_frame_all.c |
| 4344 |
|
| 4345 |
2023-06-08: David Anderson |
| 4346 |
commit 092dafadcc604ce9aa0f1041cfbcb31b9c98d141 |
| 4347 |
|
| 4348 |
Modified an error message to have more details printed. |
| 4349 |
modified: src/bin/dwarfdump/print_frames.c |
| 4350 |
|
| 4351 |
2023-06-08: David Anderson |
| 4352 |
commit 5f3c2e9fb6c438d3b6f8ed1000e06d2f235352e8 |
| 4353 |
|
| 4354 |
Remove one blank line. |
| 4355 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 4356 |
|
| 4357 |
2023-06-08: David Anderson |
| 4358 |
commit f57e0222da1b788c0aabaf1a218b7bd186adad33 |
| 4359 |
|
| 4360 |
Fixing indents, removing trailing whitespace. |
| 4361 |
modified: src/lib/libdwarf/dwarf_alloc.c |
| 4362 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 4363 |
|
| 4364 |
Functions that check 64bit multiplify using always-safe |
| 4365 |
operations. |
| 4366 |
new file: src/lib/libdwarf/dwarf_safe_arithmetic.c |
| 4367 |
new file: src/lib/libdwarf/dwarf_safe_arithmetic.h |
| 4368 |
|
| 4369 |
2023-06-06: David Anderson |
| 4370 |
commit 384e75950953a81e741f1f5b9430c5577967881e |
| 4371 |
Merge: 65cb55b6 f7269c0f |
| 4372 |
|
| 4373 |
Merge branch 'main' of https://github.com/davea42/libdwarf-code |
| 4374 |
Fix to commit id. |
| 4375 |
|
| 4376 |
2023-06-06: David Anderson |
| 4377 |
commit 65cb55b6cf325a86beffbf68173a5176d3956c8c |
| 4378 |
|
| 4379 |
New bugs noted |
| 4380 |
modified: bugxml/data.txt |
| 4381 |
|
| 4382 |
2023-06-07: sungbin |
| 4383 |
commit f7269c0f5c53a7fe2288e431156b860dbd9cdfa1 |
| 4384 |
|
| 4385 |
Fix Typo in bugxml/data.txt (#166) |
| 4386 |
|
| 4387 |
2023-06-04: David Anderson |
| 4388 |
commit 643f5c9fe4868e67f1df3574c044207c9d4e50e2 |
| 4389 |
|
| 4390 |
Documenting vulnerability DW202306-001 |
| 4391 |
ossfuzz id: 59517 |
| 4392 |
_dwarf_exec_frame_instr() was missing some sanity |
| 4393 |
checks and in one case(DW_CFA_val_offset) |
| 4394 |
a request to show the instruction details got the |
| 4395 |
wrong value |
| 4396 |
modified: bugxml/data.txt |
| 4397 |
|
| 4398 |
2023-06-04: David Anderson |
| 4399 |
commit cf16fa633b7d73efbd85146cce7b363800440b8e |
| 4400 |
|
| 4401 |
A printf was lacking a newline, making the |
| 4402 |
output very odd-looking for no good reason. |
| 4403 |
Added a newline to the printf. |
| 4404 |
modified: fuzz/fuzz_set_frame_all.c |
| 4405 |
|
| 4406 |
2023-06-01: David Anderson |
| 4407 |
commit 8b475cea946fe571571ec01702291e38616ad5f9 |
| 4408 |
|
| 4409 |
Regenerated |
| 4410 |
modified: bugxml/dwarfbug.html |
| 4411 |
modified: bugxml/dwarfbug.xml |
| 4412 |
modified: bugxml/dwarfbuglohi.html |
| 4413 |
|
| 4414 |
2023-06-01: David Anderson |
| 4415 |
commit 436bdb809020e219710f4ee9ecc179980f3c86cc |
| 4416 |
|
| 4417 |
The description of fuzzer: ossfuzz id: 56451 |
| 4418 |
said it was a test program function, but |
| 4419 |
actually it is ALSO an omission in libdwarf. |
| 4420 |
So attributed to libdwarf now and the |
| 4421 |
wording made clearer. |
| 4422 |
modified: bugxml/data.txt |
| 4423 |
|
| 4424 |
2023-05-31: David Anderson |
| 4425 |
commit 18fec5f25d4c84c756e038dde6f658f78a10b399 |
| 4426 |
|
| 4427 |
Document DW202305-010, a new report of a vulnerability. |
| 4428 |
(use "git push" to publish your local commits) |
| 4429 |
|
| 4430 |
2023-05-31: David Anderson |
| 4431 |
commit 8ef9c8fb613e59f534e789e91a73088eaa5b8a5a |
| 4432 |
|
| 4433 |
Vulnerability DW202305-010 ossfuzz id: 59478 |
| 4434 |
Fuzzing provoked one of four error cases that |
| 4435 |
could leak locally allocated memory from |
| 4436 |
_dwarf_exec_frame_instructor() |
| 4437 |
(called by dwarf_expand_frame_instructions). |
| 4438 |
Called enough times with fuzzed data could result |
| 4439 |
in filling memory leading to the library being unable |
| 4440 |
to work for the caller and instead just returning errors. |
| 4441 |
|
| 4442 |
This bug has been present in the code for many years. |
| 4443 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 4444 |
|
| 4445 |
2023-05-31: David Anderson |
| 4446 |
commit 60d6143347e5eee87a6533d7394d3969d2c90d74 |
| 4447 |
|
| 4448 |
Regeneration ('make rebuild') removed a comment as in dwarf.h |
| 4449 |
a duplicated DW_AT entry no longer has the duplicate. |
| 4450 |
modified: src/lib/libdwarf/dwarf_names.c |
| 4451 |
|
| 4452 |
2023-05-30: David Anderson |
| 4453 |
commit 87990cf881e72cd10314c68cc69670d0e05946d0 |
| 4454 |
|
| 4455 |
Now with latest from git log. |
| 4456 |
modified: ChangeLog |
| 4457 |
|
| 4458 |
2023-05-30: David Anderson |
| 4459 |
commit 7be3a252da6df46c7afb50750f9f149c7319fc8f |
| 4460 |
|
| 4461 |
Now showing all the latest vulnerability data. |
| 4462 |
modified: bugxml/dwarfbug.html |
| 4463 |
modified: bugxml/dwarfbug.xml |
| 4464 |
modified: bugxml/dwarfbuglohi.html |
| 4465 |
|
| 4466 |
2023-05-30: David Anderson |
| 4467 |
commit d4f4361aa0d6819fb07598ab74ed31fd388f2393 |
| 4468 |
|
| 4469 |
Now fully up to date, hopefully all existent |
| 4470 |
oss fuzz issues addressed. |
| 4471 |
modified: bugxml/data.txt |
| 4472 |
|
| 4473 |
2023-05-30: David Anderson |
| 4474 |
commit 12a612fc8db38fc26cd5e6064f09a6f825891c7c |
| 4475 |
|
| 4476 |
DW202305-009 ossfuzz id: 56451 |
| 4477 |
|
| 4478 |
Changed by adding initializers of zero |
| 4479 |
to local variables not previously initialized. |
| 4480 |
modified: fuzz/fuzz_dnames.c |
| 4481 |
|
| 4482 |
Added checks to dwarf_dnames_abbrevtable() |
| 4483 |
so required pointers are verified non-null before use. |
| 4484 |
Still never returns DW_DLV_ERROR. With required |
| 4485 |
input pointers missing it returns DW_DLV_NO_ENTRY. |
| 4486 |
modified: src/lib/libdwarf/dwarf_debugnames.c |
| 4487 |
|
| 4488 |
2023-05-30: David Anderson |
| 4489 |
commit 97d6310bd2b69e653db76cf02be51341190c39d9 |
| 4490 |
|
| 4491 |
Updated with latest update of known |
| 4492 |
bugs. |
| 4493 |
modified: bugxml/data.txt |
| 4494 |
|
| 4495 |
2023-05-30: David Anderson |
| 4496 |
commit 282126391c1c8aae5c6c1ad28e5e8c3dc4943940 |
| 4497 |
|
| 4498 |
ossfuzz 56450. For a standard Dwarf_Debug |
| 4499 |
we failed to call _dwarf_free_static_errlist() |
| 4500 |
hence some code calling libdwarf |
| 4501 |
and encountering an error with a NULL Dwarf_Debug |
| 4502 |
passed in left behind malloc space. |
| 4503 |
The leak is quite small, but it has been present |
| 4504 |
for a very long time. |
| 4505 |
modified: src/lib/libdwarf/dwarf_alloc.c |
| 4506 |
|
| 4507 |
2023-05-30: David Anderson |
| 4508 |
commit 21b33d13024d18b09e32914ca5718a5c81d1ad67 |
| 4509 |
|
| 4510 |
It was calling exit() early, not allowing |
| 4511 |
dwarf_finish() to be called. ossfuzz 56462 |
| 4512 |
|
| 4513 |
And it was doing a local malloc and |
| 4514 |
failing to call free() on that local space |
| 4515 |
in some situations. |
| 4516 |
ossfuzz 58026 |
| 4517 |
|
| 4518 |
modified: fuzz/fuzz_set_frame_all.c |
| 4519 |
|
| 4520 |
2023-05-30: David Anderson |
| 4521 |
commit 8b17d41a31c33e0b3b9727a8044e0093a754d6d7 |
| 4522 |
|
| 4523 |
Document DW202305-006 ossfuzz id: 56472 |
| 4524 |
The test code as written here |
| 4525 |
gets an error from valgrind for calling libdwarf |
| 4526 |
with an uninitialized pointer. The fix is to |
| 4527 |
initialize the Dwarf_Die instance by adding = 0; |
| 4528 |
This was not a libdwarf bug (the original |
| 4529 |
fix actually fixed a libdwarf bug, and this |
| 4530 |
valgrind issue pointed out the need for the test case fix.. |
| 4531 |
modified: bugxml/data.txt |
| 4532 |
modified: fuzz/fuzz_simplereader_tu.c |
| 4533 |
|
| 4534 |
2023-05-30: David Anderson |
| 4535 |
commit 72a19f627b84fe4d2cb0942f5e6d70a0a615b440 |
| 4536 |
|
| 4537 |
Updating DW202305-005 ossfuzz id: 56462 |
| 4538 |
modified: bugxml/data.txt |
| 4539 |
|
| 4540 |
2023-05-30: David Anderson |
| 4541 |
commit 5612eff9f1a40229690fd0e61083101df85e776b |
| 4542 |
|
| 4543 |
DW202305-005 ossfuzz id: 56462 |
| 4544 |
To avoid leaks the libdwarf calling program |
| 4545 |
MUST call dwarf_finish(). The code here |
| 4546 |
was failing to do that in a number of |
| 4547 |
error situations. |
| 4548 |
Now it just returns from functions on error |
| 4549 |
and lets main() call dwarf_finish(), |
| 4550 |
a call that has always been in main(). |
| 4551 |
modified: fuzz/fuzz_set_frame_all.c |
| 4552 |
|
| 4553 |
2023-05-29: David Anderson |
| 4554 |
commit 7be3c6e4fc632a13c4901d5ea47eddf0fb599adf |
| 4555 |
|
| 4556 |
now up to date with git log |
| 4557 |
modified: ChangeLog |
| 4558 |
|
| 4559 |
2023-05-29: David Anderson |
| 4560 |
commit 8832094fa0b1ecca3ad8cbc6b47242d9ddab1183 |
| 4561 |
|
| 4562 |
Added text to ossfuzz 56443 DW202303-009 |
| 4563 |
Now have the real fix. |
| 4564 |
modified: bugxml/data.txt |
| 4565 |
|
| 4566 |
2023-05-29: David Anderson |
| 4567 |
commit 241fe0cb415569975c451d1f2d62fb2b2147cd72 |
| 4568 |
|
| 4569 |
The actual fix to ossfuzz56443 |
| 4570 |
DW202303-053 |
| 4571 |
Unfortunately -fsanitize does not show the bug, |
| 4572 |
only valgrind does. |
| 4573 |
modified: src/lib/libdwarf/dwarf_alloc.c |
| 4574 |
modified: src/lib/libdwarf/dwarf_alloc.h |
| 4575 |
modified: src/lib/libdwarf/dwarf_generic_init.c |
| 4576 |
|
| 4577 |
2023-05-29: David Anderson |
| 4578 |
commit 443ccb173513bf68beaf9f9a1fbf305cbb41610d |
| 4579 |
|
| 4580 |
Added comments on unfixed issues |
| 4581 |
modified: bugxml/data.txt |
| 4582 |
|
| 4583 |
2023-05-29: David Anderson |
| 4584 |
commit e2ef9556567e13cf7b7fee50a9bc87f577fb9101 |
| 4585 |
|
| 4586 |
Amplified comment. |
| 4587 |
modified: fuzz/fuzz_crc_32.c |
| 4588 |
|
| 4589 |
2023-05-25: Mateusz Janda |
| 4590 |
commit 9b26105456ee9a09cc02c7c58f343338e92c1b2e |
| 4591 |
|
| 4592 |
DW_AT_GNU_bias duplicate removed (#165) |
| 4593 |
|
| 4594 |
2023-05-24: David Anderson |
| 4595 |
commit 5cd5372b6761c38980527a06aa7a84537a72b130 |
| 4596 |
|
| 4597 |
Updated to bring up to date. |
| 4598 |
modified: ChangeLog |
| 4599 |
|
| 4600 |
2023-05-24: David Anderson |
| 4601 |
commit a5d44c690636aa9c49ba4c6656f042c05f42c7ed |
| 4602 |
|
| 4603 |
Removed the last references to elf.h, libelf.h, HAVE_ELF |
| 4604 |
and HAVE_LIBELF from libdwarf . |
| 4605 |
There are no references to these in dwarfdump. |
| 4606 |
|
| 4607 |
libdwarfp and dwarfgen still use libelf and elf.h |
| 4608 |
modified: src/lib/libdwarf/dwarf_elf_defines.h |
| 4609 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 4610 |
|
| 4611 |
2023-05-23: David Anderson |
| 4612 |
commit ce2d5456240aad4c7ebbf72632d5665c6b6190c7 |
| 4613 |
|
| 4614 |
With the fixed latest vulnerability reports. |
| 4615 |
modified: bugxml/dwarfbug.html |
| 4616 |
modified: bugxml/dwarfbug.xml |
| 4617 |
modified: bugxml/dwarfbuglohi.html |
| 4618 |
|
| 4619 |
2023-05-23: David Anderson |
| 4620 |
commit d3bd3a7119f64c9b950e29fdf3a1ed8385e91086 |
| 4621 |
|
| 4622 |
Hopefully easier to understand Error Handling now. |
| 4623 |
New susubsections. |
| 4624 |
modified: doc/libdwarf.dox |
| 4625 |
modified: doc/libdwarf.pdf |
| 4626 |
|
| 4627 |
2023-05-23: David Anderson |
| 4628 |
commit abaec0a1bb502bbb2e1fcf8f04aaabd231b9c1b3 |
| 4629 |
|
| 4630 |
Adding a comment instead of actually fixing the source. |
| 4631 |
modified: fuzz/fuzz_crc_32.c |
| 4632 |
|
| 4633 |
2023-05-23: David Anderson |
| 4634 |
commit c6fee564f36906537f08fb07dec43ce855bd131d |
| 4635 |
|
| 4636 |
Latest reports dealt with. |
| 4637 |
modified: bugxml/data.txt |
| 4638 |
|
| 4639 |
2023-05-23: David Anderson |
| 4640 |
commit 4638617fc49bcda961105452db97919a7d33dad7 |
| 4641 |
|
| 4642 |
Restored to be the intended sketch. |
| 4643 |
modified: doc/checkexamples.c |
| 4644 |
|
| 4645 |
2023-05-23: David Anderson |
| 4646 |
commit 97a78122268c9a74701f2dd3115f902309e9a484 |
| 4647 |
|
| 4648 |
Repairing the examplep5() function which |
| 4649 |
specified an infinite loop. |
| 4650 |
The doc/checkexamples.c examplep5() code |
| 4651 |
was hard to understand. |
| 4652 |
modified: fuzz/fuzz_macro_dwarf5.c |
| 4653 |
|
| 4654 |
2023-05-23: David Anderson |
| 4655 |
commit abebda6e0e3e3f52cf55ee0da6b84d608e57f425 |
| 4656 |
|
| 4657 |
The examplep5() function was badly written |
| 4658 |
and had an infinite loop. oops. |
| 4659 |
It's not much better now, but at least |
| 4660 |
no infinite loop. |
| 4661 |
modified: doc/checkexamples.c |
| 4662 |
|
| 4663 |
2023-05-23: David Anderson |
| 4664 |
commit c6e4f105eccbedec3822a3f83a4f3a4fa9b2aa51 |
| 4665 |
|
| 4666 |
A printf in the test code was missing its |
| 4667 |
ending newline. That lead to annoying messages |
| 4668 |
when doing a diff of the program text output.. |
| 4669 |
Now the printf has its newline. |
| 4670 |
modified: fuzz/fuzz_set_frame_all.c |
| 4671 |
|
| 4672 |
2023-05-23: David Anderson |
| 4673 |
commit 3bdf0b00f13187d9e689cb8cab6ed00c9591c53e |
| 4674 |
|
| 4675 |
Updated to latest. |
| 4676 |
modified: bugxml/data.txt |
| 4677 |
modified: bugxml/dwarfbug.html |
| 4678 |
modified: bugxml/dwarfbug.xml |
| 4679 |
modified: bugxml/dwarfbuglohi.html |
| 4680 |
|
| 4681 |
2023-05-23: David Anderson |
| 4682 |
commit b3df2530732ea515cda5a85438871e15c6723ead |
| 4683 |
|
| 4684 |
dwarf_highpc_b() was dereferencing a |
| 4685 |
pointer argument before checking the |
| 4686 |
argument. |
| 4687 |
Now we check before using. |
| 4688 |
modified: src/lib/libdwarf/dwarf_query.c |
| 4689 |
|
| 4690 |
2023-05-23: David Anderson |
| 4691 |
commit a0bb79d65d00fb3e345e6101b52367d7ced8937a |
| 4692 |
|
| 4693 |
Now up to date. |
| 4694 |
modified: ChangeLog |
| 4695 |
|
| 4696 |
2023-05-23: David Anderson |
| 4697 |
commit 8ea7e0d5ff1ca701716db87483e9c7264ea4ed70 |
| 4698 |
|
| 4699 |
Some vulnerabilies I was unaware of |
| 4700 |
came to light and are now fixed |
| 4701 |
as appropriate and |
| 4702 |
documented in the vulnerabilities data. |
| 4703 |
modified: bugxml/data.txt |
| 4704 |
modified: bugxml/dwarfbug.html |
| 4705 |
modified: bugxml/dwarfbug.xml |
| 4706 |
modified: bugxml/dwarfbuglohi.html |
| 4707 |
|
| 4708 |
2023-05-23: David Anderson |
| 4709 |
commit e3c303bf760ff49a5cdb5f8ac78f53fc06218130 |
| 4710 |
|
| 4711 |
Making the error handling wording |
| 4712 |
more precise and clearer. |
| 4713 |
modified: doc/libdwarf.dox |
| 4714 |
modified: doc/libdwarf.pdf |
| 4715 |
|
| 4716 |
2023-05-23: David Anderson |
| 4717 |
commit 448b8fb4f6e534b56a44b43f1653673fdf820e80 |
| 4718 |
|
| 4719 |
This is test code, not part of libdwarf. |
| 4720 |
An uninitialized local variable named 'die' |
| 4721 |
would crash the caller when passed to any |
| 4722 |
libdwarf function. |
| 4723 |
C code cannot check random pointers for |
| 4724 |
validity. |
| 4725 |
Fixed by initializing the variable to 0. |
| 4726 |
modified: fuzz/fuzz_die_cu_attrs_loclist.c |
| 4727 |
|
| 4728 |
2023-05-23: David Anderson |
| 4729 |
commit 60c885a4db0a924b60e9830d238bf77bf8993de1 |
| 4730 |
|
| 4731 |
DW202305-006 ossfuzz id: 56472 |
| 4732 |
The API functions here all lacked any checks |
| 4733 |
on the arguments. Now they all check such |
| 4734 |
as much as is practical. |
| 4735 |
This problem existed when the code |
| 4736 |
was originally written in 2021. |
| 4737 |
modified: src/lib/libdwarf/dwarf_xu_index.c |
| 4738 |
|
| 4739 |
2023-05-23: David Anderson |
| 4740 |
commit b722aebd0d2b77309e0fe107bf56e14e513f6b4f |
| 4741 |
|
| 4742 |
Updated DW202305-004 |
| 4743 |
modified: bugxml/data.txt |
| 4744 |
|
| 4745 |
2023-05-23: David Anderson |
| 4746 |
commit 79d32a15dc6df082d01764660010400c7b269ff2 |
| 4747 |
|
| 4748 |
Added comments to _dwarf_special_no_dbg_error_malloc() |
| 4749 |
modified: src/lib/libdwarf/dwarf_alloc.c |
| 4750 |
|
| 4751 |
2023-05-23: David Anderson |
| 4752 |
commit 6fac1021c67d72da6b65f99ad815978d40b4c1e8 |
| 4753 |
|
| 4754 |
oss fuzz 56446 DW202305-004 |
| 4755 |
An local pointer initialized with |
| 4756 |
just 'stack trash' (so no proper |
| 4757 |
initializer) was passed to |
| 4758 |
libdwarf. That is a mistake in the test code. |
| 4759 |
C cannot determine if a non-null value is a legitimate |
| 4760 |
value as a pointer. |
| 4761 |
Not a library bug. |
| 4762 |
modified: fuzz/fuzz_dnames.c |
| 4763 |
|
| 4764 |
2023-05-22: David Anderson |
| 4765 |
commit bf9c51326e2be6e3ee1b89b4767fa9c7120068e3 |
| 4766 |
|
| 4767 |
Now mentions version change to 0.7.1 |
| 4768 |
modified: ChangeLog |
| 4769 |
|
| 4770 |
2023-05-22: David Anderson |
| 4771 |
commit 9d6b907f1a2f5fc10301909d188e176a054d5724 |
| 4772 |
|
| 4773 |
Updating version for new code to be added. |
| 4774 |
Now 0.7.1 |
| 4775 |
modified: CMakeLists.txt |
| 4776 |
modified: configure.ac |
| 4777 |
modified: doc/libdwarf.dox |
| 4778 |
modified: doc/libdwarfp.mm |
| 4779 |
modified: meson.build |
| 4780 |
modified: src/bin/dwarfdump/dwarfdump-af-table.h |
| 4781 |
modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h |
| 4782 |
modified: src/bin/dwarfdump/dwarfdump-ta-table.h |
| 4783 |
modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h |
| 4784 |
modified: src/bin/dwarfdump/dwarfdump-tt-table.h |
| 4785 |
modified: src/lib/libdwarf/dwarf_names.c |
| 4786 |
modified: src/lib/libdwarf/libdwarf.h |
| 4787 |
|
| 4788 |
2023-05-21: David Anderson |
| 4789 |
commit d8006304766b107f962e3b86c5f7699da68e40e0 |
| 4790 |
|
| 4791 |
Added comment about release. |
| 4792 |
modified: ChangeLog |
| 4793 |
|
| 4794 |
2023-05-21: David Anderson |
| 4795 |
commit 47bc8ccf5234f397d940878a237d62f2eab4e1bb |
| 4796 |
|
| 4797 |
with latest from git log. |
| 4798 |
modified: ChangeLog |
| 4799 |
|
| 4800 |
2023-05-21: David Anderson |
| 4801 |
commit 0e0fb968c72ae14bd86183e0135051f3bb1ef3ef |
| 4802 |
|
| 4803 |
Added checks of user-supplied FRAME register |
| 4804 |
choices (such as the number to use for the CFA |
| 4805 |
register) to guarantee the choices are |
| 4806 |
all in appropriate relationship as documented |
| 4807 |
in libdwarf.pdf and the html version of the document. |
| 4808 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 4809 |
modified: src/lib/libdwarf/dwarf_frame.h |
| 4810 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 4811 |
|
| 4812 |
2023-05-21: David Anderson |
| 4813 |
commit 0c8379bd854b22702623ac6b28fd178fd530e670 |
| 4814 |
|
| 4815 |
Documented changes after 0.5.0 |
| 4816 |
modified: README |
| 4817 |
modified: README.md |
| 4818 |
|
| 4819 |
2023-05-20: David Anderson |
| 4820 |
commit 2933193b2d7aef2ff2131f2f07bed1822ad08623 |
| 4821 |
|
| 4822 |
Fixing the format of release dates. |
| 4823 |
modified: README |
| 4824 |
modified: README.md |
| 4825 |
|
| 4826 |
2023-05-20: David Anderson |
| 4827 |
commit 9e1fafeb8c3a0d3becc889a27eb4f1179959f7ad |
| 4828 |
|
| 4829 |
Updated to show release. |
| 4830 |
modified: README |
| 4831 |
modified: README.md |
| 4832 |
|
| 4833 |
2023-05-20: David Anderson |
| 4834 |
commit 424b789988dc27e3af0821df930e514917055ab7 |
| 4835 |
|
| 4836 |
Identifying tarrelease on all entries. |
| 4837 |
modified: bugxml/data.txt |
| 4838 |
modified: bugxml/dwarfbug.html |
| 4839 |
modified: bugxml/dwarfbug.xml |
| 4840 |
modified: bugxml/dwarfbuglohi.html |
| 4841 |
|
| 4842 |
2023-05-19: David Anderson |
| 4843 |
commit 60e572dbf7b4ded66b488f54773f66aaf6184321 |
| 4844 |
|
| 4845 |
Documenting DW202305-003 oss fuzz 59091 |
| 4846 |
modified: bugxml/data.txt |
| 4847 |
modified: bugxml/dwarfbug.html |
| 4848 |
modified: bugxml/dwarfbug.xml |
| 4849 |
modified: bugxml/dwarfbuglohi.html |
| 4850 |
|
| 4851 |
2023-05-19: David Anderson |
| 4852 |
commit 4017ab8b92195641e6876b388cebe2d3307634f5 |
| 4853 |
|
| 4854 |
This is the final code change for |
| 4855 |
release libdwarf-0.7.0 |
| 4856 |
|
| 4857 |
When the experimental two-level line table |
| 4858 |
support was written one test for '> sectionend' |
| 4859 |
was wrong, it needs to be '>= sectionend'. |
| 4860 |
Written in 2021. |
| 4861 |
In some other cases '>' is ok. |
| 4862 |
Fixing DW202305-003 oss-fuzz 59091 |
| 4863 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 4864 |
|
| 4865 |
2023-05-19: David Anderson |
| 4866 |
commit 2783706a87420d1902c03a3ec573d7775a0d408d |
| 4867 |
|
| 4868 |
Adding memset to initialize a local struct instance |
| 4869 |
to avoid unpredictable behavior while running. |
| 4870 |
valgrind complained about it. |
| 4871 |
modified: fuzz_findfuncbypc.c |
| 4872 |
|
| 4873 |
2023-05-17: David Anderson |
| 4874 |
commit e75cc02e1d6b7d4e5148b015bbe0d8ed080dc0f3 |
| 4875 |
|
| 4876 |
Now has example of dwarf_validate_die_sibling() |
| 4877 |
even though that is not something one |
| 4878 |
needs to use. |
| 4879 |
This is all essentially documentation changes. |
| 4880 |
Ready for release. |
| 4881 |
modified: doc/checkexamples.c |
| 4882 |
modified: doc/libdwarf.dox |
| 4883 |
modified: doc/libdwarf.pdf |
| 4884 |
modified: src/lib/libdwarf/libdwarf.h |
| 4885 |
|
| 4886 |
2023-05-13: David Anderson |
| 4887 |
commit 59b57abfe94c12e47175d433dcabe9b6ac3ed033 |
| 4888 |
|
| 4889 |
Fix indents and remove trailing whitespace |
| 4890 |
and remove one blank line. |
| 4891 |
modified: src/bin/dwarfdump/print_die.c |
| 4892 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 4893 |
modified: src/lib/libdwarf/libdwarf.h |
| 4894 |
|
| 4895 |
2023-05-13: David Anderson |
| 4896 |
commit 5120fcbad3e90eca2b9a2486c3bb125d5908e4be |
| 4897 |
|
| 4898 |
freebsd cmake uses ninja so no need for libtool. |
| 4899 |
modified: test.yml |
| 4900 |
|
| 4901 |
2023-05-13: David Anderson |
| 4902 |
commit 4eca9a5d4f94f5b9e73510ecf0dce02e6fb2a704 |
| 4903 |
|
| 4904 |
Fixing the name |
| 4905 |
modified: freebsd_cmake.yml |
| 4906 |
|
| 4907 |
2023-05-13: David Anderson |
| 4908 |
commit 173f8641f9a20d823e00785b1646563310516e14 |
| 4909 |
|
| 4910 |
Separated out a possible improvement, |
| 4911 |
removing an install target |
| 4912 |
new file: freebsd_cmake.yml |
| 4913 |
Removing duplicate pkg install targets. |
| 4914 |
modified: test.yml |
| 4915 |
|
| 4916 |
2023-05-13: David Anderson |
| 4917 |
commit 84db2e08a637d2dbcd4fbdbc4f759be4f429c7cf |
| 4918 |
|
| 4919 |
Suplicate list of bash in pkg install command |
| 4920 |
for freebsd cases. |
| 4921 |
meson case failing oddly. |
| 4922 |
Another change somewhere in the background? |
| 4923 |
modified: ../../../.github/workflows/test.yml |
| 4924 |
|
| 4925 |
2023-05-13: David Anderson |
| 4926 |
commit 0c09ce5dc54800af173689662da7a58c5142f2f2 |
| 4927 |
|
| 4928 |
ChangeLog up to date ...again.. |
| 4929 |
modified: ChangeLog |
| 4930 |
|
| 4931 |
2023-05-13: David Anderson |
| 4932 |
commit 53990846344a2e52df65481cd7405bf7e46aedea |
| 4933 |
|
| 4934 |
Compiler found an unused local variable. Now removed. |
| 4935 |
modified: src/bin/dwarfdump/print_die.c |
| 4936 |
|
| 4937 |
2023-05-13: David Anderson |
| 4938 |
commit d90f42ee6288997095b3bb041ed5f1c3675354b9 |
| 4939 |
|
| 4940 |
Brings ChangeLog up to date. |
| 4941 |
modified: ChangeLog |
| 4942 |
|
| 4943 |
2023-05-13: David Anderson |
| 4944 |
commit d24fe012b997e54638adea9ed2ce8747e0aeeda3 |
| 4945 |
|
| 4946 |
More refactoring print_die_and_children_internal(). |
| 4947 |
The function traverses the DIE tree and is reduced |
| 4948 |
from ~300 to ~200 lines so the loop and recursion |
| 4949 |
are more understandable. |
| 4950 |
modified: src/bin/dwarfdump/print_die.c |
| 4951 |
|
| 4952 |
2023-05-12: David Anderson |
| 4953 |
commit 334b0ca480c703cf1ae454bb1c421dfd37744b1a |
| 4954 |
|
| 4955 |
Changing a select few local variables to |
| 4956 |
have more meaningful names, names not |
| 4957 |
easily confused with one another. |
| 4958 |
Im print_die_and_children_internal() |
| 4959 |
modified: src/bin/dwarfdump/print_die.c |
| 4960 |
|
| 4961 |
2023-05-12: David Anderson |
| 4962 |
commit 74832091748da62e5973025a903c139ac2cba74d |
| 4963 |
|
| 4964 |
Updated doxygen comments for |
| 4965 |
dwarf_validate_die_sibling() slightly. |
| 4966 |
modified: src/lib/libdwarf/libdwarf.h |
| 4967 |
|
| 4968 |
2023-05-12: David Anderson |
| 4969 |
commit 71b025de461274a7841118005a653b6b26c1b611 |
| 4970 |
|
| 4971 |
Refactor print_die_and_children_internal() as |
| 4972 |
the function is too long to be readily |
| 4973 |
understood. It's still too long though. |
| 4974 |
modified: print_die.c |
| 4975 |
|
| 4976 |
2023-05-12: David Anderson |
| 4977 |
commit 2624bea19ba106452d6880a32d772247d30afe8f |
| 4978 |
|
| 4979 |
Refactor print_die_and_children_internal() as |
| 4980 |
the function is too long to be readily |
| 4981 |
understood. It's still too long though. |
| 4982 |
modified: print_die.c |
| 4983 |
|
| 4984 |
2023-05-11: David Anderson |
| 4985 |
commit 9dbf454b117a05591af0b8c7ac7db176aed2093a |
| 4986 |
|
| 4987 |
Latest version |
| 4988 |
modified: bugxml/dwarfbug.html |
| 4989 |
modified: bugxml/dwarfbug.xml |
| 4990 |
modified: bugxml/dwarfbuglohi.html |
| 4991 |
|
| 4992 |
2023-05-10: David Anderson |
| 4993 |
commit 618980baf126e97c548018a2ce358a5d10a9f42e |
| 4994 |
|
| 4995 |
Everywhere appropriate in local headers, updating copyright to 2023. |
| 4996 |
modified: src/lib/libdwarf/dwarf.h |
| 4997 |
modified: src/lib/libdwarf/dwarf_abbrev.h |
| 4998 |
modified: src/lib/libdwarf/dwarf_alloc.h |
| 4999 |
modified: src/lib/libdwarf/dwarf_arange.h |
| 5000 |
modified: src/lib/libdwarf/dwarf_base_types.h |
| 5001 |
modified: src/lib/libdwarf/dwarf_debugaddr.h |
| 5002 |
modified: src/lib/libdwarf/dwarf_debuglink.h |
| 5003 |
modified: src/lib/libdwarf/dwarf_debugnames.h |
| 5004 |
modified: src/lib/libdwarf/dwarf_die_deliv.h |
| 5005 |
modified: src/lib/libdwarf/dwarf_dsc.h |
| 5006 |
modified: src/lib/libdwarf/dwarf_elf_access.h |
| 5007 |
modified: src/lib/libdwarf/dwarf_elf_defines.h |
| 5008 |
modified: src/lib/libdwarf/dwarf_elf_rel_detector.h |
| 5009 |
modified: src/lib/libdwarf/dwarf_elfstructs.h |
| 5010 |
modified: src/lib/libdwarf/dwarf_errmsg_list.h |
| 5011 |
modified: src/lib/libdwarf/dwarf_error.h |
| 5012 |
modified: src/lib/libdwarf/dwarf_frame.h |
| 5013 |
modified: src/lib/libdwarf/dwarf_gdbindex.h |
| 5014 |
modified: src/lib/libdwarf/dwarf_global.h |
| 5015 |
modified: src/lib/libdwarf/dwarf_gnu_index.h |
| 5016 |
modified: src/lib/libdwarf/dwarf_harmless.h |
| 5017 |
modified: src/lib/libdwarf/dwarf_line.h |
| 5018 |
modified: src/lib/libdwarf/dwarf_loc.h |
| 5019 |
modified: src/lib/libdwarf/dwarf_machoread.h |
| 5020 |
modified: src/lib/libdwarf/dwarf_macro5.h |
| 5021 |
modified: src/lib/libdwarf/dwarf_memcpy_swap.h |
| 5022 |
modified: src/lib/libdwarf/dwarf_object_detector.h |
| 5023 |
modified: src/lib/libdwarf/dwarf_object_read_common.h |
| 5024 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 5025 |
modified: src/lib/libdwarf/dwarf_pe_descr.h |
| 5026 |
modified: src/lib/libdwarf/dwarf_peread.h |
| 5027 |
modified: src/lib/libdwarf/dwarf_reading.h |
| 5028 |
modified: src/lib/libdwarf/dwarf_rnglists.h |
| 5029 |
modified: src/lib/libdwarf/dwarf_safe_strcpy.h |
| 5030 |
modified: src/lib/libdwarf/dwarf_str_offsets.h |
| 5031 |
modified: src/lib/libdwarf/dwarf_string.h |
| 5032 |
modified: src/lib/libdwarf/dwarf_tied_decls.h |
| 5033 |
modified: src/lib/libdwarf/dwarf_tsearch.h |
| 5034 |
modified: src/lib/libdwarf/dwarf_util.h |
| 5035 |
modified: src/lib/libdwarf/dwarf_xu_index.h |
| 5036 |
modified: src/lib/libdwarf/libdwarf.h |
| 5037 |
modified: src/lib/libdwarf/libdwarf_private.h |
| 5038 |
|
| 5039 |
2023-05-10: David Anderson |
| 5040 |
commit 87dd57f28467d4ccdb143c4ebb26fda9a4a41cfb |
| 5041 |
|
| 5042 |
Documenting the fix to DW202305-002, oss fuzz58797 |
| 5043 |
modified: bugxml/data.txt |
| 5044 |
|
| 5045 |
2023-05-10: David Anderson |
| 5046 |
commit eeb935200f78b8509e6b1837f6825b9d551b9f7d |
| 5047 |
|
| 5048 |
Fixing DW202305-002, oss-fuzz 58797, |
| 5049 |
the Yesterday's fix was incomplete. |
| 5050 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 5051 |
|
| 5052 |
2023-05-10: David Anderson |
| 5053 |
commit a8745ec7679fcf641f34e79c02a90950f1f98586 |
| 5054 |
|
| 5055 |
Changed yesterday. Up to date. |
| 5056 |
modified: bugxml/data.txt |
| 5057 |
modified: bugxml/dwarfbug.html |
| 5058 |
modified: bugxml/dwarfbug.xml |
| 5059 |
modified: bugxml/dwarfbuglohi.html |
| 5060 |
|
| 5061 |
2023-05-09: David Anderson |
| 5062 |
commit 8ef9846dbb0cde913f14cc20b6a44095fb88956c |
| 5063 |
|
| 5064 |
Now with gitfixid for oss-fuzz issue 58769, DW202305-001 |
| 5065 |
modified: bugxml/data.txt |
| 5066 |
|
| 5067 |
2023-05-09: David Anderson |
| 5068 |
commit 8337c03894048eb91061a4ae4e0f82ec7492b930 |
| 5069 |
|
| 5070 |
Added gitfixid for oss-fuzz issue 58769, DW202305-001 |
| 5071 |
modified: bugxml/data.txt |
| 5072 |
|
| 5073 |
2023-05-09: David Anderson |
| 5074 |
commit edc241bd0bf22c94d2d496f3cb761e60f066cd14 |
| 5075 |
|
| 5076 |
Describing oss-fuzz issue 58769, DW202305-001 |
| 5077 |
modified: bugxml/data.txt |
| 5078 |
|
| 5079 |
Small rearangement of dwarf_elf* headers. |
| 5080 |
New function IssueExpError() |
| 5081 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 5082 |
|
| 5083 |
Detecting corrupt data relevant to oss-fuzz issue 58769, DW202305-001 |
| 5084 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 5085 |
|
| 5086 |
2023-05-09: David Anderson |
| 5087 |
commit c3832862d3d64c7134e7b9570a6e2c6abbec375d |
| 5088 |
|
| 5089 |
For msys2 autotools, restore make distcheck |
| 5090 |
modified: test.yml |
| 5091 |
|
| 5092 |
2023-05-09: David Anderson |
| 5093 |
commit 9811823aa74d91d04630ae7a7aab7e527278f084 |
| 5094 |
|
| 5095 |
Restore the make distcheck |
| 5096 |
modified: msys2_autotools.yml |
| 5097 |
|
| 5098 |
2023-05-09: David Anderson |
| 5099 |
commit 4711f6d6fb2d220f55608ce615d9571ec7269264 |
| 5100 |
|
| 5101 |
Add a rm -f of something created |
| 5102 |
by Windows msys2 named test_setupsections.exe.manifest |
| 5103 |
modified: test/Makefile.am |
| 5104 |
|
| 5105 |
2023-05-08: David Anderson |
| 5106 |
commit f3b9197e7bb0d00592d0d75065afcc2b0875a8ad |
| 5107 |
|
| 5108 |
Small change to msys2 autotools invocation to avoid a new warning |
| 5109 |
modified: ../../configure.ac |
| 5110 |
|
| 5111 |
2023-05-08: David Anderson |
| 5112 |
commit c952fc6bdb23f2835bd5a4d9747ed2b5518a05ee |
| 5113 |
|
| 5114 |
Testing a change. |
| 5115 |
modified: .github/workflows/msys2_autotools.yml |
| 5116 |
|
| 5117 |
2023-05-06: David Anderson |
| 5118 |
commit c80b10bbcd42a1a7e6bf656b2a3850e7d6c10d65 |
| 5119 |
|
| 5120 |
comment out msys2 autotools while |
| 5121 |
we figure out whay test/test_setupsections.exe.manifest |
| 5122 |
is left after distclean. |
| 5123 |
modified: test.yml |
| 5124 |
|
| 5125 |
2023-05-06: David Anderson |
| 5126 |
commit 863e4a15cec5083714aff4ff109ccb90b165a2ba |
| 5127 |
|
| 5128 |
For testing outside of the ci do-all test. |
| 5129 |
|
| 5130 |
new file: .github/workflows/msys2_autotools.yml |
| 5131 |
|
| 5132 |
rm -f a couple temp files to be sure removed. |
| 5133 |
modified: test/test_debuglink-a.sh |
| 5134 |
rm -f a couple temp files to be sure removed. |
| 5135 |
modified: test/test_debuglink-b.sh |
| 5136 |
|
| 5137 |
2023-05-06: David Anderson |
| 5138 |
commit 2efdc4fe1f79edb2edf7e98d2736ff50a997af46 |
| 5139 |
|
| 5140 |
Toward msys2 build in workflow |
| 5141 |
modified: test/Makefile.am |
| 5142 |
|
| 5143 |
2023-05-06: David Anderson |
| 5144 |
commit a0661718cc633dfaf15c58df7ec5c9c96ebbb836 |
| 5145 |
|
| 5146 |
Issues with the Makefile , hopefully all fixed. |
| 5147 |
modified: test/Makefile.am |
| 5148 |
|
| 5149 |
2023-05-06: David Anderson |
| 5150 |
commit b7bef5a3dd3389def940b8093bc974913620485c |
| 5151 |
|
| 5152 |
Added a .h in safestrcpy rule |
| 5153 |
modified: test/Makefile.am |
| 5154 |
|
| 5155 |
2023-05-06: David Anderson |
| 5156 |
commit f7da67867e77ab767920ec1ec98d32ee055ff70d |
| 5157 |
|
| 5158 |
Now with a better explanation of why we split out |
| 5159 |
dwarf_setup_sections.[ch] |
| 5160 |
modified: ChangeLog |
| 5161 |
|
| 5162 |
2023-05-06: David Anderson |
| 5163 |
commit 4b2691baaeb2c98d733d887fa59b6b9ea2ab0314 |
| 5164 |
|
| 5165 |
Updates from git log |
| 5166 |
modified: ChangeLog |
| 5167 |
|
| 5168 |
2023-05-06: David Anderson |
| 5169 |
commit a61867ee941ccfb5013e657b5c4a1f833bdeef47 |
| 5170 |
|
| 5171 |
Added tests to the test code. |
| 5172 |
modified: test/test_setupsections.c |
| 5173 |
|
| 5174 |
2023-05-05: David Anderson |
| 5175 |
commit c8c4b48f85141646f751be145e4cd9a66cddedcf |
| 5176 |
|
| 5177 |
Now run the new test_setupsections test. |
| 5178 |
modified: test/CMakeLists.txt |
| 5179 |
modified: test/meson.build |
| 5180 |
|
| 5181 |
Fix code mistakes, set standard iteration count to 1. |
| 5182 |
modified: test/test_setupsections.c |
| 5183 |
|
| 5184 |
2023-05-05: David Anderson |
| 5185 |
commit 47ef977174b17be9689951c44f0db9422a673a10 |
| 5186 |
|
| 5187 |
Testing the setupsections code. |
| 5188 |
Iterating this version loop 3Mn times |
| 5189 |
with the --count option |
| 5190 |
taks about 3 seconds (default is much smaller) |
| 5191 |
modified: test/Makefile.am |
| 5192 |
new file: test/test_setupsections.c |
| 5193 |
|
| 5194 |
2023-05-04: David Anderson |
| 5195 |
commit 8312a88d5ed57f879ed6440a4df9e328db997d0c |
| 5196 |
|
| 5197 |
Removing the #if 0 code that is now in |
| 5198 |
dwarf_setup_sections.c |
| 5199 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 5200 |
|
| 5201 |
2023-05-04: David Anderson |
| 5202 |
commit 40b7167da97544bdcf5a08050c90a1418cb3fbe6 |
| 5203 |
|
| 5204 |
Now supports the refactoring adding dwarf_setup_sections.c |
| 5205 |
and .h for cmake & meson. |
| 5206 |
modified: src/lib/libdwarf/CMakeLists.txt |
| 5207 |
modified: src/lib/libdwarf/meson.build |
| 5208 |
|
| 5209 |
2023-05-04: David Anderson |
| 5210 |
commit 162803c76d46a163403d12ca47a3a939d9fa8c04 |
| 5211 |
|
| 5212 |
Refactored the setting up of section records |
| 5213 |
into dwarf_setup_sections.c |
| 5214 |
(moved from dwarf_init_finish.c) so we can |
| 5215 |
get a timing baseline of what |
| 5216 |
_dwarf_enter_section_in_de_debug_sections_array |
| 5217 |
does and (in due course) replace its code with something faster |
| 5218 |
and with much less code. |
| 5219 |
modified: src/lib/libdwarf/Makefile.am |
| 5220 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 5221 |
new file: src/lib/libdwarf/dwarf_setup_sections.c |
| 5222 |
new file: src/lib/libdwarf/dwarf_setup_sections.h |
| 5223 |
|
| 5224 |
2023-05-03: David Anderson |
| 5225 |
commit 81e5968d506aa50562aa3df64783f030d9e316cc |
| 5226 |
|
| 5227 |
Modified ts_entry which saves 8 bytes that were |
| 5228 |
pointlessly wasted (counting padding no longer needed). |
| 5229 |
modified: src/bin/dwarfdump/dd_tsearchbal.c |
| 5230 |
|
| 5231 |
2023-05-03: David Anderson |
| 5232 |
commit 2ae7b691cce0f99f1542cf3d32d565b76a98bf6f |
| 5233 |
|
| 5234 |
Split one line into two to avoid too-long line. |
| 5235 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 5236 |
|
| 5237 |
Remove trailing whitespace. |
| 5238 |
Remove leading/trailing blank lines. |
| 5239 |
modified: src/lib/libdwarf/dwarf_elfread.h |
| 5240 |
modified: src/lib/libdwarf/dwarf_errmsg_list.h |
| 5241 |
modified: src/lib/libdwarf/dwarf_line.h |
| 5242 |
modified: src/lib/libdwarf/dwarf_secname_ck.h |
| 5243 |
|
| 5244 |
removed include stdio.h, was for debug only. |
| 5245 |
modified: src/lib/libdwarf/dwarf_secname_ck.c |
| 5246 |
|
| 5247 |
2023-05-03: David Anderson |
| 5248 |
commit a6809f258fdd57d928daf7865bcc29cbc84522b8 |
| 5249 |
|
| 5250 |
Now checks that DW_AT_abstract_origin |
| 5251 |
with DW_FORM_ref_addr refers to a valid DIE |
| 5252 |
in .debug_info |
| 5253 |
modified: src/bin/dwarfdump/print_die.c |
| 5254 |
|
| 5255 |
2023-05-02: David Anderson |
| 5256 |
commit c779d667f7fc7c66cae371a1a9ae0bd780a8393b |
| 5257 |
|
| 5258 |
Up to date with git log |
| 5259 |
modified: ChangeLog |
| 5260 |
|
| 5261 |
2023-05-02: David Anderson |
| 5262 |
commit 685372749ce431fd5ba3b2fddfa7d0306b3c8a7f |
| 5263 |
|
| 5264 |
Now the list of section names to ignore |
| 5265 |
is handled with binary search, so |
| 5266 |
cutting search time approximately in half. |
| 5267 |
modified: src/lib/libdwarf/dwarf_secname_ck.c |
| 5268 |
|
| 5269 |
2023-05-02: David Anderson |
| 5270 |
commit dd6093f5efbd57dbd2e8e2441093067e4313d9e2 |
| 5271 |
|
| 5272 |
Now all the builds use the new source file, |
| 5273 |
and the self tests all test the revised function. |
| 5274 |
modified: src/lib/libdwarf/CMakeLists.txt |
| 5275 |
modified: src/lib/libdwarf/Makefile.am |
| 5276 |
modified: src/lib/libdwarf/meson.build |
| 5277 |
modified: test/CMakeLists.txt |
| 5278 |
modified: test/Makefile.am |
| 5279 |
modified: test/meson.build |
| 5280 |
|
| 5281 |
2023-05-02: David Anderson |
| 5282 |
commit 394b353a25a0e3ecbe4b6bd21fa3d02d3798b772 |
| 5283 |
|
| 5284 |
Now include dwarf_secname_ck.h to get the moved functions. |
| 5285 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 5286 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 5287 |
|
| 5288 |
Removed _dwarf_ignorethissection() prototype from here. |
| 5289 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 5290 |
|
| 5291 |
Factored out _dwarf_startswith and |
| 5292 |
_dwarf_ignorethissection |
| 5293 |
for simpler testing and smaller code. |
| 5294 |
Shortly performance will be improved too, |
| 5295 |
since the refactoring makes that easy.. |
| 5296 |
new file: src/lib/libdwarf/dwarf_secname_ck.c |
| 5297 |
new file: src/lib/libdwarf/dwarf_secname_ck.h |
| 5298 |
|
| 5299 |
New test code for the factored out functions. |
| 5300 |
new file: test/test_ignoresec.c |
| 5301 |
|
| 5302 |
2023-05-02: David Anderson |
| 5303 |
commit 7432b7a9b1909cffca34fbace217bcbfc4d9bd45 |
| 5304 |
|
| 5305 |
Function definition had initial left brace |
| 5306 |
in the wrong place. |
| 5307 |
modified: dwarf_init_finish.c |
| 5308 |
|
| 5309 |
2023-05-02: David Anderson |
| 5310 |
commit 9e051d9f696244c3e794f2890778b29457bcfead |
| 5311 |
|
| 5312 |
Adding new DW_LANG attribute names (new in DWARF6, |
| 5313 |
public on dwarfstd.org now). |
| 5314 |
modified: dwarf_names.c |
| 5315 |
|
| 5316 |
2023-05-01: David Anderson |
| 5317 |
commit aa97b2bc34eaeea619df6c39f93b4e190d93b1d6 |
| 5318 |
|
| 5319 |
One new line of code (prevous commit) |
| 5320 |
had incorrect indentation. Fixed. No logic change. |
| 5321 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 5322 |
|
| 5323 |
2023-05-01: David Anderson |
| 5324 |
commit e41c8ead4db5bd6864354820d6b4cdd03119ae11 |
| 5325 |
|
| 5326 |
Latest change. Related to section groups. |
| 5327 |
modified: ChangeLog |
| 5328 |
|
| 5329 |
2023-05-01: David Anderson |
| 5330 |
commit a0872b2f09d2f9b034a8e8a1dd43a204ebbc2233 |
| 5331 |
|
| 5332 |
Minor update of the date (May now, not April). |
| 5333 |
modified: bugxml/dwarfbug.html |
| 5334 |
modified: bugxml/dwarfbuglohi.html |
| 5335 |
|
| 5336 |
2023-05-01: David Anderson |
| 5337 |
commit 6c667ab643f4a78d153b58bc3690047d9fca2f09 |
| 5338 |
|
| 5339 |
This fixes a problem due to the way one user |
| 5340 |
creates group sections for .text as an aid to |
| 5341 |
LTO (link time optimization), which pointlessly |
| 5342 |
cause libdwarf to issue an error. |
| 5343 |
Pointless because libdwarf pays no attention to |
| 5344 |
the sections causing an error, so we should ignore |
| 5345 |
them in section groups too. |
| 5346 |
|
| 5347 |
In read_gs_section_group() use _dwarf_ignorethissection |
| 5348 |
to avoid putting section group entries with the unwanted |
| 5349 |
names in any group. |
| 5350 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 5351 |
|
| 5352 |
Changing _dwarf_ignorethissection() to use |
| 5353 |
startswith() instead of strcmp() in looking for |
| 5354 |
text etc that libdwarf is not interested in. |
| 5355 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 5356 |
|
| 5357 |
2023-04-27: David Anderson |
| 5358 |
commit 1f84190bf84c68ac6d80d31a4e0b562659d4faf4 |
| 5359 |
|
| 5360 |
Added OSSF Best Practices badge. |
| 5361 |
modified: README |
| 5362 |
modified: README.md |
| 5363 |
|
| 5364 |
2023-04-27: David Anderson |
| 5365 |
commit 545322e1897bbc15fa8f26943802b34c41f81274 |
| 5366 |
|
| 5367 |
Corrected the section on reading an object |
| 5368 |
with no file present (the section index is |
| 5369 |
now Dwarf_Unsigned per Changes after 0.6.0) |
| 5370 |
modified: doc/libdwarf.dox |
| 5371 |
Regenerated. |
| 5372 |
modified: doc/libdwarf.pdf |
| 5373 |
|
| 5374 |
2023-04-27: David Anderson |
| 5375 |
commit da679e0148d04643dfc713f320272cd3dbdc6b40 |
| 5376 |
|
| 5377 |
Up to date with git log |
| 5378 |
modified: ChangeLog |
| 5379 |
|
| 5380 |
2023-04-27: David Anderson |
| 5381 |
commit 055d0301be97d107c4098f65b1958f15ace25cfc |
| 5382 |
|
| 5383 |
Updated to today date. |
| 5384 |
Changed dwarfstd.org link from http to https. |
| 5385 |
modified: doc/libdwarf.dox |
| 5386 |
modified: doc/libdwarf.pdf |
| 5387 |
|
| 5388 |
2023-04-27: David Anderson |
| 5389 |
commit caa2ad7b9a4fbd6ec0c24518f6ff8342658bd971 |
| 5390 |
|
| 5391 |
Now documents the testing needed for |
| 5392 |
contributions. |
| 5393 |
modified: CONTRIBUTING.md |
| 5394 |
|
| 5395 |
2023-04-25: David Anderson |
| 5396 |
commit d1719d5c76d9bf19d69ec940ab92ffbac763e70f |
| 5397 |
|
| 5398 |
Now up to date with git log |
| 5399 |
modified: ChangeLog |
| 5400 |
|
| 5401 |
2023-04-25: David Anderson |
| 5402 |
commit 1cac955c5388e56f729184e1888e5aa69c207f2c |
| 5403 |
|
| 5404 |
Now an earlier detection of some corrupt Elf headers. |
| 5405 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 5406 |
|
| 5407 |
2023-04-21: David Anderson |
| 5408 |
commit 3d624ee882713938564ea30fc35683da418992ee |
| 5409 |
|
| 5410 |
Now up to date with git log. |
| 5411 |
modified: ChangeLog |
| 5412 |
|
| 5413 |
2023-04-21: David Anderson |
| 5414 |
commit b355024686bbc963f5bef9c09fb5f9470de3ae0d |
| 5415 |
|
| 5416 |
Additional small modifications to extended elf |
| 5417 |
section counts, correcting earlier approximations. |
| 5418 |
Hopefully all now correct. |
| 5419 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 5420 |
|
| 5421 |
2023-04-20: David Anderson |
| 5422 |
commit 8cbcf36da07d2f245af4bdc2a63f7e24552069c2 |
| 5423 |
|
| 5424 |
The correct new spelling is |
| 5425 |
DW_LANG_Assembly |
| 5426 |
(not Assembler). |
| 5427 |
modified: dwarf.h |
| 5428 |
|
| 5429 |
2023-04-20: Mateusz Janda |
| 5430 |
commit afb87c6d9f6f25bc652a871ac3074098e1d226c8 |
| 5431 |
|
| 5432 |
Support for large number of section headers (#160) |
| 5433 |
|
| 5434 |
2023-04-16: David Anderson |
| 5435 |
commit 975430ca8c739f65aa6b458533cfb0e068d3d495 |
| 5436 |
|
| 5437 |
DW202303-006 and -012 |
| 5438 |
were both assigned the same oss fuzz number, |
| 5439 |
which was disguized another mistake. |
| 5440 |
modified: data.txt |
| 5441 |
modified: dwarfbug.html |
| 5442 |
modified: dwarfbug.xml |
| 5443 |
modified: dwarfbuglohi.html |
| 5444 |
|
| 5445 |
2023-04-16: David Anderson |
| 5446 |
commit 09d2ea27346d8cf6076ee65d29f9bcde40daa9d3 |
| 5447 |
|
| 5448 |
Now with latest DW_LANG codes assigned. |
| 5449 |
modified: dwarf.h |
| 5450 |
|
| 5451 |
2023-04-15: David Anderson |
| 5452 |
commit 7d362787aba63d89857284169309acf612807034 |
| 5453 |
|
| 5454 |
Don't report in htmldoc.tar |
| 5455 |
modified: .gitignore |
| 5456 |
|
| 5457 |
2023-04-15: David Anderson |
| 5458 |
commit e4f01daf0f1bdaaa718dec4fcccf8be759e2695a |
| 5459 |
|
| 5460 |
Don't report on bugxml/__pycache__ |
| 5461 |
modified: .gitignore |
| 5462 |
|
| 5463 |
2023-04-15: David Anderson |
| 5464 |
commit 035db2b4f822d5395a10ab79279e6fbaa14d8087 |
| 5465 |
|
| 5466 |
Recent changes entered from git log |
| 5467 |
modified: ChangeLog |
| 5468 |
|
| 5469 |
Corrected the git commit id for 58026 ossfuxx |
| 5470 |
modified: bugxml/data.txt |
| 5471 |
|
| 5472 |
Regenerated: |
| 5473 |
modified: bugxml/dwarfbug.html |
| 5474 |
modified: bugxml/dwarfbug.xml |
| 5475 |
modified: bugxml/dwarfbuglohi.html |
| 5476 |
|
| 5477 |
2023-04-15: David Anderson |
| 5478 |
commit 27e06267b2931cdfbbaf46492f88a3f9040abb20 |
| 5479 |
|
| 5480 |
Changed a register variable from int (!) to Dwarf_Unsigned |
| 5481 |
to match everywhere else. |
| 5482 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 5483 |
|
| 5484 |
Fixed doubled comment end to a single */ |
| 5485 |
modified: src/lib/libdwarf/libdwarf.h |
| 5486 |
|
| 5487 |
2023-04-15: David Anderson |
| 5488 |
commit b4ac71c98292d7de32584358441dada59dff2944 |
| 5489 |
|
| 5490 |
Changed suggested email from libdwarf-list to libdwarf. |
| 5491 |
modified: configure.ac |
| 5492 |
|
| 5493 |
2023-04-15: David Anderson |
| 5494 |
commit 9972bef26da3c43fcc3e2ecd6621c09930b3bd06 |
| 5495 |
|
| 5496 |
Minor text change. Modified the email address |
| 5497 |
a little. |
| 5498 |
modified: SECURITY.md |
| 5499 |
|
| 5500 |
2023-04-15: David Anderson |
| 5501 |
commit 558bee0286dd422871715511161477dab746f135 |
| 5502 |
|
| 5503 |
Documenting DW202304-004 ossfuzz 58026 |
| 5504 |
modified: bugxml/data.txt |
| 5505 |
modified: bugxml/dwarfbug.html |
| 5506 |
modified: bugxml/dwarfbug.xml |
| 5507 |
modified: bugxml/dwarfbuglohi.html |
| 5508 |
|
| 5509 |
2023-04-15: David Anderson |
| 5510 |
commit 76bf9444dfed876da987c2cfeac0d09dbe1a3fba |
| 5511 |
|
| 5512 |
Changed internal fields with register numbers into |
| 5513 |
Dwarf_Unsigned. The previous use of Dwarf_Half |
| 5514 |
lead to a failure to detect some corrupt register |
| 5515 |
numbers read from DWARF. |
| 5516 |
Leading to a segmentation violation in libdwarf. |
| 5517 |
DW202304-004 ossfuzz 58026 |
| 5518 |
The bugs the test object exposed have been present |
| 5519 |
for over 25 years. |
| 5520 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 5521 |
|
| 5522 |
Changed register number data from Dwarf_Half to |
| 5523 |
Dwarf_Unsigned. |
| 5524 |
modified: src/lib/libdwarf/dwarf_frame.h |
| 5525 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 5526 |
|
| 5527 |
2023-04-15: David Anderson |
| 5528 |
commit 4f933efa3a73f09403910d7804fde4c9907de284 |
| 5529 |
|
| 5530 |
Added doxygen comments pointing out |
| 5531 |
where two public structs show register |
| 5532 |
number as 16 bits unsigned, restricting |
| 5533 |
the number of registers that can be handled |
| 5534 |
to that (currently reasonable) limit. |
| 5535 |
modified: src/lib/libdwarf/libdwarf.h |
| 5536 |
|
| 5537 |
2023-04-15: David Anderson |
| 5538 |
commit 1c8ad2fbbcecec257cbd8852bfa34af30a28752f |
| 5539 |
|
| 5540 |
Added a comment documenting that the code |
| 5541 |
can leak memory as in case of certain |
| 5542 |
errors found in corrupt dwarf it immiately |
| 5543 |
exit()s and does not call dwarf_finish(). |
| 5544 |
Arranged that in case of some errors the |
| 5545 |
code prints the error name, not the error |
| 5546 |
number. |
| 5547 |
modified: fuzz/fuzz_set_frame_all.c |
| 5548 |
|
| 5549 |
2023-04-12: David Anderson |
| 5550 |
commit 9f7b5cfc844fa1e462b86c42419e7d191fc9dcc0 |
| 5551 |
|
| 5552 |
Made three names bold (relating to frame registers). |
| 5553 |
modified: doc/libdwarf.dox |
| 5554 |
|
| 5555 |
2023-04-12: David Anderson |
| 5556 |
commit b87cf166362e21a575b2cccd0bc155977b514c9b |
| 5557 |
|
| 5558 |
Removed redundant -W entries. |
| 5559 |
modified: configure.ac |
| 5560 |
|
| 5561 |
2023-04-12: David Anderson |
| 5562 |
commit f69bc261e4ccf6ff60741d3743ee96b697f1d4cc |
| 5563 |
Merge: a6ea699c e8aa1e4b |
| 5564 |
|
| 5565 |
Merge branch 'main' of https://github.com/davea42/libdwarf-code |
| 5566 |
renameing branch did this. |
| 5567 |
|
| 5568 |
2023-04-12: David Anderson |
| 5569 |
commit a6ea699ca78c04aa88a8ff3fe5c5a498d6693d07 |
| 5570 |
|
| 5571 |
Removing set-not-used local variable |
| 5572 |
modified: src/lib/libdwarf/dwarf_query.c |
| 5573 |
|
| 5574 |
2023-04-12: David Anderson |
| 5575 |
commit e8aa1e4bd25c3eeb1da20485a53462e7ac99b58d |
| 5576 |
|
| 5577 |
Update scorecards.yml |
| 5578 |
|
| 5579 |
Changing a comment to ref main instead of master |
| 5580 |
|
| 5581 |
2023-04-11: David Anderson |
| 5582 |
commit 40c63f7190267964e7443920a60f5826986df109 |
| 5583 |
|
| 5584 |
Latest git log messages now present here. |
| 5585 |
modified: ChangeLog |
| 5586 |
|
| 5587 |
2023-04-11: David Anderson |
| 5588 |
commit 78da6f683a34052b5a3c0ea11cfe774fc7ec6e84 |
| 5589 |
|
| 5590 |
Made a small change to the description |
| 5591 |
of DW202304-003. The test case |
| 5592 |
was cleverly fuzzed to bypass some |
| 5593 |
kinds of checks. |
| 5594 |
modified: bugxml/data.txt |
| 5595 |
modified: bugxml/dwarfbug.html |
| 5596 |
modified: bugxml/dwarfbug.xml |
| 5597 |
modified: bugxml/dwarfbuglohi.html |
| 5598 |
|
| 5599 |
2023-04-11: David Anderson |
| 5600 |
commit 4aa19e68e135a9124478254df398b60c9cc0cced |
| 5601 |
|
| 5602 |
New bug fix |
| 5603 |
DW202304-003 oss fuzz 57887 |
| 5604 |
modified: bugxml/data.txt |
| 5605 |
|
| 5606 |
Regenerated. |
| 5607 |
modified: bugxml/dwarfbug.html |
| 5608 |
modified: bugxml/dwarfbug.xml |
| 5609 |
modified: bugxml/dwarfbuglohi.html |
| 5610 |
|
| 5611 |
2023-04-11: David Anderson |
| 5612 |
commit aa7a80e8fcd473041dd319f1a9209af04aae1d6f |
| 5613 |
|
| 5614 |
Fixing trailing whitespace. |
| 5615 |
Removing several comments like |
| 5616 |
/* FIXME */ |
| 5617 |
as they related to a past change and no longer need |
| 5618 |
to be referenced. |
| 5619 |
modified: src/lib/libdwarfdwarf_line.c |
| 5620 |
|
| 5621 |
2023-04-11: David Anderson |
| 5622 |
commit 426ed6faa6bae3274e3da93a3e33ddaf94037e3a |
| 5623 |
|
| 5624 |
Removing trailing whitespace. |
| 5625 |
modified: dwarf_fission_to_cu.c |
| 5626 |
|
| 5627 |
2023-04-11: David Anderson |
| 5628 |
commit 2eac3737685eda19eb3ddcc0e386f901709510c1 |
| 5629 |
|
| 5630 |
Added commentary in _dwarf_get_addr_index_itself() |
| 5631 |
as to why one cannot issue the error there in case |
| 5632 |
of a bogus index into .debug_addr. |
| 5633 |
Removed some trailing whitespace. |
| 5634 |
modified: dwarf_form.c |
| 5635 |
|
| 5636 |
2023-04-11: David Anderson |
| 5637 |
commit 1729d9af3f690bece912ae0f625b312566d0ae25 |
| 5638 |
|
| 5639 |
DW202304-003 ossfuzz 57887 |
| 5640 |
The fuzzed test case involved an index |
| 5641 |
that was so close to wrapping around |
| 5642 |
a 64bit unsigned that testing after |
| 5643 |
doing arithmetic would fail to catch the error. |
| 5644 |
Now doing much better checking in |
| 5645 |
_dwarf_extract_address_from_debug_addr(). |
| 5646 |
modified: dwarf_query.c |
| 5647 |
|
| 5648 |
2023-04-11: David Anderson |
| 5649 |
commit ce002f8e78c80a96997efa86db51ec0f38a04fda |
| 5650 |
|
| 5651 |
Up to date with git log now. |
| 5652 |
modified: ChangeLog |
| 5653 |
|
| 5654 |
2023-04-11: David Anderson |
| 5655 |
commit 00f42432edf992246ad4e4a475a30808334820ab |
| 5656 |
|
| 5657 |
Correcting by adding omitted ossfuzz |
| 5658 |
identifiers to ChangeLog (just a few cases missed) |
| 5659 |
and ensuring that data.txt is correct. |
| 5660 |
modified: ChangeLog |
| 5661 |
modified: bugxml/data.txt |
| 5662 |
|
| 5663 |
2023-04-10: David Anderson |
| 5664 |
commit 480f858bd03bff4e64ee353c2d11c5b8ffa6ff4d |
| 5665 |
|
| 5666 |
Updated date, removed noise word 'simply' |
| 5667 |
from several places, and cleaned up formatting |
| 5668 |
of the Recent Changes section. |
| 5669 |
now mentions the compatibility break |
| 5670 |
due to 32bit section counts added to Elf |
| 5671 |
requiring a library API change. |
| 5672 |
modified: doc/libdwarf.dox |
| 5673 |
|
| 5674 |
2023-04-09: David Anderson |
| 5675 |
commit a0b23a465aa67a519a3d0fee6f2b035cc4aebac7 |
| 5676 |
|
| 5677 |
Updated DW202304-002 oss fuzz 57766 |
| 5678 |
modified: bugxml/data.txt |
| 5679 |
|
| 5680 |
Regenerated. |
| 5681 |
modified: bugxml/dwarfbug.html |
| 5682 |
modified: bugxml/dwarfbug.xml |
| 5683 |
modified: bugxml/dwarfbuglohi.html |
| 5684 |
|
| 5685 |
2023-04-09: David Anderson |
| 5686 |
commit 761da806fc950c6b26c1763e8989a814e9b16a59 |
| 5687 |
|
| 5688 |
Fixing DW202304-002 oss fuzz 57766 |
| 5689 |
A read off the end of the relevant (.debug_str_offsets) |
| 5690 |
section. |
| 5691 |
|
| 5692 |
Using renamed fields related to str_offsets |
| 5693 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 5694 |
modified: src/lib/libdwarf/dwarf_fission_to_cu.c |
| 5695 |
|
| 5696 |
Add a new check for sanity in reading indexes |
| 5697 |
to be used on str_offsets. |
| 5698 |
Simplify and correct |
| 5699 |
_dwarf_extract_string_offset_via_str_offsets() |
| 5700 |
modified: src/lib/libdwarf/dwarf_form.c |
| 5701 |
|
| 5702 |
Revise the list of values used in str_offsets |
| 5703 |
data for cu contexts. Document the fields better. |
| 5704 |
Put the boolean markers next to what they relate |
| 5705 |
to. Delete a useless boolean. |
| 5706 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 5707 |
|
| 5708 |
Using renamed fields related to str_offsets |
| 5709 |
modified: src/lib/libdwarf/dwarf_query.c |
| 5710 |
modified: src/lib/libdwarf/dwarf_str_offsets.c |
| 5711 |
|
| 5712 |
2023-04-09: David Anderson |
| 5713 |
commit 77e8585029e71c296eca40a39cd1907256302cd1 |
| 5714 |
|
| 5715 |
Notes on a new bug number. More in a few minutes. |
| 5716 |
modified: bugxml/data.txt |
| 5717 |
|
| 5718 |
2023-04-07: David Anderson |
| 5719 |
commit 6caff11db733e9d8bb2125a0edeac2ade65ef545 |
| 5720 |
|
| 5721 |
Documenting the new incompatibility forced by |
| 5722 |
section counts > 16 bits. |
| 5723 |
modified: doc/libdwarf.dox |
| 5724 |
|
| 5725 |
The incompatibilities are discussed here. |
| 5726 |
Will affect those using dwarf_object_init_b(). |
| 5727 |
modified: src/lib/libdwarf/libdwarf.h |
| 5728 |
|
| 5729 |
These are the changes to correctly read |
| 5730 |
the 32bit section count e_shnum and e_shstrndx |
| 5731 |
The 'man 5 elf' page gives the outline, but |
| 5732 |
what linkers create is slightly different. |
| 5733 |
Now we handle both documented and actual. |
| 5734 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 5735 |
|
| 5736 |
All this is due to changing index section numbers |
| 5737 |
from Dwarf_Half to Dwarf_Unsigned. |
| 5738 |
modified: src/bin/dwarfexample/jitreader.c |
| 5739 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 5740 |
modified: src/lib/libdwarf/dwarf_elfread.c |
| 5741 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 5742 |
modified: src/lib/libdwarf/dwarf_machoread.c |
| 5743 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 5744 |
modified: src/lib/libdwarf/dwarf_peread.c |
| 5745 |
|
| 5746 |
2023-04-07: David Anderson |
| 5747 |
commit 02f451aed20dae9bdb4ed6267d561c6ca7a52f09 |
| 5748 |
|
| 5749 |
Bugs fixed by the commit shown next. |
| 5750 |
modified: bugxml/dwarfbug.html |
| 5751 |
modified: bugxml/dwarfbug.xml |
| 5752 |
modified: bugxml/dwarfbuglohi.html |
| 5753 |
|
| 5754 |
2023-04-06: David Anderson |
| 5755 |
commit 91c8bffb6c8104ad3231ed040d77a30018e6c981 |
| 5756 |
|
| 5757 |
Adding DW202304-001 for oss fuzz 57711 |
| 5758 |
with fix commit id.. |
| 5759 |
modified: bugxml/data.txt |
| 5760 |
|
| 5761 |
2023-04-06: David Anderson |
| 5762 |
commit a53581496308f1a84fafde7de6e4eda91efa38b6 |
| 5763 |
|
| 5764 |
We no longer issue DWARF_CHECK messages on problems |
| 5765 |
reading certain line table API functions. |
| 5766 |
Unless we are using a relevant -k option. |
| 5767 |
Only matters in three corrupted objects. |
| 5768 |
Might change it back at some point. |
| 5769 |
modified: src/bin/dwarfdump/print_lines.c |
| 5770 |
|
| 5771 |
2023-04-06: David Anderson |
| 5772 |
commit da0d1efbeddcff23c25704bd9672e98314928b19 |
| 5773 |
|
| 5774 |
Some lines printing DWARF_CHECK appeared when |
| 5775 |
doing printing. Now they only appear when doing'checking. |
| 5776 |
It has to do with line (table) details details |
| 5777 |
suceeding or (in 3 test objects) failing. |
| 5778 |
Now we don't print the DWARF_CHECK |
| 5779 |
if printing. |
| 5780 |
modified: src/lib/libdwarf/dwarf_line.c |
| 5781 |
|
| 5782 |
A fix to oss fuzz 57711. |
| 5783 |
A problem present for many years. |
| 5784 |
A crash due to a negative value |
| 5785 |
in a line table Dwarf_Signed API. |
| 5786 |
The stack trace shown was pretty crazy (a mess). |
| 5787 |
Many places were having trouble checking bounds |
| 5788 |
due to the historic choice of Dwarf_Signed |
| 5789 |
in the API interfaces but Dwarf_Unsigned internally |
| 5790 |
(as Dwarf_Unsigned is really the only sensible choice). |
| 5791 |
So now we explicitly check for value < 0 |
| 5792 |
(where that makes sense) so even with signed values |
| 5793 |
we can do other checks without worrying about |
| 5794 |
negative values. |
| 5795 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 5796 |
|
| 5797 |
2023-04-06: David Anderson |
| 5798 |
commit 89ebcaffd9913e371b8f7e2afd72e097350067ab |
| 5799 |
|
| 5800 |
Dated April |
| 5801 |
modified: bugxml/dwarfbug.html |
| 5802 |
modified: bugxml/dwarfbuglohi.html |
| 5803 |
|
| 5804 |
2023-04-06: David Anderson |
| 5805 |
commit 8d08175af2b842e2994e2ffae1945273c23a1470 |
| 5806 |
|
| 5807 |
now the date prints as |
| 5808 |
January 2023 |
| 5809 |
instead of with a specific date and time. |
| 5810 |
Makes it simpler in git not having change so |
| 5811 |
frequently. |
| 5812 |
modified: bugxml/readbugs.py |
| 5813 |
|
| 5814 |
2023-04-06: David Anderson |
| 5815 |
commit 5ac919ea71370bad448628900f4f75919b1654df |
| 5816 |
|
| 5817 |
Many local variables were used that had |
| 5818 |
no initializer. function exampled(). |
| 5819 |
While that may not have changed the output |
| 5820 |
it is extremely bad proctice. |
| 5821 |
And can easily lead to irreproducible results. |
| 5822 |
Now all initialized to zero. No other change. |
| 5823 |
modified: fuzz/fuzz_srcfiles.c |
| 5824 |
|
| 5825 |
2023-04-06: David Anderson |
| 5826 |
commit c6e362598b9cf78f9dc8c07e8f2e1341b84522fd |
| 5827 |
|
| 5828 |
Adding two new error codes for line table errors/corruption. |
| 5829 |
DW_DLE_LINE_INDEX_WRONG index into line table corrupt |
| 5830 |
DW_DLE_LINE_COUNT_WRONG count in line table corrupt |
| 5831 |
modified: dwarf_errmsg_list.h |
| 5832 |
modified: libdwarf.h |
| 5833 |
|
| 5834 |
2023-04-06: David Anderson |
| 5835 |
commit 60b324de009df07ca34e47b60d3d5e18fa3b07ac |
| 5836 |
|
| 5837 |
Removed the union defined here, |
| 5838 |
the struct member of the union |
| 5839 |
is retained. References to the struct |
| 5840 |
are shorter now. The union was created |
| 5841 |
to support IRIX rqs (not described here) |
| 5842 |
and that support has been irrelevant for |
| 5843 |
25 years. |
| 5844 |
modified: dwarf_line.h |
| 5845 |
|
| 5846 |
2023-04-05: David Anderson |
| 5847 |
commit 6c4e9c043f9a50626f940b5372ad6116cd3c351c |
| 5848 |
|
| 5849 |
Regenerated. |
| 5850 |
modified: bugxml/dwarfbug.html |
| 5851 |
modified: bugxml/dwarfbuglohi.html |
| 5852 |
|
| 5853 |
2023-04-05: David Anderson |
| 5854 |
commit 4bb3aaed068e4f9e1ef972a041238d6942131e87 |
| 5855 |
|
| 5856 |
generated from latest bugxml/data.txt |
| 5857 |
modified: bugxml/dwarfbug.html |
| 5858 |
modified: bugxml/dwarfbug.xml |
| 5859 |
modified: bugxml/dwarfbuglohi.html |
| 5860 |
|
| 5861 |
2023-04-05: David Anderson |
| 5862 |
commit 4cac4e5031ef3131055bd24c15b51383a6208d4d |
| 5863 |
|
| 5864 |
Remove trailing whitespace and |
| 5865 |
fix indents. |
| 5866 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 5867 |
|
| 5868 |
2023-04-05: David Anderson |
| 5869 |
commit 28ddb555edd1c4639b843381039824fb04025911 |
| 5870 |
|
| 5871 |
Now correctly reads the rare Elf object files |
| 5872 |
that need more sections |
| 5873 |
than fit in a 16 bit section count. |
| 5874 |
See 'man 5 elf' for details (at least on modern Linux) |
| 5875 |
on how this works. |
| 5876 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 5877 |
modified: src/lib/libdwarf/dwarf_elfread.h |
| 5878 |
|
| 5879 |
2023-04-05: David Anderson |
| 5880 |
commit ac7e8b7b5ee25a37448ba4d374f62110702ab059 |
| 5881 |
|
| 5882 |
Refined a comment about Elf sections. |
| 5883 |
modified: src/lib/libdwarf/libdwarf.h |
| 5884 |
|
| 5885 |
2023-04-01: David Anderson |
| 5886 |
commit db71f9b6841053057394db9472c7cfc0681a7eeb |
| 5887 |
|
| 5888 |
New bug fix |
| 5889 |
modified: bugxml/data.txt |
| 5890 |
|
| 5891 |
2023-04-01: David Anderson |
| 5892 |
commit 21b076f652992c03f145f6edeb623918e17693f8 |
| 5893 |
|
| 5894 |
Fix ossfuzz 57562. DW202303-59 |
| 5895 |
a corrupt DW_AT_sibling value |
| 5896 |
(in a fuzzed object) resulted in |
| 5897 |
an infinite loop in a normal |
| 5898 |
calling program looking for sibling DIEs. |
| 5899 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 5900 |
|
| 5901 |
2023-03-30: David Anderson |
| 5902 |
commit fa14b64ae7d3ed79d872475a3936a275f135bf9c |
| 5903 |
|
| 5904 |
Latest dwarfbug data |
| 5905 |
modified: bugxml/dwarfbug.html |
| 5906 |
modified: bugxml/dwarfbug.xml |
| 5907 |
modified: bugxml/dwarfbuglohi.html |
| 5908 |
|
| 5909 |
2023-03-30: David Anderson |
| 5910 |
commit 9977c2912fa84b5a9b883baf4db311da447e5e50 |
| 5911 |
|
| 5912 |
Removed the only (DW_DLV_NO_ENTRY) instance, |
| 5913 |
using DW_DLV_NO_ENTRY itself (it is in a comment). |
| 5914 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 5915 |
|
| 5916 |
2023-03-30: David Anderson |
| 5917 |
commit b5173ffefaa1bbbcf400819e1f8e4356486d3f16 |
| 5918 |
|
| 5919 |
Changed |
| 5920 |
(DW_DLV_ERROR) |
| 5921 |
to |
| 5922 |
DW_DLV_ERROR |
| 5923 |
everywhere. It looks better now. |
| 5924 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 5925 |
|
| 5926 |
2023-03-30: David Anderson |
| 5927 |
commit 33813299bdb67d00ef994929ef2e849a92bcdcac |
| 5928 |
|
| 5929 |
75527 -> 57527. fixed typo. |
| 5930 |
modified: bugxml/data.txt |
| 5931 |
|
| 5932 |
2023-03-30: David Anderson |
| 5933 |
commit d9a1fccce9940812f60fd1e9f5a8f557d92a7a0b |
| 5934 |
|
| 5935 |
Just added a note on the 57527 code change |
| 5936 |
modified: ChangeLog |
| 5937 |
|
| 5938 |
2023-03-30: David Anderson |
| 5939 |
commit f0dc381cad6c0ed62e3a41de8f796bc8c6a5009a |
| 5940 |
|
| 5941 |
Added new bug fix |
| 5942 |
modified: ChangeLog |
| 5943 |
|
| 5944 |
2023-03-30: David Anderson |
| 5945 |
commit a2f248569cd52d6955f160fd5f153c9afe8ec945 |
| 5946 |
|
| 5947 |
Added DW202303-058 ossfuzz 57537 |
| 5948 |
modified: bugxml/data.txt |
| 5949 |
modified: bugxml/dwarfbug.html |
| 5950 |
modified: bugxml/dwarfbug.xml |
| 5951 |
modified: bugxml/dwarfbuglohi.html |
| 5952 |
|
| 5953 |
2023-03-30: David Anderson |
| 5954 |
commit 36e4063ade31c9ea6ea5df973d2045b36877885b |
| 5955 |
|
| 5956 |
ossfuzz 57527. |
| 5957 |
A .debug_line section truncated to just the right point |
| 5958 |
(in a certain 12 byte area) |
| 5959 |
in a line table header causes an memory reference outside |
| 5960 |
any correct data. |
| 5961 |
This has been true for many years. |
| 5962 |
Now we check before looking at memory. |
| 5963 |
In addition a few _dwarf_error() now use _dwarf_error_string() |
| 5964 |
so some possibly-useful information can be reported |
| 5965 |
by library callers. |
| 5966 |
Also deleted 4 lines of dead code (was repeating |
| 5967 |
a test done a few lines above). |
| 5968 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 5969 |
Also changed a few return (DW_DLV_ERROR); to |
| 5970 |
return DW_DLV_ERROR; with |
| 5971 |
no useless parentheses. |
| 5972 |
|
| 5973 |
2023-03-30: David Anderson |
| 5974 |
commit 4eb65e7aabd5343956768cc9b7c4f7f04f4cbea5 |
| 5975 |
|
| 5976 |
Identifying 2GB read limit as vulnerability. |
| 5977 |
modified: data.txt |
| 5978 |
modified: dwarfbug.html |
| 5979 |
modified: dwarfbug.xml |
| 5980 |
modified: dwarfbuglohi.html |
| 5981 |
|
| 5982 |
2023-03-29: David Anderson |
| 5983 |
commit 025f6bcdb3ed51606d73f4bb4c5cfb7e7066f336 |
| 5984 |
|
| 5985 |
Updated from git log |
| 5986 |
modified: ChangeLog |
| 5987 |
|
| 5988 |
2023-03-29: David Anderson |
| 5989 |
commit 5c153615e4e0c610bd6e541fcf74523654ebd90c |
| 5990 |
|
| 5991 |
Added DW202303-056 for oss fuzz 57516 |
| 5992 |
modified: bugxml/data.txt |
| 5993 |
modified: bugxml/dwarfbug.html |
| 5994 |
modified: bugxml/dwarfbug.xml |
| 5995 |
modified: bugxml/dwarfbuglohi.html |
| 5996 |
|
| 5997 |
2023-03-29: David Anderson |
| 5998 |
commit 5dc3de5ce70331692a2700b218fb79e0d4d81c23 |
| 5999 |
|
| 6000 |
Fixing DW202303-055 ossfuzz id: 57516 |
| 6001 |
The abbrev section showed DW_FORM_implicit_const |
| 6002 |
after fuzzing the test object yet there |
| 6003 |
was no implicit const in the original |
| 6004 |
and no implicit const value to access. |
| 6005 |
Resulted in an attempt to index off a non-existent |
| 6006 |
array. library crash. |
| 6007 |
Now we issue an error. |
| 6008 |
modified: src/lib/libdwarf/dwarf_query.c |
| 6009 |
|
| 6010 |
2023-03-29: David Anderson |
| 6011 |
commit 0e3ff723b6d6eec263db0cee6162393c011e4b5d |
| 6012 |
|
| 6013 |
Removed an if and related as |
| 6014 |
the following if was sufficient all by itself. |
| 6015 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 6016 |
|
| 6017 |
I case dwarf_get_xu_hash_entry is passed a dw_index |
| 6018 |
which is out of range return DW_DLV_NO_ENTRY |
| 6019 |
instead of an error. |
| 6020 |
Fix the test of Dwarf_Unsigned vs Dwarf_Sig8 size, |
| 6021 |
and if the sizes don't match actually |
| 6022 |
return DW_DLV_ERROR (the return was missing!) |
| 6023 |
Peculiar testcase behavior running on 32bit FreeBSD |
| 6024 |
revealed the coding error. |
| 6025 |
modified: src/lib/libdwarf/dwarf_xu_index.c |
| 6026 |
|
| 6027 |
In doxygen comments document the behavior of |
| 6028 |
dwarf_get_xu_hash_entry with a too-large dw_index. |
| 6029 |
modified: src/lib/libdwarf/libdwarf.h |
| 6030 |
|
| 6031 |
2023-03-29: David Anderson |
| 6032 |
commit ae22edab4dfddf3b22f966df38c4a7da2417ebac |
| 6033 |
|
| 6034 |
Bringing up to date with git log. |
| 6035 |
modified: ChangeLog |
| 6036 |
|
| 6037 |
2023-03-29: David Anderson |
| 6038 |
commit d5d5d919743b9a7920a0686eef12046ae336d1a1 |
| 6039 |
|
| 6040 |
Filling in datefixed: and gitfixid: |
| 6041 |
with best current guess |
| 6042 |
in a couple of old entries. |
| 6043 |
modified: data.txt |
| 6044 |
|
| 6045 |
2023-03-28: David Anderson |
| 6046 |
commit e5ca7fef6d6680b251dcd7d4fbbfc140b8cfb5b1 |
| 6047 |
|
| 6048 |
Remove trailing whitespace. |
| 6049 |
Fix indents. |
| 6050 |
modified: src/lib/libdwarf/dwarf_debugaddr.c |
| 6051 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 6052 |
modified: src/lib/libdwarf/dwarf_elfread.c |
| 6053 |
modified: src/lib/libdwarf/dwarf_find_sigref.c |
| 6054 |
modified: src/lib/libdwarf/dwarf_form.c |
| 6055 |
modified: src/lib/libdwarf/dwarf_gdbindex.c |
| 6056 |
modified: src/lib/libdwarf/dwarf_gnu_index.c |
| 6057 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 6058 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 6059 |
modified: src/lib/libdwarf/dwarf_rnglists.c |
| 6060 |
modified: src/lib/libdwarf/dwarf_str_offsets.h |
| 6061 |
modified: src/lib/libdwarf/dwarf_xu_index.c |
| 6062 |
|
| 6063 |
2023-03-28: David Anderson |
| 6064 |
commit 45be14751e65fe7f2a26d0258edf7663a2136e0f |
| 6065 |
|
| 6066 |
Remove trailing whitespace. |
| 6067 |
Fix indents. |
| 6068 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 6069 |
modified: src/bin/dwarfdump/dd_dwconf.c |
| 6070 |
modified: src/bin/dwarfdump/print_die.c |
| 6071 |
modified: src/bin/dwarfdump/print_gdbindex.c |
| 6072 |
modified: src/bin/dwarfdump/print_lines.c |
| 6073 |
modified: src/bin/dwarfdump/print_macro.c |
| 6074 |
|
| 6075 |
2023-03-28: David Anderson |
| 6076 |
commit 711416fd385ac28921e43beb759777d7d685c302 |
| 6077 |
|
| 6078 |
Removed all mention of macro checksize(), |
| 6079 |
it was already an empty macro. |
| 6080 |
modified: dd_regex.c |
| 6081 |
|
| 6082 |
2023-03-28: David Anderson |
| 6083 |
commit 3addc636fe5fa0b47a58ca90e848df1aada25dde |
| 6084 |
|
| 6085 |
Deleting a single line with declaring |
| 6086 |
an unused local variable. |
| 6087 |
modified: dwarf_rnglists.c |
| 6088 |
|
| 6089 |
2023-03-28: David Anderson |
| 6090 |
commit f8032529c9deb4dd15d80325c6f2e6cb8c5fa6f5 |
| 6091 |
|
| 6092 |
All these had free(errp) which |
| 6093 |
here is harmless as errp is null, |
| 6094 |
but whether a Dwarf_Error * is |
| 6095 |
null or not free() on it is never |
| 6096 |
appropriate, and if not-null |
| 6097 |
the free is very wrong. |
| 6098 |
|
| 6099 |
modified: fuzz_die_cu_offset.c |
| 6100 |
modified: fuzz_die_cu_print.c |
| 6101 |
modified: fuzz_showsectgrp.c |
| 6102 |
|
| 6103 |
2023-03-28: David Anderson |
| 6104 |
commit 541b15c1ec2e01396f36d389bc9fe98da48ecb55 |
| 6105 |
|
| 6106 |
Fixed typo. |
| 6107 |
modified: ChangeLog |
| 6108 |
|
| 6109 |
Now with all known bugs covered & fixed. |
| 6110 |
modified: bugxml/data.txt |
| 6111 |
modified: bugxml/dwarfbug.html |
| 6112 |
modified: bugxml/dwarfbug.xml |
| 6113 |
modified: bugxml/dwarfbuglohi.html |
| 6114 |
|
| 6115 |
2023-03-28: David Anderson |
| 6116 |
commit 39a1abd35cba15967b96fb22b71b54870c312195 |
| 6117 |
|
| 6118 |
ChangeLog up to date. |
| 6119 |
modified: ChangeLog |
| 6120 |
|
| 6121 |
Latest bug content |
| 6122 |
modified: bugxml/data.txt |
| 6123 |
modified: bugxml/dwarfbug.html |
| 6124 |
modified: bugxml/dwarfbug.xml |
| 6125 |
modified: bugxml/dwarfbuglohi.html |
| 6126 |
|
| 6127 |
2023-03-28: David Anderson |
| 6128 |
commit 29a27cc5df622674fe14d3bc9b43cfe663db6da3 |
| 6129 |
|
| 6130 |
Completed notes on ossfuzz 57442 DW2023-052 |
| 6131 |
modified: bugxml/data.txt |
| 6132 |
|
| 6133 |
2023-03-28: David Anderson |
| 6134 |
commit 271b9b8367a8151fcd98723d73382ec56f05c810 |
| 6135 |
|
| 6136 |
Fixes ossfuzz 57443 DW202303-053 |
| 6137 |
Fixes ossfuzz 57442 DW202303-052 |
| 6138 |
Checks more carefully for a corrupted rnglists |
| 6139 |
header. |
| 6140 |
modified: src/lib/libdwarf/dwarf_rnglists.c |
| 6141 |
|
| 6142 |
2023-03-28: David Anderson |
| 6143 |
commit 2b19bc239f3cedd1b2461e4265d90633277ce704 |
| 6144 |
ossfuzz 57485 |
| 6145 |
|
| 6146 |
Fixing a mistake in this test source, |
| 6147 |
which was doing a free() that is |
| 6148 |
documented as inappropriate.. |
| 6149 |
modified: fuzz/fuzz_die_cu_attrs.c |
| 6150 |
|
| 6151 |
2023-03-28: David Anderson |
| 6152 |
commit 8bf96199a0e130483cceca6bfacfbe4127441ab1 |
| 6153 |
|
| 6154 |
Previous version was wrong for large sections. |
| 6155 |
This version with the read |
| 6156 |
loop tested is working. |
| 6157 |
modified: src/lib/libdwarf/dwarf_elfread.c |
| 6158 |
|
| 6159 |
2023-03-28: David Anderson |
| 6160 |
commit 506d2d3a1b2de05095cca4b6754c47f41a0cfd45 |
| 6161 |
|
| 6162 |
Broke the read of object sections into |
| 6163 |
pieces < 2GB in size. Necessary due to Linux |
| 6164 |
read() size limit (in the kernel). |
| 6165 |
modified: src/lib/libdwarf/dwarf_elfread.c |
| 6166 |
|
| 6167 |
2023-03-28: David Anderson |
| 6168 |
commit 76bc7743752724be5b87a4da3f0d2242e6a0be50 |
| 6169 |
|
| 6170 |
Now known bug reports all listed, |
| 6171 |
some with no fixes yet. |
| 6172 |
modified: bugxml/data.txt |
| 6173 |
|
| 6174 |
2023-03-28: David Anderson |
| 6175 |
commit e1b613af80a6e09140f018e983d16cb1a0e5af07 |
| 6176 |
|
| 6177 |
Coverity Scan discovered issues. |
| 6178 |
All are fixed with these changes. |
| 6179 |
|
| 6180 |
A loop looking for invalid .conf files |
| 6181 |
was kind of doing the wrong thing. |
| 6182 |
So it had dead code. |
| 6183 |
Now doing the right thing and passes |
| 6184 |
modified: src/bin/dwarfdump/dd_dwconf.c |
| 6185 |
|
| 6186 |
Deleted dead code (constand propagation in |
| 6187 |
Coverity found it) and replaced with a comment |
| 6188 |
saying there is no need to check the offset-size. |
| 6189 |
modified: src/lib/libdwarf/dwarf_gnu_index.c |
| 6190 |
|
| 6191 |
More dead code. Removed it. |
| 6192 |
modified: src/lib/libdwarf/dwarf_rnglists.c |
| 6193 |
|
| 6194 |
2023-03-27: David Anderson |
| 6195 |
commit 51617feed280703a409b91396fc291208693b410 |
| 6196 |
|
| 6197 |
The fuzz/* files have to be in a distribution |
| 6198 |
for testing to fully work. So now they are. |
| 6199 |
modified: Makefile.am |
| 6200 |
modified: configure.ac |
| 6201 |
new file: fuzz/Makefile.am |
| 6202 |
new file: fuzz/README.md |
| 6203 |
|
| 6204 |
2023-03-27: David Anderson |
| 6205 |
commit e0e732929c36887e4cea82e38fab075786cdf320 |
| 6206 |
|
| 6207 |
Had an accidental c99 declaration mixed with code. |
| 6208 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 6209 |
|
| 6210 |
Had an accidental c99 declaration mixed with code, but |
| 6211 |
here it was just a stray extra ; in a list of declarations. |
| 6212 |
modified: src/lib/libdwarf/dwarf_str_offsets.c |
| 6213 |
|
| 6214 |
2023-03-27: David Anderson |
| 6215 |
commit 72087846050cb22d0b241a1aefd6fe057ad0ee9a |
| 6216 |
|
| 6217 |
Remove build on push. |
| 6218 |
This is only for emergency testing |
| 6219 |
of changes in brew or mac setup |
| 6220 |
modified: mac_meson.yml |
| 6221 |
|
| 6222 |
2023-03-27: David Anderson |
| 6223 |
commit 75f5b429bfd8558bde047b6286e3ea9e013fdecf |
| 6224 |
|
| 6225 |
using --overwrite on mac_autotools now |
| 6226 |
modified: test.yml |
| 6227 |
|
| 6228 |
2023-03-27: David Anderson |
| 6229 |
commit f00c2a86398b653a639d8116669e24b46f5e0e6d |
| 6230 |
|
| 6231 |
A test on its own of mac autotools |
| 6232 |
modified: mac_autotools.yml |
| 6233 |
|
| 6234 |
2023-03-27: David Anderson |
| 6235 |
commit e6e586971d04da33031743c8c88dd659381493ef |
| 6236 |
|
| 6237 |
Another odd mod to get |
| 6238 |
macos_meson to build. |
| 6239 |
modified: test.yml |
| 6240 |
|
| 6241 |
2023-03-27: David Anderson |
| 6242 |
commit f43538102e793386352ae4368b781cb62d8504c5 |
| 6243 |
|
| 6244 |
For a test. pkgconf problem. |
| 6245 |
modified: mac_meson.yml |
| 6246 |
|
| 6247 |
2023-03-27: David Anderson |
| 6248 |
commit c25a14c3fd5522aff0b1d2a77d7ee66b7c529779 |
| 6249 |
|
| 6250 |
ossfuzz 57437 |
| 6251 |
ossfuzz 57443 |
| 6252 |
Unused local variables removed. |
| 6253 |
modified: src/lib/libdwarf/dwarf_gdbindex.c |
| 6254 |
|
| 6255 |
A free() was duplicated, Windows compiler noticed. |
| 6256 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 6257 |
|
| 6258 |
2023-03-27: David Anderson |
| 6259 |
commit cfe5c2dfac0d4eca22cf450db770fdba2bacdd38 |
| 6260 |
|
| 6261 |
Another unused arg not reported by |
| 6262 |
local compilers. Removed argument. |
| 6263 |
modified: print_debug_gnu.c |
| 6264 |
|
| 6265 |
2023-03-27: David Anderson |
| 6266 |
commit 61d50244ca20877638ae5ca1c453f5066198c6d4 |
| 6267 |
|
| 6268 |
The compiler used in workflows noticed an unused |
| 6269 |
argument that is not noticed in local builds. |
| 6270 |
This removes that unused argument |
| 6271 |
in _dwarf_read_str_offsets_header(). |
| 6272 |
modified: ../../src/lib/libdwarf/dwarf_fission_to_cu.c |
| 6273 |
modified: ../../src/lib/libdwarf/dwarf_str_offsets.c |
| 6274 |
modified: ../../src/lib/libdwarf/dwarf_str_offsets.h |
| 6275 |
|
| 6276 |
2023-03-27: David Anderson |
| 6277 |
commit dbc0c3fff2a066bf422d655188cacc9fe0194900 |
| 6278 |
|
| 6279 |
Fixing the DW_DLE count |
| 6280 |
modified: ../../lib/libdwarf/libdwarf.h |
| 6281 |
We now have to have more #include and |
| 6282 |
declarge a glflags instance explicitly here |
| 6283 |
since we updated dd_regex.c. |
| 6284 |
modified: ../../../test/test_regex.c |
| 6285 |
|
| 6286 |
2023-03-27: David Anderson |
| 6287 |
commit d202f85d6e9f83d25cbb6287a0d55973cf86b923 |
| 6288 |
|
| 6289 |
latest |
| 6290 |
modified: ChangeLog |
| 6291 |
|
| 6292 |
2023-03-27: David Anderson |
| 6293 |
commit 054de66aec29f3ed67c14b675b9e0981004cdd27 |
| 6294 |
|
| 6295 |
Now shows several new bug reports. |
| 6296 |
modified: bugxml/dwarfbug.html |
| 6297 |
|
| 6298 |
2023-03-27: David Anderson |
| 6299 |
commit 920f292fe6437fa69e6f973cfcb023a5d070383b |
| 6300 |
|
| 6301 |
Now the warning about odd address size no longer |
| 6302 |
repeats. Happens just once, not every time detected. |
| 6303 |
Once suffices. |
| 6304 |
modified: src/bin/dwarfdump/print_die.c |
| 6305 |
|
| 6306 |
2023-03-27: David Anderson |
| 6307 |
commit 33144113e7dceab8c087b370308bef4b872e6bf4 |
| 6308 |
|
| 6309 |
Previous commit was flawed. |
| 6310 |
This is much better and clearer. |
| 6311 |
And indents/trailingwhitespace fixed. |
| 6312 |
modified: src/bin/dwarfdump/dd_regex.c |
| 6313 |
|
| 6314 |
2023-03-26: David Anderson |
| 6315 |
commit dbacdce5f28b28ec468f1c6b252d4cd6ca3ca443 |
| 6316 |
|
| 6317 |
Fixes a number of warnings about |
| 6318 |
unused and set but not used. |
| 6319 |
modified: src/lib/libdwarf/dwarf_form.c |
| 6320 |
modified: src/lib/libdwarf/dwarf_gnu_index.c |
| 6321 |
modified: src/lib/libdwarf/dwarf_rnglists.c |
| 6322 |
modified: src/lib/libdwarf/dwarf_str_offsets.c |
| 6323 |
modified: src/lib/libdwarf/dwarf_xu_index.c |
| 6324 |
|
| 6325 |
2023-03-26: David Anderson |
| 6326 |
commit 3f497b52a5216f107e5d8bf01102d996d82b9f55 |
| 6327 |
|
| 6328 |
Fixed a mistaken change for -h |
| 6329 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 6330 |
|
| 6331 |
Fixing a misplaced #endif |
| 6332 |
modified: src/bin/dwarfdump/dd_regex.c |
| 6333 |
|
| 6334 |
Improving an error message |
| 6335 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 6336 |
|
| 6337 |
2023-03-26: David Anderson |
| 6338 |
commit b8d7a93053aa178c8c95dbcc0a514e4766447e5d |
| 6339 |
|
| 6340 |
Added test file name |
| 6341 |
modified: bugxml/data.txt |
| 6342 |
|
| 6343 |
2023-03-26: David Anderson |
| 6344 |
commit 11e1bb2dd0d05fde888e5a7ad336b96354c1ef18 |
| 6345 |
|
| 6346 |
this had a mistake which somehow still compiled for me. |
| 6347 |
The isinset() macro was not visible during the compile |
| 6348 |
modified: src/bin/dwarfdump/dd_regex.c |
| 6349 |
|
| 6350 |
2023-03-26: David Anderson |
| 6351 |
commit 0d02f951643bc3b75300b27ff796f83dd6befe86 |
| 6352 |
|
| 6353 |
The declaration/definition |
| 6354 |
Dwarf_Die die; |
| 6355 |
was both uninitialized and unused. |
| 6356 |
Removed it. |
| 6357 |
modified: fuzz/fuzz_die_cu.c |
| 6358 |
|
| 6359 |
2023-03-26: David Anderson |
| 6360 |
commit c3280f61a5fd2cb792ad36160cf1c11b1950c37d |
| 6361 |
|
| 6362 |
Unfixed ossfuzz bugs noted. |
| 6363 |
modified: data.txt |
| 6364 |
|
| 6365 |
2023-03-26: David Anderson |
| 6366 |
commit 07573fe97064ebf1d9b36269aa1219f4728225f0 |
| 6367 |
|
| 6368 |
With all recent fixes. |
| 6369 |
modified: bugxml/data.txt |
| 6370 |
|
| 6371 |
2023-03-26: David Anderson |
| 6372 |
commit b21f40a9047e288e931b2b15729965a7dd2529e8 |
| 6373 |
|
| 6374 |
Printing -h usage data |
| 6375 |
failed do to a change yesterday. |
| 6376 |
Fixed |
| 6377 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 6378 |
|
| 6379 |
2023-03-26: David Anderson |
| 6380 |
commit 24f5697aecd77092de20f0f7e7d91fbc1f2b3da0 |
| 6381 |
|
| 6382 |
In new error cases we could fail to close a |
| 6383 |
FILE stream, resulting in a memory leak from |
| 6384 |
fopen. |
| 6385 |
DW202303-048 |
| 6386 |
modified: src/bin/dwarfdump/dd_dwconf.c |
| 6387 |
|
| 6388 |
2023-03-26: David Anderson |
| 6389 |
commit df64db4740f1b480e602b1112107d51f0d269828 |
| 6390 |
|
| 6391 |
DW202303-047. |
| 6392 |
This eliminates the double free. |
| 6393 |
modified: src/bin/dwarfdump/dwarfdump.c |
| 6394 |
|
| 6395 |
2023-03-26: David Anderson |
| 6396 |
commit 9eac0c8bbae3fadb2be3d5ee15b9c44f42d2f966 |
| 6397 |
|
| 6398 |
Fixes DW202303-045. We were not checking |
| 6399 |
for ASCII and not ensuring that if |
| 6400 |
the regex compile failed we ignored |
| 6401 |
regex processing. |
| 6402 |
The restriction that the regex search pattern |
| 6403 |
may only include the ASCII subset of utf-8 |
| 6404 |
is now enforced and ERRORs result if it is |
| 6405 |
violated. |
| 6406 |
(At the present time: this is a limitation of the |
| 6407 |
existing code) |
| 6408 |
modified: dd_command_options.c |
| 6409 |
modified: dd_regex.c |
| 6410 |
|
| 6411 |
2023-03-25: David Anderson |
| 6412 |
commit 8d5319d90610c4cc38c08ba2c8e64a3dba4a6761 |
| 6413 |
|
| 6414 |
Now with DW202303-045 filled in. |
| 6415 |
modified: bugxml/data.txt |
| 6416 |
|
| 6417 |
2023-03-25: David Anderson |
| 6418 |
commit b2e5a6288e268c80a36ffeb1f6fb369d0a92a559 |
| 6419 |
|
| 6420 |
Now all ERROR messages show up in the count |
| 6421 |
at the end of dwarfdump output. |
| 6422 |
modified: src/bin/dwarfdump/dd_regex.c |
| 6423 |
|
| 6424 |
2023-03-25: David Anderson |
| 6425 |
commit c3c9dfb666bb668377e0d3a16813d24c367e4667 |
| 6426 |
|
| 6427 |
Corrected spelling in an error message. |
| 6428 |
src/bin/dwarfdump |
| 6429 |
modified: dd_regex.c |
| 6430 |
|
| 6431 |
2023-03-25: David Anderson |
| 6432 |
commit bb8fab9e5e4e40b1268b31d90882c2ab93653eaf |
| 6433 |
|
| 6434 |
DW202303-045 |
| 6435 |
Now stops compiling regex and issues |
| 6436 |
an error if the string (or rather the |
| 6437 |
nfa for the string) is too long. |
| 6438 |
modified: src/bin/dwarfdump/dd_regex.c |
| 6439 |
|
| 6440 |
2023-03-25: David Anderson |
| 6441 |
commit 69f13a2106201145939a68ed662c0c9e4b54579f |
| 6442 |
|
| 6443 |
Now DW202303-044 is complete. |
| 6444 |
modified: bugxml/data.txt |
| 6445 |
|
| 6446 |
Regenerated: |
| 6447 |
modified: bugxml/dwarfbug.html |
| 6448 |
modified: bugxml/dwarfbug.xml |
| 6449 |
modified: bugxml/dwarfbuglohi.html |
| 6450 |
|
| 6451 |
2023-03-25: David Anderson |
| 6452 |
commit 3269f43d2a044bfcce71d30ce214a305473d1ea3 |
| 6453 |
|
| 6454 |
Fixes DW202303-044 |
| 6455 |
|
| 6456 |
With that lone backslash in --search-regex=\\ |
| 6457 |
(or any pattern ending in backslash) |
| 6458 |
The regex compiler incremented p by one and |
| 6459 |
then dereferenced and stored the |
| 6460 |
resulting value. But if the dereference |
| 6461 |
gave 0 (the NULL byte) this resulted |
| 6462 |
in unpredictable, but bad, effects |
| 6463 |
since unknown bytes after the pattern string |
| 6464 |
would then be referenced as part of the pattern. |
| 6465 |
Now we notice the improper NUL and issue an error. |
| 6466 |
modified: src/bin/dwarfdump/dd_regex.c |
| 6467 |
|
| 6468 |
2023-03-25: David Anderson |
| 6469 |
commit 4a8a201cdb3408a2cfdc2946418b51b884140a2c |
| 6470 |
|
| 6471 |
Fixing DW202303-042, the code did not return |
| 6472 |
from traverse_die() on receiving an error |
| 6473 |
from libdwarf. Fixed. |
| 6474 |
modified: src/bin/dwarfdump/print_die.c |
| 6475 |
|
| 6476 |
2023-03-25: David Anderson |
| 6477 |
commit bbc9b05ef89a6cd92ad167ad0f16d8eaea946879 |
| 6478 |
|
| 6479 |
Documented DW202303-040 (on dwarfdump). |
| 6480 |
modified: data.txt |
| 6481 |
|
| 6482 |
2023-03-25: David Anderson |
| 6483 |
commit fd92b647e5e3a524be94b3b06c9efd14a8292946 |
| 6484 |
|
| 6485 |
DW202303-040. |
| 6486 |
Fixes crashes due to bad handling of options like |
| 6487 |
--file-abi= |
| 6488 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 6489 |
|
| 6490 |
2023-03-25: David Anderson |
| 6491 |
commit cb8dd45770f2e1f440aab60adac0256f268fc16e |
| 6492 |
|
| 6493 |
Fixes DW202303-010 by dealing with a corrupted |
| 6494 |
dwarfdump.conf file.. |
| 6495 |
src/bin/dwarfdump: |
| 6496 |
modified: dd_dwconf.c |
| 6497 |
|
| 6498 |
Minor message change to be a tiny bit more |
| 6499 |
accurate if dwarfdump cannot open an object file. |
| 6500 |
src/bin/dwarfdump: |
| 6501 |
modified: dwarfdump.c |
| 6502 |
|
| 6503 |
2023-03-24: David Anderson |
| 6504 |
commit 06a34f2ecc42078f92883be5124c988010ed3013 |
| 6505 |
|
| 6506 |
Latest and current data |
| 6507 |
modified: data.txt |
| 6508 |
modified: dwarfbug.html |
| 6509 |
modified: dwarfbug.xml |
| 6510 |
modified: dwarfbuglohi.html |
| 6511 |
no actual change. |
| 6512 |
modified: readbugs.py |
| 6513 |
|
| 6514 |
2023-03-24: David Anderson |
| 6515 |
commit 216840b5e441dda5352037aaeac023182a577107 |
| 6516 |
|
| 6517 |
Now with all the (known) oss fuzz bugs fixed. |
| 6518 |
modified: bugxml/data.txt |
| 6519 |
regenerated |
| 6520 |
modified: bugxml/dwarfbug.html |
| 6521 |
modified: bugxml/dwarfbuglohi.html |
| 6522 |
|
| 6523 |
2023-03-24: David Anderson |
| 6524 |
commit e4053c9a0f25db0bed28372d9b77a50a0307dc10 |
| 6525 |
oss fuzz 57335. |
| 6526 |
oss fuzz 57463. |
| 6527 |
|
| 6528 |
The test case is kind of pushing the bounds here. |
| 6529 |
modified: bugxml/data.txt |
| 6530 |
|
| 6531 |
Added a comment, the call will fail as written. |
| 6532 |
But now there will be no library crash. |
| 6533 |
modified: fuzz/fuzz_die_cu_attrs.c |
| 6534 |
|
| 6535 |
Added a new error, DW_DLE_INVALID_NULL_ARGUMENT(498) |
| 6536 |
modified: src/lib/libdwarf/dwarf_errmsg_list.h |
| 6537 |
|
| 6538 |
Now returns DW_DLV_ERROR |
| 6539 |
if dw_return_bool is passed in as NULL. |
| 6540 |
modified: src/lib/libdwarf/dwarf_form.c |
| 6541 |
|
| 6542 |
Added a new error, DW_DLE_INVALID_NULL_ARGUMENT(498) |
| 6543 |
Documented the dw_return_bool pointer |
| 6544 |
to dwarf_hasform() more completely. |
| 6545 |
modified: src/lib/libdwarf/libdwarf.h |
| 6546 |
|
| 6547 |
2023-03-24: David Anderson |
| 6548 |
commit 0e8fafd578695235cdd8cc8857eae22d64f940fb |
| 6549 |
|
| 6550 |
Another libdwarf fix defined. |
| 6551 |
modified: bugxml/data.txt |
| 6552 |
|
| 6553 |
2023-03-24: David Anderson |
| 6554 |
commit 8b6fcfb5cb38ee491ea0973b7699fb7d2c3e080f |
| 6555 |
|
| 6556 |
More of the oss fuzz covered by reports now. |
| 6557 |
modified: bugxml/data.txt |
| 6558 |
|
| 6559 |
2023-03-24: David Anderson |
| 6560 |
commit 7165918c8594061c3f5ba7dd4df7c4555c68ec78 |
| 6561 |
|
| 6562 |
Fixes ossfuzz 57149. |
| 6563 |
Fixes ossfuzz 57193. |
| 6564 |
Fixes ossfuzz 57292. |
| 6565 |
Fixes ossfuzz 57300. |
| 6566 |
|
| 6567 |
In find_cu_die_base_fields() we use _dwarf_internal_global_formref_b() |
| 6568 |
in several additional places as all these need |
| 6569 |
to constrain the search, not just one of thes base-fields. |
| 6570 |
The bugs present since 2017 (DWARF5 released). |
| 6571 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 6572 |
|
| 6573 |
2023-03-24: David Anderson |
| 6574 |
commit 873aa151d50e4b701f99a58b6cf07f0c5ea1d2af |
| 6575 |
|
| 6576 |
Added a sanity check before reading so if it's |
| 6577 |
the check fails we get a more detailed message |
| 6578 |
than otherwise. |
| 6579 |
modified: src/lib/libdwarf/dwarf_xu_index.c |
| 6580 |
|
| 6581 |
2023-03-24: David Anderson |
| 6582 |
commit fcf906a3ab1e5488e818b7393fc06a20414b3a53 |
| 6583 |
|
| 6584 |
Latest vulnerability updates. |
| 6585 |
|
| 6586 |
bugxml/ |
| 6587 |
modified: data.txt |
| 6588 |
|
| 6589 |
2023-03-24: David Anderson |
| 6590 |
commit 9253810b56ece5dd7722407aacf503e606c7338c |
| 6591 |
|
| 6592 |
Fixed oss fuzz 56895 |
| 6593 |
modified: data.txt |
| 6594 |
|
| 6595 |
2023-03-24: David Anderson |
| 6596 |
commit 771cfcca1ef6a4a7eb9595d700fc72020d0ed72e |
| 6597 |
|
| 6598 |
Fixing ossfuzz 56895, reading past end of section |
| 6599 |
of a Compilation Unit. the tests of such were not |
| 6600 |
sufficiently precise to catch the error. |
| 6601 |
This was a very old bug. |
| 6602 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 6603 |
|
| 6604 |
2023-03-24: David Anderson |
| 6605 |
commit 81ee0849b77554d93805b79a59d3e0370b1fbe16 |
| 6606 |
|
| 6607 |
Now showing fix to ossfuzz 56807 and recording it |
| 6608 |
in vulnerabilities. |
| 6609 |
modified: ChangeLog |
| 6610 |
|
| 6611 |
2023-03-24: David Anderson |
| 6612 |
commit 484f50ef8be0506be2e4b5fbad489868db5c7985 |
| 6613 |
|
| 6614 |
Fixing oss fuzz 56807. Memory leak reading |
| 6615 |
fuzzed object file. |
| 6616 |
This is a very old bug. |
| 6617 |
Only seen with a fuzzed object file. |
| 6618 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 6619 |
|
| 6620 |
2023-03-23: David Anderson |
| 6621 |
commit 0c92ef5b66c5bbcacae03fbf355b12713151c098 |
| 6622 |
|
| 6623 |
Fixes oss fuzz 57107. The infinite loop |
| 6624 |
was caused by letting internal function |
| 6625 |
_dwarf_find_CU_Context_given_sig() |
| 6626 |
unconditionally do too much in the middle |
| 6627 |
of setting up a CU_Context (by letting |
| 6628 |
it start more CU_contexts(). |
| 6629 |
The implicit infinite loop has been there |
| 6630 |
a few years, depending on the correctness |
| 6631 |
of object files DWARF4/DWARF5 being read. |
| 6632 |
|
| 6633 |
Calls new internal _dwarf_internal_global_formref_b() |
| 6634 |
(which is also called by dwarf_global_formref_b() |
| 6635 |
with its specific new argument at zero) |
| 6636 |
So for internal-library-use we can make |
| 6637 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 6638 |
|
| 6639 |
Introduced |
| 6640 |
a new function _dwarf_internal_find_die_given_sig8() |
| 6641 |
with a new argument and now API |
| 6642 |
function dwarf_find_die_given_sig8() just calls |
| 6643 |
the new function with a specific value (0) |
| 6644 |
of the new argument for the general case. |
| 6645 |
|
| 6646 |
Added a #if 0 dump_bytes() local function |
| 6647 |
for debugging of Sig8 values. |
| 6648 |
Added a new argument to |
| 6649 |
_dwarf_find_CU_Context_given_sig() so it can |
| 6650 |
properly decide whether it should |
| 6651 |
create new CU_Contexts or not. |
| 6652 |
modified: src/lib/libdwarf/dwarf_find_sigref.c |
| 6653 |
|
| 6654 |
file-static |
| 6655 |
find_sig8_target_as_global_offset() |
| 6656 |
added the new argument to help fix the infinite loop. |
| 6657 |
Implements the new _dwarf_internal_global_formref_b() |
| 6658 |
modified: src/lib/libdwarf/dwarf_form.c |
| 6659 |
|
| 6660 |
The new internal functions declared here. |
| 6661 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 6662 |
|
| 6663 |
2023-03-22: David Anderson |
| 6664 |
commit 266e832df89ae4b4f6a9fad28c73a2777c07eec9 |
| 6665 |
|
| 6666 |
free(errp) is always wrong, removed it. |
| 6667 |
|
| 6668 |
Ensured on return from the LLVM fuzz interface |
| 6669 |
always dwarf_finish() close() and unlink |
| 6670 |
modified: fuzz/fuzz_die_cu_attrs_loclist.c |
| 6671 |
|
| 6672 |
2023-03-22: David Anderson |
| 6673 |
commit 774f98e596df9dd8f3cb92ec76243caaa4287039 |
| 6674 |
|
| 6675 |
Fixes ossfuzz 57027. |
| 6676 |
Fixes ossfuzz 57048. |
| 6677 |
Small code change, but massive |
| 6678 |
difference. |
| 6679 |
This has been wrong since dwarf_xu_index existed, |
| 6680 |
which would have been after the DWARF5 |
| 6681 |
standard was issued Feb 2017. |
| 6682 |
modified: src/lib/libdwarf/dwarf_xu_index.c |
| 6683 |
|
| 6684 |
2023-03-22: David Anderson |
| 6685 |
commit 5fde5e404a98c6727889cf14d8f93ec2138a6fad |
| 6686 |
|
| 6687 |
oss fuzz 56993. One place in _dwarf_read_line_table_header() |
| 6688 |
where there was an error (corrupt data) found |
| 6689 |
the code failed to free(format_values). Fixed. |
| 6690 |
This bug was years old. |
| 6691 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 6692 |
This has been wrong for quite a while, likely years. |
| 6693 |
|
| 6694 |
2023-03-22: David Anderson |
| 6695 |
commit b9393bb9b6399a34f8616a272d030bdd004a5ef5 |
| 6696 |
Merge: 68089962 bd331ae7 |
| 6697 |
|
| 6698 |
ossfuzz 56897 |
| 6699 |
ossfuzz 56906 |
| 6700 |
ossfuzz 56958 |
| 6701 |
|
| 6702 |
Merge branch 'newrnglists' |
| 6703 |
|
| 6704 |
Merging several fixes reading debug_addr and debug_rnglists |
| 6705 |
And fuzz/fuzz_rng.c too. |
| 6706 |
|
| 6707 |
2023-03-22: David Anderson |
| 6708 |
commit bd331ae7d839983efcc3bfbe3d656b781d45160c |
| 6709 |
|
| 6710 |
Removed an unnecessary struct gi_fileheader_s |
| 6711 |
Revised the calculations of offfsets to |
| 6712 |
work correctly. |
| 6713 |
Added many checks for out-of-bounds |
| 6714 |
offsets. |
| 6715 |
modified: src/lib/libdwarf/dwarf_gdbindex.c |
| 6716 |
|
| 6717 |
2023-03-22: David Anderson |
| 6718 |
commit 48552f5f19c90dd2737cd4ee8e03a843ae23de82 |
| 6719 |
|
| 6720 |
Corrected the calculation of offsets in the raw-section |
| 6721 |
reading code and changed to mostly use offsets. |
| 6722 |
modified: src/lib/libdwarf/dwarf_rnglists.c |
| 6723 |
|
| 6724 |
2023-03-22: David Anderson |
| 6725 |
commit 4e8f26b857b5fe86557e344cd176c69462435c19 |
| 6726 |
|
| 6727 |
Corrected the calculation of the ending offset |
| 6728 |
and added a useful comment. |
| 6729 |
modified: src/lib/libdwarf/dwarf_debugaddr.c |
| 6730 |
|
| 6731 |
2023-03-22: David Anderson |
| 6732 |
commit f14ba8b4af34698b2fdbd76efc52ef96a9a91256 |
| 6733 |
|
| 6734 |
Removed the unused pointer gi_string_pool. |
| 6735 |
modified: src/lib/libdwarf/dwarf_gdbindex.h |
| 6736 |
|
| 6737 |
2023-03-22: David Anderson |
| 6738 |
commit 5149a583a263a9a17e462e038d42c8e3f91c8469 |
| 6739 |
|
| 6740 |
Replaced an incorrect comment with a correct one. |
| 6741 |
modified: src/bin/dwarfdump/print_gdbindex.c |
| 6742 |
|
| 6743 |
2023-03-22: David Anderson |
| 6744 |
commit ade1be5d2efacaa23fbda4b4c1f08fcb8c0b3e4b |
| 6745 |
|
| 6746 |
Every return from the *LLVM* function has to |
| 6747 |
do certain housekeeping |
| 6748 |
to avoid leaks (dwarf_finish(dbg) for example). |
| 6749 |
Several here failed to do that. |
| 6750 |
modified: fuzz/fuzz_rng.c |
| 6751 |
|
| 6752 |
2023-03-21: David Anderson |
| 6753 |
commit 680899627db6f05b8cf8d86272255563b6d81ebd |
| 6754 |
|
| 6755 |
Initialized local variables to |
| 6756 |
follow the requirements of libdwarf. |
| 6757 |
|
| 6758 |
modified: fuzz_die_cu_attrs.c |
| 6759 |
modified: fuzz_die_cu_offset.c |
| 6760 |
|
| 6761 |
2023-03-21: David Anderson |
| 6762 |
commit cc6e97128fe889b11cbc9542ad6d73a3bfcdf4a0 |
| 6763 |
|
| 6764 |
These have local Dwarf_Die pointers |
| 6765 |
left uninitialized. That violates |
| 6766 |
the requirements of the libdwarf API. |
| 6767 |
Now set to 0 at declaration. |
| 6768 |
modified: fuzz/fuzz_die_cu_attrs.c |
| 6769 |
modified: fuzz/fuzz_die_cu_offset.c |
| 6770 |
|
| 6771 |
2023-03-20: David Anderson |
| 6772 |
commit 2ee326bad2b4286ca19a2d007d2bb0e77adcdcff |
| 6773 |
|
| 6774 |
Restoring the working dwarf_rnglists.c. |
| 6775 |
My mistake having a new incomplete version |
| 6776 |
visible. |
| 6777 |
modified: dwarf_rnglists.c |
| 6778 |
|
| 6779 |
2023-03-20: David Anderson |
| 6780 |
commit fcbbee163bbdfbba7def899d3628b912649c724e |
| 6781 |
|
| 6782 |
Latest changes from git log |
| 6783 |
modified: ChangeLog |
| 6784 |
|
| 6785 |
2023-03-20: David Anderson |
| 6786 |
commit 1ff4365bd64a4e4f9ab717b3f62589c2ba6637a5 |
| 6787 |
ossfuzz id 56540. |
| 6788 |
ossfuzz id 56487. |
| 6789 |
ossfuzz id 56480. |
| 6790 |
ossfuzz id 56497. |
| 6791 |
These fixes are to the tests, not the library. |
| 6792 |
Several had code that was going to crash |
| 6793 |
due to mistakes in the test code itself. |
| 6794 |
|
| 6795 |
Removed all instances of free(errp) |
| 6796 |
where errp is |
| 6797 |
Dwarf_Error *errp |
| 6798 |
as that is never necessary or appropriate. |
| 6799 |
Any leftover allocations made in libdwarf |
| 6800 |
and not 'dwarf_dealloc*' or documented |
| 6801 |
as user-must-free data returned via pointers |
| 6802 |
to the caller are |
| 6803 |
automatically freed by dwarf_finish() |
| 6804 |
unless there are libdwarf bugs. |
| 6805 |
modified: fuzz_die_cu.c |
| 6806 |
modified: fuzz_die_cu_attrs.c |
| 6807 |
modified: fuzz_die_cu_info1.c |
| 6808 |
modified: fuzz_die_cu_offset.c |
| 6809 |
modified: fuzz_die_cu_print.c |
| 6810 |
modified: fuzz_macro_dwarf5.c |
| 6811 |
modified: fuzz_showsectgrp.c |
| 6812 |
modified: fuzz_simplereader_tu.c |
| 6813 |
modified: fuzz_srcfiles.c |
| 6814 |
modified: fuzz_stack_frame_access.c |
| 6815 |
modified: fuzz_xuindex.c |
| 6816 |
|
| 6817 |
2023-03-20: David Anderson |
| 6818 |
commit 16a4078e91cf8c695b491c6fbcbe14f4e7ec02b8 |
| 6819 |
|
| 6820 |
Before dereferenceing errp ensure errp |
| 6821 |
is not NULL. |
| 6822 |
modified: fuzz_debug_addr_access.c |
| 6823 |
modified: fuzz_findfuncbypc.c |
| 6824 |
modified: fuzz_set_frame_all.c |
| 6825 |
|
| 6826 |
2023-03-20: David Anderson |
| 6827 |
commit 2eced75af9903ab778c3b237ec7be3ddc93ea6ec |
| 6828 |
ossfuzz 56568 |
| 6829 |
|
| 6830 |
All instances of |
| 6831 |
Dwarf_Error error; |
| 6832 |
changed to |
| 6833 |
Dwarf_Error error = 0; |
| 6834 |
to avoid unwanted stack random bytes in the pointer. |
| 6835 |
modified: fuzz/fuzz_aranges.c |
| 6836 |
modified: fuzz/fuzz_crc_32.c |
| 6837 |
modified: fuzz/fuzz_debug_str.c |
| 6838 |
modified: fuzz/fuzz_die_cu.c |
| 6839 |
modified: fuzz/fuzz_die_cu_attrs.c |
| 6840 |
modified: fuzz/fuzz_die_cu_attrs_loclist.c |
| 6841 |
modified: fuzz/fuzz_die_cu_info1.c |
| 6842 |
modified: fuzz/fuzz_die_cu_offset.c |
| 6843 |
modified: fuzz/fuzz_die_cu_print.c |
| 6844 |
modified: fuzz/fuzz_dnames.c |
| 6845 |
modified: fuzz/fuzz_findfuncbypc.c |
| 6846 |
modified: fuzz/fuzz_gdbindex.c |
| 6847 |
modified: fuzz/fuzz_globals.c |
| 6848 |
modified: fuzz/fuzz_gnu_index.c |
| 6849 |
modified: fuzz/fuzz_init_b.c |
| 6850 |
modified: fuzz/fuzz_macro_dwarf4.c |
| 6851 |
modified: fuzz/fuzz_macro_dwarf5.c |
| 6852 |
modified: fuzz/fuzz_set_frame_all.c |
| 6853 |
modified: fuzz/fuzz_simplereader_tu.c |
| 6854 |
modified: fuzz/fuzz_srcfiles.c |
| 6855 |
modified: fuzz/fuzz_stack_frame_access.c |
| 6856 |
modified: fuzz/fuzz_str_offsets.c |
| 6857 |
modified: fuzz/fuzz_xuindex.c |
| 6858 |
modified: src/lib/libdwarf/dwarf_rnglists.c |
| 6859 |
|
| 6860 |
2023-03-20: David Anderson |
| 6861 |
commit 59f5769780213c8fc4c82efbd829cc02fd13ef8c |
| 6862 |
|
| 6863 |
Most recent generated. |
| 6864 |
modified: bugxml/dwarfbug.html |
| 6865 |
modified: bugxml/dwarfbuglohi.html |
| 6866 |
|
| 6867 |
2023-03-20: David Anderson |
| 6868 |
commit c04edfaf20904ee70e867afbf0ee87fb939ec42b |
| 6869 |
|
| 6870 |
new file: fuzz_debug_addr_access.c |
| 6871 |
|
| 6872 |
2023-03-18: David Anderson |
| 6873 |
commit fafb744cfceaa53fd153a33af38f6105af9b00cf |
| 6874 |
|
| 6875 |
generated files. |
| 6876 |
modified: bugxml/dwarfbug.html |
| 6877 |
modified: bugxml/dwarfbug.xml |
| 6878 |
modified: bugxml/dwarfbuglohi.html |
| 6879 |
|
| 6880 |
2023-03-14: David Anderson |
| 6881 |
commit 003fb181750f499f4fd30fe7908c82fd5de62d2e |
| 6882 |
|
| 6883 |
Improved a rather useless error message. |
| 6884 |
modified: src/bin/dwarfdump/print_gdbindex.c |
| 6885 |
|
| 6886 |
2023-03-14: David Anderson |
| 6887 |
commit 8e935967d3415296f8d3886618dda7f554b16f8d |
| 6888 |
|
| 6889 |
Brought up to date with the oss-fuzz fixed so far. |
| 6890 |
modified: data.txt |
| 6891 |
|
| 6892 |
2023-03-14: David Anderson |
| 6893 |
commit e564c9350c104f16eb2223d7b29082e3deb5d2fb |
| 6894 |
|
| 6895 |
Added many checks for valid pointers and offsets. |
| 6896 |
Corrected logic which was just wrong. |
| 6897 |
Now ossfuzz 56676 passes (DW202303-006). |
| 6898 |
Also fixes oss fuzz 56456. |
| 6899 |
These problems existed since this source was |
| 6900 |
written in 2014. |
| 6901 |
modified: src/lib/libdwarf/dwarf_gdbindex.c |
| 6902 |
Added two small comments. |
| 6903 |
modified: src/lib/libdwarf/dwarf_gdbindex.h |
| 6904 |
Changed doxygen comments on gdbindex functions |
| 6905 |
that now return DW_DLV_NO_ENTRY when an array |
| 6906 |
index is higher than exists in an array. |
| 6907 |
modified: src/lib/libdwarf/libdwarf.h |
| 6908 |
|
| 6909 |
2023-03-13: David Anderson |
| 6910 |
commit 685d4bc6589f554796f5c75cc9b4693eea0a52ed |
| 6911 |
|
| 6912 |
More new bug/vulnerabilities |
| 6913 |
Entire new list not yet described. |
| 6914 |
modified: data.txt |
| 6915 |
modified: dwarfbug.html |
| 6916 |
modified: dwarfbug.xml |
| 6917 |
modified: dwarfbuglohi.html |
| 6918 |
|
| 6919 |
2023-03-12: David Anderson |
| 6920 |
commit 4360c7d2852ef54248591d25149962e404c3af83 |
| 6921 |
|
| 6922 |
With the recent changes shown. |
| 6923 |
modified: ChangeLog |
| 6924 |
|
| 6925 |
2023-03-12: David Anderson |
| 6926 |
commit c1e0dbec0f5de31ea84931bd3f5c491d26dc2f72 |
| 6927 |
|
| 6928 |
Fixing indent mistakes. |
| 6929 |
Removing trailing whitespace. |
| 6930 |
Altering a small number of too-long lines. |
| 6931 |
modified: src/lib/libdwarf/dwarf_debugaddr.c |
| 6932 |
modified: src/lib/libdwarf/dwarf_debugnames.c |
| 6933 |
modified: src/lib/libdwarf/dwarf_fission_to_cu.c |
| 6934 |
modified: src/lib/libdwarf/dwarf_form.c |
| 6935 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 6936 |
modified: src/lib/libdwarf/dwarf_gnu_index.c |
| 6937 |
modified: src/lib/libdwarf/dwarf_macro.c |
| 6938 |
modified: src/lib/libdwarf/dwarf_query.c |
| 6939 |
modified: src/lib/libdwarf/dwarf_str_offsets.c |
| 6940 |
modified: src/lib/libdwarf/dwarf_util.c |
| 6941 |
|
| 6942 |
2023-03-12: David Anderson |
| 6943 |
commit 64eaaa58703258cab02896e798664a1bb11a3d5c |
| 6944 |
|
| 6945 |
Removing #if 0 debug code. |
| 6946 |
modified: src/lib/libdwarf/dwarf_debugaddr.c |
| 6947 |
modified: src/lib/libdwarf/dwarf_form.c |
| 6948 |
modified: src/lib/libdwarf/dwarf_str_offsets.c |
| 6949 |
|
| 6950 |
2023-03-12: David Anderson |
| 6951 |
commit 0343c63bd04d387924974e6da60d8471fdf945a9 |
| 6952 |
|
| 6953 |
This is a significant revision of dwarf_str_offsets.[ch] |
| 6954 |
with consequences in several places. |
| 6955 |
ossfuzz id 56478. |
| 6956 |
ossfuzz id 56489. |
| 6957 |
ossfuzz id 56476. |
| 6958 |
|
| 6959 |
The old code was hard to follow. This |
| 6960 |
is much easier to understand. |
| 6961 |
|
| 6962 |
Still has debugging-related #if 0 in it, those will be removed in |
| 6963 |
the next commit. |
| 6964 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 6965 |
modified: src/lib/libdwarf/dwarf_fission_to_cu.c |
| 6966 |
modified: src/lib/libdwarf/dwarf_form.c |
| 6967 |
modified: src/lib/libdwarf/dwarf_macro5.c |
| 6968 |
modified: src/lib/libdwarf/dwarf_opaque.h |
| 6969 |
modified: src/lib/libdwarf/dwarf_query.c |
| 6970 |
modified: src/lib/libdwarf/dwarf_str_offsets.c |
| 6971 |
modified: src/lib/libdwarf/dwarf_str_offsets.h |
| 6972 |
|
| 6973 |
2023-03-12: David Anderson |
| 6974 |
commit ffecb2b04828a2a20bb6e9ca808e9da4b2c5dd7d |
| 6975 |
|
| 6976 |
Tbe vulerabilities list is a work in progress. |
| 6977 |
There is much more to do. |
| 6978 |
modified: bugxml/data.txt |
| 6979 |
modified: bugxml/dwarfbug.html |
| 6980 |
modified: bugxml/dwarfbug.xml |
| 6981 |
modified: bugxml/dwarfbuglohi.html |
| 6982 |
|
| 6983 |
2023-03-08: David Anderson |
| 6984 |
commit 434f6121136047631a579cf77fac651a8f8765a2 |
| 6985 |
|
| 6986 |
Now more bugs listed. Fixed or not. |
| 6987 |
modified: data.txt |
| 6988 |
|
| 6989 |
2023-03-07: David Anderson |
| 6990 |
commit bdd4a131603c1bffdd5b452a624300f31dd9a2f8 |
| 6991 |
|
| 6992 |
modified: ChangeLog |
| 6993 |
|
| 6994 |
2023-03-07: David Anderson |
| 6995 |
commit 86671059c1c240ae56433fa94993dcd28df2ae7d |
| 6996 |
|
| 6997 |
Corrected several things to get correct processing. |
| 6998 |
Tests for appropriate values from READ_AREA_LENGTH_CK |
| 6999 |
were nowhere exactly correct, so all have been updated |
| 7000 |
(see last two commits). |
| 7001 |
Also fix 56453. |
| 7002 |
This should finally fix oss fuzz 56636. |
| 7003 |
modified: src/lib/libdwarf/dwarf_debugaddr.c |
| 7004 |
|
| 7005 |
Added more precise READ_AREA_LENGTH_CK tests. |
| 7006 |
modified: src/lib/libdwarf/dwarf_gnu_index.c |
| 7007 |
|
| 7008 |
2023-03-07: David Anderson |
| 7009 |
commit 90da06a9de8e4bbdf4fe20e12322b73133166dc0 |
| 7010 |
|
| 7011 |
Improving the READ_AREA_LENGTH calls as |
| 7012 |
revealed by oss fuzz 56636 |
| 7013 |
modified: src/lib/libdwarf/dwarf_util.c |
| 7014 |
|
| 7015 |
2023-03-07: David Anderson |
| 7016 |
commit bb99fe7ddb2bc6601bcb0ee30ced6a8cc8cb0564 |
| 7017 |
|
| 7018 |
Related to oss fuzz 56536, some placew where |
| 7019 |
READ_AREA_LENGTH values where not fully checked. |
| 7020 |
This will require a revisit in a few of these cases |
| 7021 |
modified: src/lib/libdwarf/dwarf_arange.c |
| 7022 |
modified: src/lib/libdwarf/dwarf_debugnames.c |
| 7023 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 7024 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 7025 |
modified: src/lib/libdwarf/dwarf_global.c |
| 7026 |
modified: src/lib/libdwarf/dwarf_loclists.c |
| 7027 |
modified: src/lib/libdwarf/dwarf_rnglists.c |
| 7028 |
modified: src/lib/libdwarf/dwarf_str_offsets.c |
| 7029 |
|
| 7030 |
2023-03-07: David Anderson |
| 7031 |
commit 832ee2aa1a8e30d7afe4fc99adcc2bd15af0802c |
| 7032 |
|
| 7033 |
Change so pointless repetition of certain |
| 7034 |
errors in .debug_gnu_pubnames/types are avoided. |
| 7035 |
Fixed indents. |
| 7036 |
modified: src/bin/dwarfdump/print_debug_gnu.c |
| 7037 |
|
| 7038 |
2023-03-07: David Anderson |
| 7039 |
commit 973f16ae10e48d75a4eb0d3d9843a5b687eed8eb |
| 7040 |
|
| 7041 |
Vulnerabilities update. |
| 7042 |
modified: bugxml/dwarfbug.xml |
| 7043 |
|
| 7044 |
2023-03-07: David Anderson |
| 7045 |
commit d2c18155f5d04011ac7d81d0ea696a9d34daa0c8 |
| 7046 |
|
| 7047 |
Latest info on vulnerabilities |
| 7048 |
modified: bugxml/data.txt |
| 7049 |
modified: bugxml/dwarfbug.html |
| 7050 |
modified: bugxml/dwarfbuglohi.html |
| 7051 |
|
| 7052 |
2023-03-07: David Anderson |
| 7053 |
commit b55ce0185528bf0a99e375cf8f3c84b76b6881a3 |
| 7054 |
Merge: 48bbdb9d d9c14b2b |
| 7055 |
|
| 7056 |
Merge branch 'master' of https://github.com/davea42/libdwarf-code |
| 7057 |
Due to fuzz issues. |
| 7058 |
|
| 7059 |
2023-03-07: David Anderson |
| 7060 |
commit 48bbdb9d9fa5a400e920e5c9564243e4470bd88d |
| 7061 |
|
| 7062 |
Fixes here for several fuzzing issues. WIll show numbers |
| 7063 |
shortly. |
| 7064 |
modified: bugxml/dwarfbug.html |
| 7065 |
modified: bugxml/dwarfbuglohi.html |
| 7066 |
modified: src/bin/dwarfdump/print_debug_gnu.c |
| 7067 |
modified: src/lib/libdwarf/dwarf_gnu_index.c |
| 7068 |
modified: src/lib/libdwarf/dwarf_gnu_index.h |
| 7069 |
modified: src/lib/libdwarf/libdwarf.h |
| 7070 |
|
| 7071 |
2023-03-07: madamantis-leviathan |
| 7072 |
commit d9c14b2b12a3313c78bbfa808e12ed242b7f0adc |
| 7073 |
|
| 7074 |
Remove functions that are no longer available from the source (#154) |
| 7075 |
|
| 7076 |
2023-03-05: David Anderson |
| 7077 |
commit a4a5f55e0bf0678ea1c903b3ee417e4d4a22fb41 |
| 7078 |
|
| 7079 |
Good version. |
| 7080 |
new file: bugxml/dwarfbug.xml |
| 7081 |
|
| 7082 |
Not final, but at least no leakage now. |
| 7083 |
modified: src/lib/libdwarf/dwarf_gnu_index.c |
| 7084 |
|
| 7085 |
2023-03-05: David Anderson |
| 7086 |
commit bcd9f7aef270e850f04a805f685ee8cb60ce85f9 |
| 7087 |
|
| 7088 |
New vuln. |
| 7089 |
modified: data.txt |
| 7090 |
|
| 7091 |
Updates. |
| 7092 |
modified: dwarfbug.html |
| 7093 |
modified: dwarfbuglohi.html |
| 7094 |
deleted: dwarfbuglohi.xml |
| 7095 |
|
| 7096 |
For now, complete. |
| 7097 |
modified: readbugs.py |
| 7098 |
|
| 7099 |
2023-03-05: David Anderson |
| 7100 |
commit 20552b46c678dd30d6ab1270ddf4054cb2d412aa |
| 7101 |
|
| 7102 |
So we have the bug html inside the repo. |
| 7103 |
new file: bugxml/dwarfbug.html |
| 7104 |
new file: bugxml/dwarfbuglohi.html |
| 7105 |
new file: bugxml/dwarfbuglohi.xml |
| 7106 |
modified: bugxml/readbugs.py |
| 7107 |
|
| 7108 |
Not Quite Right yet. Closer to right. |
| 7109 |
modified: src/lib/libdwarf/dwarf_gnu_index.c |
| 7110 |
|
| 7111 |
2023-03-03: David Anderson |
| 7112 |
commit 590c4ca0a2a66d80f5ed1a9588656255e8e29ab7 |
| 7113 |
|
| 7114 |
Updated to have git log data. |
| 7115 |
modified: ChangeLog |
| 7116 |
|
| 7117 |
2023-03-03: David Anderson |
| 7118 |
commit e7cce2398d35f6edac0cadab0e596423a73aaaa0 |
| 7119 |
|
| 7120 |
Added git fix id for 56636. |
| 7121 |
modified: bugxml/data.txt |
| 7122 |
|
| 7123 |
2023-03-03: David Anderson |
| 7124 |
commit a3ab3f16ab67f4d976561fe0d863e1ed8b71f3c6 |
| 7125 |
|
| 7126 |
oss-fuzz 56636 |
| 7127 |
There were some logic mistakes here. |
| 7128 |
Now fixed, we think. |
| 7129 |
modified: src/lib/libdwarf/dwarf_debugaddr.c |
| 7130 |
|
| 7131 |
2023-03-03: David Anderson |
| 7132 |
commit d7711e0dd0cc10e94cdd754ee8b4512085661c92 |
| 7133 |
|
| 7134 |
Minor corrections to the data on |
| 7135 |
DW202303-001 and -002 |
| 7136 |
modified: data.txt |
| 7137 |
|
| 7138 |
2023-03-03: David Anderson |
| 7139 |
commit 92aa9854a4577d04322782c1576aaa1aa7ca0f7f |
| 7140 |
|
| 7141 |
Now with latest from git log |
| 7142 |
modified: ChangeLog |
| 7143 |
|
| 7144 |
2023-03-03: David Anderson |
| 7145 |
commit c8c029a2a91b7774908000b374342ac5239bd7ee |
| 7146 |
|
| 7147 |
Now with 0.7.0 version. |
| 7148 |
modified: doc/libdwarf.pdf |
| 7149 |
|
| 7150 |
2023-03-03: David Anderson |
| 7151 |
commit 89d3beccd161657760585967255bbabf67e5b4c9 |
| 7152 |
|
| 7153 |
Fixes oss-fuzz 56548. |
| 7154 |
Reading line tables headers some fields were not checked for |
| 7155 |
impossibly-large values. |
| 7156 |
Now all such fields are checked for sanity. |
| 7157 |
modified: src/lib/libdwarf/dwarf_line_table_reader_common.h |
| 7158 |
|
| 7159 |
2023-03-02: David Anderson |
| 7160 |
commit 6eb98f38178814bc001187c08d9d74b4a8fa5b0f |
| 7161 |
|
| 7162 |
ChangeLog up to date with git log. |
| 7163 |
Now working on 0.7.0. |
| 7164 |
modified: ChangeLog |
| 7165 |
|
| 7166 |
2023-03-02: David Anderson |
| 7167 |
commit 948352178dc791796ed574a961191844d8322493 |
| 7168 |
|
| 7169 |
dwarf_attrlist() |
| 7170 |
With a particular error (corrupted data) leading to |
| 7171 |
an improper DW_FORM value did not return an error |
| 7172 |
and compounded problems by continuing on, |
| 7173 |
leading to a memory leak. |
| 7174 |
oss-fuzz 56465 |
| 7175 |
|
| 7176 |
Also moved a local down to the only lexical |
| 7177 |
scope using the local variable. |
| 7178 |
modified: src/lib/libdwarf/dwarf_query.c |
| 7179 |
We now return on the first error. |
| 7180 |
|
| 7181 |
2023-03-02: David Anderson |
| 7182 |
commit fde4acadc00c805a0e0592848d75398c142c3f19 |
| 7183 |
|
| 7184 |
Now uses the simpler dwarf_dealloc_attribute |
| 7185 |
as that guarantees the way to dealloc. |
| 7186 |
Also then zeroes the pointer made stale by the dealloc. |
| 7187 |
modified: src/lib/libdwarf/dwarf_print_lines.c |
| 7188 |
|
| 7189 |
2023-03-02: David Anderson |
| 7190 |
commit 1fe3b2989a08c91d68e72bdd5ce437c1ccf3024d |
| 7191 |
|
| 7192 |
Was failing to check for a NULL die pointer being passed in |
| 7193 |
where non-null was required. Now generates an error |
| 7194 |
when a caller does that. |
| 7195 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 7196 |
|
| 7197 |
2023-02-28: David Anderson |
| 7198 |
commit a74e1d1f6d3bb174c985d572d4b6d555a8ea6090 |
| 7199 |
|
| 7200 |
Removing unused locals and arguments. |
| 7201 |
modified: src/bin/dwarfdump/print_debug_names.c |
| 7202 |
modified: src/bin/dwarfdump/print_die.c |
| 7203 |
modified: src/bin/dwarfdump/print_macro.c |
| 7204 |
|
| 7205 |
New macro section output changed the baseline. |
| 7206 |
modified: test/testobjLE32PE.base |
| 7207 |
|
| 7208 |
2023-02-27: David Anderson |
| 7209 |
commit ef5d172dedc7c0e2a3e3d4418efa42f318b8af17 |
| 7210 |
|
| 7211 |
The implementation of dwarf_get_fde_for_die() |
| 7212 |
needed a small change to avoid a leak. |
| 7213 |
The API of dwarf_get_fde_for_die() |
| 7214 |
is unchhanged. |
| 7215 |
modified: src/lib/libdwarf/dwarf_frame.c |
| 7216 |
modified: src/lib/libdwarf/dwarf_frame.h |
| 7217 |
modified: src/lib/libdwarf/dwarf_frame2.c |
| 7218 |
|
| 7219 |
2023-02-27: David Anderson |
| 7220 |
commit bfbc1cf7e4e1721f60f250d990ab484f64c189ba |
| 7221 |
|
| 7222 |
Now, for SGI/MIPS executables we check |
| 7223 |
that any DW_AT_MIPS_fde attribute actually |
| 7224 |
has the offset of a genuine fde, and report |
| 7225 |
an error if anything wrong. |
| 7226 |
For the first time we are testing |
| 7227 |
dwarf_get_fde_for_die(). |
| 7228 |
modified: src/bin/dwarfdump/print_die.c |
| 7229 |
|
| 7230 |
2023-02-27: David Anderson |
| 7231 |
commit fb66da9f410d1cdba92b7ae3117e8cd735dfe189 |
| 7232 |
|
| 7233 |
In one place the free(paths) required by the API |
| 7234 |
was ommitted, leading to a leak. Fixed now. |
| 7235 |
modified: src/bin/dwarfexample/dwdebuglink.c |
| 7236 |
|
| 7237 |
2023-02-24: David Anderson |
| 7238 |
commit 27b1bf1b6b3f1109fdb616c17603ae3a179bd8e3 |
| 7239 |
|
| 7240 |
Added commentary on an IRIX/MIPS related frame. |
| 7241 |
modified: src/lib/libdwarf/libdwarf.h |
| 7242 |
|
| 7243 |
2023-02-24: David Anderson |
| 7244 |
commit 819cb71d795237536adce774576380bddac29d87 |
| 7245 |
|
| 7246 |
References the new macro print function in a few |
| 7247 |
places. The idea is to show the name of a macro |
| 7248 |
and the value as distinct fields (with -v) |
| 7249 |
modified: src/bin/dwarfdump/print_macinfo.c |
| 7250 |
modified: src/bin/dwarfdump/print_macro.c |
| 7251 |
|
| 7252 |
2023-02-24: David Anderson |
| 7253 |
commit 73150d06208b2d936b60e49a8dfdad2015375943 |
| 7254 |
|
| 7255 |
A new dd internal function for reporting macro data. |
| 7256 |
modified: dd_macrocheck.h |
| 7257 |
|
| 7258 |
2023-02-24: David Anderson |
| 7259 |
commit ce58b4e9e463b7ac99fa4d0a0e15782c432320a3 |
| 7260 |
|
| 7261 |
Corrected and commented the code splitting macro |
| 7262 |
name from the macro value (if any value there). |
| 7263 |
modified: src/lib/libdwarf/dwarf_macro.c |
| 7264 |
|
| 7265 |
2023-02-23: David Anderson |
| 7266 |
commit 309f0935a0846157e99d5627ba7a4ba0d40a968c |
| 7267 |
|
| 7268 |
Each has a few lines of new code |
| 7269 |
testing libdwarf small functions not |
| 7270 |
otherwise tested. |
| 7271 |
modified: src/bin/dwarfdump/print_die.c |
| 7272 |
modified: src/bin/dwarfdump/print_lines.c |
| 7273 |
|
| 7274 |
2023-02-23: David Anderson |
| 7275 |
commit b23afe59362cfeace31215412ed24a8f46275327 |
| 7276 |
|
| 7277 |
Fixed a couple arguments to use the dw_<name> form. |
| 7278 |
Comments now explain how a function for |
| 7279 |
experimental line tables is not actually useful. |
| 7280 |
modified: src/lib/libdwarf/libdwarf.h |
| 7281 |
|
| 7282 |
2023-02-23: David Anderson |
| 7283 |
commit d91391381b145c2bf9479be82c0b76f2ec851471 |
| 7284 |
|
| 7285 |
Updated the tarrrelease: field |
| 7286 |
with 0.6.0 release where appropriate. |
| 7287 |
modified: data.txt |
| 7288 |
|
| 7289 |
2023-02-23: David Anderson |
| 7290 |
commit 0c045738675965a8ed7c4aea9f8dfa5eb297b24f |
| 7291 |
|
| 7292 |
These now have the version as 0.7.0 |
| 7293 |
modified: doc/libdwarf.dox |
| 7294 |
modified: doc/libdwarfp.mm |
| 7295 |
|
| 7296 |
2023-02-23: David Anderson |
| 7297 |
commit 22cb0af1ebcf141a6f5d1bdb99666dedb3010eaa |
| 7298 |
|
| 7299 |
Now all name the version as 0.7.0 |
| 7300 |
modified: CMakeLists.txt |
| 7301 |
modified: configure.ac |
| 7302 |
modified: meson.build |
| 7303 |
|
| 7304 |
2023-02-23: David Anderson |
| 7305 |
commit fbd8f69c1d37f0675112227b8a3af321c75388e7 |
| 7306 |
|
| 7307 |
make rebuild |
| 7308 |
updated the version string in comments |
| 7309 |
in these generated source files. |
| 7310 |
modified: src/bin/dwarfdump/dwarfdump-af-table.h |
| 7311 |
modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h |
| 7312 |
modified: src/bin/dwarfdump/dwarfdump-ta-table.h |
| 7313 |
modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h |
| 7314 |
modified: src/bin/dwarfdump/dwarfdump-tt-table.h |
| 7315 |
|
| 7316 |
2023-02-23: David Anderson |
| 7317 |
commit 24fa44cc0492ae212e20e80a6faaf84517427655 |
| 7318 |
|
| 7319 |
Revised to provide a better print of the abbrevs |
| 7320 |
part of a .debug_names block and to check |
| 7321 |
and report on the reuses of an abbrev. |
| 7322 |
Add -v to |
| 7323 |
dwarfdump --print-debug-names |
| 7324 |
|
| 7325 |
modified: src/bin/dwarfdump/print_debug_names.c |
| 7326 |
|
| 7327 |
Make rebuild changed version in a comment. Now 0.7.0 |
| 7328 |
modified: src/lib/libdwarf/dwarf_names.c |
| 7329 |
|
| 7330 |
2023-02-23: David Anderson |
| 7331 |
commit 217037be0da853b2dfb08e52a2c8c3a480a0ae47 |
| 7332 |
|
| 7333 |
Removed the API functions |
| 7334 |
dwarf_dnames_abbrev_by_code() |
| 7335 |
(which is slow, not needed |
| 7336 |
Use either dwarf_dnames_name() or |
| 7337 |
dwarf_dnames_abbrevtable() instead, depending |
| 7338 |
on what you want to accomplish.) |
| 7339 |
|
| 7340 |
And |
| 7341 |
dwarf_dnames_abbrev_form_by_index() |
| 7342 |
(which never worked |
| 7343 |
and was never tested except just before removing |
| 7344 |
this function). |
| 7345 |
|
| 7346 |
modified: src/lib/libdwarf/dwarf_debugnames.c |
| 7347 |
modified: src/lib/libdwarf/libdwarf.h |
| 7348 |
|
| 7349 |
2023-02-23: David Anderson |
| 7350 |
commit 0535a155c5ddb2537f8ec8c84795eff025ec15eb |
| 7351 |
|
| 7352 |
When the form is an indexed addr we check |
| 7353 |
that that referenced via the index and DIE |
| 7354 |
we get the correct addr. |
| 7355 |
A sanity and function correctness check. |
| 7356 |
modified: src/bin/dwarfdump/print_die.c |
| 7357 |
|
| 7358 |
2023-02-23: David Anderson |
| 7359 |
commit cbb1c34c3a7571a3e14f06576ff244cedb7af95c |
| 7360 |
|
| 7361 |
Removed trailing whitespace. |
| 7362 |
modified: src/bin/dwarfdump/dd_tsearchbal.c |
| 7363 |
2023-02-20: David Anderson |
| 7364 |
Release of libdwarf 0.6.0 today. |
| 7365 |
modified: ChangeLog |
| 7366 |
modified: doc/libdwarf.dox |
| 7367 |
modified: doc/libdwarf.pdf |
| 7368 |
|
| 7369 |
2023-02-20: David Anderson |
| 7370 |
commit 8a8f028978cb041e64592ad52b54567459b9a25e |
| 7371 |
|
| 7372 |
make rebuild should not have copied |
| 7373 |
dwarf_names.c (which gennames creates) |
| 7374 |
into dwarfdump source. So the cp is removed. |
| 7375 |
The mv to libdwarf source remains and is essential. |
| 7376 |
modified: src/bin/gennames/Makefile.am |
| 7377 |
|
| 7378 |
2023-02-20: David Anderson |
| 7379 |
commit 8777ffee659b20a0d276c55d78d0d1fcf96319b3 |
| 7380 |
|
| 7381 |
There was no reason to have make rebuild |
| 7382 |
copy dwarf_names.c into dwarfdump. |
| 7383 |
The one in libdwarf suffices. |
| 7384 |
deleted: ../dwarfdump/dwarf_names.c |
| 7385 |
|
| 7386 |
2023-02-20: David Anderson |
| 7387 |
commit 24ae907a3034925521ed408c6ab4384e38f49a3a |
| 7388 |
|
| 7389 |
make rebuild updated to match 0.6.1 as release, |
| 7390 |
all these instances are in comments. |
| 7391 |
modified: src/bin/dwarfdump/dwarf_names.c |
| 7392 |
modified: src/bin/dwarfdump/dwarfdump-af-table.h |
| 7393 |
modified: src/bin/dwarfdump/dwarfdump-ta-ext-table.h |
| 7394 |
modified: src/bin/dwarfdump/dwarfdump-ta-table.h |
| 7395 |
modified: src/bin/dwarfdump/dwarfdump-tt-ext-table.h |
| 7396 |
modified: src/bin/dwarfdump/dwarfdump-tt-table.h |
| 7397 |
modified: src/lib/libdwarf/dwarf_names.c |
| 7398 |
|
| 7399 |
2023-02-20: David Anderson |
| 7400 |
commit e9fbfc0fac2f8fdeb2dbf057d47acf6a4b9b6b51 |
| 7401 |
|
| 7402 |
tools/updatesemanticversion.py 0.6.1 |
| 7403 |
setting a new version. |
| 7404 |
modified: CMakeLists.txt |
| 7405 |
modified: configure.ac |
| 7406 |
modified: doc/libdwarf.dox |
| 7407 |
modified: doc/libdwarfp.mm |
| 7408 |
modified: meson.build |
| 7409 |
modified: src/lib/libdwarf/libdwarf.h |
| 7410 |
|
| 7411 |
2023-02-20: David Anderson |
| 7412 |
commit da8acdad735740579d2f79856da4a617578e0a36 |
| 7413 |
|
| 7414 |
Change file-local function names to not |
| 7415 |
start with dwarf_. That is reserved for API |
| 7416 |
function names. |
| 7417 |
modified: src/bin/dwarfdump/dd_tsearchbal.c |
| 7418 |
|
| 7419 |
2023-02-20: David Anderson |
| 7420 |
commit 52a8e4b9bd0fe8cff9d7e7fcb8ea6682d60c45b9 |
| 7421 |
|
| 7422 |
Added pkgconf to macos autotools run, that is |
| 7423 |
now required where it was not required earlier. |
| 7424 |
modified: test.yml |
| 7425 |
|
| 7426 |
2023-02-20: David Anderson |
| 7427 |
commit 80ef777ba7e2c26a35d849f365ad3ca157062087 |
| 7428 |
|
| 7429 |
workflow test, added a brew install pkgconf |
| 7430 |
modified: mac_autotools.yml |
| 7431 |
|
| 7432 |
2023-02-20: David Anderson |
| 7433 |
commit 104aa2da46a1a798a264654508b1e1e32baf799d |
| 7434 |
|
| 7435 |
Adding as this one test is failing in test.yml |
| 7436 |
.github/workflows: |
| 7437 |
new file: mac_autotools.yml |
| 7438 |
|
| 7439 |
2023-02-20: David Anderson |
| 7440 |
commit 2684f4314098ff9677b4d5c18f510666fe8ce0b8 |
| 7441 |
|
| 7442 |
Now up to date for release 0.6.0 |
| 7443 |
modified: ChangeLog |
| 7444 |
|
| 7445 |
2023-02-20: David Anderson |
| 7446 |
commit a93ff50891b07b83c1becb7cc1329236f6732cde |
| 7447 |
|
| 7448 |
This is the commit (of documentation) for |
| 7449 |
the 6.0.0 release. |
| 7450 |
modified: ChangeLog |
| 7451 |
modified: doc/libdwarf.dox |
| 7452 |
modified: doc/libdwarf.pdf |
| 7453 |
|
| 7454 |
2023-02-18: David Anderson |
| 7455 |
commit 9cab819ba330011b0e78754ee4f6b8937b4fd051 |
| 7456 |
|
| 7457 |
Source used for testing/fuzzing. |
| 7458 |
new file: fuzz/fuzz_aranges.c |
| 7459 |
new file: fuzz/fuzz_crc.c |
| 7460 |
new file: fuzz/fuzz_crc_32.c |
| 7461 |
new file: fuzz/fuzz_debug_addr_access.c |
| 7462 |
new file: fuzz/fuzz_debug_str.c |
| 7463 |
new file: fuzz/fuzz_debuglink.c |
| 7464 |
new file: fuzz/fuzz_die_cu.c |
| 7465 |
new file: fuzz/fuzz_die_cu_attrs.c |
| 7466 |
new file: fuzz/fuzz_die_cu_attrs_loclist.c |
| 7467 |
new file: fuzz/fuzz_die_cu_info1.c |
| 7468 |
new file: fuzz/fuzz_die_cu_offset.c |
| 7469 |
new file: fuzz/fuzz_die_cu_print.c |
| 7470 |
new file: fuzz/fuzz_dnames.c |
| 7471 |
new file: fuzz/fuzz_findfuncbypc.c |
| 7472 |
new file: fuzz/fuzz_gdbindex.c |
| 7473 |
new file: fuzz/fuzz_globals.c |
| 7474 |
new file: fuzz/fuzz_gnu_index.c |
| 7475 |
new file: fuzz/fuzz_init_b.c |
| 7476 |
new file: fuzz/fuzz_init_binary.c |
| 7477 |
new file: fuzz/fuzz_init_path.c |
| 7478 |
new file: fuzz/fuzz_macro_dwarf4.c |
| 7479 |
new file: fuzz/fuzz_macro_dwarf5.c |
| 7480 |
new file: fuzz/fuzz_rng.c |
| 7481 |
new file: fuzz/fuzz_set_frame_all.c |
| 7482 |
new file: fuzz/fuzz_showsectgrp.c |
| 7483 |
new file: fuzz/fuzz_simplereader_tu.c |
| 7484 |
new file: fuzz/fuzz_srcfiles.c |
| 7485 |
new file: fuzz/fuzz_stack_frame_access.c |
| 7486 |
new file: fuzz/fuzz_str_offsets.c |
| 7487 |
new file: fuzz/fuzz_tie.c |
| 7488 |
new file: fuzz/fuzz_xuindex.c |
| 7489 |
|
| 7490 |
2023-02-13: David Anderson |
| 7491 |
commit 77c30fe6c97f078c0f57ec946f59754dada497fd |
| 7492 |
|
| 7493 |
Up to date with git log |
| 7494 |
modified: ChangeLog |
| 7495 |
|
| 7496 |
2023-02-13: David Anderson |
| 7497 |
commit b0af192116cbe4a79b0ca7b8fb47900b5ae3648f |
| 7498 |
|
| 7499 |
Now up to date with latest |
| 7500 |
changes in module titles.. |
| 7501 |
modified: doc/libdwarf.pdf |
| 7502 |
|
| 7503 |
2023-02-11: David Anderson |
| 7504 |
commit 4cb3d61c49edb2fcf888708060c9ce09f952fb73 |
| 7505 |
|
| 7506 |
Working toward easier to read documentation. |
| 7507 |
All the changes are in doxygen comments. |
| 7508 |
modified: doc/checkexamples.c |
| 7509 |
Regenerated |
| 7510 |
modified: doc/libdwarf.pdf |
| 7511 |
|
| 7512 |
modified: src/bin/dwarfexample/jitreader.c |
| 7513 |
modified: src/bin/dwarfexample/showsectiongroups.c |
| 7514 |
modified: src/lib/libdwarf/libdwarf.h |
| 7515 |
|
| 7516 |
2023-02-11: David Anderson |
| 7517 |
commit 447a6d8f35f5945c0a8edbb01f3afc2a28765538 |
| 7518 |
|
| 7519 |
Small tweeks relating the two |
| 7520 |
loclist examples (with links from each |
| 7521 |
to the other). |
| 7522 |
modified: doc/checkexamples.c |
| 7523 |
Corrected date to today. |
| 7524 |
modified: doc/libdwarf.dox |
| 7525 |
|
| 7526 |
2023-02-11: David Anderson |
| 7527 |
commit 1805c17ae90ea29b913fbd0aca7dad3253c18d40 |
| 7528 |
|
| 7529 |
Loclist access/locexpr access is valid for |
| 7530 |
DWARF2 through DWARF5, clarified that here. |
| 7531 |
modified: doc/checkexamples.c |
| 7532 |
modified: src/lib/libdwarf/libdwarf.h |
| 7533 |
|
| 7534 |
2023-02-09: David Anderson |
| 7535 |
commit 13f1fe1cb73bc393f4abef85cdbb378ffd5bcdb2 |
| 7536 |
|
| 7537 |
With latest from gitlog |
| 7538 |
modified: ChangeLog |
| 7539 |
|
| 7540 |
2023-02-09: David Anderson |
| 7541 |
commit ce1fee38c5586889e2d2dfd6af35dc083be9028a |
| 7542 |
|
| 7543 |
Emphasize the new argument style |
| 7544 |
is a suggestion, not a requirement. |
| 7545 |
modified: CODINGSTYLE.md |
| 7546 |
|
| 7547 |
2023-02-09: David Anderson |
| 7548 |
commit ce1fee38c5586889e2d2dfd6af35dc083be9028a |
| 7549 |
|
| 7550 |
Emphasize the new argument style |
| 7551 |
is a suggestion, not a requirement. |
| 7552 |
modified: CODINGSTYLE.md |
| 7553 |
|
| 7554 |
2023-02-09: David Anderson |
| 7555 |
commit 3312467a707e743f91f535f4fcdcde4dc6bb5981 |
| 7556 |
|
| 7557 |
A minor addition that describes |
| 7558 |
the (new) approach to argument list presentation. |
| 7559 |
It's mostly not yet followed and is not |
| 7560 |
required. |
| 7561 |
modified: CODINGSTYLE.md |
| 7562 |
|
| 7563 |
2023-02-09: David Anderson |
| 7564 |
commit 48bd6abf355262f29b293a24c425dc81eec9b639 |
| 7565 |
|
| 7566 |
Improving the consistency of presentation of arguments |
| 7567 |
to functions. No logic change. |
| 7568 |
modified: dwarf_query.c |
| 7569 |
|
| 7570 |
2023-02-09: David Anderson |
| 7571 |
commit 43aeedce6984b7c09ea4adc608f277279c5e5683 |
| 7572 |
|
| 7573 |
Fixing discrepancies from CODINGSTYLE. |
| 7574 |
Trailing whitespace, a too-long line, |
| 7575 |
and if( -> if ( |
| 7576 |
No change in logic. |
| 7577 |
modified: src/lib/libdwarf/dwarf_debugaddr.c |
| 7578 |
modified: src/lib/libdwarf/dwarf_gdbindex.c |
| 7579 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 7580 |
modified: src/lib/libdwarf/dwarf_loclists.c |
| 7581 |
modified: src/lib/libdwarf/dwarf_util.c |
| 7582 |
modified: src/lib/libdwarf/dwarf_xu_index.c |
| 7583 |
|
| 7584 |
2023-02-09: David Anderson |
| 7585 |
commit 16b3f93fac0989d25c129182130afc62719ffa4e |
| 7586 |
|
| 7587 |
Bringing up to date with git log |
| 7588 |
modified: ChangeLog |
| 7589 |
|
| 7590 |
2023-02-09: David Anderson |
| 7591 |
commit a9a8924d775c0389220a0fce7a762f4752fd974c |
| 7592 |
|
| 7593 |
Everywhere we dealloc (drop) |
| 7594 |
a Dwarf_Error ensure we have a valid |
| 7595 |
Dwarf_Error* to dereference for the |
| 7596 |
dealloc. |
| 7597 |
These situations arise when the calling |
| 7598 |
program passes NULL as the Dwarf_Error* |
| 7599 |
to a libdwarf function, which normally |
| 7600 |
only happens in toy or small calling |
| 7601 |
programs. |
| 7602 |
In libdwarf/ |
| 7603 |
modified: dwarf_debugaddr.c |
| 7604 |
modified: dwarf_die_deliv.c |
| 7605 |
modified: dwarf_fission_to_cu.c |
| 7606 |
modified: dwarf_form.c |
| 7607 |
modified: dwarf_generic_init.c |
| 7608 |
modified: dwarf_init_finish.c |
| 7609 |
modified: dwarf_loc.c |
| 7610 |
modified: dwarf_loclists.c |
| 7611 |
modified: dwarf_query.c |
| 7612 |
modified: dwarf_str_offsets.c |
| 7613 |
modified: dwarf_util.c |
| 7614 |
|
| 7615 |
2023-02-08: David Anderson |
| 7616 |
commit 4a78820c8749eeca6f56d4f31693965f7cac0473 |
| 7617 |
|
| 7618 |
Changed the name of the error arg |
| 7619 |
from err to error for consistency. |
| 7620 |
modified: dwarf_alloc.c |
| 7621 |
|
| 7622 |
2023-02-08: David Anderson |
| 7623 |
commit 3423ca18432b02b3ac2ecbb8541a16becb373474 |
| 7624 |
|
| 7625 |
Changed the Dwarf_Error name to be error |
| 7626 |
for consistency across the rest of libdwarf. |
| 7627 |
modified: dwarf_frame.c |
| 7628 |
modified: dwarf_gdbindex.c |
| 7629 |
modified: dwarf_line.c |
| 7630 |
modified: dwarf_print_lines.c |
| 7631 |
modified: dwarf_util.c |
| 7632 |
modified: dwarf_xu_index.c |
| 7633 |
|
| 7634 |
2023-02-03: David Anderson |
| 7635 |
commit 43107bc59332a47aeb17e4a63ad4f191ab92c41c |
| 7636 |
|
| 7637 |
Something went badly wrong with the pull or something. |
| 7638 |
Obvious misaligment from the last change. |
| 7639 |
modified: CMakeLists.txt |
| 7640 |
|
| 7641 |
2023-02-03: David Anderson |
| 7642 |
commit a26db7aeefb8bb6a9d8fca029459e7ea071e8f00 |
| 7643 |
|
| 7644 |
Using @code @endcode so the cc command |
| 7645 |
looks right. |
| 7646 |
modified: doc/checkexamples.c |
| 7647 |
|
| 7648 |
Updated date of last update. |
| 7649 |
modified: doc/libdwarf.dox |
| 7650 |
|
| 7651 |
Regenerated. |
| 7652 |
modified: doc/libdwarf.pdf |
| 7653 |
|
| 7654 |
2023-02-03: Ludovic Chopin |
| 7655 |
commit 74837fb700269b26287a401a8d91061725c48c82 |
| 7656 |
|
| 7657 |
CMakeLists.txt: fix crosscompile cmake build (#150) |
| 7658 |
|
| 7659 |
`check_c_source_runs` cannot be run in crosscompilation cases, |
| 7660 |
only check compilation by replacing it with `check_c_source_compiles` |
| 7661 |
|
| 7662 |
Fixes #149 |
| 7663 |
|
| 7664 |
Co-authored-by: Ludovic Chopin <[email protected]> |
| 7665 |
|
| 7666 |
2023-02-02: David Anderson |
| 7667 |
commit 6123495407fa877b6a2e17f7a7f7c0e5632bdcc5 |
| 7668 |
|
| 7669 |
Now up to date with git log |
| 7670 |
modified: ChangeLog |
| 7671 |
|
| 7672 |
2023-02-02: David Anderson |
| 7673 |
commit fc1c55b70f52f18f491f82a9ffda8fa1d379fe58 |
| 7674 |
|
| 7675 |
set_up_section() is now easier to understand |
| 7676 |
yet does the same job. |
| 7677 |
modified: src/lib/libdwarf/dwarf_init_finish.c |
| 7678 |
|
| 7679 |
2023-02-02: David Anderson |
| 7680 |
commit 08bcf43f4b293d5206dfcc2f107ea0041fb8d5de |
| 7681 |
|
| 7682 |
Added -Wnostringop-overread to the -W list |
| 7683 |
as -Wstringop-overread defaults *on* in alpinelinux |
| 7684 |
gcc and sometimes has false positives |
| 7685 |
depending on other compiler options (not good). |
| 7686 |
modified: configure.ac |
| 7687 |
|
| 7688 |
Corrected two typos in comment words. LFAGS -> FLAGS |
| 7689 |
modified: m4/dw_compiler.m4 |
| 7690 |
|
| 7691 |
2023-02-01: David Anderson |
| 7692 |
commit 27704554af7294899f33706c2908565b1ad8d20e |
| 7693 |
|
| 7694 |
Up to date with git log |
| 7695 |
modified: ChangeLog |
| 7696 |
|
| 7697 |
2023-02-01: David Anderson |
| 7698 |
commit 5ea279585fe15b8a9a0cf8efe034518799e2803f |
| 7699 |
|
| 7700 |
Ensure new file libdwarf/libdwarf.pc.cmake gets into |
| 7701 |
the distribution. |
| 7702 |
modified: src/lib/libdwarf/Makefile.am |
| 7703 |
|
| 7704 |
2023-01-31: David Anderson |
| 7705 |
commit 44bd35172ee75cb96d7c56031b2f986336eaf435 |
| 7706 |
|
| 7707 |
A few words on cmake 'make install' added. |
| 7708 |
modified: README.cmake |
| 7709 |
|
| 7710 |
2023-01-31: David Anderson |
| 7711 |
commit 7368a1062271e08e7df0f188d8b02c9991a0d03a |
| 7712 |
|
| 7713 |
This creates a useful libdwarf.pc with install. |
| 7714 |
|
| 7715 |
It also creates a useless extra libdwarf.pc |
| 7716 |
which is not at all useful. Unsure why. |
| 7717 |
You will get better results using meson instead |
| 7718 |
in most cases. |
| 7719 |
modified: src/lib/libdwarf/CMakeLists.txt |
| 7720 |
new file: src/lib/libdwarf/libdwarf.pc.cmake |
| 7721 |
|
| 7722 |
2023-01-31: David Anderson |
| 7723 |
commit a8b59bea77d868fae8442e69fe4d366c7045df61 |
| 7724 |
|
| 7725 |
Bringing up to date. |
| 7726 |
modified: ChangeLog |
| 7727 |
|
| 7728 |
2023-01-31: David Anderson |
| 7729 |
commit 4823a9a14a127ba298b37cbc7613de0c21e0682a |
| 7730 |
|
| 7731 |
Documenting corrections to dwarf_offset_list() |
| 7732 |
modified: doc/libdwarf.dox |
| 7733 |
|
| 7734 |
Improve an error message related to checking |
| 7735 |
dwarf_offset_list() results. |
| 7736 |
Correct the dealloc call to be correct. |
| 7737 |
This function did not, before this, work |
| 7738 |
on 32bit pointer systems. |
| 7739 |
modified: src/bin/dwarfdump/print_die.c |
| 7740 |
|
| 7741 |
Dealing with the new DW_DLA_UARRAY allocation type |
| 7742 |
for dwarf_offset_list(). |
| 7743 |
modified: src/lib/libdwarf/dwarf_alloc.c |
| 7744 |
modified: src/lib/libdwarf/dwarf_query.c |
| 7745 |
|
| 7746 |
Defining and documenting DW_DLA_UARRAY. |
| 7747 |
modified: src/lib/libdwarf/libdwarf.h |
| 7748 |
|
| 7749 |
2023-01-28: David Anderson |
| 7750 |
commit ef60bff461a533da09f4ad3e9c1ece1249237ea2 |
| 7751 |
|
| 7752 |
Bringing ChangeLog up to date with git log. |
| 7753 |
modified: ChangeLog |
| 7754 |
|
| 7755 |
2023-01-28: David Anderson |
| 7756 |
commit 4f6376d8f4d57497e4083405d94f00651576b51a |
| 7757 |
|
| 7758 |
_dwarf_memcpy_swap_bytes is now simpler and accomodates |
| 7759 |
all words 8 bytes or less long by swapping bytes. |
| 7760 |
modified: src/lib/libdwarf/dwarf_memcpy_swap.c |
| 7761 |
|
| 7762 |
Now uses memcpy to write part of |
| 7763 |
the line table header, not WRITE_UNALIGNED |
| 7764 |
as WRITE_UNALIGNED is intended for integers |
| 7765 |
requiring byte-swapping when the target object |
| 7766 |
and the runnning libdwarfp do not have the |
| 7767 |
same endianness. the write changed is a set of |
| 7768 |
bytes, not an integer at all. |
| 7769 |
modified: src/lib/libdwarfp/dwarf_pro_section.c |
| 7770 |
|
| 7771 |
2023-01-24: David Anderson |
| 7772 |
commit ac2952e266e617cddd9d371d18b6664906e7e012 |
| 7773 |
|
| 7774 |
Now notes release in a couple entries (0.5.0). |
| 7775 |
modified: bugxml/data.txt |
| 7776 |
|
| 7777 |
Latest. |
| 7778 |
modified: doc/libdwarf.pdf |
| 7779 |
|
| 7780 |
2023-01-24: David Anderson |
| 7781 |
commit 8b8265142a78563b840df9b02f15b263cac8708e |
| 7782 |
|
| 7783 |
Now with the git id of the fix. |
| 7784 |
modified: bugxml/data.txt |
| 7785 |
Mention the bug in Changes from 0.5.0 to 0.60. |
| 7786 |
modified: doc/libdwarf.dox |
| 7787 |
|
| 7788 |
2023-01-24: David Anderson |
| 7789 |
commit d059264c2e2a8e74b6ad6e13b7ea062b2cbec650 |
| 7790 |
|
| 7791 |
Instead of strlen, use esb_string_len() on |
| 7792 |
the struct esb_s string so safe_strcpy() |
| 7793 |
is aware of the copy-from length.. |
| 7794 |
modified: src/bin/dwarfdump/print_die.c |
| 7795 |
|
| 7796 |
2023-01-24: David Anderson |
| 7797 |
commit 97e90eb7ab98df60b8da0bdc2ac855711c4db804 |
| 7798 |
|
| 7799 |
Fix DW202301-001, where |
| 7800 |
DW_FORM_strx3 |
| 7801 |
DW_FORM_addrx3 |
| 7802 |
were mistakenly treated as 4 byte values. |
| 7803 |
modified: src/lib/libdwarf/dwarf_util.c |
| 7804 |
|
| 7805 |
2023-01-21: David Anderson |
| 7806 |
commit 52f9045ac2d0e07e83b0e617eb75a7906722303d |
| 7807 |
|
| 7808 |
Bringing up to date with git log. |
| 7809 |
modified: ChangeLog |
| 7810 |
|
| 7811 |
2023-01-21: David Anderson |
| 7812 |
commit 2fc3bdd86abe60a2083e0baaeabf5fe54e966412 |
| 7813 |
|
| 7814 |
Removing trailing whitespace and fixing indents. |
| 7815 |
Fixed a couple lines pointlessly longer than |
| 7816 |
libdwarf CODINGSTYLE specifies. |
| 7817 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 7818 |
modified: src/bin/dwarfdump/dd_sanitized.c |
| 7819 |
modified: src/bin/dwarfdump/print_frames.c |
| 7820 |
modified: src/bin/dwarfdump/print_lines.c |
| 7821 |
modified: src/bin/dwarfexample/findfuncbypc.c |
| 7822 |
modified: src/bin/dwarfexample/jitreader.c |
| 7823 |
modified: src/bin/dwarfexample/showsectiongroups.c |
| 7824 |
modified: src/bin/dwarfexample/simplereader.c |
| 7825 |
modified: src/lib/libdwarf/dwarf_crc.c |
| 7826 |
modified: src/lib/libdwarf/dwarf_debuglink.c |
| 7827 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 7828 |
modified: src/lib/libdwarf/dwarf_str_offsets.c |
| 7829 |
modified: src/lib/libdwarf/libdwarf.h |
| 7830 |
modified: src/lib/libdwarf/dwarf_arange.c |
| 7831 |
|
| 7832 |
2023-01-21: David Anderson |
| 7833 |
commit 4274fabfb0baf26db172cb818e8e1245fed3913b |
| 7834 |
|
| 7835 |
Fixing seven defects noted by CoverityScan. |
| 7836 |
modified: src/bin/dwarfdump/print_die.c |
| 7837 |
modified: src/bin/dwarfdump/print_lines.c |
| 7838 |
modified: src/bin/dwarfexample/jitreader.c |
| 7839 |
modified: src/bin/dwarfexample/simplereader.c |
| 7840 |
|
| 7841 |
2023-01-21: David Anderson |
| 7842 |
commit b78bd35437ca6649a860bf83fa6b454a2a7bc119 |
| 7843 |
|
| 7844 |
Bringing git log up to date. |
| 7845 |
modified: ChangeLog |
| 7846 |
|
| 7847 |
2023-01-21: David Anderson |
| 7848 |
commit e57c7e731ca54002fc00595a62f3d99191c27d33 |
| 7849 |
|
| 7850 |
Removing a set of DW_FRAME #define |
| 7851 |
that were just added and are not actually |
| 7852 |
desirable. |
| 7853 |
modified: src/lib/libdwarf/dwarf.h |
| 7854 |
|
| 7855 |
Updateing these as a consequence. |
| 7856 |
modified: src/bin/dwarfdump/dwarf_names.c |
| 7857 |
modified: src/lib/libdwarf/dwarf_names.c |
| 7858 |
|
| 7859 |
Some duplicate dwarf_get_GNUIVIS_name() entries |
| 7860 |
removed. |
| 7861 |
modified: src/lib/libdwarf/libdwarf.h |
| 7862 |
|
| 7863 |
2023-01-21: David Anderson |
| 7864 |
commit 9ed3f2ff43bfc611ee763bab7a8907941137fd26 |
| 7865 |
Merge: b4eb3ae5 671571a9 |
| 7866 |
|
| 7867 |
Merge branch 'master' of https://github.com/davea42/libdwarf-code |
| 7868 |
Cmake now using PROJECT_DIR |
| 7869 |
|
| 7870 |
2023-01-21: Pavel Dovgalyuk |
| 7871 |
commit 671571a9a14999b88662ce855513545da87f4602 |
| 7872 |
|
| 7873 |
Replace CMAKE dirs with PROJECT dirs (#148) |
| 7874 |
|
| 7875 |
Replacing CMAKE_*_DIR with PROJECT_*_DIR allows adding this |
| 7876 |
project as a subproject in cmake config. |
| 7877 |
|
| 7878 |
2023-01-20: David Anderson |
| 7879 |
commit b4eb3ae529a54e8bac4de6408e0f63b4a72f80dc |
| 7880 |
|
| 7881 |
The added entries in dwarf.h are now reflected |
| 7882 |
in these functions. Now dwarf_get_FRAME_name() |
| 7883 |
knows of the full set of such defined |
| 7884 |
in dwarf.h. |
| 7885 |
Created, as always, by the command 'make rebuild' in |
| 7886 |
a build directory. |
| 7887 |
modified: src/bin/dwarfdump/dwarf_names.c |
| 7888 |
modified: src/lib/libdwarf/dwarf_names.c |
| 7889 |
|
| 7890 |
2023-01-20: David Anderson |
| 7891 |
commit d2ac319d3349b86b6f5fbba009657e3c8e52220d |
| 7892 |
|
| 7893 |
Refining a printf used in debugging, and only debugging. |
| 7894 |
modified: src/bin/gennames/gennames.c |
| 7895 |
|
| 7896 |
2023-01-20: David Anderson |
| 7897 |
commit d899c99aa0a7e29cdb3d024c875561a43579b048 |
| 7898 |
|
| 7899 |
The DW_FRAME defines set is expanded to |
| 7900 |
fill in a gap. A gap that should never have |
| 7901 |
existed. There is no effect on the API other than |
| 7902 |
dwarf_get_FRAME_name() can now return a full |
| 7903 |
set of the basic static set. |
| 7904 |
modified: src/lib/libdwarf/dwarf.h |
| 7905 |
|
| 7906 |
2023-01-20: David Anderson |
| 7907 |
commit 04ab8c31ba97ee7e21c251d6f605aff54ebeb326 |
| 7908 |
|
| 7909 |
Corrected DW_IDX_hi_user |
| 7910 |
from 0x0fff to the DWARF5 |
| 7911 |
value of 0x3fff. |
| 7912 |
modified: src/lib/libdwarf/dwarf.h |
| 7913 |
|
| 7914 |
2023-01-17: David Anderson |
| 7915 |
commit a4acf84b0f3aa087e4ed4413bcd9b13f7cae7aa3 |
| 7916 |
|
| 7917 |
Bringing up to date with git log |
| 7918 |
modified: ChangeLog |
| 7919 |
|
| 7920 |
2023-01-17: David Anderson |
| 7921 |
commit 1bffee59eb8de582fe360601a0a7d485a45fe066 |
| 7922 |
|
| 7923 |
Twenty functions named |
| 7924 |
dwarf_<something> |
| 7925 |
were really internal-only functions. Not in the API. |
| 7926 |
A few named decades ago, some created more recently. |
| 7927 |
Now all such have a leading single underbar, so named |
| 7928 |
_dwarf_<something> as a clear indication they |
| 7929 |
are not part of the API. |
| 7930 |
These became apparent comparing the API (libdwarf.h) |
| 7931 |
to functions reported by coverage analysis (gcov/lcov). |
| 7932 |
modified: dwarf_arange.c |
| 7933 |
modified: dwarf_elf_load_headers.c |
| 7934 |
modified: dwarf_frame.c |
| 7935 |
modified: dwarf_line.c |
| 7936 |
modified: dwarf_machoread.c |
| 7937 |
modified: dwarf_machoread.h |
| 7938 |
modified: dwarf_peread.c |
| 7939 |
modified: dwarf_tsearchhash.c |
| 7940 |
|
| 7941 |
2023-01-16: David Anderson |
| 7942 |
commit d46c1d2eeac7a66a699a892b3d3c50b6a6f135e1 |
| 7943 |
|
| 7944 |
Now showing latest fixes to pkgconf |
| 7945 |
references for libzstd. |
| 7946 |
modified: ChangeLog |
| 7947 |
|
| 7948 |
2023-01-16: David Anderson |
| 7949 |
commit 31c3f298d4d11ec92fde6b5d176007ed20fe3755 |
| 7950 |
|
| 7951 |
Changed zstd_deps to libzstd_dep and |
| 7952 |
similarly for requirements_libdwarf_pc. |
| 7953 |
To match the real pkgconf name of the library. |
| 7954 |
modified: meson.build |
| 7955 |
|
| 7956 |
Fixed the typo ref config_h.set11 |
| 7957 |
where config.h.set10 was meant. It means set to one or |
| 7958 |
zero specifically (rather than a more |
| 7959 |
general set). In meson documentation, look for |
| 7960 |
config_data.set10 |
| 7961 |
modified: src/lib/libdwarf/meson.build |
| 7962 |
|
| 7963 |
2023-01-16: David Anderson |
| 7964 |
commit f6d5dc20755cfcba300bac9eb27f86447c51a3df |
| 7965 |
|
| 7966 |
Corrected the requirements_libdwarf_pc |
| 7967 |
to reference libzstd because the |
| 7968 |
pkgconf name is libzstd.pc |
| 7969 |
modified: configure.ac |
| 7970 |
|
| 7971 |
2023-01-16: David Anderson |
| 7972 |
commit 7c83a9e7dd5a7238b16c7a38862a95fd3d39e2ba |
| 7973 |
|
| 7974 |
Corrected the check for libzstd, so HAVE_ZSTD |
| 7975 |
and HAVE_ZSTD_H are now set in config.h |
| 7976 |
modified: CMakeLists.txt |
| 7977 |
|
| 7978 |
2023-01-14: David Anderson |
| 7979 |
commit bf923fc046fd868808489e5137b9f7bb0d982902 |
| 7980 |
|
| 7981 |
To avoid warnings from a careful compiler we avoid |
| 7982 |
redefining glflags when building test__sanitized.c |
| 7983 |
by using a -DTESTING in test/ builds |
| 7984 |
to remove the reference to glflags |
| 7985 |
from dd_sanitized.c. |
| 7986 |
modified: src/bin/dwarfdump/dd_sanitized.c |
| 7987 |
modified: test/CMakeLists.txt |
| 7988 |
|
| 7989 |
2023-01-14: David Anderson |
| 7990 |
commit 76bebde070af2d49360a141053962949a9ea913a |
| 7991 |
|
| 7992 |
Each had a pointer subtraction and wanted |
| 7993 |
a result of Dwarf_Unsigned so now using |
| 7994 |
uintptr_t and Dwarf_Unsigned casts to |
| 7995 |
assure compilers this is as intended. |
| 7996 |
modified: src/lib/libdwarf/dwarf_debuglink.c |
| 7997 |
modified: test/test_dwarf_tied.c |
| 7998 |
|
| 7999 |
2023-01-13: David Anderson |
| 8000 |
commit 3f8182189e94c9db549f1c59ac4fddafe3da30e4 |
| 8001 |
|
| 8002 |
Now with the warning fixed. |
| 8003 |
modified: ChangeLog |
| 8004 |
|
| 8005 |
2023-01-13: David Anderson |
| 8006 |
commit ac6dd985c978dbeaca258be325b98d6aafb805b2 |
| 8007 |
|
| 8008 |
To do a pointer-difference without |
| 8009 |
compiler warnings we fix using uintptr_t. |
| 8010 |
modified: dwarf_str_offsets.c |
| 8011 |
|
| 8012 |
2023-01-12: David Anderson |
| 8013 |
commit e14770ba81d514b9e962b82479c30ece8a1a2db0 |
| 8014 |
|
| 8015 |
Up to date with git log, including |
| 8016 |
fixing a bug with make check (which |
| 8017 |
would cause compilation failure). |
| 8018 |
modified: ChangeLog |
| 8019 |
|
| 8020 |
2023-01-11: David Anderson |
| 8021 |
commit 9f0c8cd7ba0903b2fea66115afb8b16312ea4222 |
| 8022 |
|
| 8023 |
Needed to add a fake _dwarf_error_string() |
| 8024 |
implementation so this can compile (as we |
| 8025 |
do not link with libdwarf itself). |
| 8026 |
modified: test/test_linkedtopath.c |
| 8027 |
|
| 8028 |
2023-01-11: David Anderson |
| 8029 |
commit 5ca41b6751adf51856b839da3168a7baf2a7268c |
| 8030 |
|
| 8031 |
Now all these accept option --suppress-de-alloc-tree |
| 8032 |
and ignore it so regressiontests can use |
| 8033 |
these more easily. |
| 8034 |
modified: src/bin/dwarfexample/dwdebuglink.c |
| 8035 |
modified: src/bin/dwarfexample/findfuncbypc.c |
| 8036 |
modified: src/bin/dwarfexample/frame1.c |
| 8037 |
modified: src/bin/dwarfexample/jitreader.c |
| 8038 |
modified: src/bin/dwarfexample/showsectiongroups.c |
| 8039 |
modified: src/bin/dwarfexample/simplecrc.c |
| 8040 |
modified: src/bin/dwarfexample/simplereader.c |
| 8041 |
|
| 8042 |
2023-01-10: David Anderson |
| 8043 |
commit f043691022b9ec4c6dc13ad6a7e650e7a6ea7dfb |
| 8044 |
|
| 8045 |
Fixing dwardump -h : changes now in ChangeLog |
| 8046 |
modified: ChangeLog |
| 8047 |
|
| 8048 |
2023-01-10: David Anderson |
| 8049 |
commit 78855e4b8b1f48e456cec9adbf21de1d78ff5433 |
| 8050 |
|
| 8051 |
Improved the -h (help) message for |
| 8052 |
--print-strings and --print-str-offsets |
| 8053 |
dwarfdump options. |
| 8054 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 8055 |
|
| 8056 |
2023-01-10: David Anderson |
| 8057 |
commit d3e59a126829b098ac5f1a7ab757f545287607f1 |
| 8058 |
|
| 8059 |
The -f option was omitted from the help text. |
| 8060 |
Oops. Added it following -F in help. |
| 8061 |
modified: src/bin/dwarfdump/dd_command_options.c |
| 8062 |
|
| 8063 |
2023-01-09: David Anderson |
| 8064 |
commit 8133c2d0a6068c99193cf47f36de3dced60a7855 |
| 8065 |
|
| 8066 |
Now with latest includeing git fix id |
| 8067 |
for bug DW202212-001 |
| 8068 |
modified: ChangeLog |
| 8069 |
|
| 8070 |
2023-01-09: David Anderson |
| 8071 |
commit 35fb2b0eb05e6e52eaf4a674429067644d7bdb57 |
| 8072 |
|
| 8073 |
Updated DW202212-001 with git fix id. |
| 8074 |
modified: bugxml/data.txt |
| 8075 |
|
| 8076 |
2023-01-09: David Anderson |
| 8077 |
commit 45f6d778811553a835916b60845933e6dda63b7f |
| 8078 |
|
| 8079 |
See bug DW202212-001 |
| 8080 |
There are four different Elf/Dwarf corruptions here |
| 8081 |
not previously noticed. All these now noticed. |
| 8082 |
modified: src/lib/libdwarf/dwarf_die_deliv.c |
| 8083 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 8084 |
modified: src/lib/libdwarf/dwarf_generic_init.c |
| 8085 |
modified: src/lib/libdwarf/dwarf_query.c |
| 8086 |
|
| 8087 |
2023-01-04: David Anderson |
| 8088 |
commit 096f1ab0727baa1ba72b08d00953e2a5b243a2b3 |
| 8089 |
|
| 8090 |
Defines the new DenialOfService bug DW202212-001 |
| 8091 |
modified: bugxml/data.txt |
| 8092 |
|
| 8093 |
correct a printf for clarity. |
| 8094 |
Add a return on success finding the pc in the object. |
| 8095 |
modified: src/bin/dwarfexample/findfuncbypc.c |
| 8096 |
|
| 8097 |
Add a new option to help test this cude. |
| 8098 |
--suppress-de-alloc-tree is the option. |
| 8099 |
modified: src/bin/dwarfexample/frame1.c |
| 8100 |
|
| 8101 |
Add a new option to help test this cude. |
| 8102 |
--suppress-de-alloc-tree is the option. |
| 8103 |
modified: src/bin/dwarfexample/jitreader.c |
| 8104 |
|
| 8105 |
Clarify the error report in case the group requested |
| 8106 |
is simply not present. |
| 8107 |
Add a new option to help test this cude. |
| 8108 |
--suppress-de-alloc-tree is the option. |
| 8109 |
modified: src/bin/dwarfexample/showsectiongroups.c |
| 8110 |
|
| 8111 |
Add a new option to help test this cude. |
| 8112 |
--suppress-de-alloc-tree is the option. |
| 8113 |
Simplify the code in main() reading argv[]. |
| 8114 |
modified: src/bin/dwarfexample/simplereader.c |
| 8115 |
|
| 8116 |
Add new tests so if an unreasonable build-id |
| 8117 |
is present an error is returned. |
| 8118 |
modified: src/lib/libdwarf/dwarf_debuglink.c |
| 8119 |
|
| 8120 |
Define the meaning of 'unreasonable build-id' |
| 8121 |
as DW_BUILDID_SANE_SIZE. |
| 8122 |
modified: src/lib/libdwarf/dwarf_debuglink.h |
| 8123 |
|
| 8124 |
Look for a variety of Elf object errors not |
| 8125 |
previosly noted. See DW202212-001. |
| 8126 |
modified: src/lib/libdwarf/dwarf_elf_load_headers.c |
| 8127 |
|
| 8128 |
2023-01-04: David Anderson |
| 8129 |
commit c49cf80fd866d968c3606f520050e74deeb7d665 |
| 8130 |
|
| 8131 |
Up to date 2023 |
| 8132 |
modified: ChangeLog |
| 8133 |
Now with all 2022 |
| 8134 |
modified: ChangeLog2022 |
| 8135 |
|
| 8136 |
2023-01-04: David Anderson |
| 8137 |
commit 5960a7983e58c4263d752daa53866c25f3e4ef50 |
| 8138 |
|
| 8139 |
New log, new year. |
| 8140 |
modified: ChangeLog |
| 8141 |
new file: ChangeLog2022 |
| 8142 |
|
| 8143 |
New DW_DLE error codes for bug DW202212-001 |
| 8144 |
modified: src/lib/libdwarf/dwarf_errmsg_list.h |
| 8145 |
modified: src/lib/libdwarf/libdwarf.h |