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

Method GetOperandIndexForUsage

lowlevelilinstruction.cpp:2373–2383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2371
2372
2373bool LowLevelILInstruction::GetOperandIndexForUsage(LowLevelILOperandUsage usage, size_t& operandIndex) const
2374{
2375 auto operationIter = LowLevelILInstructionBase::operationOperandIndex.find(operation);
2376 if (operationIter == LowLevelILInstructionBase::operationOperandIndex.end())
2377 return false;
2378 auto usageIter = operationIter->second.find(usage);
2379 if (usageIter == operationIter->second.end())
2380 return false;
2381 operandIndex = usageIter->second;
2382 return true;
2383}
2384
2385
2386LowLevelILInstruction LowLevelILInstruction::GetSourceExpr() const

Callers

nothing calls this directly

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected