Skip to content

Latest commit

 

History

History
37 lines (22 loc) · 1.12 KB

README.md

File metadata and controls

37 lines (22 loc) · 1.12 KB

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.