RAMvader  1.4
A .NET library which provides access to other processes' memory space.
RAMvader.MemoryAddress Class Referenceabstract

More...

Inherited by RAMvader.AbsoluteMemoryAddress, RAMvader.InjectedCodeCaveMemoryAddress< TMemoryAlterationSetID, TCodeCave, TVariable >, RAMvader.InjectedVariableMemoryAddress< TMemoryAlterationSetID, TCodeCave, TVariable >, and RAMvader.ModuleOffsetMemoryAddress.

Protected Member Functions

abstract IntPtr GetRealAddress ()
 Specialized by subclasses to calculate the real address associated with the MemoryAddress object. More...
 

Properties

IntPtr Address [get]
 Retrieves the real/calculated address represented by the MemoryAddress object. More...
 

Detailed Description

Represents a memory address for the RAMvader library. Memory addresses should be READ-ONLY: once they're created, the real memory address they represent internally must not be changed.

Although they're read-only, the real addresses they represent are dynamically calculated when a call to GetRealAddress, and are recalculated everytime this method gets called. The only exception to this rececalculation rule is for the AbsoluteMemoryAddress class, which represent an absolute address that never changes (and thus is cached inside the instance of this class).

Member Function Documentation

◆ GetRealAddress()

abstract IntPtr RAMvader.MemoryAddress.GetRealAddress ( )
protectedpure virtual

Specialized by subclasses to calculate the real address associated with the MemoryAddress object.

Returns
Returns an IntPtr representing the real/calculated address associated to the MemoryAddress instance.

Implemented in RAMvader.InjectedCodeCaveMemoryAddress< TMemoryAlterationSetID, TCodeCave, TVariable >, RAMvader.InjectedVariableMemoryAddress< TMemoryAlterationSetID, TCodeCave, TVariable >, RAMvader.AbsoluteMemoryAddress, and RAMvader.ModuleOffsetMemoryAddress.

Property Documentation

◆ Address

IntPtr RAMvader.MemoryAddress.Address
get

Retrieves the real/calculated address represented by the MemoryAddress object.