C++/C#: Document ReturnIndirectionInstruction::getParameter

This commit is contained in:
Robert Marsh
2020-04-08 16:39:50 -07:00
parent b37c13de91
commit 7e299e7494
5 changed files with 20 additions and 0 deletions

View File

@@ -536,6 +536,10 @@ class ReturnIndirectionInstruction extends VariableInstruction {
final Instruction getSourceAddress() { result = getSourceAddressOperand().getDef() }
/**
* Gets the parameter for which this instruction reads the final pointed-to value within the
* function.
*/
final Language::Parameter getParameter() { result = var.(IRUserVariable).getVariable() }
}

View File

@@ -536,6 +536,10 @@ class ReturnIndirectionInstruction extends VariableInstruction {
final Instruction getSourceAddress() { result = getSourceAddressOperand().getDef() }
/**
* Gets the parameter for which this instruction reads the final pointed-to value within the
* function.
*/
final Language::Parameter getParameter() { result = var.(IRUserVariable).getVariable() }
}