Skip to content

Commit

Permalink
Merge pull request #989 from bjjwwang/01.05
Browse files Browse the repository at this point in the history
fix translate Load for buf overflow cases
  • Loading branch information
yuleisui authored Jan 6, 2023
2 parents ee72c50 + 8460393 commit 8fd6a01
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions svf/lib/AbstractExecution/SVFIR2ItvExeState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,8 @@ void SVFIR2ItvExeState::translateLoad(const LoadStmt *load)
{
VAddrs &addrs = getVAddrs(rhs);
assert(!getVAddrs(rhs).empty());
_es[lhs] = IntervalValue::bottom();
getVAddrs(lhs).setBottom();
for (const auto &addr: addrs)
{
u32_t objId = getInternalID(addr);
Expand Down

0 comments on commit 8fd6a01

Please sign in to comment.