Skip to content

Instantly share code, notes, and snippets.

View jeehoonkang's full-sized avatar
😴
Zzz...

Jeehoon Kang jeehoonkang

😴
Zzz...
View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
int main() {
char *p = malloc(0x80000000);
*((char *)0x80000000) = 3;
return 0;
}
// test with: gcc -S -O2 tt.c && cat tt.s