Commit Graph

37 Commits

Author SHA1 Message Date
Jeremy
bdf3e89863
Quick fix 2023-09-19 00:31:10 -04:00
Jeremy
ccd0ea5e17
Deal with some conversion warnings 2023-09-18 22:41:34 -04:00
Jeremy Rifkin
0b32df64e4
Expand cpptrace API (#37) 2023-09-18 20:33:46 -04:00
Jeremy
cc43a23987
Lint fixes 2023-09-16 20:52:30 -04:00
Jeremy
278ee3fcee
Work on improving error handling and some general refactoring. Also trying to bring everything into cpptrace::detail. 2023-09-16 20:46:30 -04:00
Jeremy
906687e2db
Lint fix 2023-09-12 18:23:56 -04:00
Jeremy
5aadb58492
Don't use POSIX basename 2023-09-12 18:08:24 -04:00
Jeremy
2545e6c2e5
Use .dSYM files on macos. Should fix test cases. 2023-09-12 01:19:58 -04:00
Jeremy
54b4701462
Refactor linkage name querying 2023-09-12 00:16:40 -04:00
Jeremy
09ccc95814
Fix lint 2023-09-11 10:36:57 -04:00
Jeremy
55e4aaceb0
Update optional implementation 2023-09-11 10:31:41 -04:00
Jeremy
dd7b8eba9c
basic optional implementation 2023-09-11 09:37:11 -04:00
Jeremy Rifkin
6ed6e623ed
Initial work to add libdwarf as a back-end (#24) 2023-08-30 12:14:17 -04:00
Jeremy
c48f37cb68
Make the linter happy (for real) 2023-08-27 21:31:39 -04:00
Jeremy
e60fa2c388
Make the linter happy 2023-08-27 21:02:09 -04:00
Jeremy
0977253505
Address fopen errors 2023-08-27 20:46:00 -04:00
Jeremy
144ab89871
Add quick note 2023-07-24 21:56:37 -04:00
Jeremy Rifkin
72228ab5e8
Changes to handle elf image bases / text link-at addresses (#21)
Figure out the text offset for elf files. When testing on a system that
did not use ASLR by default a user found addr2line being invoked with
the wrong addresses.
2023-07-24 21:51:52 -04:00
Jeremy
e1c7657a3e
Refactor PE parsing 2023-07-23 20:03:32 -04:00
Jeremy
0e701903ed
Refactor PE header parsing out of addr2line code 2023-07-23 19:58:58 -04:00
Jeremy Rifkin
d12cd313d3
Cache expensive computations (#18) 2023-07-23 19:05:11 -04:00
Jeremy
b246613045
Thread safety 2023-07-23 17:29:43 -04:00
Jeremy
cfd0a4e762
Update cpu check 2023-07-23 14:21:32 -04:00
Jeremy
55b5d8a488
File name refactor 2023-07-23 11:18:43 -04:00
Jeremy Rifkin
baf785cc49
Macos addr2line / atos support (#14) 2023-07-23 09:27:01 -04:00
Jeremy
00d6f1c9d1
Update how stacktraces are printed, add color, add a demo program, add a screenshot to the readme, and two small fixes to backends 2023-07-22 21:50:23 -04:00
Jeremy
927f5ea21e
Update README and minor tweaks 2023-07-22 09:15:36 -04:00
Jeremy Rifkin
d7a5eb54fd
Add baseline mingw support (#13) 2023-07-21 22:33:56 -04:00
Jeremy Rifkin
04f8b88efd
Some CI and cmake changes (#9) 2023-07-18 22:21:56 -04:00
Jeremy Rifkin
8e4ee0783f
Various macos work (#7) 2023-07-14 08:35:17 -04:00
sean
6b55222a4b
Fix: Support macOS (#6)
Simpler than I expected tbh. macOS uses the same backtrace and dladdr
functions, and with Clang for Xcode we can also just use cxxabi for
demangling.

Co-authored-by: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>
2023-07-11 18:01:55 -04:00
Jeremy
a540803cd9
Update stacktrace api and a couple minor tweaks 2023-07-09 22:57:15 -04:00
Jeremy Rifkin
6d9d2a9747
Add addr2line back-end (#5) 2023-07-09 21:10:53 -04:00
Jeremy
323aeebe3e
Cleanup and work on fixing test cases 2023-07-04 08:38:58 -04:00
Jeremy
69581c9d58
Rename stuff 2023-07-02 13:37:30 -04:00
Jeremy
6c950e0817
Skip library frames when unwinding 2023-07-02 11:52:26 -04:00
Jeremy
b3474b50c3
Initial commit 2023-07-01 17:06:41 -04:00