Skip to content

Commit

Permalink
add 2 bug types to SVFBugReport
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelYYoung committed Jul 9, 2023
1 parent 5a8e452 commit cd806ee
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions svf/include/Util/SVFBugReport.h
Original file line number Diff line number Diff line change
Expand Up @@ -338,18 +338,6 @@ class SVFBugReport
bugSet.insert(newBug);
break;
}
case GenericBug::FULLNULLPTRDEREFERENCE:
{
newBug = new FullNullPtrDereferenceBug(eventStack);
bugSet.insert(newBug);
break;
}
case GenericBug::PARTIALNULLPTRDEREFERENCE:
{
newBug = new PartialNullPtrDereferenceBug(eventStack);
bugSet.insert(newBug);
break;
}
default:
{
assert(false && "saber does NOT have this bug type!");
Expand Down Expand Up @@ -385,6 +373,18 @@ class SVFBugReport
bugSet.insert(newBug);
break;
}
case GenericBug::FULLNULLPTRDEREFERENCE:
{
newBug = new FullNullPtrDereferenceBug(eventStack);
bugSet.insert(newBug);
break;
}
case GenericBug::PARTIALNULLPTRDEREFERENCE:
{
newBug = new PartialNullPtrDereferenceBug(eventStack);
bugSet.insert(newBug);
break;
}
default:
{
assert(false && "Abstract Execution does NOT hava his bug type!");
Expand Down

0 comments on commit cd806ee

Please sign in to comment.