From b6feff3f3d3bdcb4bea983a085f4ed794e186940 Mon Sep 17 00:00:00 2001 From: Xusheng Date: Tue, 16 Feb 2021 18:34:59 +0800 Subject: add a DisassemblySettings* parameter to MLIL/HLIL functions that retrieve instruction/expr text --- python/highlevelil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/highlevelil.py') diff --git a/python/highlevelil.py b/python/highlevelil.py index 1dc8a077..046d73a6 100644 --- a/python/highlevelil.py +++ b/python/highlevelil.py @@ -378,7 +378,7 @@ class HighLevelILInstruction(object): def lines(self): """HLIL text lines (read-only)""" count = ctypes.c_ulonglong() - lines = core.BNGetHighLevelILExprText(self._function.handle, self._expr_index, self._as_ast, count) + lines = core.BNGetHighLevelILExprText(self._function.handle, self._expr_index, self._as_ast, count, None) result = [] for i in range(0, count.value): addr = lines[i].addr -- cgit v1.3.1