Static Value-Flow Analysis
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
SVF::GenericGraphTraits< SVF::CallGraph * > Struct Reference

#include <CallGraph.h>

Inheritance diagram for SVF::GenericGraphTraits< SVF::CallGraph * >:
SVF::GenericGraphTraits< SVF::GenericGraph< SVF::CallGraphNode, SVF::CallGraphEdge > * >

Public Types

typedef SVF::CallGraphNodeNodeRef
 
- Public Types inherited from SVF::GenericGraphTraits< SVF::GenericGraph< SVF::CallGraphNode, SVF::CallGraphEdge > * >
using NodeRef = typename GraphType::UnknownGraphTypeError
 

Static Public Member Functions

static void getInEdges (const SVF::CallGraph *, const SVF::CallGraphNode *n, std::vector< const SVF::CallGraphEdge * > &out)
 In-edges of n under this graph (whole CallGraph: all of them).
 
static const SVF::CallGraphgetCallGraph (const SVF::CallGraph *g)
 The CallGraph object whose nodes an analysis over this graph scans.
 

Detailed Description

Definition at line 502 of file CallGraph.h.

Member Typedef Documentation

◆ NodeRef

Definition at line 504 of file CallGraph.h.

Member Function Documentation

◆ getCallGraph()

The CallGraph object whose nodes an analysis over this graph scans.

Definition at line 518 of file CallGraph.h.

519 {
520 return g;
521 }
llvm::IRBuilder IRBuilder
Definition BasicTypes.h:76

◆ getInEdges()

static void SVF::GenericGraphTraits< SVF::CallGraph * >::getInEdges ( const SVF::CallGraph ,
const SVF::CallGraphNode n,
std::vector< const SVF::CallGraphEdge * > &  out 
)
inlinestatic

In-edges of n under this graph (whole CallGraph: all of them).

Definition at line 510 of file CallGraph.h.

512 {
513 out.clear();
514 for (SVF::CallGraphEdge* e : n->getInEdges())
515 out.push_back(e);
516 }
cJSON * n
Definition cJSON.cpp:2558
static void getInEdges(const SVF::CallGraph *, const SVF::CallGraphNode *n, std::vector< const SVF::CallGraphEdge * > &out)
In-edges of n under this graph (whole CallGraph: all of them).
Definition CallGraph.h:510

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