https://github.com/quarkslab/erlang-prism
PRISM is a disassembler for Erlang BEAM virtual machine bytecode
https://github.com/quarkslab/erlang-prism
Last synced: 5 months ago
JSON representation
PRISM is a disassembler for Erlang BEAM virtual machine bytecode
- Host: GitHub
- URL: https://github.com/quarkslab/erlang-prism
- Owner: quarkslab
- License: apache-2.0
- Created: 2024-04-24T12:37:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-21T05:38:51.000Z (11 months ago)
- Last Synced: 2025-08-21T07:35:21.482Z (11 months ago)
- Language: Python
- Size: 122 KB
- Stars: 5
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Prism: a light BEAM disassembler
================================
Install instructions
--------------------
Use *pip* to install this tool, preferrably in a virtual environment:
```
$ git clone https://github.com/quarkslab/erlang-prism.git
$ cd erlang-prism
$ pip install .
```
How to use Prism
----------------
*Prism* can disassemble any BEAM or EZ (BEAM archive) file using the following options:
```
$ erlang-prism -o my_output_dir -f my_example_file.beam
```
This command will disassemble `my_example_file.beam` in the output directory `my_output_dir`.
The `-s` option can be used for batch processing:
```
$ erlang-prism -o my_batch_output -s ./beam-files
```
In this case, *prism* will look for any BEAM or EZ file present in the provided directory and its subdirectories, disassemble them and store the disassembled files in the specified output directory `my_batch_output`.
Syntax highlighting
-------------------
A [VIM syntax file is provided](vim-syntax/beamc.vim) and can be used to highlight the
disassembled files, saved with the `.beamc` extension.