Skip to content

An Atom plug-in to show bytecode and OPAL three-adress code of class files.

License

Notifications You must be signed in to change notification settings

opalj/java-bytecode-disassembler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Bytecode Disassembler

A package for the Atom editor which enables you to easily run the OPAL Java Bytecode Disassembler on your java bytecode for a one-to-one representation of the class file directly from the Atom editor.

For more information on the OPAL project, visit opal-project.de.

Getting Started

Install the package from Atom's package installer by searching for Java-Bytecode-Disassembler. Alternatively (or if you want to work/expand on the package), you can install the package manually by downloading/cloning this repository and following the instructions below.

Requirements

Make sure you have the latest version of Atom installed. The plugin has been tested with version 1.27.2

Manual Installation

Clone the repository to your system

git clone https://github.com/nicolas-mosch/java-bytecode-disassembler

Move into the project's folder

cd java-bytecode-disassembler

Install dependencies

apm install

Link to Atom's packages

apm link

Usage

To use the package simply right-click on a .class file in the tree-view and click on Opal-Disassemble. This should open a new tab with the disassembled view. In the settings you can select whether you want to open .class files with the disassembler by default. You can also view a three-address code representation of an entire class file by clicking Show 3-Address-Code. To show the three-address code for a single method, right-click on the method name in a disassembled .class file and select the respective item.

Problems

If you encounter any problems installing the package from the atom package manager, you can try to install it via the command line using the command below.

apm install java-bytecode-disassembler

Latest Changes

  • v0.13.0 - Upgrade to OPAL 4.0
    • Allows for disassembling .class files newer than Java 10
    • Supports bytecode features up to Java 16
  • For a full list see: CHANGELOG.md

Authors

  • Nicolas Morew
  • Ruslan Sandler

License

This project is licensed under the BSD 2-Clause License - see the LICENSE.md file for details

About

An Atom plug-in to show bytecode and OPAL three-adress code of class files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •