jawa.cli package

jawa

jawa [OPTIONS] COMMAND [ARGS]...

attributes

List enabled Attributes.

Prints a list of all enabled ClassFile Attributes.

jawa attributes [OPTIONS]

def2json

Convert a bytecode.yaml file into a prepared bytecode.json.

Jawa internally uses a YAML file to define all bytecode opcodes, operands, runtime exceptions, default transforms, etc…

However since JSON is available in the python stdlib and YAML is not, we process this YAML file before distribution to prevent adding an unnecessary dependency.

jawa def2json [OPTIONS] SOURCE

Arguments

SOURCE

Required argument

dependencies

Output a list of all classes referenced by the given source.

jawa dependencies [OPTIONS] SOURCE

Arguments

SOURCE

Required argument

grep

Grep the constant pool of all classes in source.

jawa grep [OPTIONS] SOURCE REGEX

Options

--stop-on-first

Stop iteration on first matching class.

Arguments

SOURCE

Required argument

REGEX

Required argument

ins

Lookup instruction information.

Lookup an instruction by its mnemonic.

jawa ins [OPTIONS] MNEMONIC

Arguments

MNEMONIC

Required argument

shell

Drop into a debugging shell.

jawa shell [OPTIONS]

Options

-cp, --class-path <class_path>