Skip to content

Commit 34ab4ef

Browse files
committed
Python: ObjectAPI.qll: getOrigin now returns a CFG
1 parent 45e47b9 commit 34ab4ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/src/semmle/python/objects/ObjectAPI.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ class Value extends TObject {
4545
}
4646

4747
/** Gets the origin AST node for this value. */
48-
AstNode getOrigin() {
49-
result = this.(ObjectInternal).getOrigin().getNode()
48+
ControlFlowNode getOrigin() {
49+
result = this.(ObjectInternal).getOrigin()
5050
}
5151

5252

0 commit comments

Comments
 (0)