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

Method GetSourceMemoryVersion

mediumlevelilinstruction.cpp:2184–2192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2182
2183
2184size_t MediumLevelILInstruction::GetSourceMemoryVersion() const
2185{
2186 size_t operandIndex;
2187 if (GetOperandIndexForUsage(SourceMemoryVersionMediumLevelOperandUsage, operandIndex))
2188 return GetRawOperandAsIndex(operandIndex);
2189 if (GetOperandIndexForUsage(ParameterSSAMemoryVersionMediumLevelOperandUsage, operandIndex))
2190 return GetRawOperandAsExpr(operandIndex).GetRawOperandAsIndex(0);
2191 throw MediumLevelILInstructionAccessException();
2192}
2193
2194
2195MediumLevelILIndexMap MediumLevelILInstruction::GetTargets() const

Callers

nothing calls this directly

Tested by

no test coverage detected