[PATCH] D75168: [sanitizer][RISCV] Implement SignalContext::GetWriteFlag for RISC-V

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 26 05:08:53 PST 2020


luismarques created this revision.
luismarques added reviewers: lenary, asb.
Herald added subscribers: llvm-commits, Sanitizers, evandro, sameer.abuasal, s.egerton, Jim, benna, psnobl, rkruppe, rogfer01, atanasyan, shiva0217, kito-cheng, simoncook, arichardson, sdardis.
Herald added projects: Sanitizers, LLVM.

This patch follows the approach also used for MIPS, where we decode the offending instruction to determine if the fault was caused by a read or write operation, as that seems to be the only relevant information we have in the signal context structure to determine that.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75168

Files:
  compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75168.246680.patch
Type: text/x-patch
Size: 3129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200226/1cd37900/attachment.bin>


More information about the llvm-commits mailing list