We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b64933 commit ed3504dCopy full SHA for ed3504d
ir/instr.cpp
@@ -2759,7 +2759,7 @@ StateValue Assume::toSMT(State &s) const {
2759
const auto &vptr = s.getAndAddPoisonUB(*args[0]);
2760
if (auto align = dynamic_cast<IntConst *>(args[1])) {
2761
Pointer ptr(s.getMemory(), vptr.value);
2762
- s.addUB(ptr.isAligned((uint64_t)align->getInt()));
+ s.addUB(ptr.isAligned(*align->getInt()));
2763
} else {
2764
// TODO: add support for non-constant align
2765
s.addUB(expr());
0 commit comments