mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
C++: getClassAndName.
This commit is contained in:
@@ -227,10 +227,7 @@ class SetFeatureTranformer extends XXEFlowStateTranformer {
|
|||||||
* The `DOMLSParser.getDomConfig` function.
|
* The `DOMLSParser.getDomConfig` function.
|
||||||
*/
|
*/
|
||||||
class GetDomConfig extends Function {
|
class GetDomConfig extends Function {
|
||||||
GetDomConfig() {
|
GetDomConfig() { this.getClassAndName("getDomConfig") instanceof DomLSParserClass }
|
||||||
this.hasName("getDomConfig") and
|
|
||||||
this.getDeclaringType() instanceof DomLSParserClass
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -238,8 +235,7 @@ class GetDomConfig extends Function {
|
|||||||
*/
|
*/
|
||||||
class DomConfigurationSetParameter extends Function {
|
class DomConfigurationSetParameter extends Function {
|
||||||
DomConfigurationSetParameter() {
|
DomConfigurationSetParameter() {
|
||||||
this.hasName("setParameter") and
|
this.getClassAndName("setParameter").getName() = "DOMConfiguration"
|
||||||
this.getDeclaringType().getName() = "DOMConfiguration"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user