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

Method GetOperandIndexForUsage

highlevelilinstruction.cpp:2151–2161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2149
2150
2151bool HighLevelILInstruction::GetOperandIndexForUsage(HighLevelILOperandUsage usage, size_t& operandIndex) const
2152{
2153 auto operationIter = HighLevelILInstructionBase::operationOperandIndex.find(operation);
2154 if (operationIter == HighLevelILInstructionBase::operationOperandIndex.end())
2155 return false;
2156 auto usageIter = operationIter->second.find(usage);
2157 if (usageIter == operationIter->second.end())
2158 return false;
2159 operandIndex = usageIter->second;
2160 return true;
2161}
2162
2163
2164HighLevelILInstruction HighLevelILInstruction::GetSourceExpr() const

Callers

nothing calls this directly

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected