RAMvader  1.4
A .NET library which provides access to other processes' memory space.
RAMvader.CodeInjection.InstructionTooLargeException Class Reference

Exception thrown when the Injector<TMemoryAlterationSetID, TCodeCave, TVariable> tries to generate an instruction whose size (in bytes) is larger than the space given for the generation of that instruction. More...

Inherits RAMvader.CodeInjection.InjectorException.

Public Member Functions

 InstructionTooLargeException (int givenSize, int requiredSize)
 Constructor. More...
 
- Public Member Functions inherited from RAMvader.CodeInjection.InjectorException
 InjectorException (string msg)
 Constructor. More...
 
- Public Member Functions inherited from RAMvader.RAMvaderException
 RAMvaderException (string msg)
 Constructor. More...
 

Detailed Description

Exception thrown when the Injector<TMemoryAlterationSetID, TCodeCave, TVariable> tries to generate an instruction whose size (in bytes) is larger than the space given for the generation of that instruction.

Constructor & Destructor Documentation

◆ InstructionTooLargeException()

RAMvader.CodeInjection.InstructionTooLargeException.InstructionTooLargeException ( int  givenSize,
int  requiredSize 
)

Constructor.

Parameters
givenSizeThe size given for the instruction to be generated.
requiredSizeThe size that is actually required to generate the instruction.