Module metadata

Module metadata 

Source

Constantsยง

ACTIVE_PAGE_METADATA_SPEC ๐Ÿ”’
Metadata spec for the active page byte
OFFSET_MALLOC_METADATA_SPEC ๐Ÿ”’

Functionsยง

compare_exchange_set_page_mark ๐Ÿ”’
Set the page mark from 0 to 1. Return true if we set it successfully in this call.
is_marked
is_marked_unsafeโš 
is_offset_malloc ๐Ÿ”’
Is this allocation an offset malloc? The argument address should be the allocation address (object start)
is_page_marked ๐Ÿ”’
is_page_marked_unsafe ๐Ÿ”’ โš 
load128 ๐Ÿ”’ โš 
Load u128 bits of side metadata
set_mark_bit
set_offset_malloc_bit ๐Ÿ”’
Set the offset bit for the allocation. The argument address should be the allocation address (object start)
set_page_mark ๐Ÿ”’
set_vo_bit
unset_mark_bitโš 
unset_offset_malloc_bit_unsafe ๐Ÿ”’ โš 
Unset the offset bit for the allocation. The argument address should be the allocation address (object start)
unset_page_mark_unsafe ๐Ÿ”’ โš 
unset_vo_bit
unset_vo_bit_unsafeโš