Skip to content

Instantly share code, notes, and snippets.

@DongShuaike
DongShuaike / .py
Last active October 8, 2019 01:55
transform dalvik format (androguard) to soot format (flowdroid)
from androguard import misc
"""
The info of methods given by androguard has a different format between that given by Soot.
To facilitate the FlowDroid tool, I implemented the tool to transform the format.
The script works on Androguard 3.0-dev.
The main function is getFuncNames(), we use androguard API AnalyzeAPK to traverse all functions in all classes
and transform them into soot formats.
"""