Commit Graph

827 Commits

Author SHA1 Message Date
Jeremy Rifkin
a32e22aa44
Don't print internal errors when image base resolution fails, this can happen on mac since platform dylibs don't actually exist on disk. Closes #217. 2025-02-22 13:20:03 -06:00
Jeremy Rifkin
6cec10601e
Bump zstd, #219 2025-02-22 12:18:01 -06:00
Jeremy Rifkin
c9dc51aa61
Move FAQ and add entry on standard library symbol linker errors on macos, related to #216 2025-02-22 00:06:27 -06:00
Jeremy Rifkin
e6d55b5e7d
Add missing iostream include in a README example, closes #218 2025-02-22 00:01:02 -06:00
Jeremy Rifkin
1940dc607a
Bump to v0.8.1 2025-02-20 22:46:25 -06:00
Jeremy Rifkin
477aecec01
Add guard on forwarding constructor 2025-02-20 22:22:46 -06:00
Jeremy Rifkin
03b292c20b
mach-o fixes 2025-02-20 22:18:42 -06:00
Jeremy Rifkin
5bfcf280a5
Fix scope_guard forwarding 2025-02-20 22:04:07 -06:00
Jeremy Rifkin
9b02fc6f74
Replaced some un-ergonomic unique_ptr use with make_unique, switched some unique_ptr<T[]> use to just std::vector<T>, and added some RAII protection to dbghelp symbol resolution TI_FINDCHILDREN_PARAMS management 2025-02-20 22:02:01 -06:00
Jeremy Rifkin
3a4da8ccf0
Fix for an auto return type 2025-02-20 21:47:36 -06:00
Jeremy Rifkin
9a2ae3c96f
Add some NODISCARD attributes and uncomment scope_exit utility code 2025-02-20 21:43:25 -06:00
Jeremy Rifkin
6877782d96
Add cpptrace::can_get_safe_object_frame and add ctrace prefix for can_signal_safe_unwind 2025-02-20 21:36:19 -06:00
Jeremy Rifkin
98ea78445c
Add CI workflow for older msvc 2025-02-20 21:13:54 -06:00
Jeremy Rifkin
3aa080d536
Remove a SFINAE check that keeps surfacing msvc bugs, fixes #215 2025-02-20 21:07:04 -06:00
Jeremy Rifkin
34ea9572b8
Bump to v0.8.0 2025-02-19 23:31:36 -06:00
Jeremy Rifkin
525ce871d5
Add missing include 2025-02-19 22:55:31 -06:00
Jeremy Rifkin
daed105fef
Cache elf and mach-o file objects 2025-02-19 22:49:55 -06:00
Jeremy Rifkin
69875cde19
Rework some move constructors and assignment operators to not simply swap 2025-02-19 21:33:03 -06:00
Jeremy Rifkin
b59a08634d
Small whitespace fix 2025-02-19 21:21:21 -06:00
Jeremy Rifkin
2bb29f71bc
Use a slightly clearer name
Co-authored-by: 9291Sam <sam.skinr@gmail.com>
2025-02-19 21:04:58 -06:00
Jeremy Rifkin
d6fff9022e
Fallback to the process handle in case DuplicateHandle fails 2025-02-19 20:52:50 -06:00
Jeremy Rifkin
e86f4eba8f
Fix some msvc warnings 2025-02-19 20:41:19 -06:00
Jeremy Rifkin
ca8416ea1e
Abstract out an de-duplicate syminit and symcleanup logic for dbghelp 2025-02-19 20:40:58 -06:00
Jeremy Rifkin
6d62d01496
Improve locking surrounding dbghelp and lock in the dbghelp demangler 2025-02-18 23:34:08 -06:00
Jeremy Rifkin
74b5ac6e07
Fixes for msvc 2025-02-18 23:11:34 -06:00
Jeremy Rifkin
dff5b8f18e
Revert "Don't CI on pr separately"
This reverts commit 350382bb93.
2025-02-18 21:04:48 -06:00
Jeremy Rifkin
c375a72efc
Revert "Update CI to not run on dev pr"
This reverts commit d8a0097c43.
2025-02-18 21:04:43 -06:00
Jeremy Rifkin
d8a0097c43
Update CI to not run on dev pr 2025-02-18 21:00:17 -06:00
Jeremy Rifkin
350382bb93
Don't CI on pr separately 2025-02-18 20:57:40 -06:00
Jeremy Rifkin
f7675eac91
Refactor some dwarf utility abstractions into their own header 2025-02-18 20:54:43 -06:00
Jeremy Rifkin
832c3014b0
Don't create formatters on the fly in print_terminate_trace() 2025-02-18 20:15:12 -06:00
Jeremy Rifkin
b0d12daf22
Remove extern declaration for the absorb_trace_exceptions flag 2025-02-18 20:04:42 -06:00
Jeremy Rifkin
cebca81aa9
Add a newline for slightly improved visual separation 2025-02-18 20:02:15 -06:00
Jeremy Rifkin
c2b3b7e0a1
Small consistency improvement for FetchContent_Declare use for tool building 2025-02-18 19:58:16 -06:00
Jeremy Rifkin
27107556f8
Remove unused function 2025-02-18 19:54:55 -06:00
Jeremy Rifkin
26ef617c25
Use a raii_wrapper for the char array returned by abi::__cxa_demangle 2025-02-18 19:48:53 -06:00
Jeremy Rifkin
9c0d0db884
Address an msvc warning/error 2025-02-18 00:14:42 -06:00
Jeremy Rifkin
5e4ea9a88f
Add lru cache unit tests 2025-02-18 00:01:30 -06:00
Jeremy Rifkin
99814905be
Add --line-table-cache-size option to the resolver tool 2025-02-17 23:42:20 -06:00
Jeremy Rifkin
6180399996
Fix some typos and do some minor rewording 2025-02-17 23:22:27 -06:00
Jeremy Rifkin
e7f8521936
Update table of contents 2025-02-17 23:16:17 -06:00
Jeremy Rifkin
e77f16031b
Add --disable-aranges option to the resolver tool 2025-02-17 23:14:36 -06:00
Jeremy Rifkin
261ca9d554
Add libdwarf tuning section with information about libdwarf-specific settings 2025-02-17 23:13:46 -06:00
Jeremy Rifkin
5073cc218a
Update documentation for cpptrace::nullable 2025-02-17 23:01:00 -06:00
Jeremy Rifkin
34be9f2f19
Add a check for dwarf_get_version_of_die's return code 2025-02-17 23:00:12 -06:00
Jeremy Rifkin
6d41ea0135
Fix UB due to forming a reference to a packed struct member 2025-02-17 22:59:48 -06:00
Jeremy Rifkin
27924487dc
Document the formatter API 2025-02-17 22:38:04 -06:00
Jeremy Rifkin
728cefab55
Add setting to disable the use of dwarf aranges 2025-02-17 22:27:44 -06:00
Jeremy Rifkin
aed47df73e
Slightly improve memory usage by packing some structs used in the die cache 2025-02-17 22:18:15 -06:00
Jeremy Rifkin
e22300b36d
Refactor to not use if constexpr 2025-02-17 21:41:16 -06:00