hardened_malloc/memory.h

11 lines
191 B
C
Raw Normal View History

#ifndef MEMORY_H
#define MEMORY_H
#include <stddef.h>
void *memory_map(size_t size);
int memory_unmap(void *ptr, size_t size);
int memory_protect(void *ptr, size_t size, int prot);
#endif