[PATCH] D92629: [dfsan] Add empty APIs for field-level shadow
stephan.yichao.zhao via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 3 19:07:31 PST 2020
stephan.yichao.zhao created this revision.
stephan.yichao.zhao added reviewers: morehouse, pcc.
Herald added a subscriber: hiraditya.
stephan.yichao.zhao requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This is a child diff of D92261.
This diff adds APIs that return shadow type/value/zero from origin
objects. For the time being these APIs simply returns primitive
shadow type/value/zero. The following diff will be implementing the
conversion.
As D92261 explains, some cases still use primitive shadow during
the incremential changes. The cases include
1) alloca/load/store
2) custom function IO
3) vectors
At the cases this diff does not use the new APIs, but uses primitive
shadow objects explicitly.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92629
Files:
llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92629.309443.patch
Type: text/x-patch
Size: 10777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201204/d386166d/attachment.bin>
More information about the llvm-commits
mailing list