-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Test][FP] TaintTransform on Args #134
Conversation
"rule" : 1, | ||
"sink_index" : "0", | ||
"sinks" : | ||
[ | ||
{ | ||
"kinds" : | ||
[ | ||
{ | ||
"call_info" : "Origin", | ||
"kind" : "Sink", | ||
"origins" : | ||
[ | ||
"Lcom/facebook/marianatrench/integrationtests/Origin;.sink:(Ljava/lang/Object;)V" | ||
] | ||
} | ||
], | ||
"origin" : | ||
{ | ||
"method" : "Lcom/facebook/marianatrench/integrationtests/Origin;.sink:(Ljava/lang/Object;)V", | ||
"position" : | ||
{ | ||
"end" : 21, | ||
"line" : 279, | ||
"path" : "TaintTransforms.java", | ||
"start" : 16 | ||
} | ||
} | ||
} | ||
], | ||
"sources" : | ||
[ | ||
{ | ||
"kinds" : | ||
[ | ||
{ | ||
"call_info" : "Origin", | ||
"kind" : "Source", | ||
"origins" : | ||
[ | ||
"Lcom/facebook/marianatrench/integrationtests/Origin;.source:()Ljava/lang/Object;" | ||
] | ||
} | ||
], | ||
"local_positions" : | ||
[ | ||
{ | ||
"end" : 26, | ||
"line" : 278, | ||
"start" : 21 | ||
} | ||
], | ||
"origin" : | ||
{ | ||
"method" : "Lcom/facebook/marianatrench/integrationtests/Origin;.source:()Ljava/lang/Object;", | ||
"position" : | ||
{ | ||
"end" : 32, | ||
"line" : 277, | ||
"path" : "TaintTransforms.java", | ||
"start" : 27 | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arthaud This flow is unexpected
Discussed this offline. |
Summary
Minimal test showing a FP on Transform for the following piece of code
Expected to see only one flow which is Source -> T1 -> Sink
Actual: 2 flows