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

Method mlil_if_available

python/function.py:1075–1085  ·  view source on GitHub ↗

returns MediumLevelILFunction used to represent medium level IL, or None if not loaded or it cannot be generated (read-only) .. note:: This function can be used to check if medium level IL is available without generating it.

(self)

Source from the content-addressed store, hash-verified

1073
1074 @property
1075 def mlil_if_available(self) -> Optional['mediumlevelil.MediumLevelILFunction']:
1076 """
1077 returns MediumLevelILFunction used to represent medium level IL, or None if not loaded or it cannot be generated
1078 (read-only)
1079
1080 .. note:: This function can be used to check if medium level IL is available without generating it.
1081 """
1082 result = core.BNGetFunctionMediumLevelILIfAvailable(self.handle)
1083 if not result:
1084 return None
1085 return mediumlevelil.MediumLevelILFunction(self.arch, result, self)
1086
1087 @property
1088 def mmlil(self) -> Optional['mediumlevelil.MediumLevelILFunction']:

Callers

nothing calls this directly

Calls 1

MediumLevelILFunctionMethod · 0.80

Tested by

no test coverage detected