Cppcheck
|
#include <library.h>
Public Types | |
enum class | BufferSize { none , malloc , calloc , strdup } |
Public Attributes | |
int | groupId |
int | arg |
BufferSize | bufferSize |
int | bufferSizeArg1 |
int | bufferSizeArg2 |
int | reallocArg |
bool | initData |
|
strong |
int Library::AllocFunc::arg |
Definition at line 83 of file library.h.
Referenced by CheckLeakAutoVar::changeAllocStatusIfRealloc(), CheckMemoryLeakInFunction::checkReallocUsage(), CheckLeakAutoVar::checkScope(), CheckLeakAutoVar::functionCall(), Library::getAllocId(), Library::getDeallocId(), Library::getReallocId(), and Library::load().
BufferSize Library::AllocFunc::bufferSize |
Definition at line 85 of file library.h.
Referenced by CheckClass::checkMemset(), Library::load(), and valueFlowDynamicBufferSize().
int Library::AllocFunc::bufferSizeArg1 |
Definition at line 86 of file library.h.
Referenced by Library::load(), and valueFlowDynamicBufferSize().
int Library::AllocFunc::bufferSizeArg2 |
Definition at line 87 of file library.h.
Referenced by Library::load(), and valueFlowDynamicBufferSize().
int Library::AllocFunc::groupId |
Definition at line 82 of file library.h.
Referenced by Library::allocId(), CheckLeakAutoVar::changeAllocStatusIfRealloc(), CheckUnusedVar::checkFunctionVariableUsage_iterateScopes(), CheckLeakAutoVar::checkScope(), CheckLeakAutoVar::checkTokenInsideExpression(), Library::deallocId(), CheckLeakAutoVar::functionCall(), Library::getAllocId(), Library::getDeallocId(), Library::getReallocId(), Library::ismemory(), Library::isresource(), and Library::load().
bool Library::AllocFunc::initData |
Definition at line 89 of file library.h.
Referenced by CheckUninitVar::checkScope(), CheckUninitVar::checkScopeForVariable(), and Library::load().
int Library::AllocFunc::reallocArg |
Definition at line 88 of file library.h.
Referenced by CheckLeakAutoVar::changeAllocStatusIfRealloc(), CheckMemoryLeakInFunction::checkReallocUsage(), CheckMemoryLeak::getReallocationType(), CheckMemoryLeak::isReopenStandardStream(), and Library::load().