refactor bad read handling in DWARF parser

This commit is contained in:
Nikita Smith
2026-02-05 17:43:19 -08:00
parent a13afb441e
commit 2071e31f29
2 changed files with 73 additions and 219 deletions
+2
View File
@@ -439,6 +439,8 @@ C_LINKAGE void __asan_unpoison_memory_region(void const volatile *addr, size_t s
# define this_function_name __func__
#endif
#define TryRead(func, cursor, label) do { U64 size = (func); if (size == 0) { goto label; } cursor += size; } while (0)
////////////////////////////////
//~ rjf: Base Types