File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
cpp/ql/src/Security/CWE/CWE-611 Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import semmle.code.cpp.ir.IR
20
20
/**
21
21
* A flow state representing a possible configuration of an XML object.
22
22
*/
23
- abstract class XXEFlowState extends string {
23
+ abstract class XXEFlowState extends DataFlow :: FlowState {
24
24
bindingset [ this ]
25
25
XXEFlowState ( ) { any ( ) } // required characteristic predicate
26
26
}
@@ -148,10 +148,7 @@ class CreateEntityReferenceNodesTranformer extends XXEFlowStateTranformer {
148
148
* The `AbstractDOMParser.parse` method.
149
149
*/
150
150
class ParseFunction extends Function {
151
- ParseFunction ( ) {
152
- this .getDeclaringType ( ) instanceof AbstractDOMParserClass and
153
- this .hasName ( "parse" )
154
- }
151
+ ParseFunction ( ) { this .getClassAndName ( "parse" ) instanceof AbstractDOMParserClass }
155
152
}
156
153
157
154
/**
You can’t perform that action at this time.
0 commit comments