JordanSamhi / AndroLog

An Android Instrumentation tool to compute Code Coverage
GNU Lesser General Public License v2.1
8 stars 1 forks source link

AndroLog

Welcome to AndroLog, your simple solution to insert probes into Android apps with the goal to compute code coverage at runtime.

AndroLog offers, so far, several levels of granularity:

Do not hesitate to contribute or open issues may you need additional levels of granularity.

:rocket: Getting started

:arrow_down: Downloading the tool

git clone https://github.com/JordanSamhi/AndroLog.git

:wrench: Installing the tool

➡️ Before compiling AndroLog, make sure to set the paths to zipalign and apksigner in the config.properties file located in src/main/resources/

cd AndroLog
mvn clean install

:computer: Using the tool

java -jar AndroLog/target/androlog-0.1-jar-with-dependencies.jar options

Options:

:information_source: Examples

Instrumenting

  java -jar AndroLog/target/androlog-0.1-jar-with-dependencies.jar -p ./Androidplatforms/ -l MY_SUPER_LOG -o ./output/ -a my_app.apk -c -m -cp

Computing Code Coverage

  java -jar AndroLog/target/androlog-0.1-jar-with-dependencies.jar -p ./Androidplatforms/ -l MY_SUPER_LOG -a my_app.apk -c -m -cp -pa logs

:hammer: Built With

:page_with_curl: License

This project is licensed under the GNU LESSER GENERAL PUBLIC LICENSE 2.1 - see the LICENSE file for details

:email: Contact

For any question regarding this study, please contact us at: Jordan Samhi