Skip to content

Commit

Permalink
handle nullptr in printAbstractState
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan Lin authored and Ethan Lin committed Oct 8, 2024
1 parent 59d0663 commit 1174630
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions svf/lib/AE/Core/AbstractState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ void AbstractState::printAbstractState() const

for (const auto& item: addrToAbsValVec)
{
if (item.first == 0) continue;
std::ostringstream oss;
oss << "0x" << std::hex << AbstractState::getVirtualMemAddress(item.first);
SVFUtil::outs() << std::left << std::setw(fieldWidth) << oss.str();
Expand Down

0 comments on commit 1174630

Please sign in to comment.