This is a small example project to help in getting started with the WALA program analysis framework. You can clone and build this project to get WALA installed, and then modify it to suit your own needs.
Requirements are:
- Java 8
- The Gradle build tool
On Mac OS X, you can install these requirements by installing Homebrew and then running:
brew cask install java
brew install gradle
If you'd prefer to stick with Java 7, everything should work fine.
Just edit the line sourceCompatibility = 1.8
in build.gradle
to
read sourceCompatibility = 1.7
.
Clone the repository, and then run:
gradle compileJava
This will pull in the WALA jars and build the sample code.
- Variants of a simple dataflow analysis, including an example driver
- Simple driver for building a call graph from a scope file
We plan to add more examples soon, like examples of doing Android or JavaScript analysis.
All code is available under the Eclipse Public License.