angr.analyses.decompiler.edits.errors

exception angr.analyses.decompiler.edits.errors.DecompilationEditError

Bases: AngrError

Base class for every failure raised by the decompilation edit layer.

exception angr.analyses.decompiler.edits.errors.FunctionNotFoundError

Bases: DecompilationEditError

No function matches the given address or name.

exception angr.analyses.decompiler.edits.errors.AmbiguousFunctionError

Bases: DecompilationEditError

More than one function matches the given name. Renames make this reachable.

exception angr.analyses.decompiler.edits.errors.VariableNotFoundError

Bases: DecompilationEditError

No variable in the decompilation matches the given display name.

candidates carries the names that are available, so a caller that failed can correct itself without a second round trip.

exception angr.analyses.decompiler.edits.errors.NotDecompiledError

Bases: DecompilationEditError

The function has no cached decompilation, so there is nothing to edit.

exception angr.analyses.decompiler.edits.errors.InvalidNameError

Bases: DecompilationEditError

The requested name is not a usable identifier.

exception angr.analyses.decompiler.edits.errors.NameCollisionError

Bases: DecompilationEditError

The requested name is already bound to a different function, variable, or label.

exception angr.analyses.decompiler.edits.errors.TypeParseError

Bases: DecompilationEditError

A C type declaration or function signature could not be parsed.

exception angr.analyses.decompiler.edits.errors.UnsupportedEditError

Bases: DecompilationEditError

The requested edit is not supported for this kind of target.