mirror of
https://github.com/frida/tinycc
synced 2024-12-03 21:01:54 +03:00
16 lines
266 B
C
16 lines
266 B
C
|
int printf(const char *, ...);
|
||
|
char t[] = "012345678";
|
||
|
|
||
|
int main(void)
|
||
|
{
|
||
|
char *data = t;
|
||
|
unsigned long long r = 4;
|
||
|
unsigned a = 5;
|
||
|
unsigned long long b = 12;
|
||
|
|
||
|
*(unsigned*)(data + r) += a - b;
|
||
|
|
||
|
printf("data = \"%s\"\n", data);
|
||
|
return 0;
|
||
|
}
|