Commit Graph

542 Commits

Author SHA1 Message Date
Jeremy
ee572226f7
Update contributing instructions 2024-05-03 20:23:33 -05:00
Jeremy
4feeb6dfe2
Add godboltian makefile 2024-05-03 20:14:21 -05:00
Jeremy
d7c19a5544
Updates for conda 2024-05-03 20:07:09 -05:00
Jeremy
0db934caf7
Bump to 0.5.4 2024-05-02 11:30:54 -05:00
Jeremy
abbc77dcea
Clean up logic a bit 2024-05-02 11:17:41 -05:00
Jeremy
d3c7e7351c
Remove guard for resolve_l_name 2024-05-02 11:09:37 -05:00
Jeremy
ce19421bb5
Update for macos 2024-05-02 11:05:22 -05:00
Jeremy
b125248b32
Update dladdr path to not use dli_fname as it's unreliable in the case of a non-standard argv[0] 2024-05-02 10:47:31 -05:00
Jeremy
beb5506233
Add additional notes about CPPTRACE_STATIC_DEFINE 2024-04-30 23:18:30 -05:00
Jeremy
14d25fd89a
Bump to v0.5.3 and update changelog 2024-04-29 23:12:53 -05:00
Jeremy
24d1f7780f
Typo fix 2024-04-29 21:13:21 -05:00
Jeremy Rifkin
ed790ea82a
Improve zstd handling (#115)
This PR adds a Findzstd.cmake script to cpptrace's install so that
`find_dependency(zstd)` can succeed on installations that don't include
zstdConfig.cmake/zstd-config.cmake.

The reason `find_dependency(zstd)` is needed in cpptrace's config,
despite `find_dependency(zstd)` also being in libdwarf's cmake and
cpptrace not needing zstd, is that libdwarf's cmake doesn't define
`zstd::libzstd_static` / `zstd::libzstd_shared` targets.

This should fix #112.
2024-04-28 23:56:27 -05:00
Jeremy
db0738332e
Bump libdwarf 2024-04-28 19:58:43 -05:00
Jeremy
0527cea39f
For the libbacktrace back-end don't treat missing debug info in ELFs as a critical error; fixes #114 2024-04-28 19:51:52 -05:00
Jeremy
c871c2a43c
Grab new microfmt changes and fix #113 2024-04-27 01:29:39 -05:00
Jeremy
5a1f4b6d37
Add an error message for exec failures to the signal_demo, resolves #111 2024-04-18 19:38:19 -05:00
Jeremy
2526a38c16
README tweak: Add question mark to a title 2024-04-04 23:23:40 -05:00
Jeremy
531a8c13d9
Update README 2024-04-04 23:22:38 -05:00
Jeremy
599d6abd6c
Workaround bug for old msvc 2024-03-31 23:51:41 -05:00
Jeremy
0dd71cebb7
Mac fixes 2024-03-31 22:01:14 -05:00
Jeremy
06372b772f
Fix another warning 2024-03-31 16:42:51 -05:00
Jeremy
40696e8d02
Handle MSVC warning treated as error 2024-03-31 16:37:29 -05:00
Jeremy
c1b7be9f83
Bump to v0.5.2 2024-03-31 16:19:27 -05:00
Jeremy
ffb1b8ed68
A little more error handling cleanup 2024-03-31 16:02:39 -05:00
Jeremy
dc9cee98fb
Move error when returning 2024-03-31 15:52:45 -05:00
Jeremy
124607e7bf
Resolve some TODOs with error handling for mach-o stuff 2024-03-31 15:24:01 -05:00
Jeremy
b04fc09682
Update internal error messages 2024-03-31 14:18:21 -05:00
Jeremy
8007413ff6
Print Result(E) if not absorbing trace exceptions 2024-03-31 14:15:19 -05:00
Jeremy
4db73b1856
Fix assertion failure format string 2024-03-30 23:19:13 -05:00
Jeremy
50483783cb
Fix bug with non-recursive inline walking 2024-03-30 23:18:55 -05:00
Jeremy
ab63c34827
Replace most stream use with new formatting system 2024-03-30 20:25:06 -05:00
Jeremy Rifkin
acaa4f42e6
Add a Result type and replace some exceptions with it (#109) 2024-03-30 13:35:52 -05:00
Jeremy
47e7ee79eb
Formatting update 2024-03-30 11:11:07 -05:00
Jeremy
fa6155ff47
Remove awful stringf system 2024-03-29 23:12:26 -05:00
Jeremy
a3899781dc
Try to fix ci 2024-03-29 22:50:30 -05:00
Jeremy
e65edcf91a
Make note about -DCPPTRACE_STATIC_DEFINE more prominent 2024-03-28 19:51:53 -05:00
Jeremy
b72164b39b
Bump to v0.5.1 2024-03-20 22:12:26 -05:00
Jeremy
411fdff8fa
Merge branch 'dev' 2024-03-20 22:08:33 -05:00
Jeremy
d1199dc325
Fix potential null dereference issue, thanks @eyalgolan1337. Resolves #106. 2024-03-20 22:08:21 -05:00
Jeremy
8f8e1e34e2
Re-add CE button on readme 2024-03-19 22:59:50 -05:00
Billy O'Neal
37e6cef4f9
Defend against min and max macros from windows.h (#105)
Alternative to
https://github.com/microsoft/vcpkg/pull/37512/files#diff-9f533b43a5faabaa6b5a0e046f0ae425cd85736808604dd61dc9a955db3d060aR9

I left the examples in mach-o.hpp as they are guarded by #if IS_APPLE
2024-03-18 23:03:26 -05:00
Jeremy
2985cb1d6c
Merge branch 'main' into dev 2024-03-16 23:31:57 -05:00
Jeremy
fdf4499259
Update docs to showcase source code snippets 2024-03-16 23:31:07 -05:00
Jeremy
c5138e2f40
Add nominmax for windows.h 2024-03-16 19:34:16 -05:00
Jeremy
a841a1b74a
Fix msvc warning treated as error 2024-03-16 19:23:03 -05:00
Jeremy
9b69d200c1
Bump to v0.5.0 2024-03-16 18:03:34 -05:00
Jeremy
8407adf6d3
Add print_with_snippets to docs 2024-03-16 17:52:38 -05:00
Jeremy
a528aa8e0b
Fix object address resolution with _dl_find_object, #104 2024-03-16 16:17:27 -05:00
Jeremy
92be6c23f1
Update note about debug symbols being needed 2024-03-15 17:39:23 -05:00
Jeremy
6a8ff75fc1
Merge branch 'main' into dev 2024-03-09 22:26:17 -06:00