mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Python: ObjectAPI.qll: getOrigin now returns a CFG
This commit is contained in:
@@ -45,8 +45,8 @@ class Value extends TObject {
|
||||
}
|
||||
|
||||
/** Gets the origin AST node for this value. */
|
||||
AstNode getOrigin() {
|
||||
result = this.(ObjectInternal).getOrigin().getNode()
|
||||
ControlFlowNode getOrigin() {
|
||||
result = this.(ObjectInternal).getOrigin()
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user