FlowDroid
FlowDroid copied to clipboard
FlowDroid fails to find the leak in my test apk
I write a demo app to test the FlowDroid, but it fails to find the leak. Here is the related code:
public class Parent {
public String foo() {
return "Hello Taint";
}
}
TextView text = findViewById(R.id.text);
Parent p = new Parent();
String s = p.foo() + '!';
text.setText(s);
FlowDroid succeeds to find the leak when I pass 'p.foo()' to TextView.setText() directly, but fails when I change it as I show before. I use the version 2.6.1. Is there any configuration I need to set in InfoflowConfiguration, or is it not considered as a leak?