Module decompiler

Authors: Serge Aleynikov (saleyn@gmail.com).

Description

Module and function decompiler

Function Index

fun_src/1Decompile a function to its source text.
fun_src/2Decompile a function to its source text.
run/1Decompile a beam file.
run/2Decompile a beam file and optionally save it to disk.

Function Details

fun_src/1

fun_src(Fun) -> any()

Decompile a function to its source text

fun_src/2

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

Decompile a function to its source text

run/1

run(BeamFilename :: string()) -> ok | {error, any()}

Decompile a beam file

run/2

run(BeamFName :: string(), Options :: [verbose | erl | ast]) ->
       ok | {error, any()}

Decompile a beam file and optionally save it to disk