Commit Graph

392 Commits

Author SHA1 Message Date
Jeremy
fcef25276e
Remove some old commented out stuff 2023-11-21 10:50:21 -06:00
Jeremy
c80abed1cd
Try to re-enable testing with _Unwind on windows 2023-11-21 10:21:09 -06:00
Jeremy
e889fa7acf
Use dlfo_link_map->l_addr over dlfo_map_start 2023-11-21 09:41:56 -06:00
Jeremy
0ee29d0855
Use CPPTRACE_PATH_MAX more consistently, and another small refactor 2023-11-20 23:37:49 -06:00
Jeremy
87cd24438b
Use _dl_find_object over dladdr when possible in object resolution, it's so much faster 2023-11-20 23:36:55 -06:00
Jeremy
9113cc5ffc
Some refactoring, bring object_frame in line with safe_object_frame. Also renamed address_relative_to_object_base_in_memory. 2023-11-20 23:13:21 -06:00
Jeremy
2a4a8066d3
Rework the object trace interface a bit and clarify their purpose. Also rename minimal_object_trace to safe_object_trace 2023-11-20 23:01:19 -06:00
Jeremy
a04f19a484
Explain the purpose of raw trace information vs minimal object frame info 2023-11-20 22:49:07 -06:00
Jeremy
a6a64b5671
Add shared library warmup 2023-11-20 22:41:24 -06:00
Jeremy
7c49e64ba6
Updated documentation, added documentation for new stuff, and updated cpptrace.hpp a bit 2023-11-20 22:14:13 -06:00
Jeremy
cd59ab5478
Added signal tracing demo 2023-11-19 23:46:49 -06:00
Jeremy
6c6d915414
Removed raw_trace::from_buffer, not happy with that api 2023-11-19 23:45:51 -06:00
Jeremy
4a9b24b31b
Only build signal tracer on unix 2023-11-19 23:27:27 -06:00
Jeremy
0b48df7f22
Fix windows build warning 2023-11-19 23:20:31 -06:00
Jeremy
24e64ab385
Check for _dl_find_object support 2023-11-19 23:17:11 -06:00
Jeremy
ac7db48cef
Really fix it this time 2023-11-19 23:07:41 -06:00
Jeremy
f4237c75df
Try to fix build 2023-11-19 22:54:08 -06:00
Jeremy
16ec7c5855
Fix oversight, demangle in object_trace resolution 2023-11-19 22:52:43 -06:00
Jeremy
9647a6d591
Forgot to stage path max 2023-11-19 22:52:20 -06:00
Jeremy
ac13e71877
Implement signal-safe resolution of basic object information 2023-11-19 22:49:58 -06:00
Jeremy
327a6e8318
Fix two more includes 2023-11-18 23:42:49 -06:00
Jeremy
88319b13a7
Turns out one of the includes was needed 2023-11-18 23:39:59 -06:00
Jeremy
6da8ee0773
Fix a couple includes 2023-11-18 23:38:03 -06:00
Jeremy
5657a07ed4
Remove some no longer needed includes 2023-11-18 23:35:43 -06:00
Jeremy
0e462c7b03
Some restructuring of the directory layout 2023-11-18 23:28:48 -06:00
Jeremy
77a2e3a22b
Rework the exception interface 2023-11-18 09:00:57 -06:00
Jeremy
0de366f7d6
Add column support for libdwarf 2023-11-15 22:50:10 -05:00
Jeremy
140166a4a7
Updated nested exception what message 2023-11-15 21:50:10 -05:00
Jeremy
a518cd8874
Walk subprogram children to handle lambdas better and also cast better 2023-11-15 21:30:11 -05:00
Jeremy
ab7e71f1b2
Add exception wrapping utilities, will help issues like #60 2023-11-15 21:24:26 -05:00
Jeremy
61d536bc02
Put noinline macro in header 2023-11-15 15:22:59 -05:00
Jeremy
520962162c
Improvement for trace printing with missing symbols or filenames 2023-11-15 15:10:22 -05:00
Jeremy
79bc580519
Handle multiple symbol back-ends better 2023-11-15 15:09:08 -05:00
Jeremy
fec5324502
Fix 2023-11-15 12:50:37 -05:00
Jeremy
f6468b7a01
Update _Unwind to not rely on a hard max frames 2023-11-15 12:48:01 -05:00
Jeremy
15572b029d
Bump hard max frames from 100 to 200 2023-11-15 12:47:36 -05:00
Jeremy
0084de0f05
Some tweaks and fixes 2023-11-15 12:17:18 -05:00
Jeremy
49c86921ce
Update test case expected outputs 2023-11-15 12:16:43 -05:00
Jeremy
feef9a3265
Fix 2023-11-15 11:55:59 -05:00
Jeremy
aed456bc63
Handle null lines / columns better 2023-11-15 11:52:24 -05:00
Jeremy
37a3ea7978
Adjust indentation 2023-11-15 00:36:02 -05:00
Jeremy
bb487d3e56
Conditionally find_dependency(libdwarf) 2023-11-15 00:34:45 -05:00
Jeremy
c6ea891629
Address -Wmissing-field-initializers warnings 2023-11-14 22:58:10 -05:00
Jeremy
81eddcce3a
Try to bump to windows 2022 runner 2023-11-14 18:56:18 -05:00
Jeremy
8297d234f6
Use an optimized mirror for libdwarf 2023-11-13 11:48:15 -05:00
Jeremy
fd5dc92a2c
Forgot to update CI/docs 2023-11-13 10:50:53 -05:00
Jeremy
b28cb54ced
Rename demo/test options to CPPTRACE_BUILD_TESTING 2023-11-13 10:44:50 -05:00
Jeremy
96a55fc686
Fix windows build, and prevent future warnings 2023-11-12 23:42:26 -05:00
Jeremy
e80afd460b
Add safe tracing interface 2023-11-12 23:31:41 -05:00
Jeremy Rifkin
44ba826f67
Try to split up CI a bit more so it runs faster (#63) 2023-11-12 17:45:25 -05:00