diff options
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index ea0aba4f..009e668d 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -45,6 +45,8 @@ from .enums import ( TypeClass, BinaryViewEventType, FunctionGraphType, TagReferenceType, TagTypeType, RegisterValueType, LogLevel, DisassemblyOption ) +from .exceptions import RelocationWriteException + from . import associateddatastore # required for _BinaryViewAssociatedDataStore from .log import log_warn, log_error, Logger from . import typelibrary @@ -82,11 +84,6 @@ LineMatchCallbackType = Callable[[int, 'lineardisassembly.LinearDisassemblyLine' StringOrType = Union[str, '_types.Type', '_types.TypeBuilder'] -class RelocationWriteException(Exception): - """ Exception raised when a relocation fails to apply """ - pass - - @dataclass(frozen=True) class ReferenceSource: function: Optional['_function.Function'] |
