File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
python/ql/src/Security/CWE-327 Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,19 +33,19 @@ class ProtocolConfiguration extends DataFlow::Node {
33
33
//
34
34
// Note that AstNode is abstract and AstNode_ is a library class, so
35
35
// we have to extend @py_ast_node.
36
- class Namable extends @py_ast_node {
37
- Namable ( ) {
36
+ class Nameable extends @py_ast_node {
37
+ Nameable ( ) {
38
38
exists ( ProtocolConfiguration protocolConfiguration |
39
39
this = protocolConfiguration .asCfgNode ( ) .( CallNode ) .getFunction ( ) .getNode ( )
40
40
)
41
41
or
42
- exists ( Namable attr | this = attr .( Attribute ) .getObject ( ) )
42
+ exists ( Nameable attr | this = attr .( Attribute ) .getObject ( ) )
43
43
}
44
44
45
45
string toString ( ) { result = "AstNode" }
46
46
}
47
47
48
- string callName ( Namable call ) {
48
+ string callName ( Nameable call ) {
49
49
result = call .( Name ) .getId ( )
50
50
or
51
51
exists ( Attribute a | a = call | result = callName ( a .getObject ( ) ) + "." + a .getName ( ) )
You can’t perform that action at this time.
0 commit comments