We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82069cf commit d0faf71Copy full SHA for d0faf71
1 file changed
javascript/ql/experimental/adaptivethreatmodeling/test/generic_feature_testing/TestUtil.qll
@@ -1,16 +1,5 @@
1
import javascript
2
-import experimental.adaptivethreatmodeling.FeaturizationConfig
3
-
4
-/**
5
- * A featurization config that featurizes all endpoints.
6
- *
7
- * Ideally this should not be in here, but it is needed for EnclosingFunctionName and EnclosingFunctionBody due to performance considerations :(.
8
- */
9
-class NoRestrictionsFeaturizationConfig extends FeaturizationConfig {
10
- NoRestrictionsFeaturizationConfig() { this = "NoRestrictionsFeaturization" }
11
12
- override DataFlow::Node getAnEndpointToFeaturize() { any() }
13
-}
+import extraction.NoFeaturizationRestrictionsConfig
14
15
class Endpoint extends DataFlow::Node {
16
Endpoint() { this.asExpr().(VarAccess).getName() = "endpoint" }
0 commit comments