PATDroid - 用于分析Android应用程序和系统本身的工具和数据结构集合

网友投稿 834 2022-11-01

PATDroid - 用于分析Android应用程序和系统本身的工具和数据结构集合

PATDroid - 用于分析Android应用程序和系统本身的工具和数据结构集合

PATDroid is a collection of tools and data structures for analyzing Android applications and the system itself. We intend to build it as a common base for developing novel mobile software debugging, refactoring, reverse engineering tools.

dependencies { compile group: 'mxia.me', name: 'patdroid', version: '1.0.0'}

The master branch is the nightly dev branch, which could diverge greatly from the maven artifacts.

Packages

Here is a one-sentence description for each package. Find the detailed usage tutorials on our wiki by clicking on the package name to redirect to their wiki pages. Most public APIs are Java-doced. PATDroid requires Java6+. It goes well with Oracle/OpenJDK 1.6, 1.7, Dalvik (Yes, you can run it on a smartphone). Gradle (wrapper) is the default build system. You can import the project to IntelliJ IDEA (File->Import from Gradle Project) and Eclipse (similar).

patdroid.core: provide abstractions for methods, classes, fields, and primitive Java type valuespatdroid.permission: specify what Android permissions are needed for every Android APIspatdroid.fs: an emulated and simplified Android file systempatdroid.dalvik: Android Dalvik JVM instructions and representationspatdroid.smali: using SMALI to extract classes, methods, fields and instructions from an APK

Closely related functionality:

patdroid.dex2jar: using dex2jar to extract classes, methods, fields and instructions from an APK. This has been deprecated and removed.Layout XMLs and manifest file, please refer to apktool and various AXML parsers exist for different programming languages.Taint sources and sinks: FlowDroid provides a list of sources and sinks for taint analysis that we cross referenced.Soot: my tribute to Sable's Soot and the happy seminar time at McGill McConnell 2rd floor. Soot provides a disassembler similar to smali, and a lot of high-level program analysis constructs and tasks, such as Call Graph. Also FlowDroid provides a nice and complete flow analysis.

History and Philosophy

PATDroid was part of AppAudit, which is a tool that simulates the execution of app code and checks if it leaks sensitive user data. You can find out more details from our S&P'15 paper. We make part of AppAudit public to be useful to researchers and developers. Overall, we try to make the entire project

concise (with fewer abstractions as possible such that users wont feel like searching a needle in the ocean)properly documented (javadoc, and wiki tutorial)loosely coupled (packages trying to be self-contained)efficient (graduate students need life with bf/gf not waiting for computers to complete analyses)look like good code

If you want to contribute, make sure you follow these traditions and feel free to submit a pull request. Note that quick-and-dirty patches require many efforts to make them ready, and thus take more time to merge. I am always open to suggestions and willing to hear interesting projects that make use of PATDroid. Right now, several exciting research projects across McGill University and Shanghai Jiao Tong University are using PATDroid. We will update links to them soon.

Contact: email, new issues, pull requests.PATDroid uses Apache License 2.0. If you would like to use PATDroid in academic publications, bibtex can be found here.

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:基于servlet实现统计网页访问次数
下一篇:PrettyStackTrace允许Swift命令行程序在引发终止信号时打印执行行为踪迹
相关文章

 发表评论

暂时没有评论,来抢沙发吧~