Pin
Public Member Functions | List of all members

Public Member Functions

 MemRange (VOID *base, size_t size)
 
 MemRange (ADDRINT base, size_t size)
 
 MemRange (VOID *base, VOID *end)
 
BOOL operator== (const MemRange &range) const
 
BOOL operator!= (const MemRange &range) const
 
VOID * Base () const
 
MemRangeBase (VOID *base)
 
size_t Size () const
 
MemRangeSize (size_t size)
 
VOID * End () const
 
VOID * Last () const
 
BOOL IsEmpty () const
 
BOOL Contains (const VOID *addr) const
 
BOOL Contains (const MemRange &range) const
 
BOOL Intersects (const MemRange &range) const
 
BOOL AdjacentTo (const MemRange &range) const
 
BOOL IsCurrentStack () const
 
MemRangeAlign (UINT32 alignment)
 
MemRangeAlignUp (UINT32 alignment)
 
MemRangeAlignDown (UINT32 alignment)
 
MemRangeShift (size_t offset)
 
MemRangeShiftBase (size_t offset)
 
MemRangeShiftEnd (size_t offset)
 
MemRangeCombine (const MemRange &range)
 
VOID Decompose (const MemRange &range, MemRange *pIntersection, MemRange *pLowDiff, MemRange *pHighDiff) const
 

Detailed Description

Class that represents a memory range - interval of addresses in the virtual address space.

Note
The range that spans the entire address space can not be represented by this class. Whenever a function of this class should construct such range (logically), an empty range is returned instead.

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