We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 475b515 commit 24da5e7Copy full SHA for 24da5e7
src/main/java/it/unipr/analysis/AbstractMemory.java
@@ -258,7 +258,13 @@ else if (i < other.memory.length && other.memory[i].isTop())
258
259
@Override
260
public boolean lessOrEqualAux(AbstractMemory other) {
261
- return false;
+ for (int i = 0; i < Math.max(this.memory.length, other.memory.length); i++) {
262
+ AbstractByte b1 = i < this.memory.length ? this.memory[i] : new AbstractByte(0);
263
+ AbstractByte b2 = i < other.memory.length ? other.memory[i] : new AbstractByte(0);
264
+ if (!b1.equals(b2) && !b2.isTop())
265
+ return false;
266
+ }
267
+ return true;
268
}
269
270
0 commit comments