This is an archive of the discontinued LLVM Phabricator instance.

[DFSan] Add option for conditional callbacks.
ClosedPublic

Authored by browneee on Dec 22 2021, 11:58 PM.

Details

Summary

This allows DFSan to find tainted values used to control program behavior.

Diff Detail

Event Timeline

browneee created this revision.Dec 22 2021, 11:58 PM
browneee requested review of this revision.Dec 22 2021, 11:58 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 22 2021, 11:58 PM
Herald added subscribers: llvm-commits, Restricted Project. · View Herald Transcript
browneee updated this revision to Diff 396059.Dec 23 2021, 11:34 AM

Fix formatting.

morehouse added inline comments.Jan 5 2022, 9:10 AM
compiler-rt/test/dfsan/conditional_callbacks.c
23

These Argv variables are unused.

56

Unused.

compiler-rt/test/dfsan/origin_conditional_callbacks.c
23

Argv variables unused again.

107

This test is nearly identical to conditional_callbacks.c. Let's combine them.

browneee updated this revision to Diff 397716.Jan 5 2022, 2:31 PM
browneee marked 4 inline comments as done.

Fix comments

This revision is now accepted and ready to land.Jan 5 2022, 3:01 PM
This revision was landed with ongoing or failed builds.Jan 5 2022, 3:08 PM
This revision was automatically updated to reflect the committed changes.