dwarflang.decoder module¶
- class dwarflang.decoder.Decoder(structs: Any)¶
Bases:
elftools.dwarf.dwarf_expr.DWARFExprParserA decoder for the DWARF binary expression format.
Expressions in the DWARF expression language are usually embedded in a binary format. This class uses pyelftools’
DWARFExprParserfunctionality to decode these into a meaningful Python datastructure.- Parameters
structs (Any) –
- Return type
None
- get_result() List[dwarflang.ast.DwarfInstr]¶
- Return type
List[dwarflang.ast.DwarfInstr]
- process_expr(expr: List[int]) None¶
- Parameters
expr (List[int]) –
- Return type
None