Skip to content

Commit cf01c36

Browse files
CouleeAppsemesare
authored andcommitted
Update hlil body detection through the power of i hardcoded it
1 parent f10c30f commit cf01c36

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

python/renderlayer.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,11 @@ def apply_to_linear_view_object(
389389
:return: Updated set of lines to display in Linear View
390390
"""
391391
# Hack: HLIL bodies don't have basic blocks
392-
if obj.identifier.name == "Body":
392+
if obj.identifier.name in [
393+
"HLIL Function Body",
394+
"HLIL SSA Function Body",
395+
"Language Representation Function Body"
396+
]:
393397
self.apply_to_hlil_body(lines[0].function, lines)
394398
return lines
395399

0 commit comments

Comments
 (0)