From c08cf3f1eaa73a5171c27044100479998104d58a Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Wed, 15 Apr 2026 11:15:08 -0400 Subject: [Python API] Fix exception in LanguageRepresentationFunction.get_block_lines --- python/languagerepresentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/languagerepresentation.py b/python/languagerepresentation.py index 17dd2b9e..fccc7aa5 100644 --- a/python/languagerepresentation.py +++ b/python/languagerepresentation.py @@ -618,7 +618,7 @@ class LanguageRepresentationFunction: for i in range(0, count.value): addr = lines[i].addr if lines[i].instrIndex != 0xffffffffffffffff: - il_instr = instr.function[lines[i].instrIndex] # type: ignore + il_instr = block.function[lines[i].instrIndex] else: il_instr = None color = highlight.HighlightColor._from_core_struct(lines[i].highlight) -- cgit v1.3.1