mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
14 lines
258 B
Plaintext
14 lines
258 B
Plaintext
/**
|
|
* @name Method calls
|
|
* @description Finds calls of the form `this.isMounted(...)`
|
|
* @tags call
|
|
* method
|
|
*/
|
|
|
|
import javascript
|
|
|
|
from MethodCallExpr c
|
|
where c.getReceiver() instanceof ThisExpr and
|
|
c.getMethodName() = "isMounted"
|
|
select c
|