mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-05-24 00:41:11 -04:00
add support for labelling memory regions
This commit is contained in:
parent
ae96835b94
commit
c9df70d934
4 changed files with 31 additions and 0 deletions
1
memory.h
1
memory.h
|
@ -13,5 +13,6 @@ int memory_protect_rw(void *ptr, size_t size);
|
|||
int memory_protect_rw_metadata(void *ptr, size_t size);
|
||||
int memory_remap(void *old, size_t old_size, size_t new_size);
|
||||
int memory_remap_fixed(void *old, size_t old_size, void *new, size_t new_size);
|
||||
void memory_set_name(void *ptr, size_t size, const char *name);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue