Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SVF::ThreadCallGraph::CallSiteIdCmp Struct Reference

#include <ThreadCallGraph.h>

Public Member Functions

bool operator() (const CallICFGNode *lhs, const CallICFGNode *rhs) const
 

Detailed Description

Order fork/join callsites by ICFG node id, never by pointer value: thread ids are assigned in discovery order over these sets (TCT), and the MHP/lock fixed points seed from them, so their iteration order must be identical across runs (a pointer-hashed set varies with ASLR).

Definition at line 149 of file ThreadCallGraph.h.

Member Function Documentation

◆ operator()()

bool SVF::ThreadCallGraph::CallSiteIdCmp::operator() ( const CallICFGNode lhs,
const CallICFGNode rhs 
) const
inline

Definition at line 151 of file ThreadCallGraph.h.

152 {
153 return lhs->getId() < rhs->getId();
154 }
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:76

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