Cppcheck
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
Check Class Reference

Interface class that cppcheck uses to communicate with the checks. More...

#include <check.h>

Inheritance diagram for Check:
Check64BitPortability CheckAssignIf CheckAutoVariables CheckBoost CheckBufferOverrun CheckClass CheckExceptionSafety CheckInternal CheckIO CheckLeakAutoVar CheckMemoryLeakInClass CheckMemoryLeakInFunction CheckMemoryLeakNoVar CheckMemoryLeakStructMember CheckNonReentrantFunctions CheckNullPointer CheckObsoleteFunctions CheckOther CheckPostfixOperator CheckStl CheckUninitVar CheckUnusedFunctions CheckUnusedVar

List of all members.

Public Member Functions

 Check (const std::string &aname)
 This constructor is used when registering the CheckClass.
 Check (const std::string &aname, const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)
 This constructor is used when running checks.
virtual ~Check ()
virtual void analyse (const Token *tokens, std::set< std::string > &result) const
 analyse code - must be thread safe
virtual void saveAnalysisData (const std::set< std::string > &data) const
 Save analysis data - the caller ensures thread safety.
virtual void runChecks (const Tokenizer *, const Settings *, ErrorLogger *)
 run checks, the token list is not simplified
virtual void runSimplifiedChecks (const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)=0
 run checks, the token list is simplified
virtual void getErrorMessages (ErrorLogger *errorLogger, const Settings *settings) const =0
 get error messages
const std::string & name () const
 class name, used to generate documentation
virtual std::string classInfo () const =0
 get information about this class, used to generate documentation
bool inconclusiveFlag () const

Static Public Member Functions

static std::list< Check * > & instances ()
 List of registered check classes.
static void reportError (const ErrorLogger::ErrorMessage &errmsg)
 Write given error to errorlogger or to out stream in xml format.

Protected Member Functions

void reportError (const Token *tok, const Severity::SeverityType severity, const std::string &id, const std::string &msg, bool inconclusive=false)
 report an error
void reportError (const std::list< const Token * > &callstack, Severity::SeverityType severity, const std::string &id, const std::string &msg, bool inconclusive=false)
 report an error

Protected Attributes

const Tokenizer *const _tokenizer
const Settings *const _settings
ErrorLogger *const _errorLogger

Private Member Functions

void operator= (const Check &)
 disabled assignment operator and copy constructor
 Check (const Check &)

Private Attributes

const std::string _name

Detailed Description

Interface class that cppcheck uses to communicate with the checks.

All checking classes must inherit from this class

Definition at line 39 of file check.h.


Constructor & Destructor Documentation

Check::Check ( const std::string &  aname,
const Tokenizer tokenizer,
const Settings settings,
ErrorLogger errorLogger 
) [inline]

This constructor is used when running checks.

Definition at line 45 of file check.h.

virtual Check::~Check ( ) [inline, virtual]

Definition at line 49 of file check.h.

Check::Check ( const Check ) [private]

Member Function Documentation

virtual void Check::analyse ( const Token tokens,
std::set< std::string > &  result 
) const [inline, virtual]

analyse code - must be thread safe

Parameters:
tokensThe tokens to analyse
resultcontainer where results are stored

Reimplemented in CheckUninitVar.

Definition at line 66 of file check.h.

virtual std::string Check::classInfo ( ) const [pure virtual]
virtual void Check::getErrorMessages ( ErrorLogger errorLogger,
const Settings settings 
) const [pure virtual]
bool Check::inconclusiveFlag ( ) const [inline]

Definition at line 108 of file check.h.

Referenced by Nullpointer::parse(), and Nullpointer::parseCondition().

static std::list<Check *>& Check::instances ( ) [inline, static]

List of registered check classes.

This is used by Cppcheck to run checks and generate documentation

Definition at line 56 of file check.h.

Referenced by CppCheck::analyseFile(), Check(), CppCheck::checkFile(), CppCheck::getErrorMessages(), and CmdLineParser::ParseFromArgs().

