mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
17 lines
442 B
Plaintext
17 lines
442 B
Plaintext
import java
|
|
import semmle.code.java.dataflow.DataFlow
|
|
import semmle.code.java.dataflow.FlowSteps
|
|
import utils.test.InlineFlowTest
|
|
import DefaultFlowTest
|
|
import TaintFlow::PathGraph
|
|
|
|
class Model extends FluentMethod {
|
|
Model() { this.getName() = "modelledFluentMethod" }
|
|
}
|
|
|
|
class IdentityModel extends ValuePreservingMethod {
|
|
IdentityModel() { this.getName() = "modelledIdentity" }
|
|
|
|
override predicate returnsValue(int arg) { arg = 0 }
|
|
}
|