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

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

Inherits RAMvader.MemoryAddress.

Public Member Functions

 InjectedCodeCaveMemoryAddress (Injector< TMemoryAlterationSetID, TCodeCave, TVariable > injector, TCodeCave codeCaveId)
 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 code caves 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

◆ InjectedCodeCaveMemoryAddress()

RAMvader.InjectedCodeCaveMemoryAddress< TMemoryAlterationSetID, TCodeCave, TVariable >.InjectedCodeCaveMemoryAddress ( Injector< TMemoryAlterationSetID, TCodeCave, TVariable >  injector,
TCodeCave  codeCaveId 
)

Constructor.

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

Member Function Documentation

◆ GetRealAddress()

override IntPtr RAMvader.InjectedCodeCaveMemoryAddress< 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.