mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +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
|