MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / hlil

Method hlil

python/function.py:1140–1152  ·  view source on GitHub ↗

returns HighLevelILFunction used to represent high level IL, or None if an error occurs while loading the IL (read-only) .. note:: This function causes high level IL to be generated if it has not been already. It is recommended to generate IL on-demand to avoid excessive memory usage i

(self)

Source from the content-addressed store, hash-verified

1138
1139 @property
1140 def hlil(self) -> Optional['highlevelil.HighLevelILFunction']:
1141 """
1142 returns HighLevelILFunction used to represent high level IL, or None if an error occurs while loading the IL
1143 (read-only)
1144
1145 .. note::
1146 This function causes high level IL to be generated if it has not been already. It is recommended to generate
1147 IL on-demand to avoid excessive memory usage instead of generating IL for all functions at once.
1148 """
1149 result = core.BNGetFunctionHighLevelIL(self.handle)
1150 if not result:
1151 return None
1152 return highlevelil.HighLevelILFunction(self.arch, result, self)
1153
1154 @property
1155 def hlil_if_available(self) -> Optional['highlevelil.HighLevelILFunction']:

Callers

nothing calls this directly

Calls 1

HighLevelILFunctionMethod · 0.80

Tested by

no test coverage detected