Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jar-analyzer/jar-analyzer-v1-cli
本项目可以把一个或多个Jar包构建成数据库,用户连接数据库后通过SQL语句任意搜索需要的内容,例如类和方法信息,方法调用关系等
https://github.com/jar-analyzer/jar-analyzer-v1-cli
bytecode
Last synced: 2 months ago
JSON representation
本项目可以把一个或多个Jar包构建成数据库,用户连接数据库后通过SQL语句任意搜索需要的内容,例如类和方法信息,方法调用关系等
- Host: GitHub
- URL: https://github.com/jar-analyzer/jar-analyzer-v1-cli
- Owner: jar-analyzer
- Archived: true
- Created: 2023-06-15T06:12:07.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-11T10:05:04.000Z (about 1 year ago)
- Last Synced: 2024-07-08T19:59:59.884Z (4 months ago)
- Topics: bytecode
- Language: Java
- Homepage: https://github.com/jar-analyzer/jar-analyzer
- Size: 63.5 KB
- Stars: 73
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Archive
## Jar Analyzer V2 is developing: https://github.com/jar-analyzer/jar-analyzer# Jar Analyzer Cli
![](https://img.shields.io/badge/build-passing-brightgreen)
![](https://img.shields.io/badge/build-Java%208-orange)
![](https://img.shields.io/github/downloads/4ra1n/jar-analyzer-cli/total)
![](https://img.shields.io/github/v/release/4ra1n/jar-analyzer-cli)[English Version](doc/README.md)
## 介绍
该项目是 [Jar Analyzer](https://github.com/4ra1n/jar-analyzer) 的命令行版本,更容易上手,更好的自定义分析与搜索
该项目可以把一个或一堆`jar`文件变成一个`sqlite`数据库,然后自行编写`sql`语句分析
## Quick Start
构建`rt.jar`数据库(耗时一分钟以内)
```shell
java -jar jar-analyzer-cli.jar build --jar "/path/to/rt.jar"
```构建`weblogic`数据库(耗时几分钟)
```shell
java -jar jar-analyzer-cli.jar build --jar "/path/to/Oracle/wlserver/modules"
```数据库的表有
- anno_table: 注解表
- class_file_table: class文件位置表
- class_table: 类信息表
- interface_table: 接口表
- jar_table: jar文件表
- member_table: 类成员变量表
- method_call_table: 方法调用表
- method_impl_table: 方法实现表
- method_table: 方法信息表![image](https://github.com/4ra1n/jar-analyzer-cli/assets/34726933/b2dc2732-c279-4962-8c5d-cb7668323756)
## Thanks
This project is developed using JetBrains IDEA.
Thanks to JetBrains for providing me with a free license, which is a strong support for me.