1 /* SPDX-License-Identifier: MIT */ 2 // autogenerated by syzkaller (https://github.com/google/syzkaller) 3 4 #include <endian.h> 5 #include <stdint.h> 6 #include <stdio.h> 7 #include <stdlib.h> 8 #include <string.h> 9 #include <sys/types.h> 10 #include <sys/mman.h> 11 #include <unistd.h> 12 13 #include "liburing.h" 14 #include "../src/syscall.h" 15 main(int argc,char * argv[])16int main(int argc, char *argv[]) 17 { 18 if (argc > 1) 19 return 0; 20 21 mmap((void *) 0x20000000, 0x1000000, 3, 0x32, -1, 0); 22 23 *(uint32_t*)0x20000200 = 0; 24 *(uint32_t*)0x20000204 = 0; 25 *(uint32_t*)0x20000208 = 5; 26 *(uint32_t*)0x2000020c = 0x400; 27 *(uint32_t*)0x20000210 = 0; 28 *(uint32_t*)0x20000214 = 0; 29 *(uint32_t*)0x20000218 = 0; 30 *(uint32_t*)0x2000021c = 0; 31 *(uint32_t*)0x20000220 = 0; 32 *(uint32_t*)0x20000224 = 0; 33 *(uint32_t*)0x20000228 = 0; 34 *(uint32_t*)0x2000022c = 0; 35 *(uint32_t*)0x20000230 = 0; 36 *(uint32_t*)0x20000234 = 0; 37 *(uint32_t*)0x20000238 = 0; 38 *(uint32_t*)0x2000023c = 0; 39 *(uint32_t*)0x20000240 = 0; 40 *(uint32_t*)0x20000244 = 0; 41 *(uint64_t*)0x20000248 = 0; 42 *(uint32_t*)0x20000250 = 0; 43 *(uint32_t*)0x20000254 = 0; 44 *(uint32_t*)0x20000258 = 0; 45 *(uint32_t*)0x2000025c = 0; 46 *(uint32_t*)0x20000260 = 0; 47 *(uint32_t*)0x20000264 = 0; 48 *(uint32_t*)0x20000268 = 0; 49 *(uint32_t*)0x2000026c = 0; 50 *(uint64_t*)0x20000270 = 0; 51 __sys_io_uring_setup(0xc9f, (struct io_uring_params *) 0x20000200); 52 return 0; 53 } 54