Static Value-Flow Analysis
Loading...
Searching...
No Matches
std::hash< SVF::CxtThreadProc > Struct Reference

#include <CxtStmt.h>

Public Member Functions

size_t operator() (const SVF::CxtThreadProc &ctp) const

Detailed Description

Definition at line 473 of file CxtStmt.h.

Member Function Documentation

◆ operator()()

size_t std::hash< SVF::CxtThreadProc >::operator() ( const SVF::CxtThreadProc & ctp) const
inline

Definition at line 475 of file CxtStmt.h.

476 {
477 std::hash<SVF::CallStrCxt> ch;
478 SVF::Hash<std::pair<SVF::NodeID, size_t>> pairH;
479 return pairH({ctp.getTid(),
480 pairH({ctp.getProc()->getId(), ch(ctp.getContext())})});
481 }
NodeID getId() const
Get the memory object id.
const CallStrCxt & getContext() const
Return current context.
Definition CxtStmt.h:330
const FunObjVar * getProc() const
Return current procedure.
Definition CxtStmt.h:325
NodeID getTid() const
Return current thread id.
Definition CxtStmt.h:410

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