This is an archive of the discontinued LLVM Phabricator instance.

[DFSan] Add dfsan-combine-taint-lookup-table option as work around for false negatives when dfsan-combine-pointer-labels-on-load=0 and dfsan-combine-offset-labels-on-gep=0 miss data flows through lookup tables.
ClosedPublic

Authored by browneee on Mar 31 2022, 12:15 AM.

Diff Detail

Event Timeline

browneee created this revision.Mar 31 2022, 12:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 31 2022, 12:15 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
browneee requested review of this revision.Mar 31 2022, 12:15 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 31 2022, 12:15 AM
Herald added subscribers: llvm-commits, Restricted Project. · View Herald Transcript
vitalybuka accepted this revision.Apr 5 2022, 10:17 AM

description title is unusually long

llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
803

drop {}
and the rest of the patch

1850

in llvm code we usually omit {} on simple cases like this

2111

V->stripPointerCasts() ?

This revision is now accepted and ready to land.Apr 5 2022, 10:17 AM
browneee removed a reviewer: kda.
browneee updated this revision to Diff 420580.Apr 5 2022, 11:05 AM
browneee marked 2 inline comments as done.

Fix extra braces.

llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
2111

This is different - it traverses through non-zero GEPs.

This revision was landed with ongoing or failed builds.Apr 5 2022, 11:07 AM
This revision was automatically updated to reflect the committed changes.