|
Static Value-Flow Analysis
|
#include <SVFBugReport.h>
Public Member Functions | |
| PartialNullPtrDereferenceBug (const EventStack &bugEventStack) | |
| cJSON * | getBugDescription () const |
| void | printBugToTerminal () const |
Public Member Functions inherited from SVF::GenericBug | |
| GenericBug (BugType bugType, const EventStack &bugEventStack) | |
| note: should be initialized with a bugEventStack | |
| virtual | ~GenericBug ()=default |
| BugType | getBugType () const |
| returns bug type | |
| const std::string | getLoc () const |
| returns bug location as json format string | |
| const std::string | getFuncName () const |
| return bug source function name | |
| const EventStack & | getEventStack () const |
Static Public Member Functions | |
| static bool | classof (const GenericBug *bug) |
| ClassOf. | |
Additional Inherited Members | |
Public Types inherited from SVF::GenericBug | |
| enum | BugType { FULLBUFOVERFLOW , PARTIALBUFOVERFLOW , NEVERFREE , PARTIALLEAK , DOUBLEFREE , FILENEVERCLOSE , FILEPARTIALCLOSE , FULLNULLPTRDEREFERENCE , PARTIALNULLPTRDEREFERENCE } |
| typedef std::vector< SVFBugEvent > | EventStack |
Static Public Attributes inherited from SVF::GenericBug | |
| static const std::map< GenericBug::BugType, std::string > | BugType2Str |
Protected Attributes inherited from SVF::GenericBug | |
| BugType | bugType |
| const EventStack | bugEventStack |
Definition at line 272 of file SVFBugReport.h.
|
inline |
Definition at line 275 of file SVFBugReport.h.
|
inlinestatic |
|
virtual |
Implements SVF::GenericBug.
Definition at line 265 of file SVFBugReport.cpp.
|
virtual |
Implements SVF::GenericBug.
Definition at line 271 of file SVFBugReport.cpp.