forked from starnakin/IronGOLEM
use insane new feature of golem
This commit is contained in:
parent
a84415a953
commit
c41ebf6ff5
@ -26,11 +26,7 @@ define HEADER_SIZE = 5;
|
||||
🗿 Is used to check invalid write
|
||||
🗿 If a case doesn't equal to 0 it is an invalid write
|
||||
|
||||
define LOCATION_INITIALISED = 0;
|
||||
define LOCATION_USED = 1;
|
||||
define LOCATION_SIZE = 2;
|
||||
define LOCATION_PREV = 3;
|
||||
define LOCATION_NEXT = 4;
|
||||
enum LOCATION_INITIALISED, LOCATION_USED, LOCATION_SIZE, LOCATION_PREV, LOCATION_NEXT;
|
||||
define LOCATION_DATA = HEADER_SIZE + PADDING_SIZE;
|
||||
|
||||
galloc_setup_header(ptr, used, size, next_block, prev_block)
|
||||
|
Loading…
Reference in New Issue
Block a user