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

Method get_ssa_flag_uses

python/lowlevelil.py:6026–6035  ·  view source on GitHub ↗
(self, flag_ssa: SSAFlag)

Source from the content-addressed store, hash-verified

6024 return result
6025
6026 def get_ssa_flag_uses(self, flag_ssa: SSAFlag) -> List[LowLevelILInstruction]:
6027 flag = self.arch.get_flag_index(flag_ssa.flag)
6028 count = ctypes.c_ulonglong()
6029 instrs = core.BNGetLowLevelILSSAFlagUses(self.handle, flag, flag_ssa.version, count)
6030 assert instrs is not None, "core.BNGetLowLevelILSSAFlagUses returned None"
6031 result = []
6032 for i in range(0, count.value):
6033 result.append(self[instrs[i]])
6034 core.BNFreeILInstructionList(instrs)
6035 return result
6036
6037 def get_ssa_memory_uses(self, index: int) -> List[LowLevelILInstruction]:
6038 count = ctypes.c_ulonglong()

Callers

nothing calls this directly

Calls 2

get_flag_indexMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected