Skip to content

YaSuenag/cfa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Class File Analyzer (CFA) CI result CodeQL

Analyze class files from ConstantPool.

How to Build

Requirements

  • JDK 22 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