/JavaOctetEditor

A simple java bytecode editor

Primary LanguageJavaApache License 2.0Apache-2.0

JavaOctetEditor

This is the continue of JavaOctetEditor. Keep the latest library, remove upstream problems and absorb upstream ideas.

GitHub all releases GitHub release (latest by date) GitHub release (latest SemVer including pre-releases) GitHub

image

Usage

File Input

  • From the top menu File > Load...
  • From the top menu File > Load Recent
  • Drag the file directly into the window

File Output

The changes you make are not saved directly into the file, you need to export it.

  • top menu File > Save... for jar.
  • top menu File > Save All Sources for the decompiled source jar.

Edit

Bytecode View

view only

Decompile Edit

view and edit. When it got save (ctrl + s (Configurable)), we will try to recompile it.

Edit Config Application > makeDemoRecompileEnvironment true or only parse Java basic symbols.

The DemoRecompileEnvironment get information from existing bytecode and create demo symbols, but it is not reliable.

Visitor Edit

Edit the Visitor code and save (ctrl + s (Configurable)) it.

Info Edit

Edit the outline info for class.

Search

Search Field, Method, LDC Constant, Opcode...

Right click the result could have a operation menu.

Remapping

  • Drag the mapping file directly into the window
  • From the top menu Mapping

Summarize

This is a simple and easy to use editor that is much simpler to use than other editors and removes excessive packaging.