Closed
Description
In the following (distilled) program, xx is assigned only once. In the trace that CBMC generates, xx is assigned multiple times with different values. I suspect this causes problems in the full benchmark.
public final class MySecureRandom {
public static void main(String[] argv) {
int index = 0;
while (index < 20) {
for (int i = 0; i < 20; i++) {
index++;
}
}
int xx = index;
assert(xx==1);
}
}
Metadata
Metadata
Assignees
Labels
No labels