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

Method GetParameterExprs

mediumlevelilinstruction.cpp:2235–2245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2233
2234
2235MediumLevelILInstructionList MediumLevelILInstruction::GetParameterExprs() const
2236{
2237 size_t operandIndex;
2238 if (GetOperandIndexForUsage(ParameterExprsMediumLevelOperandUsage, operandIndex))
2239 return GetRawOperandAsExprList(operandIndex);
2240 if (GetOperandIndexForUsage(UntypedParameterExprsMediumLevelOperandUsage, operandIndex))
2241 return GetRawOperandAsExpr(operandIndex).GetRawOperandAsExprList(0);
2242 if (GetOperandIndexForUsage(UntypedParameterSSAExprsMediumLevelOperandUsage, operandIndex))
2243 return GetRawOperandAsExpr(operandIndex).GetRawOperandAsExprList(1);
2244 throw MediumLevelILInstructionAccessException();
2245}
2246
2247
2248MediumLevelILInstructionList MediumLevelILInstruction::GetSourceExprs() const

Callers

nothing calls this directly

Tested by

no test coverage detected