// https://syzkaller.appspot.com/bug?id=ab136f1e51bcdf545b941b75c5d4215c6c2e3353 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #ifndef __NR_ioctl #define __NR_ioctl 54 #endif #ifndef __NR_mmap #define __NR_mmap 192 #endif #ifndef __NR_openat #define __NR_openat 295 #endif #ifndef __NR_write #define __NR_write 4 #endif #undef __NR_mmap #define __NR_mmap __NR_mmap2 uint64_t r[1] = {0xffffffffffffffff}; int main(void) { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); long res = 0; memcpy((void*)0x20000000, "/dev/uinput", 12); res = syscall(__NR_openat, 0xffffff9c, 0x20000000, 0x802, 0); if (res != -1) r[0] = res; *(uint16_t*)0x20000040 = 0x2f; *(uint32_t*)0x20000044 = 0; *(uint32_t*)0x20000048 = 0; *(uint32_t*)0x2000004c = 0; *(uint32_t*)0x20000050 = 0; *(uint32_t*)0x20000054 = 0; *(uint32_t*)0x20000058 = 0; syscall(__NR_ioctl, (long)r[0], 0x401c5504, 0x20000040); syscall(__NR_ioctl, (long)r[0], 0x40045564, 3); memcpy((void*)0x20000340, "\x73\x79\x7a\x31\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 80); *(uint16_t*)0x20000390 = 0; *(uint16_t*)0x20000392 = 0; *(uint16_t*)0x20000394 = 0; *(uint16_t*)0x20000396 = 0; *(uint32_t*)0x20000398 = 0; *(uint32_t*)0x2000039c = 0; *(uint32_t*)0x200003a0 = 0; *(uint32_t*)0x200003a4 = 0; *(uint32_t*)0x200003a8 = 0; *(uint32_t*)0x200003ac = 0; *(uint32_t*)0x200003b0 = 0; *(uint32_t*)0x200003b4 = 0; *(uint32_t*)0x200003b8 = 0; *(uint32_t*)0x200003bc = 0; *(uint32_t*)0x200003c0 = 0; *(uint32_t*)0x200003c4 = 0; *(uint32_t*)0x200003c8 = 0; *(uint32_t*)0x200003cc = 0; *(uint32_t*)0x200003d0 = 0; *(uint32_t*)0x200003d4 = 0; *(uint32_t*)0x200003d8 = 0; *(uint32_t*)0x200003dc = 0; *(uint32_t*)0x200003e0 = 0; *(uint32_t*)0x200003e4 = 0; *(uint32_t*)0x200003e8 = 0; *(uint32_t*)0x200003ec = 0; *(uint32_t*)0x200003f0 = 0; *(uint32_t*)0x200003f4 = 0; *(uint32_t*)0x200003f8 = 0; *(uint32_t*)0x200003fc = 0; *(uint32_t*)0x20000400 = 0; *(uint32_t*)0x20000404 = 0; *(uint32_t*)0x20000408 = 0; *(uint32_t*)0x2000040c = 0; *(uint32_t*)0x20000410 = 0; *(uint32_t*)0x20000414 = 0; *(uint32_t*)0x20000418 = 0; *(uint32_t*)0x2000041c = 0; *(uint32_t*)0x20000420 = 0; *(uint32_t*)0x20000424 = 0; *(uint32_t*)0x20000428 = 0; *(uint32_t*)0x2000042c = 0; *(uint32_t*)0x20000430 = 0; *(uint32_t*)0x20000434 = 0; *(uint32_t*)0x20000438 = 0; *(uint32_t*)0x2000043c = 0; *(uint32_t*)0x20000440 = 0; *(uint32_t*)0x20000444 = 0; *(uint32_t*)0x20000448 = 0; *(uint32_t*)0x2000044c = 0; *(uint32_t*)0x20000450 = 0; *(uint32_t*)0x20000454 = 0; *(uint32_t*)0x20000458 = 0; *(uint32_t*)0x2000045c = 0; *(uint32_t*)0x20000460 = 0; *(uint32_t*)0x20000464 = 0; *(uint32_t*)0x20000468 = 0; *(uint32_t*)0x2000046c = 0; *(uint32_t*)0x20000470 = 0; *(uint32_t*)0x20000474 = 0; *(uint32_t*)0x20000478 = 0; *(uint32_t*)0x2000047c = 0; *(uint32_t*)0x20000480 = 0; *(uint32_t*)0x20000484 = 0; *(uint32_t*)0x20000488 = 0; *(uint32_t*)0x2000048c = 0; *(uint32_t*)0x20000490 = 0; *(uint32_t*)0x20000494 = 0; *(uint32_t*)0x20000498 = 0; *(uint32_t*)0x2000049c = 0; *(uint32_t*)0x200004a0 = 0; *(uint32_t*)0x200004a4 = 0; *(uint32_t*)0x200004a8 = 0; *(uint32_t*)0x200004ac = 0; *(uint32_t*)0x200004b0 = 0; *(uint32_t*)0x200004b4 = 0; *(uint32_t*)0x200004b8 = 0; *(uint32_t*)0x200004bc = 0; *(uint32_t*)0x200004c0 = 0; *(uint32_t*)0x200004c4 = 0; *(uint32_t*)0x200004c8 = 0; *(uint32_t*)0x200004cc = 0; *(uint32_t*)0x200004d0 = 0; *(uint32_t*)0x200004d4 = 0; *(uint32_t*)0x200004d8 = 0; *(uint32_t*)0x200004dc = 0; *(uint32_t*)0x200004e0 = 0; *(uint32_t*)0x200004e4 = 0; *(uint32_t*)0x200004e8 = 0; *(uint32_t*)0x200004ec = 0; *(uint32_t*)0x200004f0 = 0; *(uint32_t*)0x200004f4 = 0; *(uint32_t*)0x200004f8 = 0; *(uint32_t*)0x200004fc = 0; *(uint32_t*)0x20000500 = 0; *(uint32_t*)0x20000504 = 0; *(uint32_t*)0x20000508 = 0; *(uint32_t*)0x2000050c = 0; *(uint32_t*)0x20000510 = 0; *(uint32_t*)0x20000514 = 0; *(uint32_t*)0x20000518 = 0; *(uint32_t*)0x2000051c = 0; *(uint32_t*)0x20000520 = 0; *(uint32_t*)0x20000524 = 0; *(uint32_t*)0x20000528 = 0; *(uint32_t*)0x2000052c = 0; *(uint32_t*)0x20000530 = 0; *(uint32_t*)0x20000534 = 0; *(uint32_t*)0x20000538 = 0; *(uint32_t*)0x2000053c = 0; *(uint32_t*)0x20000540 = 0; *(uint32_t*)0x20000544 = 0; *(uint32_t*)0x20000548 = 0; *(uint32_t*)0x2000054c = 0; *(uint32_t*)0x20000550 = 0; *(uint32_t*)0x20000554 = 0; *(uint32_t*)0x20000558 = 0; *(uint32_t*)0x2000055c = 0; *(uint32_t*)0x20000560 = 0; *(uint32_t*)0x20000564 = 0; *(uint32_t*)0x20000568 = 0; *(uint32_t*)0x2000056c = 0; *(uint32_t*)0x20000570 = 0; *(uint32_t*)0x20000574 = 0; *(uint32_t*)0x20000578 = 0; *(uint32_t*)0x2000057c = 0; *(uint32_t*)0x20000580 = 0; *(uint32_t*)0x20000584 = 0; *(uint32_t*)0x20000588 = 0; *(uint32_t*)0x2000058c = 0; *(uint32_t*)0x20000590 = 0; *(uint32_t*)0x20000594 = 0; *(uint32_t*)0x20000598 = 0; *(uint32_t*)0x2000059c = 0; *(uint32_t*)0x200005a0 = 0; *(uint32_t*)0x200005a4 = 0; *(uint32_t*)0x200005a8 = 0; *(uint32_t*)0x200005ac = 0; *(uint32_t*)0x200005b0 = 0; *(uint32_t*)0x200005b4 = 0; *(uint32_t*)0x200005b8 = 0; *(uint32_t*)0x200005bc = 0; *(uint32_t*)0x200005c0 = 0; *(uint32_t*)0x200005c4 = 0; *(uint32_t*)0x200005c8 = 0; *(uint32_t*)0x200005cc = 0; *(uint32_t*)0x200005d0 = 0; *(uint32_t*)0x200005d4 = 0; *(uint32_t*)0x200005d8 = 0; *(uint32_t*)0x200005dc = 0; *(uint32_t*)0x200005e0 = 0; *(uint32_t*)0x200005e4 = 0; *(uint32_t*)0x200005e8 = 0; *(uint32_t*)0x200005ec = 0; *(uint32_t*)0x200005f0 = 0; *(uint32_t*)0x200005f4 = 0; *(uint32_t*)0x200005f8 = 0; *(uint32_t*)0x200005fc = 0; *(uint32_t*)0x20000600 = 0; *(uint32_t*)0x20000604 = 0; *(uint32_t*)0x20000608 = 0; *(uint32_t*)0x2000060c = 0; *(uint32_t*)0x20000610 = 0; *(uint32_t*)0x20000614 = 0; *(uint32_t*)0x20000618 = 0; *(uint32_t*)0x2000061c = 0; *(uint32_t*)0x20000620 = 0; *(uint32_t*)0x20000624 = 0; *(uint32_t*)0x20000628 = 0; *(uint32_t*)0x2000062c = 0; *(uint32_t*)0x20000630 = 0; *(uint32_t*)0x20000634 = 0; *(uint32_t*)0x20000638 = 0; *(uint32_t*)0x2000063c = 0; *(uint32_t*)0x20000640 = 0; *(uint32_t*)0x20000644 = 0; *(uint32_t*)0x20000648 = 0; *(uint32_t*)0x2000064c = 0; *(uint32_t*)0x20000650 = 0; *(uint32_t*)0x20000654 = 0; *(uint32_t*)0x20000658 = 0; *(uint32_t*)0x2000065c = 0; *(uint32_t*)0x20000660 = 0; *(uint32_t*)0x20000664 = 0; *(uint32_t*)0x20000668 = 0; *(uint32_t*)0x2000066c = 0; *(uint32_t*)0x20000670 = 0; *(uint32_t*)0x20000674 = 0; *(uint32_t*)0x20000678 = 0; *(uint32_t*)0x2000067c = 0; *(uint32_t*)0x20000680 = 0; *(uint32_t*)0x20000684 = 0; *(uint32_t*)0x20000688 = 0; *(uint32_t*)0x2000068c = 0; *(uint32_t*)0x20000690 = 0; *(uint32_t*)0x20000694 = 0; *(uint32_t*)0x20000698 = 0; *(uint32_t*)0x2000069c = 0; *(uint32_t*)0x200006a0 = 0; *(uint32_t*)0x200006a4 = 0; *(uint32_t*)0x200006a8 = 0; *(uint32_t*)0x200006ac = 0; *(uint32_t*)0x200006b0 = 0; *(uint32_t*)0x200006b4 = 0; *(uint32_t*)0x200006b8 = 0; *(uint32_t*)0x200006bc = 0; *(uint32_t*)0x200006c0 = 0; *(uint32_t*)0x200006c4 = 0; *(uint32_t*)0x200006c8 = 0; *(uint32_t*)0x200006cc = 0; *(uint32_t*)0x200006d0 = 0; *(uint32_t*)0x200006d4 = 0; *(uint32_t*)0x200006d8 = 0; *(uint32_t*)0x200006dc = 0; *(uint32_t*)0x200006e0 = 0; *(uint32_t*)0x200006e4 = 0; *(uint32_t*)0x200006e8 = 0; *(uint32_t*)0x200006ec = 0; *(uint32_t*)0x200006f0 = 0; *(uint32_t*)0x200006f4 = 0; *(uint32_t*)0x200006f8 = 0; *(uint32_t*)0x200006fc = 0; *(uint32_t*)0x20000700 = 0; *(uint32_t*)0x20000704 = 0; *(uint32_t*)0x20000708 = 0; *(uint32_t*)0x2000070c = 0; *(uint32_t*)0x20000710 = 0; *(uint32_t*)0x20000714 = 0; *(uint32_t*)0x20000718 = 0; *(uint32_t*)0x2000071c = 0; *(uint32_t*)0x20000720 = 0; *(uint32_t*)0x20000724 = 0; *(uint32_t*)0x20000728 = 0; *(uint32_t*)0x2000072c = 0; *(uint32_t*)0x20000730 = 0; *(uint32_t*)0x20000734 = 0; *(uint32_t*)0x20000738 = 0; *(uint32_t*)0x2000073c = 0; *(uint32_t*)0x20000740 = 0; *(uint32_t*)0x20000744 = 0; *(uint32_t*)0x20000748 = 0; *(uint32_t*)0x2000074c = 0; *(uint32_t*)0x20000750 = 0; *(uint32_t*)0x20000754 = 0; *(uint32_t*)0x20000758 = 0; *(uint32_t*)0x2000075c = 0; *(uint32_t*)0x20000760 = 0; *(uint32_t*)0x20000764 = 0; *(uint32_t*)0x20000768 = 0; *(uint32_t*)0x2000076c = 0; *(uint32_t*)0x20000770 = 0; *(uint32_t*)0x20000774 = 0; *(uint32_t*)0x20000778 = 0; *(uint32_t*)0x2000077c = 0; *(uint32_t*)0x20000780 = 0; *(uint32_t*)0x20000784 = 0; *(uint32_t*)0x20000788 = 0; *(uint32_t*)0x2000078c = 0; *(uint32_t*)0x20000790 = 0; *(uint32_t*)0x20000794 = 0; *(uint32_t*)0x20000798 = 0; syscall(__NR_write, (long)r[0], 0x20000340, 0x45c); memcpy((void*)0x200007c0, "\x73\x79\x7a\x30\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00", 80); *(uint16_t*)0x20000810 = 0x20; *(uint16_t*)0x20000812 = 0x7f; *(uint16_t*)0x20000814 = 1; *(uint16_t*)0x20000816 = 0x3f; *(uint32_t*)0x20000818 = 0xf; *(uint32_t*)0x2000081c = 4; *(uint32_t*)0x20000820 = 0x1ff; *(uint32_t*)0x20000824 = 0x80000001; *(uint32_t*)0x20000828 = 0x5aa7; *(uint32_t*)0x2000082c = 3; *(uint32_t*)0x20000830 = 0xa5; *(uint32_t*)0x20000834 = 0xffffffd8; *(uint32_t*)0x20000838 = 0x1f; *(uint32_t*)0x2000083c = 3; *(uint32_t*)0x20000840 = 3; *(uint32_t*)0x20000844 = 0xfffffff7; *(uint32_t*)0x20000848 = 5; *(uint32_t*)0x2000084c = 0xfffffffe; *(uint32_t*)0x20000850 = 1; *(uint32_t*)0x20000854 = 0x90; *(uint32_t*)0x20000858 = 5; *(uint32_t*)0x2000085c = 0x81; *(uint32_t*)0x20000860 = 5; *(uint32_t*)0x20000864 = 9; *(uint32_t*)0x20000868 = 3; *(uint32_t*)0x2000086c = 0x48; *(uint32_t*)0x20000870 = 6; *(uint32_t*)0x20000874 = 0xa480; *(uint32_t*)0x20000878 = 1; *(uint32_t*)0x2000087c = 0; *(uint32_t*)0x20000880 = 1; *(uint32_t*)0x20000884 = 0xaa; *(uint32_t*)0x20000888 = 1; *(uint32_t*)0x2000088c = 1; *(uint32_t*)0x20000890 = 0x7f; *(uint32_t*)0x20000894 = 1; *(uint32_t*)0x20000898 = 0x3ff; *(uint32_t*)0x2000089c = 5; *(uint32_t*)0x200008a0 = 0x401; *(uint32_t*)0x200008a4 = 0x378a; *(uint32_t*)0x200008a8 = 0x4b4; *(uint32_t*)0x200008ac = -1; *(uint32_t*)0x200008b0 = 0xfff; *(uint32_t*)0x200008b4 = 0x1000; *(uint32_t*)0x200008b8 = 0x7f3; *(uint32_t*)0x200008bc = 9; *(uint32_t*)0x200008c0 = 6; *(uint32_t*)0x200008c4 = 2; *(uint32_t*)0x200008c8 = 0x10000; *(uint32_t*)0x200008cc = 0xcd; *(uint32_t*)0x200008d0 = 0xae; *(uint32_t*)0x200008d4 = 0xbd; *(uint32_t*)0x200008d8 = 0xfffffff7; *(uint32_t*)0x200008dc = 2; *(uint32_t*)0x200008e0 = 3; *(uint32_t*)0x200008e4 = 0xc9; *(uint32_t*)0x200008e8 = 0x24; *(uint32_t*)0x200008ec = 0x7ac3; *(uint32_t*)0x200008f0 = 5; *(uint32_t*)0x200008f4 = 0xe6; *(uint32_t*)0x200008f8 = 0xffff0000; *(uint32_t*)0x200008fc = 7; *(uint32_t*)0x20000900 = 0x80000000; *(uint32_t*)0x20000904 = 1; *(uint32_t*)0x20000908 = 4; *(uint32_t*)0x2000090c = 0xfffffff9; *(uint32_t*)0x20000910 = 0xf3b8; *(uint32_t*)0x20000914 = 0x7fff; *(uint32_t*)0x20000918 = 0x40000000; *(uint32_t*)0x2000091c = 4; *(uint32_t*)0x20000920 = 4; *(uint32_t*)0x20000924 = 0x10001; *(uint32_t*)0x20000928 = 1; *(uint32_t*)0x2000092c = 8; *(uint32_t*)0x20000930 = 0x6f7; *(uint32_t*)0x20000934 = 0xb7d; *(uint32_t*)0x20000938 = 3; *(uint32_t*)0x2000093c = 7; *(uint32_t*)0x20000940 = 0x7fffffff; *(uint32_t*)0x20000944 = 7; *(uint32_t*)0x20000948 = 0x20; *(uint32_t*)0x2000094c = 9; *(uint32_t*)0x20000950 = 7; *(uint32_t*)0x20000954 = 0; *(uint32_t*)0x20000958 = 8; *(uint32_t*)0x2000095c = 7; *(uint32_t*)0x20000960 = 0xa93; *(uint32_t*)0x20000964 = 1; *(uint32_t*)0x20000968 = 1; *(uint32_t*)0x2000096c = 4; *(uint32_t*)0x20000970 = 0x3f; *(uint32_t*)0x20000974 = 0x7f; *(uint32_t*)0x20000978 = 4; *(uint32_t*)0x2000097c = 7; *(uint32_t*)0x20000980 = 0x401; *(uint32_t*)0x20000984 = 1; *(uint32_t*)0x20000988 = 0; *(uint32_t*)0x2000098c = 0x20; *(uint32_t*)0x20000990 = 0x10001; *(uint32_t*)0x20000994 = 9; *(uint32_t*)0x20000998 = 0x3f1; *(uint32_t*)0x2000099c = 3; *(uint32_t*)0x200009a0 = 0; *(uint32_t*)0x200009a4 = 0x800; *(uint32_t*)0x200009a8 = 2; *(uint32_t*)0x200009ac = 4; *(uint32_t*)0x200009b0 = 0x3f; *(uint32_t*)0x200009b4 = 6; *(uint32_t*)0x200009b8 = -1; *(uint32_t*)0x200009bc = 9; *(uint32_t*)0x200009c0 = 0xa11c; *(uint32_t*)0x200009c4 = 0x40; *(uint32_t*)0x200009c8 = 0xa5; *(uint32_t*)0x200009cc = 0x5775; *(uint32_t*)0x200009d0 = -1; *(uint32_t*)0x200009d4 = 2; *(uint32_t*)0x200009d8 = 5; *(uint32_t*)0x200009dc = 1; *(uint32_t*)0x200009e0 = 0x5b6; *(uint32_t*)0x200009e4 = 0xff; *(uint32_t*)0x200009e8 = 0; *(uint32_t*)0x200009ec = 0xe140; *(uint32_t*)0x200009f0 = 0xdec5; *(uint32_t*)0x200009f4 = 0x10000; *(uint32_t*)0x200009f8 = 0x3f1; *(uint32_t*)0x200009fc = 9; *(uint32_t*)0x20000a00 = 5; *(uint32_t*)0x20000a04 = 8; *(uint32_t*)0x20000a08 = 7; *(uint32_t*)0x20000a0c = 7; *(uint32_t*)0x20000a10 = 0; *(uint32_t*)0x20000a14 = 4; *(uint32_t*)0x20000a18 = 7; *(uint32_t*)0x20000a1c = 8; *(uint32_t*)0x20000a20 = 0x800; *(uint32_t*)0x20000a24 = 1; *(uint32_t*)0x20000a28 = 0x58e; *(uint32_t*)0x20000a2c = 2; *(uint32_t*)0x20000a30 = 2; *(uint32_t*)0x20000a34 = 2; *(uint32_t*)0x20000a38 = 1; *(uint32_t*)0x20000a3c = 3; *(uint32_t*)0x20000a40 = 4; *(uint32_t*)0x20000a44 = 0x3ff; *(uint32_t*)0x20000a48 = 0x97; *(uint32_t*)0x20000a4c = -1; *(uint32_t*)0x20000a50 = 9; *(uint32_t*)0x20000a54 = 0x1fc3; *(uint32_t*)0x20000a58 = 0x81; *(uint32_t*)0x20000a5c = 0xffff0000; *(uint32_t*)0x20000a60 = 4; *(uint32_t*)0x20000a64 = 0x101; *(uint32_t*)0x20000a68 = 9; *(uint32_t*)0x20000a6c = 7; *(uint32_t*)0x20000a70 = 0x29f; *(uint32_t*)0x20000a74 = 0x7f; *(uint32_t*)0x20000a78 = 6; *(uint32_t*)0x20000a7c = 0x100; *(uint32_t*)0x20000a80 = 0xfffffc00; *(uint32_t*)0x20000a84 = 8; *(uint32_t*)0x20000a88 = 0x3ff; *(uint32_t*)0x20000a8c = 6; *(uint32_t*)0x20000a90 = 0x7490; *(uint32_t*)0x20000a94 = 9; *(uint32_t*)0x20000a98 = 6; *(uint32_t*)0x20000a9c = 0x30; *(uint32_t*)0x20000aa0 = 2; *(uint32_t*)0x20000aa4 = 3; *(uint32_t*)0x20000aa8 = 4; *(uint32_t*)0x20000aac = 8; *(uint32_t*)0x20000ab0 = 3; *(uint32_t*)0x20000ab4 = 0xe97; *(uint32_t*)0x20000ab8 = 7; *(uint32_t*)0x20000abc = 1; *(uint32_t*)0x20000ac0 = 0; *(uint32_t*)0x20000ac4 = 4; *(uint32_t*)0x20000ac8 = 9; *(uint32_t*)0x20000acc = 0x58; *(uint32_t*)0x20000ad0 = 9; *(uint32_t*)0x20000ad4 = 9; *(uint32_t*)0x20000ad8 = 0x10001; *(uint32_t*)0x20000adc = 1; *(uint32_t*)0x20000ae0 = 7; *(uint32_t*)0x20000ae4 = 9; *(uint32_t*)0x20000ae8 = 8; *(uint32_t*)0x20000aec = 0xfffffffa; *(uint32_t*)0x20000af0 = 9; *(uint32_t*)0x20000af4 = 0x401; *(uint32_t*)0x20000af8 = 0xb7; *(uint32_t*)0x20000afc = 6; *(uint32_t*)0x20000b00 = 0x101; *(uint32_t*)0x20000b04 = 7; *(uint32_t*)0x20000b08 = 0x800; *(uint32_t*)0x20000b0c = 8; *(uint32_t*)0x20000b10 = 0; *(uint32_t*)0x20000b14 = 0x401; *(uint32_t*)0x20000b18 = 0; *(uint32_t*)0x20000b1c = 0x7ff; *(uint32_t*)0x20000b20 = 5; *(uint32_t*)0x20000b24 = 3; *(uint32_t*)0x20000b28 = 5; *(uint32_t*)0x20000b2c = 0x72; *(uint32_t*)0x20000b30 = 8; *(uint32_t*)0x20000b34 = 9; *(uint32_t*)0x20000b38 = 0; *(uint32_t*)0x20000b3c = 7; *(uint32_t*)0x20000b40 = 4; *(uint32_t*)0x20000b44 = 0; *(uint32_t*)0x20000b48 = 0x5b5; *(uint32_t*)0x20000b4c = 2; *(uint32_t*)0x20000b50 = 3; *(uint32_t*)0x20000b54 = 7; *(uint32_t*)0x20000b58 = 0x7f; *(uint32_t*)0x20000b5c = 5; *(uint32_t*)0x20000b60 = 2; *(uint32_t*)0x20000b64 = 0x74a77ef7; *(uint32_t*)0x20000b68 = 3; *(uint32_t*)0x20000b6c = 0x7ff; *(uint32_t*)0x20000b70 = 0x3f; *(uint32_t*)0x20000b74 = 0x7fffffff; *(uint32_t*)0x20000b78 = 0x401; *(uint32_t*)0x20000b7c = 4; *(uint32_t*)0x20000b80 = 0xffff; *(uint32_t*)0x20000b84 = 5; *(uint32_t*)0x20000b88 = 4; *(uint32_t*)0x20000b8c = 3; *(uint32_t*)0x20000b90 = 8; *(uint32_t*)0x20000b94 = 0x81; *(uint32_t*)0x20000b98 = 0x101; *(uint32_t*)0x20000b9c = 0xde4; *(uint32_t*)0x20000ba0 = 0x1f; *(uint32_t*)0x20000ba4 = 1; *(uint32_t*)0x20000ba8 = 7; *(uint32_t*)0x20000bac = 2; *(uint32_t*)0x20000bb0 = 2; *(uint32_t*)0x20000bb4 = 0x7ff; *(uint32_t*)0x20000bb8 = 0xff; *(uint32_t*)0x20000bbc = 3; *(uint32_t*)0x20000bc0 = 0; *(uint32_t*)0x20000bc4 = 7; *(uint32_t*)0x20000bc8 = 3; *(uint32_t*)0x20000bcc = 9; *(uint32_t*)0x20000bd0 = 2; *(uint32_t*)0x20000bd4 = 0x401; *(uint32_t*)0x20000bd8 = 0xfffffff7; *(uint32_t*)0x20000bdc = 3; *(uint32_t*)0x20000be0 = 2; *(uint32_t*)0x20000be4 = 6; *(uint32_t*)0x20000be8 = 5; *(uint32_t*)0x20000bec = 0; *(uint32_t*)0x20000bf0 = 0xf20; *(uint32_t*)0x20000bf4 = 0x1a; *(uint32_t*)0x20000bf8 = 0x12; *(uint32_t*)0x20000bfc = 0x401; *(uint32_t*)0x20000c00 = 0x800; *(uint32_t*)0x20000c04 = 0x8000; *(uint32_t*)0x20000c08 = 1; *(uint32_t*)0x20000c0c = 9; *(uint32_t*)0x20000c10 = 0xdec; *(uint32_t*)0x20000c14 = 6; *(uint32_t*)0x20000c18 = 0x27ef; syscall(__NR_write, (long)r[0], 0x200007c0, 0x45c); syscall(__NR_ioctl, (long)r[0], 0x5501); return 0; }