An open API service indexing awesome lists of open source software.

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)

Awesome Lists containing this project

README

          

Class File Analyzer (CFA)
![CI result](../../actions/workflows/ci.yml/badge.svg)
![CodeQL](../../workflows/CodeQL/badge.svg)
===================

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