mirror of
https://github.com/github/codeql.git
synced 2026-04-25 08:45:14 +02:00
C++/C#: Document ReturnIndirectionInstruction::getParameter
This commit is contained in:
@@ -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() }
|
||||
}
|
||||
|
||||
|
||||
@@ -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() }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user