const std::string& Check::name ( ) const [inline]

class name, used to generate documentation

Definition at line 92 of file check.h.

Referenced by std::less< Check * >::operator()().

void Check::operator= ( const Check ) [private]

disabled assignment operator and copy constructor

static void Check::reportError ( const ErrorLogger::ErrorMessage errmsg) [inline, static]

Write given error to errorlogger or to out stream in xml format.

This is for for printout out the error list with --errorlist

Parameters:
errmsgError message to write

Definition at line 104 of file check.h.

References ErrorLogger::ErrorMessage::toXML().

Referenced by CheckUnusedVar::allocatedButUnusedVariableError(), CheckOther::alwaysTrueFalseStringCompareError(), CheckOther::alwaysTrueStringVariableCompareError(), CheckBufferOverrun::argumentSizeError(), CheckBufferOverrun::arrayIndexOutOfBoundsError(), CheckBufferOverrun::arrayIndexThenCheckError(), CheckOther::assignBoolToPointerError(), CheckAssignIf::assignIfError(), Check64BitPortability::assignmentAddressToIntegerError(), CheckOther::assignmentInAssertError(), Check64BitPortability::assignmentIntegerToAddressError(), CheckStl::autoPointerArrayError(), CheckStl::autoPointerContainerError(), CheckStl::autoPointerError(), CheckOther::bitwiseOnBooleanError(), CheckBoost::boostForeachError(), CheckBufferOverrun::bufferNotZeroTerminatedError(), CheckBufferOverrun::bufferOverrunError(), CheckExceptionSafety::catchExceptionByValueError(), CheckOther::cctypefunctionCallError(), CheckOther::charArrayIndexError(), CheckOther::charBitOpError(), CheckOther::checkCastIntToCharAndBackError(), CheckClass::checkConstError2(), CheckOther::checkPipeParameterSizeError(), CheckMemoryLeakInFunction::checkScope(), CheckUninitVar::checkScopeForVariable(), CheckOther::checkSleepTimeError(), CheckOther::checkSwitchCaseFallThrough(), CheckOther::clarifyCalculationError(), CheckOther::clarifyConditionError(), CheckOther::clarifyStatementError(), CheckBufferOverrun::cmdLineArgsError(), CheckAssignIf::comparisonError(), CheckOther::comparisonOfBoolExpressionWithIntError(), CheckOther::comparisonOfBoolWithBoolError(), CheckOther::comparisonOfBoolWithIntError(), CheckOther::comparisonOfBoolWithInvalidComparator(), CheckOther::comparisonOfFuncReturningBoolError(), CheckOther::comparisonOfTwoFuncsReturningBoolError(), CheckInternal::complexPatternError(), CheckLeakAutoVar::configurationInfo(), CheckOther::constStatementError(), CheckClass::copyConstructorShallowCopyError(), CheckIO::coutCerrMisusageError(), CheckOther::cstyleCastError(), CheckOther::dangerousUsageStrtolError(), CheckLeakAutoVar::deallocReturnError(), CheckExceptionSafety::deallocThrowError(), CheckStl::dereferenceErasedError(), CheckExceptionSafety::destructorsError(), CheckOther::divideSizeofError(), CheckOther::doubleCloseDirError(), CheckOther::doubleFreeError(), CheckOther::duplicateBranchError(), CheckOther::duplicateBreakError(), CheckOther::duplicateExpressionError(), CheckOther::duplicateIfError(), CheckAutoVariables::errorAutoVariableAssignment(), CheckAutoVariables::errorInvalidDeallocation(), CheckAutoVariables::errorReturnAddressOfFunctionParameter(), CheckAutoVariables::errorReturnAddressToAutoVariable(), CheckAutoVariables::errorReturnPointerToLocalArray(), CheckAutoVariables::errorReturnReference(), CheckAutoVariables::errorReturnTempReference(), CheckAutoVariables::errorUselessAssignmentPtrArg(), CheckIO::fflushOnInputStreamError(), CheckMemoryLeakNoVar::functionCallLeak(), CheckNonReentrantFunctions::getErrorMessages(), CheckObsoleteFunctions::getErrorMessages(), CheckStl::if_findError(), CheckOther::incompleteArrayFillError(), CheckOther::incorrectLogicOperatorError(), CheckOther::incorrectStringBooleanError(), CheckOther::incorrectStringCompareError(), CheckOther::incrementBooleanError(), CheckClass::initializerListError(), CheckOther::invalidFreeError(), CheckStl::invalidIteratorError(), CheckIO::invalidLengthModifierError(), CheckOther::invalidPointerCastError(), CheckStl::invalidPointerError(), CheckIO::invalidPrintfArgTypeError_float(), CheckIO::invalidPrintfArgTypeError_int(), CheckIO::invalidPrintfArgTypeError_n(), CheckIO::invalidPrintfArgTypeError_p(), CheckIO::invalidPrintfArgTypeError_s(), CheckIO::invalidPrintfArgTypeError_sint(), CheckIO::invalidPrintfArgTypeError_uint(), CheckIO::invalidScanfArgTypeError(), CheckIO::invalidScanfError(), CheckIO::invalidScanfFormatWidthError(), CheckIO::ioWithoutPositioningError(), CheckStl::iteratorsError(), CheckClass::mallocOnClassError(), CheckClass::mallocOnClassWarning(), CheckOther::mathfunctionCallError(), CheckClass::memsetError(), CheckOther::memsetZeroBytesError(), CheckAssignIf::mismatchingBitAndError(), CheckStl::mismatchingContainersError(), CheckStl::missingComparisonError(), CheckInternal::missingPercentCharacterError(), CheckOther::misusedScopeObjectError(), CheckOther::moduloAlwaysTrueFalseError(), CheckAssignIf::multiConditionError(), CheckOther::multiplySizeofError(), CheckOther::negativeBitwiseShiftError(), CheckBufferOverrun::negativeIndexError(), CheckClass::noConstructorError(), CheckClass::noCopyConstructorError(), CheckNonReentrantFunctions::nonReentrantFunctions(), CheckNullPointer::nullPointerDefaultArgError(), CheckNullPointer::nullPointerError(), CheckObsoleteFunctions::obsoleteFunctions(), CheckClass::operatorEqRetRefThisError(), CheckClass::operatorEqReturnError(), CheckClass::operatorEqToSelfError(), CheckClass::operatorEqVarError(), CheckOther::oppositeInnerConditionError(), CheckBufferOverrun::outOfBoundsError(), CheckOther::passedByValueError(), CheckOther::pointerLessThanZeroError(), CheckBufferOverrun::pointerOutOfBoundsError(), CheckOther::pointerPositiveError(), CheckBufferOverrun::possibleBufferOverrunError(), CheckBufferOverrun::possibleReadlinkBufferOverrunError(), CheckPostfixOperator::postfixOperatorError(), CheckMemoryLeakInClass::publicAllocationError(), CheckIO::readWriteOnlyFileError(), CheckOther::redundantAssignmentError(), CheckOther::redundantAssignmentInSwitchError(), CheckOther::redundantBitwiseOperationInSwitchError(), CheckOther::redundantConditionError(), CheckOther::redundantCopyError(), CheckOther::redundantCopyInSwitchError(), CheckOther::redundantGetAndSetUserIdError(), CheckStl::redundantIfRemoveError(), CheckInternal::redundantNextPreviousError(), CheckMemoryLeak::reportErr(), CheckExceptionSafety::rethrowCopyError(), Check64BitPortability::returnIntegerError(), Check64BitPortability::returnPointerError(), CheckOther::selfAssignmentError(), CheckInternal::simplePatternError(), CheckBufferOverrun::sizeArgumentAsCharError(), CheckStl::sizeError(), CheckOther::sizeofCalculationError(), CheckOther::sizeofForArrayParameterError(), CheckOther::sizeofForNumericParameterError(), CheckOther::sizeofForPointerError(), CheckOther::sizeofsizeofError(), CheckOther::sprintfOverlappingDataError(), CheckStl::stlBoundariesError(), CheckStl::stlOutOfBoundsError(), CheckStl::string_c_strError(), CheckStl::string_c_strParam(), CheckStl::string_c_strReturn(), CheckStl::string_c_strThrowError(), CheckBufferOverrun::strncatUsageError(), CheckOther::strPlusCharError(), CheckClass::suggestInitializationList(), CheckOther::suspiciousCaseInSwitchError(), CheckOther::suspiciousEqualityComparisonError(), CheckOther::SuspiciousSemicolonError(), CheckOther::suspiciousStringCompareError(), CheckOther::switchCaseFallThrough(), CheckBufferOverrun::terminateStrncpyError(), CheckClass::thisSubtractionError(), CheckOther::udivError(), CheckUnusedVar::unassignedVariableError(), CheckUninitVar::uninitdataError(), CheckUninitVar::uninitstringError(), CheckUninitVar::uninitStructMemberError(), CheckUninitVar::uninitvarError(), CheckClass::uninitVarError(), CheckInternal::unknownPatternError(), CheckOther::unreachableCodeError(), CheckUnusedVar::unreadVariableError(), CheckMemoryLeakInClass::unsafeClassError(), CheckOther::unsignedLessThanZeroError(), CheckOther::unsignedPositiveError(), CheckUnusedFunctions::unusedFunctionError(), CheckClass::unusedPrivateFunctionError(), CheckUnusedVar::unusedStructMemberError(), CheckUnusedVar::unusedVariableError(), CheckIO::useClosedFileError(), CheckStl::uselessCallsEmptyError(), CheckStl::uselessCallsRemoveError(), CheckStl::uselessCallsReturnValueError(), CheckStl::uselessCallsSubstrError(), CheckStl::uselessCallsSwapError(), CheckOther::varFuncNullUBError(), CheckOther::variableScopeError(), CheckClass::virtualDestructorError(), CheckBufferOverrun::writeOutsideBufferSizeError(), CheckIO::writeReadOnlyFileError(), CheckIO::wrongPrintfScanfArgumentsError(), and CheckOther::zerodivError().

