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