Subset of C language with tree interpreter and bytecode compiler + VM.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

15 rindas
256 B

// use-after-free
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
int main() {
int *ptr = malloc(sizeof(*ptr));
assert(ptr);
*ptr = 42;
free(ptr);
printf("%d\n", *ptr); // use after free
*ptr = 43; // use after free
return 0;
}