summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2018-03-23 23:38:04 +0000
committerAlex Shlyapnikov <alekseys@google.com>2018-03-23 23:38:04 +0000
commit5cd35ed4fe72d96354c6f17ae071747ea62f0f14 (patch)
treebad0c40ccfb9bba041e525bdcd2094d9081d31d6 /lldb/packages/Python/lldbsuite/test
parent5317f2e4c907fd1eca64772bdd2c23364adfaa77 (diff)
downloadbcm5719-llvm-5cd35ed4fe72d96354c6f17ae071747ea62f0f14.tar.gz
bcm5719-llvm-5cd35ed4fe72d96354c6f17ae071747ea62f0f14.zip
[HWASan] Port HWASan to Linux x86-64 (compiler-rt)
Summary: Porting HWASan to Linux x86-64, first of the three patches, compiler-rt part. The approach is similar to ARM case, trap signal is used to communicate memory tag check failure. int3 instruction is used to generate a signal, access parameters are stored in nop [eax + offset] instruction immediately following the int3 one Had to add HWASan init on malloc because, due to much less interceptors defined (most other sanitizers intercept much more and get initalized via one of those interceptors or don't care about malloc), HWASan was not initialized yet when libstdc++ was trying to allocate memory for its own fixed-size heap, which led to CHECK-fail in AllocateFromLocalPool. Also added the CHECK() failure handler with more detailed message and stack reporting. Reviewers: eugenis Subscribers: kubamracek, dberris, mgorny, kristof.beyls, delcypher, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D44705 llvm-svn: 328385
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud