mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
15 lines
270 B
Plaintext
15 lines
270 B
Plaintext
/**
|
|
* @id js/examples/newexpr
|
|
* @name New expressions
|
|
* @description Finds new expressions of the form `new RegExp(...)`
|
|
* @tags new
|
|
* constructor
|
|
* instantiation
|
|
*/
|
|
|
|
import javascript
|
|
|
|
from NewExpr new
|
|
where new.getCalleeName() = "RegExp"
|
|
select new
|