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

Method AddBranch

architecture.cpp:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42void InstructionInfo::AddBranch(BNBranchType type, uint64_t target, Architecture* arch, uint8_t delaySlot)
43{
44 if (branchCount >= BN_MAX_INSTRUCTION_BRANCHES)
45 return;
46 delaySlots = delaySlot;
47 branchType[branchCount] = type;
48 branchTarget[branchCount] = target;
49 branchArch[branchCount++] = arch ? arch->GetObject() : nullptr;
50}
51
52
53InstructionTextToken::InstructionTextToken() :

Calls 1

GetObjectMethod · 0.45

Tested by

no test coverage detected