Skip to content

Commit ac55c76

Browse files
committed
Checkout Concepts.qll
1 parent 813df9e commit ac55c76

File tree

1 file changed

+0
-66
lines changed

1 file changed

+0
-66
lines changed

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

Lines changed: 0 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -80,69 +80,3 @@ class RegexEscape extends DataFlow::Node {
8080

8181
DataFlow::Node getRegexNode() { result = range.getRegexNode() }
8282
}
83-
84-
/** Provides classes for modeling LDAP query execution-related APIs. */
85-
module LDAPQuery {
86-
/**
87-
* A data-flow node that collects methods executing a LDAP query.
88-
*
89-
* Extend this class to model new APIs. If you want to refine existing API models,
90-
* extend `LDAPQuery` instead.
91-
*/
92-
abstract class Range extends DataFlow::Node {
93-
/**
94-
* Gets the argument containing the executed expression.
95-
*/
96-
abstract DataFlow::Node getQuery();
97-
}
98-
}
99-
100-
/**
101-
* A data-flow node that collect methods executing a LDAP query.
102-
*
103-
* Extend this class to refine existing API models. If you want to model new APIs,
104-
* extend `LDAPQuery::Range` instead.
105-
*/
106-
class LDAPQuery extends DataFlow::Node {
107-
LDAPQuery::Range range;
108-
109-
LDAPQuery() { this = range }
110-
111-
/**
112-
* Gets the argument containing the executed expression.
113-
*/
114-
DataFlow::Node getQuery() { result = range.getQuery() }
115-
}
116-
117-
/** Provides classes for modeling LDAP components escape-related APIs. */
118-
module LDAPEscape {
119-
/**
120-
* A data-flow node that collects functions escaping LDAP components.
121-
*
122-
* Extend this class to model new APIs. If you want to refine existing API models,
123-
* extend `LDAPEscape` instead.
124-
*/
125-
abstract class Range extends DataFlow::Node {
126-
/**
127-
* Gets the argument containing the escaped expression.
128-
*/
129-
abstract DataFlow::Node getAnInput();
130-
}
131-
}
132-
133-
/**
134-
* A data-flow node that collects functions escaping LDAP components.
135-
*
136-
* Extend this class to refine existing API models. If you want to model new APIs,
137-
* extend `LDAPEscape::Range` instead.
138-
*/
139-
class LDAPEscape extends DataFlow::Node {
140-
LDAPEscape::Range range;
141-
142-
LDAPEscape() { this = range }
143-
144-
/**
145-
* Gets the argument containing the escaped expression.
146-
*/
147-
DataFlow::Node getAnInput() { result = range.getAnInput() }
148-
}

0 commit comments

Comments
 (0)