Skip to content

Commit aa7763b

Browse files
committed
Set up Concepts
1 parent db1f54a commit aa7763b

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

python/ql/src/experimental/semmle/python/Concepts.qll

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,21 @@ private import semmle.python.dataflow.new.DataFlow
1313
private import semmle.python.dataflow.new.RemoteFlowSources
1414
private import semmle.python.dataflow.new.TaintTracking
1515
private import experimental.semmle.python.Frameworks
16+
17+
module LDAPBind {
18+
abstract class Range extends DataFlow::Node {
19+
abstract DataFlow::Node getPasswordNode();
20+
21+
abstract DataFlow::Node getQueryNode();
22+
}
23+
}
24+
25+
class LDAPBind extends DataFlow::Node {
26+
LDAPBind::Range range;
27+
28+
LDAPBind() { this = range }
29+
30+
DataFlow::Node getPasswordNode() { result = range.getPasswordNode() }
31+
32+
DataFlow::Node getQueryNode() { result = range.getQueryNode() }
33+
}

0 commit comments

Comments
 (0)