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 {
3333//
3434// Note that AstNode is abstract and AstNode_ is a library class, so
3535// 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 ( ) {
3838 exists ( ProtocolConfiguration protocolConfiguration |
3939 this = protocolConfiguration .asCfgNode ( ) .( CallNode ) .getFunction ( ) .getNode ( )
4040 )
4141 or
42- exists ( Namable attr | this = attr .( Attribute ) .getObject ( ) )
42+ exists ( Nameable attr | this = attr .( Attribute ) .getObject ( ) )
4343 }
4444
4545 string toString ( ) { result = "AstNode" }
4646}
4747
48- string callName ( Namable call ) {
48+ string callName ( Nameable call ) {
4949 result = call .( Name ) .getId ( )
5050 or
5151 exists ( Attribute a | a = call | result = callName ( a .getObject ( ) ) + "." + a .getName ( ) )
You can’t perform that action at this time.
0 commit comments