void Check::reportError ( const Token tok,
const Severity::SeverityType  severity,
const std::string &  id,
const std::string &  msg,
bool  inconclusive = false 
) [inline, protected]

report an error

Definition at line 118 of file check.h.

void Check::reportError ( const std::list< const Token * > &  callstack,
Severity::SeverityType  severity,
const std::string &  id,
const std::string &  msg,
bool  inconclusive = false 
) [inline, protected]

report an error

Definition at line 124 of file check.h.

virtual void Check::runChecks ( const Tokenizer ,
const Settings ,
ErrorLogger  
) [inline, virtual]

run checks, the token list is not simplified

Reimplemented in CheckOther, CheckUnusedVar, CheckNullPointer, Check64BitPortability, CheckClass, CheckAutoVariables, and CheckIO.

Definition at line 82 of file check.h.

virtual void Check::runSimplifiedChecks ( const Tokenizer tokenizer,
const Settings settings,
ErrorLogger errorLogger 
) [pure virtual]
virtual void Check::saveAnalysisData ( const std::set< std::string > &  data) const [inline, virtual]

Save analysis data - the caller ensures thread safety.

Parameters:
dataThe data where the results are saved

Reimplemented in CheckUninitVar.

Definition at line 76 of file check.h.


Member Data Documentation

