mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
12 lines
396 B
Plaintext
12 lines
396 B
Plaintext
// Note: This is not using standard inline-expectation tests, so will not alert if you
|
|
// have not manually added an annotation to a line!
|
|
import utils.test.VerifyApiGraphs
|
|
|
|
class CustomEntryPoint extends API::EntryPoint {
|
|
CustomEntryPoint() { this = "CustomEntryPoint" }
|
|
|
|
override DataFlow::LocalSourceNode getASource() {
|
|
result.asExpr().(StringLiteral).getText() = "magic_string"
|
|
}
|
|
}
|