angr.analyses.decompiler.notes¶
- class angr.analyses.decompiler.notes.DecompilationNote
Bases:
objectDescribes a note that is generated during decompilation.
Key is a unique string for the decompilation note. It is used as an index in the decompilation notes dictionary in the Decompiler class. Name is string for display by default. Content is the actual content of the note. It can be of any time, but for custom types, you must override __str__ so that it can be displayed. Level is the level of the note. The following values are available: DecompilationNoteLevel.DEBUG, DecompilationNoteLevel.INFO, DecompilationNoteLevel.WARNING, and DecompilationNoteLevel.CRITICAL.
- __init__(key, name, content, *, level=DecompilationNoteLevel.INFO)
- key
- name
- content
- level
- to_json()
- Return type:
- classmethod from_jsonable(d)
- Return type:
- Parameters:
- classmethod from_json(s)
- Return type:
- Parameters:
s (str)
- class angr.analyses.decompiler.notes.DecompilationNoteLevel
Bases:
EnumEnum class describing the level of each decompilation note.
- DEBUG = 0¶
- INFO = 1¶
- WARNING = 2¶
- CRITICAL = 3¶
- class angr.analyses.decompiler.notes.DeobfuscatedString
Bases:
objectRepresents a deobfuscated string.
- __init__(value, obf_type, ref_addr=None)
- value
- type
- ref_addr
- class angr.analyses.decompiler.notes.DeobfuscatedStringsNote
Bases:
DecompilationNoteRepresents a decompilation note that describes obfuscated strings found during decompilation.
- strings: dict[int, DeobfuscatedString]
- add_string(obf_type, value, *, ref_addr)
Add a deobfuscated string to the note.
- content
- key
- level
- name
Submodules