ErrorLogger* const Check::_errorLogger [protected]
const std::string Check::_name [private]

Definition at line 133 of file check.h.

const Settings* const Check::_settings [protected]

Definition at line 114 of file check.h.

Referenced by CheckBufferOverrun::arrayIndexThenCheck(), CheckAssignIf::assignIf(), CheckAutoVariables::autoVariables(), CheckMemoryLeakInFunction::call_func(), CheckMemoryLeakNoVar::check(), CheckOther::checkAlwaysTrueOrFalseStringCompare(), CheckOther::checkAssignmentInAssert(), CheckStl::checkAutoPointer(), CheckOther::checkBitwiseOnBoolean(), CheckOther::checkCastIntToCharAndBack(), CheckExceptionSafety::checkCatchExceptionByValue(), CheckOther::checkCharVariable(), CheckOther::checkComparisonOfBoolExpressionWithInt(), CheckOther::checkComparisonOfBoolWithBool(), CheckOther::checkComparisonOfBoolWithInt(), CheckOther::checkComparisonOfFuncReturningBool(), CheckClass::checkConst(), CheckOther::checkConstantFunctionParameter(), CheckOther::checkDuplicateBranch(), CheckOther::checkDuplicateExpression(), CheckOther::checkDuplicateIf(), CheckBufferOverrun::checkFunctionParameter(), CheckUnusedVar::checkFunctionVariableUsage(), CheckOther::checkIncompleteArrayFill(), CheckOther::checkIncompleteStatement(), CheckOther::checkIncorrectLogicOperator(), CheckOther::checkIncorrectStringCompare(), CheckOther::checkIncrementBoolean(), CheckOther::checkInvalidFree(), CheckOther::checkMemsetZeroBytes(), CheckOther::checkModuloAlwaysTrueFalse(), CheckOther::checkPipeParameterSize(), CheckMemoryLeakInClass::checkPublicFunctions(), CheckBufferOverrun::checkReadlinkBufferUsage(), CheckOther::checkRedundantAssignment(), CheckOther::checkRedundantAssignmentInSwitch(), CheckOther::checkRedundantCopy(), CheckExceptionSafety::checkRethrowCopy(), CheckBufferOverrun::checkScope(), CheckMemoryLeakInFunction::checkScope(), CheckUninitVar::checkScopeForVariable(), CheckOther::checkSelfAssignment(), CheckOther::checkSignOfUnsignedVariable(), CheckOther::checkSizeofForNumericParameter(), CheckOther::checkSizeofForPointerSize(), CheckOther::checkSleepTimeInterval(), CheckUnusedVar::checkStructMemberUsage(), CheckOther::checkSuspiciousCaseInSwitch(), CheckOther::checkSuspiciousEqualityComparison(), CheckOther::checkSuspiciousSemicolon(), CheckOther::checkSuspiciousStringCompare(), CheckOther::checkSwitchCaseFallThrough(), CheckOther::checkUnreachableCode(), CheckOther::checkUnsignedDivision(), CheckOther::checkVarFuncNullUB(), CheckOther::checkVariableScope(), CheckIO::checkWrongPrintfScanfArguments(), CheckOther::clarifyCalculation(), CheckOther::clarifyCondition(), CheckOther::clarifyStatement(), CheckAssignIf::comparison(), CheckLeakAutoVar::configurationInfo(), CheckClass::constructors(), CheckClass::copyconstructors(), CheckExceptionSafety::deallocThrow(), CheckUninitVar::executionPaths(), CheckLeakAutoVar::functionCall(), CheckStl::if_find(), CheckClass::initializationListUsage(), CheckClass::initializerListOrder(), CheckOther::invalidPointerCast(), CheckIO::invalidScanf(), CheckIO::invalidScanfFormatWidthError(), CheckOther::isUnsigned(), CheckStl::missingComparison(), CheckAssignIf::multiCondition(), CheckClass::noMemset(), CheckNonReentrantFunctions::nonReentrantFunctions(), CheckNullPointer::nullPointer(), CheckNullPointer::nullPointerByCheckAndDeRef(), CheckNullPointer::nullPointerByDeRefAndChec(), CheckNullPointer::nullPointerDefaultArgument(), CheckNullPointer::nullPointerStructByDeRefAndChec(), CheckObsoleteFunctions::obsoleteFunctions(), CheckClass::operatorEq(), CheckClass::operatorEqRetRefThis(), CheckClass::operatorEqToSelf(), CheckOther::oppositeInnerCondition(), Check64BitPortability::pointerassignment(), CheckPostfixOperator::postfixOperator(), CheckClass::privateFunctions(), CheckOther::redundantGetAndSetUserId(), CheckMemoryLeakInFunction::simplifycode(), CheckStl::size(), CheckBufferOverrun::sizeArgumentAsCharError(), CheckOther::sizeofCalculation(), CheckOther::sizeofsizeof(), CheckStl::string_c_str(), CheckBufferOverrun::strncatUsageError(), CheckOther::suspiciousSizeofCalculation(), CheckClass::thisSubtraction(), CheckStl::uselessCalls(), CheckOther::warningOldStylePointerCast(), CheckBufferOverrun::writeOutsideBufferSize(), and CheckIO::wrongPrintfScanfArgumentsError().

