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

Method get_instruction_start

python/lowlevelil.py:3787–3793  ·  view source on GitHub ↗
(self, addr: int, arch: Optional['architecture.Architecture'] = None)

Source from the content-addressed store, hash-verified

3785 return self.ssa_regs_without_versions + self.ssa_reg_stacks_without_versions + self.ssa_flags_without_versions
3786
3787 def get_instruction_start(self, addr: int, arch: Optional['architecture.Architecture'] = None) -> Optional[int]:
3788 if arch is None:
3789 arch = self.arch
3790 result = core.BNLowLevelILGetInstructionStart(self.handle, arch.handle, addr)
3791 if result >= core.BNGetLowLevelILInstructionCount(self.handle):
3792 return None
3793 return result
3794
3795 def clear_indirect_branches(self) -> None:
3796 core.BNLowLevelILClearIndirectBranches(self.handle)

Callers 2

apply_to_linesMethod · 0.45
collect_call_paramsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected