Skip to content

Commit

Permalink
[test]
Browse files Browse the repository at this point in the history
  • Loading branch information
misonijnik committed Feb 15, 2024
1 parent b328982 commit 29b9a6b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions lib/Core/ExecutorUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,14 @@ ref<klee::Expr> Executor::evalConstant(const Constant *c,
}
assert(Context::get().isLittleEndian() && "FIXME:Broken for big endian");
ref<Expr> res = ConcatExpr::createN(numOperands, kids.data());
assert((isa<ConstantExpr>(res) || isa<ConstantPointerExpr>(res)) &&
"result of constant vector built is "
"not a constant");
if (isa<ConstantExpr>(res) ||
isa<ConstantPointerExpr>(res)) {
res->dump();
llvm::errs() < "\n";
}
assert((isa<ConstantExpr>(res) ||
isa<ConstantPointerExpr>(res)) &&"result of constant vector built is "
"not a constant");
return res;
} else if (const BlockAddress *ba = dyn_cast<BlockAddress>(c)) {
// return the address of the specified basic block in the specified
Expand Down

0 comments on commit 29b9a6b

Please sign in to comment.