https://github.com/yasuenag/cfa
Class File Analyzer (CFA)
https://github.com/yasuenag/cfa
classfile java
Last synced: about 1 year ago
JSON representation
Class File Analyzer (CFA)
- Host: GitHub
- URL: https://github.com/yasuenag/cfa
- Owner: YaSuenag
- License: gpl-2.0
- Created: 2015-01-18T15:32:17.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2025-03-25T09:19:01.000Z (about 1 year ago)
- Last Synced: 2025-03-25T10:26:53.615Z (about 1 year ago)
- Topics: classfile, java
- Language: Java
- Size: 68.4 KB
- Stars: 11
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Class File Analyzer (CFA)


===================
Analyze class files from ConstantPool.
# How to Build
## Requirements
* JDK 23 or later
* Maven 3.6.3 or later
## Build
```
$ export JAVA_HOME=/path/to/jdk
$ mvn package
```
# How to use
```
$ cfa [options] [files (JAR or class file)]
```
# Options
* -h
* Help message
* -t class1,class2,...
* Target class.
* CFA will pick up classes from file list.
* -c class1,class2,...
* Class filter.
* CFA will pick up classes which include them in ConstantPool.
* -m method1,method2,...
* Method filter.
* CFA will pick up classes which include them in ConstantPool.
* -s
* Short output.
* If this option is added, CFA will output class name and file path only.
# License
GNU General Public License v2