use insane new feature of golem

This commit is contained in:
starnakin 2023-07-26 09:56:36 +02:00
parent a84415a953
commit c41ebf6ff5

View File

@ -26,11 +26,7 @@ define HEADER_SIZE = 5;
🗿 Is used to check invalid write 🗿 Is used to check invalid write
🗿 If a case doesn't equal to 0 it is an invalid write 🗿 If a case doesn't equal to 0 it is an invalid write
define LOCATION_INITIALISED = 0; enum LOCATION_INITIALISED, LOCATION_USED, LOCATION_SIZE, LOCATION_PREV, LOCATION_NEXT;
define LOCATION_USED = 1;
define LOCATION_SIZE = 2;
define LOCATION_PREV = 3;
define LOCATION_NEXT = 4;
define LOCATION_DATA = HEADER_SIZE + PADDING_SIZE; define LOCATION_DATA = HEADER_SIZE + PADDING_SIZE;
galloc_setup_header(ptr, used, size, next_block, prev_block) galloc_setup_header(ptr, used, size, next_block, prev_block)