[PATCH] D97483: [dfsan] Propagate origins for callsites
stephan.yichao.zhao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 09:12:34 PST 2021
stephan.yichao.zhao created this revision.
stephan.yichao.zhao added a reviewer: morehouse.
Herald added a subscriber: hiraditya.
stephan.yichao.zhao requested review of this revision.
Herald added projects: Sanitizers, LLVM.
Herald added subscribers: llvm-commits, Sanitizers.
This is a part of https://reviews.llvm.org/D95835.
Each customized function has two wrappers. The
first one dfsw is for the normal shadow propagation. The second one dfso is used
when origin tracking is on. It calls the first one, and does additional
origin propagation. Which one to use can be decided at instrumentation
time. This is to ensure minimal additional overhead when origin tracking
is off.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D97483
Files:
compiler-rt/lib/dfsan/dfsan.syms.extra
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
llvm/test/Instrumentation/DataFlowSanitizer/origin_abilist.ll
llvm/test/Instrumentation/DataFlowSanitizer/origin_call.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97483.326421.patch
Type: text/x-patch
Size: 35057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210225/de8a70a6/attachment-0001.bin>
More information about the llvm-commits
mailing list