Static Value-Flow Analysis
Loading...
Searching...
No Matches
SVF::MRVer Class Reference

#include <MSSAMuChi.h>

Public Types

typedef MSSADEF MSSADef

Public Member Functions

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

Private Attributes

const MemRegion * mr
MRVERSION version
MRVERID vid
MSSADef * def

Static Private Attributes

static u32_t totalVERNum = 0
 ver ID 0 is reserved

Detailed Description

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

Definition at line 44 of file MSSAMuChi.h.

Member Typedef Documentation

◆ MSSADef

Definition at line 48 of file MSSAMuChi.h.

Constructor & Destructor Documentation

◆ MRVer()

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

Constructor.

Definition at line 58 of file MSSAMuChi.h.

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

Member Function Documentation

◆ getDef()

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

Get MSSADef.

Definition at line 76 of file MSSAMuChi.h.

77 {
78 return def;
79 }

◆ getID()

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

Get MRVERID.

Definition at line 82 of file MSSAMuChi.h.

83 {
84 return vid;
85 }

◆ getMR()

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

Return the memory region.

Definition at line 64 of file MSSAMuChi.h.

65 {
66 return mr;
67 }

◆ getSSAVersion()

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

Return SSA version.

Definition at line 70 of file MSSAMuChi.h.

71 {
72 return version;
73 }

Member Data Documentation

◆ def

MSSADef* SVF::MRVer::def
private

Definition at line 55 of file MSSAMuChi.h.

◆ mr

const MemRegion* SVF::MRVer::mr
private

Definition at line 52 of file MSSAMuChi.h.

◆ totalVERNum

u32_t MRVer::totalVERNum = 0
staticprivate

ver ID 0 is reserved

Definition at line 51 of file MSSAMuChi.h.

◆ version

MRVERSION SVF::MRVer::version
private

Definition at line 53 of file MSSAMuChi.h.

◆ vid

MRVERID SVF::MRVer::vid
private

Definition at line 54 of file MSSAMuChi.h.


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