Skip to content

Commit 75ab485

Browse files
committed
Remove unsupported features from PoI
1 parent e6680de commit 75ab485

File tree

7 files changed

+0
-100
lines changed

7 files changed

+0
-100
lines changed

javascript/ql/src/experimental/poi/PoI.qll

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -133,44 +133,6 @@ private module StandardPoIs {
133133
override predicate is(Node l0) { l0 instanceof RemoteFlowSource }
134134
}
135135

136-
/**
137-
* A "source" for any active configuration.
138-
*/
139-
class SourcePoI extends PoI {
140-
SourcePoI() { this = "SourcePoI" }
141-
142-
override predicate is(Node l0) {
143-
exists(Configuration cfg | cfg.isSource(l0) or cfg.isSource(l0, _))
144-
}
145-
}
146-
147-
/**
148-
* A "sink" for any active configuration.
149-
*/
150-
class SinkPoI extends PoI {
151-
SinkPoI() { this = "SinkPoI" }
152-
153-
override predicate is(Node l0) {
154-
exists(Configuration cfg | cfg.isSink(l0) or cfg.isSink(l0, _))
155-
}
156-
}
157-
158-
/**
159-
* A "barrier" for any active configuration.
160-
*/
161-
class BarrierPoI extends PoI {
162-
BarrierPoI() { this = "BarrierPoI" }
163-
164-
override predicate is(Node l0) {
165-
exists(Configuration cfg |
166-
cfg.isBarrier(l0) or
167-
cfg.isBarrierEdge(l0, _) or
168-
cfg.isBarrierEdge(l0, _, _) or
169-
cfg.isLabeledBarrier(l0, _)
170-
)
171-
}
172-
}
173-
174136
/**
175137
* Provides groups of often used points of interest.
176138
*/
@@ -185,16 +147,6 @@ private module StandardPoIs {
185147
this instanceof UnpromotedRouteHandlerWithFlowPoI
186148
}
187149
}
188-
189-
/**
190-
* A configuration-related point of interest.
191-
*/
192-
class DataFlowConfigurationPoI extends PoI {
193-
DataFlowConfigurationPoI() {
194-
this instanceof SourcePoI or
195-
this instanceof SinkPoI
196-
}
197-
}
198150
}
199151

200152
import StandardPoIGroups

javascript/ql/test/experimental/PoI/CommandInjectionPoIConfiguration.expected

Lines changed: 0 additions & 4 deletions
This file was deleted.

javascript/ql/test/experimental/PoI/CommandInjectionPoIConfiguration.ql

Lines changed: 0 additions & 13 deletions
This file was deleted.

javascript/ql/test/experimental/PoI/TaintedPathPoIConfiguration.expected

Lines changed: 0 additions & 6 deletions
This file was deleted.

javascript/ql/test/experimental/PoI/TaintedPathPoIConfiguration.ql

Lines changed: 0 additions & 11 deletions
This file was deleted.

javascript/ql/test/experimental/PoI/XssPoIConfiguration.expected

Lines changed: 0 additions & 4 deletions
This file was deleted.

javascript/ql/test/experimental/PoI/XssPoIConfiguration.ql

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)