mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Merge pull request #20598 from github/alexet/overlay-query-libraries
Java: Make some query libraries local.
This commit is contained in:
@@ -12,6 +12,7 @@ private class ShortStringLiteral extends StringLiteral {
|
||||
/**
|
||||
* A string literal that may refer to a broken or risky cryptographic algorithm.
|
||||
*/
|
||||
overlay[local?]
|
||||
class BrokenAlgoLiteral extends ShortStringLiteral {
|
||||
BrokenAlgoLiteral() {
|
||||
this.getValue().regexpMatch(getInsecureAlgorithmRegex()) and
|
||||
|
||||
@@ -33,6 +33,7 @@ private class StaticByteArrayCreation extends ArrayCreationExpr {
|
||||
}
|
||||
|
||||
/** An expression that updates `array`. */
|
||||
overlay[local?]
|
||||
private class ArrayUpdate extends Expr {
|
||||
Expr array;
|
||||
|
||||
|
||||
@@ -69,6 +69,7 @@ private class FollowsBarrierPrefix extends UrlForwardBarrier {
|
||||
FollowsBarrierPrefix() { this.asExpr() = any(BarrierPrefix fp).getAnAppendedExpression() }
|
||||
}
|
||||
|
||||
overlay[local?]
|
||||
private class BarrierPrefix extends InterestingPrefix {
|
||||
int offset;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user