Cppcheck
Classes | Namespaces | Functions | Variables
ctu.h File Reference
#include "config.h"
#include "check.h"
#include "errorlogger.h"
#include "mathlib.h"
#include "vfvalue.h"
#include <list>
#include <map>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  CTU::FileInfo
 
struct  CTU::FileInfo::Location
 
struct  CTU::FileInfo::UnsafeUsage
 
class  CTU::FileInfo::CallBase
 
class  CTU::FileInfo::FunctionCall
 
class  CTU::FileInfo::NestedCall
 

Namespaces

 tinyxml2
 
 CTU
 Whole program analysis (ctu=Cross Translation Unit)
 

Functions

CPPCHECKLIB std::string CTU::toString (const std::list< FileInfo::UnsafeUsage > &unsafeUsage)
 
CPPCHECKLIB std::string CTU::getFunctionId (const Tokenizer &tokenizer, const Function *function)
 
CPPCHECKLIB FileInfo * CTU::getFileInfo (const Tokenizer &tokenizer)
 Parse current TU and extract file info. More...
 
CPPCHECKLIB std::list< FileInfo::UnsafeUsage > CTU::getUnsafeUsage (const Tokenizer &tokenizer, const Settings &settings, bool(*isUnsafeUsage)(const Settings &settings, const Token *argtok, MathLib::bigint *value))
 
CPPCHECKLIB std::list< FileInfo::UnsafeUsage > CTU::loadUnsafeUsageListFromXml (const tinyxml2::XMLElement *xmlElement)
 

Variables

int CTU::maxCtuDepth = 2