diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2013-08-22 20:08:08 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-08-22 20:08:08 +0000 |
| commit | f1366c552480f7c6b2b46b03e19bb798b3a47c66 (patch) | |
| tree | 5277472cc316f2be70f568db1eca3074927ce6f3 /lib/Bitcode/Reader/BitcodeReader.h | |
| parent | 094637408b806bb17c02daba2027f39eb73bb98a (diff) | |
| download | llvm-f1366c552480f7c6b2b46b03e19bb798b3a47c66.tar.gz llvm-f1366c552480f7c6b2b46b03e19bb798b3a47c66.tar.bz2 llvm-f1366c552480f7c6b2b46b03e19bb798b3a47c66.tar.xz | |
DataFlowSanitizer: Prefix the name of each instrumented function with "dfs$".
DFSan changes the ABI of each function in the module. This makes it possible
for a function with the native ABI to be called with the instrumented ABI,
or vice versa, thus possibly invoking undefined behavior. A simple way
of statically detecting instances of this problem is to prepend the prefix
"dfs$" to the name of each instrumented-ABI function.
This will not catch every such problem; in particular function pointers passed
across the instrumented-native barrier cannot be used on the other side.
These problems could potentially be caught dynamically.
Differential Revision: http://llvm-reviews.chandlerc.com/D1373
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions
