BSD Ports

devel/cfr 0.152 DragonFly

Class File Reader (CFR) Java decompiler

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, java
Package size
1867.0 KiB, 2112.0 KiB installed

Description

CFR will decompile modern Java features - up to and including much of Java 9, 10, 12 and beyond, but is written entirely in Java 6, so will work anywhere!

It'll even make a decent go of turning class files from other JVM langauges (like Kotlin) back into Java!

To use, simply run the specific version jar, with the class name(s) you want to decompile (either as a path to a class file, or as a fully qualified classname on your classpath). (Use --help to list arguments).

Alternately, to decompile an entire jar, simply provide the jar path, and if you want to emit files (which you probably do!) add --outputdir /tmp/putithere.

In the other systems

SystemPortVersion
DragonFlydevel/cfr0.152
FreeBSDdevel/cfr0.152_2
NetBSDdevel/cfr0.125
HardenedBSDdevel/cfr0.152_2
GhostBSDdevel/cfr0.152_2

Install

Binary package:

pkg install cfr

From DPorts:

cd /usr/dports/devel/cfr && make install clean

Dependencies

Run dependencies 1

No port depends on this one.