Static Value-Flow Analysis
Public Member Functions | Private Attributes | Friends | List of all members
SVF::ICFGWriter Class Reference

#include <SVFFileSystem.h>

Inheritance diagram for SVF::ICFGWriter:
SVF::GenericGraphWriter< NodeTy, EdgeTy >

Public Member Functions

 ICFGWriter (const ICFG *icfg)
 
size_t getSvfLoopID (const SVFLoop *loop)
 
- Public Member Functions inherited from SVF::GenericGraphWriter< NodeTy, EdgeTy >
 GenericGraphWriter (const GraphType *graph)
 
size_t getEdgeID (const EdgeType *edge)
 

Private Attributes

WriterPtrPool< SVFLoopsvfLoopPool
 

Friends

class SVFIRWriter
 

Detailed Description

Definition at line 326 of file SVFFileSystem.h.

Constructor & Destructor Documentation

◆ ICFGWriter()

SVF::ICFGWriter::ICFGWriter ( const ICFG icfg)

Definition at line 949 of file SVFFileSystem.cpp.

949  : GenericICFGWriter(icfg)
950 {
951  for (const auto& pair : icfg->getIcfgNodeToSVFLoopVec())
952  {
953  for (const SVFLoop* loop : pair.second)
954  {
955  svfLoopPool.saveID(loop);
956  }
957  }
958 }
WriterPtrPool< SVFLoop > svfLoopPool
GenericGraphWriter< ICFGNode, ICFGEdge > GenericICFGWriter

Member Function Documentation

◆ getSvfLoopID()

size_t SVF::ICFGWriter::getSvfLoopID ( const SVFLoop loop)
inline

Definition at line 336 of file SVFFileSystem.h.

337  {
338  return svfLoopPool.getID(loop);
339  }

Friends And Related Function Documentation

◆ SVFIRWriter

friend class SVFIRWriter
friend

Definition at line 328 of file SVFFileSystem.h.

Member Data Documentation

◆ svfLoopPool

WriterPtrPool<SVFLoop> SVF::ICFGWriter::svfLoopPool
private

Definition at line 331 of file SVFFileSystem.h.


The documentation for this class was generated from the following files: