File format

This commit is contained in:
maikypedia
2024-01-27 14:07:36 +01:00
parent 6c8fbe877d
commit d7314a1689

View File

@@ -1,5 +1,5 @@
/**
* Provides default sources, sinks, and sanitizers for reasoning about random values that
* Provides default sources, sinks, and sanitizers for reasoning about random values that
* are not cryptographically secure, as well as extension points for adding your own.
*/
@@ -12,7 +12,7 @@ private import codeql.ruby.ApiGraphs
import codeql.ruby.frameworks.core.Kernel
/**
* Provides default sources, sinks, and sanitizers for reasoning about random values that
* Provides default sources, sinks, and sanitizers for reasoning about random values that
* are not cryptographically secure, as well as extension points for adding your own.
*/
module InsecureRandomness {
@@ -41,7 +41,8 @@ module InsecureRandomness {
this.getReceiver().asExpr().getExpr() instanceof SelfVariableAccess and
super.getMethodName() = "rand"
)
or this.(Kernel::KernelMethodCall).getMethodName() = "rand"
or
this.(Kernel::KernelMethodCall).getMethodName() = "rand"
}
}