mirror of
https://github.com/github/codeql.git
synced 2026-01-30 23:02:56 +01:00
15 lines
350 B
Plaintext
15 lines
350 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
|