CACAO
Functions
memory.cpp File Reference

Go to the source code of this file.

Functions

void memory_mprotect (void *addr, size_t len, int prot)
 
voidmemory_checked_alloc (size_t size)
 
voidmem_alloc (int32_t size)
 
voidmem_realloc (void *src, int32_t len1, int32_t len2)
 
void mem_free (void *m, int32_t size)
 
static void memory_thread (void)
 
bool memory_start_thread (void)
 

Function Documentation

void* mem_alloc ( int32_t  size)

Definition at line 86 of file memory.cpp.

void mem_free ( void m,
int32_t  size 
)

Definition at line 141 of file memory.cpp.

void* mem_realloc ( void src,
int32_t  len1,
int32_t  len2 
)

Definition at line 108 of file memory.cpp.

void* memory_checked_alloc ( size_t  size)

Definition at line 73 of file memory.cpp.

void memory_mprotect ( void addr,
size_t  len,
int  prot 
)

Definition at line 57 of file memory.cpp.

bool memory_start_thread ( void  )

Definition at line 217 of file memory.cpp.

static void memory_thread ( void  )
static

Definition at line 168 of file memory.cpp.