Skip to content

Instantly share code, notes, and snippets.

@Risto-Stevcev
Created July 15, 2019 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Risto-Stevcev/f60395135b7dace5508fb0afe82d8e39 to your computer and use it in GitHub Desktop.
Save Risto-Stevcev/f60395135b7dace5508fb0afe82d8e39 to your computer and use it in GitHub Desktop.
Disassemble BEAM
-module(disassembler).
-export([disassemble/0]).
disassemble() ->
compile:file('hello.erl', ['S']).
-module(hello).
-export([hello_world/0]).
hello_world() ->
io:format("Hello, World!~n", []).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment