Java: Make some query libraries local.

This commit is contained in:
Alex Eyers-Taylor
2025-09-25 17:20:33 +01:00
parent 18e33b193e
commit 77d4af153d
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;