angr.analyses.decompiler.notes.decompilation_note

class angr.analyses.decompiler.notes.decompilation_note.DecompilationNoteLevel

Bases: Enum

Enum class describing the level of each decompilation note.

DEBUG = 0
INFO = 1
WARNING = 2
CRITICAL = 3
class angr.analyses.decompiler.notes.decompilation_note.DecompilationNote

Bases: object

Describes 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)
Parameters:
key
name
content
level