-
Notifications
You must be signed in to change notification settings - Fork 371
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5b68ff2
commit 8b57343
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters