Subset of C language with tree interpreter and bytecode compiler + VM.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
144 B

// pointer-out-of-bounds
#include <stdio.h>
int main() {
int array[5] = {0, 1, 2, 3, 4};
int *ptr = &array[5];
*ptr = 42;
return 0;
}