CCTLib
Calling-context and data-object attribution library for Intel Pin
CctInventory Struct Reference
+ Collaboration diagram for CctInventory:

Public Member Functions

size_t chainCountForFn (const string &fn) const
 
bool hasChain (const vector< string > &expected) const
 
bool hasFn (const string &fn) const
 
bool anyChainContainsFn (const string &fn) const
 
bool everyChainToFnHasImmediateParent (const string &leafFn, const string &expectedParent) const
 
size_t maxCountInAnyChain (const string &fn) const
 
size_t subChainCountForFn (const string &fn) const
 
bool subHasFn (const string &fn) const
 
bool subAnyChainContainsFn (const string &fn) const
 
size_t subMaxCountInAnyChain (const string &fn) const
 
size_t subChainsContainingFn (const string &fn) const
 
bool everySubChainToFnHasImmediateParent (const string &leafFn, const string &expectedParent) const
 
bool noAncestorOfFnIsInSet (const string &fn, const set< string > &badAncestors) const
 

Public Attributes

map< FnChain, uint64_t > chains
 
map< string, set< FnChain > > byLeafFn
 
map< string, uint64_t > hitsByLeafFn
 
map< string, size_tsentinelCounts
 
map< string, size_tsoftSentinelCounts
 
size_t maxDepthObserved = 0
 
size_t totalDistinctHandles = 0
 
map< FnChain, uint64_t > subChains
 
map< string, set< FnChain > > subByLeafFn
 
size_t subMaxDepthObserved = 0
 

Detailed Description

Definition at line 165 of file cct_shape_check.cpp.

Member Function Documentation

◆ anyChainContainsFn()

bool CctInventory::anyChainContainsFn ( const string &  fn) const
inline

Definition at line 200 of file cct_shape_check.cpp.

Referenced by check_exc_ctor_throw().

◆ chainCountForFn()

size_t CctInventory::chainCountForFn ( const string &  fn) const
inline

Definition at line 190 of file cct_shape_check.cpp.

◆ everyChainToFnHasImmediateParent()

bool CctInventory::everyChainToFnHasImmediateParent ( const string &  leafFn,
const string &  expectedParent 
) const
inline

◆ everySubChainToFnHasImmediateParent()

bool CctInventory::everySubChainToFnHasImmediateParent ( const string &  leafFn,
const string &  expectedParent 
) const
inline

◆ hasChain()

bool CctInventory::hasChain ( const vector< string > &  expected) const
inline

Definition at line 194 of file cct_shape_check.cpp.

◆ hasFn()

◆ maxCountInAnyChain()

size_t CctInventory::maxCountInAnyChain ( const string &  fn) const
inline

◆ noAncestorOfFnIsInSet()

bool CctInventory::noAncestorOfFnIsInSet ( const string &  fn,
const set< string > &  badAncestors 
) const
inline

Definition at line 303 of file cct_shape_check.cpp.

Referenced by expectMarkerAnchored().

◆ subAnyChainContainsFn()

bool CctInventory::subAnyChainContainsFn ( const string &  fn) const
inline

◆ subChainCountForFn()

size_t CctInventory::subChainCountForFn ( const string &  fn) const
inline

◆ subChainsContainingFn()

size_t CctInventory::subChainsContainingFn ( const string &  fn) const
inline

Definition at line 271 of file cct_shape_check.cpp.

◆ subHasFn()

bool CctInventory::subHasFn ( const string &  fn) const
inline

◆ subMaxCountInAnyChain()

size_t CctInventory::subMaxCountInAnyChain ( const string &  fn) const
inline

Member Data Documentation

◆ byLeafFn

map<string, set<FnChain> > CctInventory::byLeafFn

Definition at line 169 of file cct_shape_check.cpp.

Referenced by BuildInventoryFromThread(), and RunChecksAndExit().

◆ chains

map<FnChain, uint64_t> CctInventory::chains

Definition at line 167 of file cct_shape_check.cpp.

Referenced by BuildInventoryFromThread(), and RunChecksAndExit().

◆ hitsByLeafFn

map<string, uint64_t> CctInventory::hitsByLeafFn

Definition at line 171 of file cct_shape_check.cpp.

Referenced by BuildInventoryFromThread(), and RunChecksAndExit().

◆ maxDepthObserved

size_t CctInventory::maxDepthObserved = 0

Definition at line 176 of file cct_shape_check.cpp.

Referenced by BuildInventoryFromThread(), and RunChecksAndExit().

◆ sentinelCounts

map<string, size_t> CctInventory::sentinelCounts

◆ softSentinelCounts

map<string, size_t> CctInventory::softSentinelCounts

Definition at line 175 of file cct_shape_check.cpp.

Referenced by BuildInventoryFromThread().

◆ subByLeafFn

map<string, set<FnChain> > CctInventory::subByLeafFn

Definition at line 187 of file cct_shape_check.cpp.

Referenced by BuildInventoryFromThread().

◆ subChains

map<FnChain, uint64_t> CctInventory::subChains

Definition at line 186 of file cct_shape_check.cpp.

Referenced by BuildInventoryFromThread(), and check_rec_baseline_nonrec().

◆ subMaxDepthObserved

size_t CctInventory::subMaxDepthObserved = 0

Definition at line 188 of file cct_shape_check.cpp.

Referenced by BuildInventoryFromThread().

◆ totalDistinctHandles

size_t CctInventory::totalDistinctHandles = 0

Definition at line 177 of file cct_shape_check.cpp.

Referenced by BuildInventoryFromThread(), and RunChecksAndExit().


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