Cppcheck
Functions | Variables
settings.cpp File Reference
#include "config.h"
#include "settings.h"
#include "path.h"
#include "summaries.h"
#include "vfvalue.h"
#include <cctype>
#include <fstream>
#include <sstream>
#include <utility>
#include "json.h"
#include <unistd.h>

Go to the source code of this file.

Functions

static int getPid ()
 

Variables

static const std::set< std::string > autosarCheckers
 
static const std::set< std::string > certCCheckers
 
static const std::set< std::string > certCppCheckers
 
static const std::set< std::string > misrac2012Checkers
 
static const std::set< std::string > misrac2023Checkers
 
static const std::set< std::string > misracpp2008Checkers
 
static const std::set< std::string > misracpp2023Checkers
 

Function Documentation

◆ getPid()

static int getPid ( )
static

Definition at line 47 of file settings.cpp.

Referenced by Settings::Settings().

Variable Documentation

◆ autosarCheckers

const std::set<std::string> autosarCheckers
static

Definition at line 306 of file settings.cpp.

Referenced by Settings::isPremiumEnabled().

◆ certCCheckers

const std::set<std::string> certCCheckers
static

Definition at line 366 of file settings.cpp.

Referenced by Settings::isPremiumEnabled().

◆ certCppCheckers

const std::set<std::string> certCppCheckers
static
Initial value:
{
"IOWithoutPositioning",
"accessMoved",
"comparePointers",
"containerOutOfBounds",
"ctuOneDefinitionRuleViolation",
"danglingLifetime",
"danglingReference",
"danglingTempReference",
"danglingTemporaryLifetime",
"deallocThrow",
"deallocuse",
"doubleFree",
"eraseDereference",
"exceptThrowInDestructor",
"initializerList",
"invalidContainer",
"memleak",
"mismatchAllocDealloc",
"missingReturn",
"nullPointer",
"operatorEqToSelf",
"returnDanglingLifetime",
"sizeofCalculation",
"uninitvar",
"virtualCallInConstructor",
"virtualDestructor"
}

Definition at line 406 of file settings.cpp.

Referenced by Settings::isPremiumEnabled().

◆ misrac2012Checkers

const std::set<std::string> misrac2012Checkers
static

Definition at line 435 of file settings.cpp.

Referenced by Settings::isPremiumEnabled().

◆ misrac2023Checkers

const std::set<std::string> misrac2023Checkers
static

Definition at line 479 of file settings.cpp.

Referenced by Settings::isPremiumEnabled().

◆ misracpp2008Checkers

const std::set<std::string> misracpp2008Checkers
static

Definition at line 523 of file settings.cpp.

Referenced by Settings::isPremiumEnabled().

◆ misracpp2023Checkers

const std::set<std::string> misracpp2023Checkers
static

Definition at line 568 of file settings.cpp.

Referenced by Settings::isPremiumEnabled().