python: Create XML modulein Concepts

to prepare for XXE and other XML related modelling
This commit is contained in:
Rasmus Lerchedahl Petersen
2022-03-02 13:10:23 +01:00
parent 80be767a7a
commit ee45e79948
5 changed files with 75 additions and 72 deletions

View File

@@ -171,7 +171,7 @@ class XPathConstructionTest extends InlineExpectationsTest {
override predicate hasActualResult(Location location, string element, string tag, string value) {
exists(location.getFile().getRelativePath()) and
exists(XPathConstruction e, DataFlow::Node xpath |
exists(XML::XPathConstruction e, DataFlow::Node xpath |
exists(location.getFile().getRelativePath()) and
xpath = e.getXPath() and
location = e.getLocation() and
@@ -189,7 +189,7 @@ class XPathExecutionTest extends InlineExpectationsTest {
override predicate hasActualResult(Location location, string element, string tag, string value) {
exists(location.getFile().getRelativePath()) and
exists(XPathExecution e, DataFlow::Node xpath |
exists(XML::XPathExecution e, DataFlow::Node xpath |
exists(location.getFile().getRelativePath()) and
xpath = e.getXPath() and
location = e.getLocation() and