mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +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.
|
* A string literal that may refer to a broken or risky cryptographic algorithm.
|
||||||
*/
|
*/
|
||||||
|
overlay[local?]
|
||||||
class BrokenAlgoLiteral extends ShortStringLiteral {
|
class BrokenAlgoLiteral extends ShortStringLiteral {
|
||||||
BrokenAlgoLiteral() {
|
BrokenAlgoLiteral() {
|
||||||
this.getValue().regexpMatch(getInsecureAlgorithmRegex()) and
|
this.getValue().regexpMatch(getInsecureAlgorithmRegex()) and
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ private class StaticByteArrayCreation extends ArrayCreationExpr {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** An expression that updates `array`. */
|
/** An expression that updates `array`. */
|
||||||
|
overlay[local?]
|
||||||
private class ArrayUpdate extends Expr {
|
private class ArrayUpdate extends Expr {
|
||||||
Expr array;
|
Expr array;
|
||||||
|
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ private class FollowsBarrierPrefix extends UrlForwardBarrier {
|
|||||||
FollowsBarrierPrefix() { this.asExpr() = any(BarrierPrefix fp).getAnAppendedExpression() }
|
FollowsBarrierPrefix() { this.asExpr() = any(BarrierPrefix fp).getAnAppendedExpression() }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
overlay[local?]
|
||||||
private class BarrierPrefix extends InterestingPrefix {
|
private class BarrierPrefix extends InterestingPrefix {
|
||||||
int offset;
|
int offset;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user