FlowDroid icon indicating copy to clipboard operation
FlowDroid copied to clipboard

Is there a taint analysis tool for open-source application

Open bay0max opened this issue 10 months ago • 3 comments

Is there a taint analysis tool for open-source application which can analyze source code of application

bay0max avatar Apr 08 '24 11:04 bay0max

FlowDroid is a pure binary scanner. For analyzing source code, I recommend compiling the source to binary and then applying FlowDroid on the binary.

StevenArzt avatar Apr 08 '24 14:04 StevenArzt

yeah,it works.I'm just wondering if source code analysis would be more efficient?Have you guys ever tried taint analysis of source code?

bay0max avatar Apr 09 '24 01:04 bay0max

We have chosen bytecode analysis, because the bytecode format remains fairly constant over time. There are hardly ever any new bytecode instructions.

In source code, on the other hand, you need to integrate support for all new language features (lambdas, "var" parameter types, etc.). These features are "compiler magic", so with bytecode analysis, we can leave all the work of mapping these features to the bytecode to the compiler.

Lastly, we do a lot of research on Android apps crawled from stores. We simply don't have the source code. The same applies to some of the commercial Java programs we get for commercial penetration testing and analysis projects.

StevenArzt avatar Apr 09 '24 07:04 StevenArzt