TLX.Extractor.Erlang
(TLX v0.5.2)
Copy Markdown
Extracts OTP structure from compiled Erlang BEAM files (ADR-0012 Tier 2).
Uses :beam_lib.chunks/2 to read the abstract_code chunk, then walks
the Erlang abstract format to extract gen_server or gen_fsm structure.
Usage
{:ok, result} = TLX.Extractor.Erlang.extract_from_beam(:my_erl_module)
{:ok, result} = TLX.Extractor.Erlang.extract_from_binary(binary)Requires modules compiled with debug_info (default in Mix dev/test).
Summary
Functions
Extract OTP structure from a loaded Erlang module.
Extract OTP structure from a compiled BEAM binary.