File tree Expand file tree Collapse file tree 3 files changed +0
-12
lines changed
python/ql/lib/semmle/python Expand file tree Collapse file tree 3 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -519,9 +519,6 @@ class XPathExecution extends DataFlow::Node {
519
519
/** Gets the data flow node for the XPath expression being executed by this node. */
520
520
DataFlow:: Node getXPath ( ) { result = range .getXPath ( ) }
521
521
522
- /** Gets a dataflow node for the tree in which the XPath expression is being evaluated. */
523
- DataFlow:: Node getTree ( ) { result = range .getTree ( ) }
524
-
525
522
/**
526
523
* Gets the name of this XPath expression execution, typically the name of an executing method.
527
524
* This is used for nice alert messages and should include the module if possible.
@@ -544,9 +541,6 @@ module XPathExecution {
544
541
/** Gets the data flow node for the XPath expression being executed by this node. */
545
542
abstract DataFlow:: Node getXPath ( ) ;
546
543
547
- /** Gets a dataflow node for the tree in which the XPath expression is being evaluated. */
548
- abstract DataFlow:: Node getTree ( ) ;
549
-
550
544
/**
551
545
* Gets the name of this xpath expression execution, typically the name of an executing method.
552
546
* This is used for nice alert messages and should include the module if possible.
Original file line number Diff line number Diff line change @@ -40,9 +40,6 @@ private module Libxml2 {
40
40
41
41
override DataFlow:: Node getXPath ( ) { result = this .getArg ( 0 ) }
42
42
43
- // TODO: implement when we get call nodes
44
- override DataFlow:: Node getTree ( ) { none ( ) }
45
-
46
43
override string getName ( ) { result = "libxml2" }
47
44
}
48
45
}
Original file line number Diff line number Diff line change @@ -68,9 +68,6 @@ private module Lxml {
68
68
69
69
override DataFlow:: Node getXPath ( ) { result in [ this .getArg ( 0 ) , this .getArgByName ( "_path" ) ] }
70
70
71
- // TODO: implement when we get call nodes
72
- override DataFlow:: Node getTree ( ) { none ( ) }
73
-
74
71
override string getName ( ) { result = "lxml.etree" }
75
72
}
76
73
}
You can’t perform that action at this time.
0 commit comments