llvm-project/compiler-rt/lib/gwp_asan/tests
Mitch Phillips d19af2f247 [GWP-ASan] Crash handler API returns sizeof(collected trace)
Summary:
Fix up a slight bug with the crash handler API, where we say that we
return the size of the collected trace (instead of the size of the trace
that's returned) when the return buffer is too small, and the result is
truncated.

Also, as a result, patch up a small uninitialized memory bug.

Reviewers: morehouse, eugenis

Reviewed By: eugenis

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D84652
2020-07-27 10:51:55 -07:00
..
optional [GWP-ASan] Crash Handler API. 2020-02-05 15:39:17 -08:00
CMakeLists.txt [GWP-ASan] Split the unwinder into segv/non-segv. 2020-07-21 08:25:37 -07:00
alignment.cpp [GWP-ASan] Update alignment on Android. 2020-02-12 15:24:58 -08:00
backtrace.cpp [GWP-ASan] Crash handler API returns sizeof(collected trace) 2020-07-27 10:51:55 -07:00
basic.cpp [GWP-ASan] Crash Handler API. 2020-02-05 15:39:17 -08:00
compression.cpp [GWP-ASan] 32-bit test pointers, allow multi-init for test. 2019-12-09 08:19:54 -08:00
crash_handler_api.cpp [GWP-ASan] Fix unused variables from crash handler + clang-format 2020-02-05 17:31:32 -08:00
driver.cpp
enable_disable.cpp [GWP-ASan] enable/disable and fork support. 2020-01-24 13:53:26 -08:00
harness.cpp [GWP-ASan] enable/disable and fork support. 2020-01-24 13:53:26 -08:00
harness.h [GWP-ASan] Split the unwinder into segv/non-segv. 2020-07-21 08:25:37 -07:00
iterate.cpp [gwp-asan] Implement malloc_iterate. 2020-01-27 14:37:33 -08:00
late_init.cpp [GWP-ASan] Allow late initialisation if single-threaded. 2020-02-03 12:34:26 -08:00
mutex_test.cpp
slot_reuse.cpp Remove a few straggler ".cc"s in compiler-rt/lib 2019-08-01 17:53:25 +00:00
thread_contention.cpp [GWP-ASan] Crash Handler API. 2020-02-05 15:39:17 -08:00