diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-09-28 14:49:32 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-28 14:49:32 -0400 |
| commit | a249539c2d198a7ad80b1936dc209d109b4efe3b (patch) | |
| tree | 3a5770c46217e90385e3dfcac3674002ef314674 /python | |
| parent | ebb964c2793e7833dd55e2d5705a33f256b8b899 (diff) | |
Fix assert message in lowlevelil.py
Diffstat (limited to 'python')
| -rw-r--r-- | python/lowlevelil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py index cad8828c..f0311bed 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -522,7 +522,7 @@ class LowLevelILInstruction: def tokens(self) -> TokenList: """LLIL tokens (read-only)""" count = ctypes.c_ulonglong() - assert self.function.arch is not None, f"type(self.function): {type(self.function)} " + assert self.function.arch is not None, f"self.function.arch is None" tokens = ctypes.POINTER(core.BNInstructionTextToken)() result = core.BNGetLowLevelILExprText(self.function.handle, self.function.arch.handle, self.expr_index, tokens, count) |
