mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
@@ -193,13 +193,6 @@ class CallCfgNode extends CfgNode {
|
||||
|
||||
/** Gets the data-flow node corresponding to the named argument of the call corresponding to this data-flow node */
|
||||
Node getArgByName(string name) { result.asCfgNode() = node.getArgByName(name) }
|
||||
|
||||
/** Gets the data-flow node corresponding to an argument of the call corresponding to this data-flow node */
|
||||
Node getAnArg() {
|
||||
exists(int n | result = this.getArg(n))
|
||||
or
|
||||
exists(string name | result = this.getArgByName(name))
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user