Merge pull request #20598 from github/alexet/overlay-query-libraries

Java: Make some query libraries local.
This commit is contained in:
Alexander Eyers-Taylor
2025-10-27 17:52:27 +00:00
committed by GitHub
3 changed files with 3 additions and 0 deletions

View File

@@ -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

View File

@@ -33,6 +33,7 @@ private class StaticByteArrayCreation extends ArrayCreationExpr {
}
/** An expression that updates `array`. */
overlay[local?]
private class ArrayUpdate extends Expr {
Expr array;

View File

@@ -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;