decompiler (util v1.3.5)

View Source

Module and function decompiler

In order to use decompiler, make sure to include syntax_tools application in dependencies.

See also https://github.com/hrzndhrn/beam_file

Author: Serge Aleynikov saleyn@gmail.com

Summary

Functions

Decompile a function to its source text

Decompile a function to its source text

Decompile a beam file

Decompile a beam file or module and optionally save it to disk

Functions

fun_src(Fun)

Decompile a function to its source text

fun_src(Fun, Options)

-spec fun_src(function(), Options :: [verbose | ast]) -> string().

Decompile a function to its source text

run(BeamFName)

-spec run(string() | binary()) -> ok | {error, any()}.

Decompile a beam file

run/2

-spec run(string() | binary() | atom(), [verbose | erl | ast]) -> ok | {error, any()}.

Decompile a beam file or module and optionally save it to disk