BlackBone
Windows memory hacking library
 All Classes Functions
blackbone::AsmStackAllocator Class Reference

Public Member Functions

BLACKBONE_API AsmStackAllocator (asmjit::X86Assembler *pAsm, intptr_t baseval=0x28)
 
BLACKBONE_API asmjit::Mem AllocVar (intptr_t size)
 Allocate stack variable More...
 
BLACKBONE_API bool AllocArray (asmjit::Mem arr[], int count, intptr_t size)
 Allocate array of stack variables More...
 
BLACKBONE_API intptr_t getTotalSize () const
 Get total size of all stack variables More...
 

Member Function Documentation

BLACKBONE_API bool blackbone::AsmStackAllocator::AllocArray ( asmjit::Mem  arr[],
int  count,
intptr_t  size 
)
inline

Allocate array of stack variables

Parameters
arrOutput array
countArray elements count.
sizeElement size.
Returns
true on success
BLACKBONE_API asmjit::Mem blackbone::AsmStackAllocator::AllocVar ( intptr_t  size)
inline

Allocate stack variable

Parameters
sizeVariable size
Returns
Variable memory object
BLACKBONE_API intptr_t blackbone::AsmStackAllocator::getTotalSize ( ) const
inline

Get total size of all stack variables

Returns

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