SkillAgentSearch skills...

Markii

Android/Java Static Analysis Library

Install / Use

/learn @izgzhen/Markii
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

MarkII

HTML version

Android/Java Static Analysis Library.

Dependency

Usage

./build-run-markii.sh $APK_PATH $OUTPUT_PATH
  • Input $APK_PATH: path to input APK file
  • Output $OUTPUT_PATH: path to output directory
    • This directory will contain all *.fact output as well as other supporting files if any.

Supported facts (partial, see com.research.nomad.markii.FactsWriter.Fact for a complete list):

  • eventHandler(e: Event, cb: Method, v: ViewID)
    • When event e is trigger on view v, the handler cb will run
  • layoutWidth(dim: Dimension, v: ViewID)
    • The layout width of view v is dim (e.g. fill_parent)
  • mainActivity(act: Class)
    • The main activity of the APK is act
  • idName(n: String, v: ViewID)
    • The id-name of view v is n
  • ...

Algorithms

Tutorial

SPARK is the default call graph and pointer analysis producer for Soot. It is better than CHA though flow-insensitive and context-insensitive. Also, older Soot library's SPARK has some problems processing the latest versions of android apps.

Acknowledgements

  • http://web.cse.ohio-state.edu/presto/software/gator/

Contributors

  • Luxi Wang
View on GitHub
GitHub Stars5
CategoryDevelopment
Updated4y ago
Forks0

Languages

Java

Security Score

70/100

Audited on Apr 16, 2021

No findings