Skip to content

semantic-graph/seguard-java

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SeGuard Java Library

Build Status

Extract approximate dependency graph from Java/Android/JavaScript.

Usage

Analyze Java:

make init
make
java -Djava.io.tmpdir=/tmp -Xmx4096m -jar target/seguard-1.0-SNAPSHOT-jar-with-dependencies.jar \
    -apk path/to/input.apk -android $ANDROID_SDK/platforms -outputPath path/to/output.gexf \
    -mode core -sourceSinkFile config/SourcesAndSinks.txt -apkclasses /tmp/classes.txt \
    -config path/to/config.yaml \
    -java /tmo/output.jar.out

Analyze JS (see src/test/resources/config.yaml for example config file):

./seguardjs-cli path/to/filename.js path/to/output.js.gexf path/to/config.yaml

Test

Unit Tests

mvn -q test

Test files:

  • src/test/scala/edu/washington/cs/seguard/JsTest.scala

End2end Tests

Test Java analysis:

make test-js-e2e

Test JS analysis:

make test-java-e2e

About

Static analysis library for extracting the approximate dependency graph from Java/Android/JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published