mirror of
https://github.com/github/codeql.git
synced 2026-02-28 04:43:42 +01:00
17 lines
355 B
Plaintext
17 lines
355 B
Plaintext
import java
|
|
import semmle.code.java.controlflow.Paths
|
|
|
|
class PathTestConf extends ActionConfiguration {
|
|
PathTestConf() {
|
|
this = "PathTestConf"
|
|
}
|
|
override predicate isAction(ControlFlowNode node) {
|
|
node.(MethodAccess).getMethod().hasName("action")
|
|
}
|
|
}
|
|
|
|
from Callable c, PathTestConf conf
|
|
where
|
|
conf.callableAlwaysPerformsAction(c)
|
|
select c
|