File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
cpp/ql/src/Security/CWE/CWE-611 Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -227,19 +227,15 @@ class SetFeatureTranformer extends XXEFlowStateTranformer {
227227 * The `DOMLSParser.getDomConfig` function.
228228 */
229229class GetDomConfig extends Function {
230- GetDomConfig ( ) {
231- this .hasName ( "getDomConfig" ) and
232- this .getDeclaringType ( ) instanceof DomLSParserClass
233- }
230+ GetDomConfig ( ) { this .getClassAndName ( "getDomConfig" ) instanceof DomLSParserClass }
234231}
235232
236233/**
237234 * The `DOMConfiguration.setParameter` function.
238235 */
239236class DomConfigurationSetParameter extends Function {
240237 DomConfigurationSetParameter ( ) {
241- this .hasName ( "setParameter" ) and
242- this .getDeclaringType ( ) .getName ( ) = "DOMConfiguration"
238+ this .getClassAndName ( "setParameter" ) .getName ( ) = "DOMConfiguration"
243239 }
244240}
245241
You can’t perform that action at this time.
0 commit comments