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

Method flags

python/lowlevelil.py:3611–3626  ·  view source on GitHub ↗

List of flags used in this IL

(self)

Source from the content-addressed store, hash-verified

3609
3610 @property
3611 def flags(self) -> List[SSAFlag]:
3612 """ List of flags used in this IL """
3613 if self.il_form == FunctionGraphType.LowLevelILSSAFormFunctionGraph:
3614 # If this is a LLIL SSA function, then its registers is SSA registers
3615 return self.ssa_flags
3616
3617 count = ctypes.c_ulonglong()
3618 flags = core.BNGetLowLevelFlags(self.handle, count)
3619 assert flags is not None, "core.BNGetLowLevelFlags returned None"
3620 result = []
3621 try:
3622 for var_i in range(count.value):
3623 result.append(ILFlag(self.arch, flags[var_i]))
3624 return result
3625 finally:
3626 core.BNFreeLLILVariablesList(flags)
3627
3628 @property
3629 def ssa_regs_without_versions(self) -> List[SSARegister]:

Callers 1

Calls 2

ILFlagClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected