This website requires JavaScript.
e06951ab09
Fixes
Jeremy Rifkin
2025-01-31 18:17:44 -0600
061ed96d97
Rip std::make_unique
Jeremy Rifkin
2025-01-31 00:16:24 -0600
ceb21428cc
Initial work on trace formatting setup
Jeremy Rifkin
2025-01-31 00:13:23 -0600
9077430b6a
Search both the elf symbol table and dynamic symbol table
Jeremy Rifkin
2025-01-28 23:40:08 -0600
06c9c14995
Return an optional from lookup_symbol
Jeremy Rifkin
2025-01-28 23:26:28 -0600
7f6945c7d9
Better handle symtab loading / optionality
Jeremy Rifkin
2025-01-28 23:14:37 -0600
73ee7aa3a1
Don't try to load string table if strtab_link is SHN_UNDEF or the symbol table is empty
Jeremy Rifkin
2025-01-28 22:21:43 -0600
30130b4929
Experimenting with pulling elf and mach-o definitions into the project instead of relying on system headers
jr/defs
Jeremy Rifkin
2025-01-28 22:11:46 -0600
18046688f6
Move cmake integration and performance check into ci workflow
Jeremy Rifkin
2025-01-28 21:40:18 -0600
1429cfc429
Hopefully final ci fixes
Jeremy Rifkin
2025-01-28 12:53:40 -0600
82ef2287dd
Fix CI
Jeremy Rifkin
2025-01-28 11:32:58 -0600
25eaa832d1
Remove a superfluous inline
Jeremy Rifkin
2025-01-28 00:50:42 -0600
f16c36e0b6
Do a unit test without debug symbols
Jeremy Rifkin
2025-01-28 00:48:38 -0600
b498dead92
Update readme badges
Jeremy Rifkin
2025-01-28 00:42:50 -0600
6971f6a5ca
Remove mostly redundant build workflow and turn the test workflow into a general ci workflow
Jeremy Rifkin
2025-01-28 00:26:19 -0600
247474389f
Allow cpptrace::detail::demangle to demangle strings that have non-identifier characters at the end
Jeremy Rifkin
2025-01-27 23:57:05 -0600
dc0c683804
Remove elf::byteswap_if_needed's little endian parameter
Jeremy Rifkin
2025-01-27 23:49:27 -0600
c5c785db89
Check that names passed to cpptrace::detail::demangle look like mangled names before passing to abi::__cxa_demangle
Jeremy Rifkin
2025-01-27 23:48:13 -0600
a28cc3a3a0
Split up unittest jobs further
Jeremy Rifkin
2025-01-27 23:32:55 -0600
08306c12a5
Implement symbol table lookup for mach-o and fix mingw build
Jeremy Rifkin
2025-01-27 23:12:30 -0600
68c9d33e94
Use tried_to_load_header
Jeremy Rifkin
2025-01-26 23:22:03 -0600
8edb419342
Implement elf symbol table parsing and fall back to the elf symbol table during symbol resolution
Jeremy Rifkin
2025-01-26 23:07:33 -0600
dc118dcb6d
Move monostate
Jeremy Rifkin
2025-01-26 23:03:42 -0600
7a1eb4d5bf
Add a Result<T> converting constructor
Jeremy Rifkin
2025-01-26 20:29:13 -0600
6a9d2c5bbd
Fixes for C++11 / older gcc
Jeremy Rifkin
2025-01-26 19:31:20 -0600
c9826616b5
Sendit support optional<T&> and Result<T&, E>
Jeremy Rifkin
2025-01-26 19:18:47 -0600
293f4d1593
Export should_absorb_trace_exceptions to fix tests
Jeremy Rifkin
2025-01-26 18:15:21 -0600
01ea4e9ea7
Update BUILD.bazel for test
Jeremy Rifkin
2025-01-26 17:41:23 -0600
06732add17
Try to fix tests on CI
Jeremy Rifkin
2025-01-26 17:34:02 -0600
78086d0267
Some more unit tests for test cases
Jeremy Rifkin
2025-01-26 17:29:38 -0600
906784284f
Add unit tests for optional and result helper types
Jeremy Rifkin
2025-01-26 16:02:34 -0600
b705afba69
Templated lambdas aren't a thing in C++11 :(
Jeremy Rifkin
2025-01-26 14:52:31 -0600
76a21d266a
Refactor out optional and result
Jeremy Rifkin
2025-01-26 13:30:44 -0600
1bcfcff021
Incompatible with JNI on Windows: use unique handle for SymInitialize #204 (#206 )
firesgc
2025-01-26 05:25:54 +0100
ace2324fda
Minor code format things
Jeremy Rifkin
2025-01-25 11:24:11 -0600
ca740b1474
Minor code formatting things
Jeremy Rifkin
2025-01-25 11:23:15 -0600
52b5b75004
A few minor code formatting things
Jeremy Rifkin
2025-01-25 11:21:43 -0600
6471e1c8bd
Removed empty line
firesgc
2025-01-25 12:04:39 +0100
c80d04fe52
Add GetLastError() and switch to unordered_map
firesgc
2025-01-25 11:55:54 +0100
efc63cb49f
Fix naming
firesgc
2025-01-25 11:52:43 +0100
e75d5b7629
Update symbols_with_dbghelp.cpp
firesgc
2025-01-25 11:50:01 +0100
70089f3522
Add missing CloseHandle()
firesgc
2025-01-25 11:48:35 +0100
485d9a6f21
A little elf refactoring, separate out header loading
Jeremy Rifkin
2025-01-24 20:16:46 -0600
f48a7bc29a
Use the duplicated handle for symbol resolution
Jeremy
2025-01-24 17:45:34 -0600
7728e7834b
Update dbghelp_syminit_manager.cpp
firesgc
2025-01-24 22:42:39 +0100
07d703a36b
Duplicate process handle and use it for SymInitialize
firesgc
2025-01-24 22:39:41 +0100
d063784abc
Refactor elf_get_module_image_base, setup an elf class in preparation for more elf parsing
Jeremy Rifkin
2025-01-23 00:12:31 -0600
6689d14c20
Bump to v0.7.5
v0.7.5
Jeremy Rifkin
2025-01-04 23:45:49 -0600
f42ed3500d
Use underscores in component names instead of hyphens due to cpack, resolves #203
Jeremy Rifkin
2025-01-04 23:16:37 -0600
f35ef65ed6
Merge branch 'dev'
Jeremy Rifkin
2025-01-04 22:57:40 -0600
0c40839009
Specify __cdecl for the terminate handler on MSVC, fixes #197
Jeremy Rifkin
2024-12-30 23:07:15 -0600
d5a2043fd3
Set C++ standard for old compiler versions in check_support, fixes #200
Jeremy Rifkin
2024-12-30 22:41:54 -0600
b127cfb176
Add missing typeinfo include (#202 )
Dominic Koepke
2024-12-31 02:12:39 +0100
3f2cb98e2c
fix: add missing typeinfo include
Dominic Koepke
2024-12-30 17:55:37 +0100
b23bc42df4
test(stacktrace): make CPPTRACE_FORCE_INLINE static (#196 )
Sergei Zimmerman
2024-12-23 22:21:30 +0300
6919d1e948
test(stacktrace): make CPPTRACE_FORCE_INLINE static
Sergei Zimmerman
2024-12-23 13:51:00 +0300
5b3f2fb0b1
Bump to v0.7.4
v0.7.4
Jeremy Rifkin
2024-12-21 16:13:10 -0600
43b0ed1b21
Add version macros header
Jeremy Rifkin
2024-12-21 15:41:13 -0600
27bbe75bd3
Re-enable some dwarf 5 test cases now that upstream issues are resolved (#194 )
Jeremy Rifkin
2024-12-05 19:11:42 -0600
92cb2a5e3c
Update ci install of libdwarf
Jeremy Rifkin
2024-12-05 18:56:14 -0600
51bfde03be
Re-enable some dwarf 5 unit tests now that things are fixed upstream
Jeremy Rifkin
2024-12-04 22:56:08 -0600
fe97f8f0f0
Split CI matrix run over several runners
Jeremy Rifkin
2024-12-04 23:44:37 -0600
cc497fb62b
Revert "Re-enable some dwarf 5 unit tests now that things are fixed upstream"
Jeremy Rifkin
2024-12-04 23:18:58 -0600
acddc383a4
Re-enable some dwarf 5 unit tests now that things are fixed upstream
Jeremy Rifkin
2024-12-04 22:56:08 -0600
61d06d56d6
Oops
Jeremy Rifkin
2024-12-03 23:56:10 -0600
4227fc4abe
Better microfmt implementation
Jeremy Rifkin
2024-12-03 23:53:28 -0600
ddec65195d
Bump to libdwarf 0.11.1
Jeremy Rifkin
2024-12-03 23:11:25 -0600
73690b7a4e
simple llvm kaleidoscope jit setup for testing
jr/jit-dwarf
Jeremy Rifkin
2024-11-21 00:00:03 -0600
379a0fa594
Add a test main that disables cpptrace exception absorption
Jeremy Rifkin
2024-11-20 23:13:34 -0600
4354eb21ea
Bump to v0.7.3
v0.7.3
Jeremy Rifkin
2024-11-15 17:42:37 -0600
6945c2167e
Change a return back to an _exit(1). It's not different functionally but I decided it's more clear.
Jeremy Rifkin
2024-11-15 17:21:22 -0600
d43318aa92
Add cmake export set, fixes #189
Jeremy Rifkin
2024-11-15 17:14:08 -0600
e10dbf431e
Add a color overload for stacktrace_frame::to_string, fixes #190
Jeremy Rifkin
2024-11-14 23:54:52 -0600
8866d70a32
Fix bug in signal_demo and add error message on fork failure to signal tracing guide
Jeremy Rifkin
2024-11-14 22:08:09 -0600
5a9a4f314d
Updating wording and docs arround the safe trace API
Jeremy Rifkin
2024-11-14 22:07:32 -0600
88df27aa32
Disable a unittest config until a libdwarf bug is fixed
Jeremy Rifkin
2024-11-14 21:38:49 -0600
bbae57bd22
Fix typo
Jeremy Rifkin
2024-11-14 21:23:42 -0600
5c9f5150fb
Followup fixes
Jeremy Rifkin
2024-11-11 22:41:58 -0600
addaf02387
Fix a test issue on MSVC due to TCO
Jeremy Rifkin
2024-11-11 21:57:04 -0600
855210e624
Resolve msvc warning/error
Jeremy Rifkin
2024-11-11 21:46:48 -0600
e41f89ee82
Bump libdwarf used in testing due to dwarf 5 bug
Jeremy Rifkin
2024-11-11 21:37:36 -0600
4cb425fb35
LTO hackery, make unittests pass under LTO, closes #179
Jeremy Rifkin
2024-11-11 00:05:01 -0600
90da0563f9
Recurse into DW_TAG_lexical_block DIEs while searching for inlining information
Jeremy Rifkin
2024-11-10 16:09:55 -0600
da533c0ef0
Emscripten experimentation
jr/emscripten
Jeremy Rifkin
2024-11-10 10:11:12 -0600
04b85a0dfa
Refactor auto-config logic out of the main CMakeLists.txt
Jeremy Rifkin
2024-11-03 18:42:36 -0600
a2f73ab093
Merge 35f00de82d into 9269a72c54
Euller Borges
2024-11-01 14:04:12 +0100
35f00de82d
Support using dladdr1 for safe trace resolution
Euller Borges
2024-11-01 13:22:41 +0100
f152788abd
Merge branch 'main' into dev
Jeremy Rifkin
2024-10-29 22:23:28 -0500
9269a72c54
Fixed compiler warnings and errors under MSYS2+MINGW64 platform. (#186 )
Pavol Gono
2024-10-27 16:30:36 +0100
124dba5254
fix: actually use ccache binary returned by find_program (#184 )
mhx
2024-10-21 06:54:50 +0200
557a4a6fab
Add missing #include <algorithm> in microfmt.hpp (#183 )
Reimu NotMoe
2024-10-21 12:52:29 +0800
2d45c0a242
Fixed compiler warnings and errors under MSYS2+MINGW64 platform.
Pavol Gono
2024-10-21 06:39:02 +0200
969d7cedaa
fix: actually use ccache binary returned by find_program
Marcus Holland-Moritz
2024-10-18 13:01:32 +0200
048b4e4113
Add missing #include <algorithm> in microfmt.hpp
Reimu NotMoe
2024-10-17 20:14:03 +0800
7a0c6ec78d
Clarify library intro in README (#180 )
Mathias Hasselmann
2024-10-16 06:55:23 +0200
06ab812031
Fix grammar issue
Jeremy Rifkin
2024-10-15 23:54:27 -0500
0c898cc487
Don't pretend cpptrace would be self-contained
Mathias Hasselmann
2024-10-11 16:18:28 +0200
81d4776a22
Differentiate stacktrace_from_current_z_* from the non-z versions in another test so they aren't merged during LTO/ICF, related to #179
Jeremy Rifkin
2024-10-10 20:03:03 -0500
0d53defcd9
Only do the inline resolution test under libdwarf, #178
Jeremy Rifkin
2024-10-06 17:16:18 -0500
a1fa0a1b81
Use forward declaration header in object.hpp
Jeremy Rifkin
2024-10-06 16:50:39 -0500