Created
September 23, 2018 01:58
-
-
Save kmicinski/5557ebca7f3c51f35fcec90c0449e596 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
method foo(argument1, argument2) { | |
r1 = argument1.baz(); | |
if (r1) { | |
r2 = 3; | |
} | |
if (argument2.bar()) { | |
// We want the taint here to be `argument2.bar()` rather than | |
// argument2.bar() /\ argument1.baz() | |
useCamera(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment