From a249539c2d198a7ad80b1936dc209d109b4efe3b Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Tue, 28 Sep 2021 14:49:32 -0400 Subject: Fix assert message in lowlevelil.py --- python/lowlevelil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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) -- cgit v1.3.1