/Lotrack

Primary LanguageJava

Lotrack

Tracking Load-time Configuration Options

Abstract

Highly-configurable software systems are pervasive, although configuration options and their interactions raise complexity of the program and increase maintenance effort. Especially load-time configuration options, such as parameters from command-line options or configuration files, are used with standard programming constructs such as variables and if statements intermixed with the program’s implementation; manually tracking configuration options from the time they are loaded to the point where they may influence control-flow decisions is tedious and error prone. We design and implement Lotrack, an extended static taint analysis to automatically track configuration options. Lotrack derives a configuration map that explains for each code fragment under which configurations it may be executed. An evaluation on Android applications shows that Lotrack yields high accuracy with reasonable performance. We use Lotrack to empirically characterize how much of the implementation of Android apps depends on the platform’s configuration options or interactions of these options.

Authors

Max Lillack

Christian Kästner

Eric Bodden

Screenshots

Feature KEYBOARD

Combination of Features (Mapping Jimple->Java not perfect)

Feature DEVICE/MANUFACTURER

Same example in Jimple

Feature DEVICE/MANUFACTURER

Projects

Soot (forked from https://github.com/Sable/soot)

soot-infoflow (forked from https://github.com/secure-software-engineering/soot-infoflow)

soot-infoflow-android (forked from https://github.com/secure-software-engineering/soot-infoflow-android)

SPLLift_neu (forked from https://github.com/secure-software-engineering/SPLlift)

heros (IFDS/IDE solver, forked from https://github.com/Sable/heros)

loadtime-gui (Used to display configuration map)

soot-infoflow and soot-infoflow-android are part of FlowDroid.

Evaluation

Selected Apps from FDroid

[Guideline document](Evaluation/Manual App Review Guidelines.pdf)

Result Document

[Result Data (MongoDB dump, for use with loadtime-gui](Evaluation/MongoDB dump.zip)

Performance Result

Script to randomly select apps from FDroid

Considered repository (full set at time of evaluation)

Thanks to the FDroid project.