const Tokenizer* const Check::_tokenizer [protected]

Definition at line 113 of file check.h.

Referenced by CheckBufferOverrun::arrayIndexInForLoop(), CheckBufferOverrun::arrayIndexThenCheck(), CheckAssignIf::assignIf(), CheckAutoVariables::autoVariables(), CheckUninitVar::check(), CheckLeakAutoVar::check(), CheckMemoryLeakInFunction::check(), CheckMemoryLeakInClass::check(), CheckMemoryLeakStructMember::check(), CheckMemoryLeakNoVar::check(), CheckOther::checkAlwaysTrueOrFalseStringCompare(), CheckOther::checkAssignBoolToPointer(), CheckOther::checkAssignmentInAssert(), CheckStl::checkAutoPointer(), CheckOther::checkBitwiseOnBoolean(), CheckBoost::checkBoostForeachModification(), CheckBufferOverrun::checkBufferAllocatedWithStrlen(), CheckOther::checkCastIntToCharAndBack(), CheckExceptionSafety::checkCatchExceptionByValue(), CheckOther::checkCCTypeFunctions(), CheckOther::checkCharVariable(), CheckOther::checkComparisonOfBoolExpressionWithInt(), CheckOther::checkComparisonOfBoolWithBool(), CheckOther::checkComparisonOfBoolWithInt(), CheckOther::checkComparisonOfFuncReturningBool(), CheckOther::checkConstantFunctionParameter(), CheckIO::checkCoutCerrMisusage(), CheckOther::checkDoubleFree(), CheckOther::checkDuplicateBranch(), CheckOther::checkDuplicateExpression(), CheckOther::checkDuplicateIf(), CheckIO::checkFileUsage(), CheckBufferOverrun::checkFunctionParameter(), CheckUnusedVar::checkFunctionVariableUsage(), CheckUnusedVar::checkFunctionVariableUsage_iterateScopes(), CheckBufferOverrun::checkGlobalAndLocalVariable(), CheckUninitVar::checkIfForWhileHead(), CheckOther::checkIncompleteArrayFill(), CheckOther::checkIncompleteStatement(), CheckOther::checkIncorrectLogicOperator(), CheckOther::checkIncorrectStringCompare(), CheckOther::checkIncrementBoolean(), CheckBufferOverrun::checkInsecureCmdLineArgs(), CheckOther::checkInvalidFree(), CheckUninitVar::checkLoopBody(), CheckOther::checkMathFunctions(), CheckOther::checkMemsetZeroBytes(), CheckInternal::checkMissingPercentCharacter(), CheckOther::checkMisusedScopedObject(), CheckOther::checkModuloAlwaysTrueFalse(), CheckOther::checkNegativeBitwiseShift(), CheckOther::checkPipeParameterSize(), CheckMemoryLeakInClass::checkPublicFunctions(), CheckOther::checkRedundantAssignment(), CheckOther::checkRedundantAssignmentInSwitch(), CheckOther::checkRedundantCopy(), CheckInternal::checkRedundantNextPrevious(), CheckExceptionSafety::checkRethrowCopy(), CheckUninitVar::checkScope(), CheckLeakAutoVar::checkScope(), CheckBufferOverrun::checkScopeForBody(), CheckUninitVar::checkScopeForVariable(), CheckOther::checkSelfAssignment(), CheckOther::checkSignOfUnsignedVariable(), CheckOther::checkSizeofForArrayParameter(), CheckOther::checkSizeofForNumericParameter(), CheckOther::checkSizeofForPointerSize(), CheckOther::checkSleepTimeInterval(), CheckUnusedVar::checkStructMemberUsage(), CheckBufferOverrun::checkStructVariable(), CheckMemoryLeakStructMember::checkStructVariable(), CheckOther::checkSuspiciousCaseInSwitch(), CheckOther::checkSuspiciousEqualityComparison(), CheckOther::checkSuspiciousSemicolon(), CheckOther::checkSuspiciousStringCompare(), CheckOther::checkSwitchCaseFallThrough(), CheckInternal::checkTokenMatchPatterns(), CheckInternal::checkTokenSimpleMatchPatterns(), CheckInternal::checkUnknownPattern(), CheckOther::checkUnreachableCode(), CheckOther::checkUnsignedDivision(), CheckOther::checkVarFuncNullUB(), CheckOther::checkVariableScope(), CheckIO::checkWrongPrintfScanfArguments(), CheckOther::checkZeroDivision(), CheckOther::clarifyCalculation(), CheckOther::clarifyCondition(), CheckOther::clarifyStatement(), CheckAssignIf::comparison(), CheckExceptionSafety::deallocThrow(), CheckLeakAutoVar::deallocUseError(), CheckExceptionSafety::destructors(), CheckStl::erase(), CheckUninitVar::executionPaths(), CheckBufferOverrun::executionPaths(), CheckNullPointer::executionPaths(), CheckLeakAutoVar::functionCall(), CheckMemoryLeakInFunction::getcode(), CheckStl::if_find(), CheckOther::invalidFunctionUsage(), CheckOther::invalidPointerCast(), CheckIO::invalidScanf(), CheckUninitVar::isMemberVariableUsage(), CheckOther::isUnsigned(), CheckStl::iterators(), CheckLeakAutoVar::leakError(), CheckLeakAutoVar::mismatchError(), CheckStl::mismatchingContainers(), CheckStl::missingComparison(), CheckAssignIf::multiCondition(), CheckBufferOverrun::negativeIndex(), CheckNonReentrantFunctions::nonReentrantFunctions(), CheckNullPointer::nullConstantDereference(), CheckNullPointer::nullPointerByCheckAndDeRef(), CheckNullPointer::nullPointerByDeRefAndChec(), CheckNullPointer::nullPointerDefaultArgument(), CheckNullPointer::nullPointerLinkedList(), CheckNullPointer::nullPointerStructByDeRefAndChec(), CheckObsoleteFunctions::obsoleteFunctions(), CheckOther::oppositeInnerCondition(), Check64BitPortability::pointerassignment(), CheckPostfixOperator::postfixOperator(), CheckStl::pushback(), CheckStl::redundantCondition(), CheckOther::redundantGetAndSetUserId(), CheckLeakAutoVar::ret(), CheckAutoVariables::returnPointerToLocalArray(), CheckAutoVariables::returnReference(), CheckAutoVariables::returnTemporary(), CheckStl::size(), CheckOther::sizeofCalculation(), CheckOther::sizeofsizeof(), CheckStl::stlBoundaries(), CheckStl::stlOutOfBounds(), CheckStl::string_c_str(), CheckOther::strPlusChar(), CheckOther::suspiciousSizeofCalculation(), CheckClass::thisSubtraction(), CheckStl::uselessCalls(), CheckClass::virtualDestructor(), CheckOther::warningOldStylePointerCast(), and CheckBufferOverrun::writeOutsideBufferSize().


The documentation for this class was generated from the following file: