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

#include <MSSAMuChi.h>

Public Types

typedef MSSADEF MSSADef
 

Public Member Functions

 MRVer (const MemRegion *m, MRVERSION v, MSSADef *d)
 Constructor. More...
 
const MemRegiongetMR () const
 Return the memory region. More...
 
MRVERSION getSSAVersion () const
 Return SSA version. More...
 
MSSADefgetDef () const
 Get MSSADef. More...
 
MRVERID getID () const
 Get MRVERID. More...
 

Private Attributes

const MemRegionmr
 
MRVERSION version
 
MRVERID vid
 
MSSADefdef
 

Static Private Attributes

static u32_t totalVERNum = 0
 ver ID 0 is reserved More...
 

Detailed Description

Memory SSA Variable (in the form of SSA versions of each memory region )

Definition at line 43 of file MSSAMuChi.h.

Member Typedef Documentation

◆ MSSADef

Definition at line 47 of file MSSAMuChi.h.

Constructor & Destructor Documentation

◆ MRVer()

SVF::MRVer::MRVer ( const MemRegion m,
MRVERSION  v,
MSSADef d 
)
inline

Constructor.

Definition at line 57 of file MSSAMuChi.h.

57  :
58  mr(m), version(v), vid(totalVERNum++),def(d)
59  {
60  }
MSSADef * def
Definition: MSSAMuChi.h:54
MRVERID vid
Definition: MSSAMuChi.h:53
const MemRegion * mr
Definition: MSSAMuChi.h:51
static u32_t totalVERNum
ver ID 0 is reserved
Definition: MSSAMuChi.h:50
MRVERSION version
Definition: MSSAMuChi.h:52

Member Function Documentation

◆ getDef()

MSSADef* SVF::MRVer::getDef ( ) const
inline

Get MSSADef.

Definition at line 75 of file MSSAMuChi.h.

76  {
77  return def;
78  }

◆ getID()

MRVERID SVF::MRVer::getID ( ) const
inline

Get MRVERID.

Definition at line 81 of file MSSAMuChi.h.

82  {
83  return vid;
84  }

◆ getMR()

const MemRegion* SVF::MRVer::getMR ( ) const
inline

Return the memory region.

Definition at line 63 of file MSSAMuChi.h.

64  {
65  return mr;
66  }

◆ getSSAVersion()

MRVERSION SVF::MRVer::getSSAVersion ( ) const
inline

Return SSA version.

Definition at line 69 of file MSSAMuChi.h.

70  {
71  return version;
72  }

Member Data Documentation

◆ def

MSSADef* SVF::MRVer::def
private

Definition at line 54 of file MSSAMuChi.h.

◆ mr

const MemRegion* SVF::MRVer::mr
private

Definition at line 51 of file MSSAMuChi.h.

◆ totalVERNum

u32_t MRVer::totalVERNum = 0
staticprivate

ver ID 0 is reserved

Definition at line 50 of file MSSAMuChi.h.

◆ version

MRVERSION SVF::MRVer::version
private

Definition at line 52 of file MSSAMuChi.h.

◆ vid

MRVERID SVF::MRVer::vid
private

Definition at line 53 of file MSSAMuChi.h.


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