MCPcopy Create free account
hub / github.com/connorjaydunn/BinaryShield / isConditionalBranchInstruction

Method isConditionalBranchInstruction

src/instruction.cpp:54–54  ·  view source on GitHub ↗

if instruction is a branch instruction, but not JMP, then it must be a conditional branch

Source from the content-addressed store, hash-verified

52
53// if instruction is a branch instruction, but not JMP, then it must be a conditional branch
54bool Instruction::isConditionalBranchInstruction() { return (isBranchInstruction() && instructionInfo.mnemonic != ZYDIS_MNEMONIC_JMP); }
55
56void Instruction::setDestInstructionIndex(int destInstructionIndex) { this->destInstructionIndex = destInstructionIndex; }
57

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected