1#ifndef THREADS_MALLOC_H
2#define THREADS_MALLOC_H
static char dst[8192] __attribute__((section(".testEndmem,\"aw\",@nobits#")))
Utility function for tests that try to break system calls by passing them data that crosses from one ...
void * malloc(size_t) __attribute__((malloc))
Obtains and returns a new block of at least SIZE bytes.
void malloc_init(void)
Initializes the malloc() descriptors.
void * realloc(void *, size_t)
Attempts to resize OLD_BLOCK to NEW_SIZE bytes, possibly moving it in the process.
void * calloc(size_t, size_t) __attribute__((malloc))
Allocates and return A times B bytes initialized to zeroes.
void free(void *)
threads/malloc.h