add missing qldoc

This commit is contained in:
Erik Krogh Kristensen
2021-05-06 14:29:20 +02:00
parent d77c28f6a7
commit 59cc099008
2 changed files with 9 additions and 0 deletions

View File

@@ -9,6 +9,9 @@
import javascript
/**
* Classes and predicates for the code constructed from library input query.
*/
module UnsafeCodeConstruction {
private import semmle.javascript.security.dataflow.CodeInjectionCustomizations::CodeInjection as CodeInjection
import UnsafeCodeConstructionCustomizations::UnsafeCodeConstruction

View File

@@ -6,6 +6,9 @@
import javascript
/**
* Module containing sources, sinks, and sanitizers for code constructed from library input.
*/
module UnsafeCodeConstruction {
private import semmle.javascript.security.dataflow.CodeInjectionCustomizations::CodeInjection as CodeInjection
private import semmle.javascript.PackageExports as Exports
@@ -26,6 +29,9 @@ module UnsafeCodeConstruction {
* A sink for unsafe code constructed from library input vulnerabilities.
*/
abstract class Sink extends DataFlow::Node {
/**
* Gets the node where the unsafe code is executed.
*/
abstract DataFlow::Node getCodeSink();
}