mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-20 06:20:20 +02:00
10 lines
159 B
C
10 lines
159 B
C
#include <stdlib.h>
|
|
|
|
__attribute__((optimize(0)))
|
|
int main(void) {
|
|
void *p = realloc((void *)1, 16);
|
|
if (!p) {
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|