This project is a command-line version of Jar Analyzer ↗, which is easier to use and provides better customization for analysis and search.
This project can turn one or multiple jar
files into a sqlite
database, which can be analyzed with self-written sql
statements.
Build the rt.jar
database (takes less than a minute):
java -jar jar-analyzer-cli.jar build --jar "/path/to/rt.jar"
Build the weblogic
database (takes several minutes):
java -jar jar-analyzer-cli.jar build --jar "/path/to/Oracle/wlserver/modules"
The tables in the database include:
- anno_table: annotation table
- class_file_table: class file location table
- class_table: class information table
- interface_table: interface table
- jar_table: jar file table
- member_table: class member variable table
- method_call_table: method call table
- method_impl_table: method implementation table
- method_table: method information table
This project is developed using JetBrains IDEA. Thanks to JetBrains for providing me with a free license, which is a strong support for me.