Class File Reader - a Java class file parser
C Java Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test Add lok, strok, test_long functions May 26, 2013
.gitignore
LICENSE Add clause for uthash Mar 11, 2013
README.md Add test section May 5, 2013
SConstruct
build.sh
run.sh
valgrind.sh

README.md

cfr

Class File Reader - a Java class file parser written in C.

Introduction

This program reads Java class files and reports on the class and its structure.

Why?

For fun.

Build

Run the scons command to build the source and produce a binary called "cfr". You can use build.sh which will clean and then compile the cfr binary.

Testing

This project uses libtap for its unit testing.

The test suite is in the test directory, along with numerous test class files in test/files/.

To run the suite, change to the test directory and execute scons -c; scons && ./cfr-tests to run the suite.

Usage

./cfr .class [.class ..]

License

Please read the LICENSE file.