mirror of
https://github.com/github/codeql.git
synced 2025-12-26 05:36:32 +01:00
20 lines
391 B
Plaintext
20 lines
391 B
Plaintext
import javascript
|
|
|
|
class CustomDocument extends DOM::DocumentSource::Range, DataFlow::CallNode {
|
|
CustomDocument() {
|
|
getCalleeName() = "customGetDocument"
|
|
}
|
|
}
|
|
|
|
query DataFlow::Node test_documentRef() {
|
|
result = DOM::documentRef()
|
|
}
|
|
|
|
query DataFlow::Node test_locationRef() {
|
|
result = DOM::locationRef()
|
|
}
|
|
|
|
query DataFlow::Node test_domValueRef() {
|
|
result = DOM::domValueRef()
|
|
}
|