Skip to content

generate application-only Java callgraphs using WALA

License

Notifications You must be signed in to change notification settings

bennostein/WALA-callgraph

 
 

Repository files navigation

WALA Callgraph Builder

Introduction

This is a simple utility that uses WALA to generate and serialize callgraphs for Java programs. It is based on the WALA-start example project, and as such shares the requirements, installation instructions, and license listed below.

In order to generate an application-only callgraph, install and then run

./run.py Lcom/example/MainClass <jar> <output>

This will analyze the java program <jar> from the entrypoint in com.example.MainClass, build a callgraph, and write to <output> a text file containing those callgraph edges originating in application code.

This serialized callgraph can then be used by other analysis tools as needed.

Requirements

Requirements are:

  • Java 8

Installation instructions will vary by operating system.

Installation

Clone the repository, and then run:

./gradlew compileJava

This will pull in the WALA jars and build the sample code.

License

All code is available under the Eclipse Public License.

About

generate application-only Java callgraphs using WALA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.1%
  • Python 1.9%