Skip to content

Commit

Permalink
Add README
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverchang committed Jan 7, 2025
1 parent 5b68ff2 commit 37211d5
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions experimental/javareach/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Java reachability (WIP)

This is an experimental tool to statically enumerate the reachable classes in a
Java program.

The intention is to see if this can be used to exclude transitive dependencies
from vulnerability scanning completely, if they can be proven to be
unreachable.

## Usage

```
go run ./cmd/reachable -classpath=<classpath> path/to/root/class
```

Note that `<classpath>` currently only supports a single directory path
containing .class files, with a directory structure that mirrors the package
hierarchy. This is unlike classpaths supported by Java runtimes (which supports
specifying multiple directories and .jar files)

0 comments on commit 37211d5

Please sign in to comment.