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

Method add_branch

python/architecture.py:137–138  ·  view source on GitHub ↗
(self, branch_type: BranchType, target: int = 0, arch: Optional['Architecture'] = None)

Source from the content-addressed store, hash-verified

135 branches: List[InstructionBranch] = field(default_factory=list)
136
137 def add_branch(self, branch_type: BranchType, target: int = 0, arch: Optional['Architecture'] = None) -> None:
138 self.branches.append(InstructionBranch(branch_type, target, arch))
139
140 def __len__(self):
141 return self.length

Callers 2

get_instruction_infoMethod · 0.95
get_instruction_infoMethod · 0.95

Calls 2

InstructionBranchClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected