RAMvader  1.4
A .NET library which provides access to other processes' memory space.
RAMvader.InjectedVariableMemoryAddress< TMemoryAlterationSetID, TCodeCave, TVariable > Class Template Reference

A specialization for the MemoryAddress class, used to represent addresses of variables that get injected by the Injector<TMemoryAlterationSetID, TCodeCave, TVariable> into a target process' memory space. More...

Inherits RAMvader.MemoryAddress.

Public Member Functions

 InjectedVariableMemoryAddress (Injector< TMemoryAlterationSetID, TCodeCave, TVariable > injector, TVariable variableId)
 Constructor. More...
 

Protected Member Functions

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

Additional Inherited Members

- Properties inherited from RAMvader.MemoryAddress
IntPtr Address [get]
 Retrieves the real/calculated address represented by the MemoryAddress object. More...
 

Detailed Description

A specialization for the MemoryAddress class, used to represent addresses of variables that get injected by the Injector<TMemoryAlterationSetID, TCodeCave, TVariable> into a target process' memory space.

Template Parameters
TMemoryAlterationSetIDAn enumerated type which specifies the identifiers for Memory Alteration Sets that can be enabled or disabled into the target process' memory space.
TCodeCaveAn enumerated type which specifies the identifiers for code caves.
TVariableAn enumerated type which specifies the identifiers for variables to be injected at the target process.

Constructor & Destructor Documentation

◆ InjectedVariableMemoryAddress()

RAMvader.InjectedVariableMemoryAddress< TMemoryAlterationSetID, TCodeCave, TVariable >.InjectedVariableMemoryAddress ( Injector< TMemoryAlterationSetID, TCodeCave, TVariable >  injector,
TVariable  variableId 
)

Constructor.

Parameters
injectorA reference to the Injector<TMemoryAlterationSetID, TCodeCave, TVariable> which is used to inject the code cave into the Process' address space.
variableIdThe identifier of the variable whose injection address is to be retrieved.

Member Function Documentation

◆ GetRealAddress()

override IntPtr RAMvader.InjectedVariableMemoryAddress< TMemoryAlterationSetID, TCodeCave, TVariable >.GetRealAddress ( )
protectedvirtual

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.

Implements RAMvader.MemoryAddress.