mirror of
https://github.com/github/codeql.git
synced 2026-04-10 01:24:02 +02:00
15 lines
384 B
Plaintext
15 lines
384 B
Plaintext
/**
|
|
* Patches all DataFlow::CallCfgNode adding a getTarget predicate to a new
|
|
* subclass of CallCfgNode
|
|
*/
|
|
|
|
import python
|
|
private import semmle.python.dataflow.new.internal.TypeTrackerSpecific
|
|
private import semmle.python.ApiGraphs
|
|
|
|
class CallCfgNodeWithTarget extends DataFlow::Node instanceof DataFlow::CallCfgNode{
|
|
|
|
DataFlow::Node getTarget(){
|
|
returnStep(result, this)
|
|
}
|
|
} |