Skip to content

Commit d218813

Browse files
Updated qldoc for ArrayUpdate
1 parent 1199240 commit d218813

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

java/ql/src/experimental/semmle/code/java/security/StaticInitializationVectorQuery.qll

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@ private class StaticByteArrayCreation extends ArrayCreationExpr {
2828
}
2929
}
3030

31-
/** Defines a sub-set of expressions that update an array. */
31+
/**
32+
* Defines a sub-set of expressions that update either content of an array or an array reference.
33+
* There sub-set covers only methods that are likely to set a non-static IV.
34+
* For example, `java.util.Arrays.fill()` is not covered because it assigns the same value
35+
* to each element of the array.
36+
*/
3237
private class ArrayUpdate extends Expr {
3338
Expr array;
3439

0 commit comments

Comments
 (0)