diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:10:09 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:10:09 +0000 |
commit | b8f7e9523bba270978886a4377312b927e024620 (patch) | |
tree | ebe9c872e416346e4b333e5062da32401c8e0a73 /test/b19062a56726.c | |
parent | d53db6851ea17b2d219d084e1afc683b8b62b105 (diff) | |
parent | 1d27ff1934c5c4292dc00fba7f7f8ae411ed42f5 (diff) | |
download | liburing-b8f7e9523bba270978886a4377312b927e024620.tar.gz |
Snap for 10453563 from 1d27ff1934c5c4292dc00fba7f7f8ae411ed42f5 to mainline-sdkext-releaseaml_sdk_341710000aml_sdk_341510000aml_sdk_341410000aml_sdk_341110080aml_sdk_341110000aml_sdk_341010000aml_sdk_340912010android14-mainline-sdkext-release
Change-Id: Ifb21a10d7ab7ff789b497736136922bb8d723b0e
Diffstat (limited to 'test/b19062a56726.c')
-rw-r--r-- | test/b19062a56726.c | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/test/b19062a56726.c b/test/b19062a56726.c new file mode 100644 index 0000000..6a0f686 --- /dev/null +++ b/test/b19062a56726.c @@ -0,0 +1,53 @@ +/* SPDX-License-Identifier: MIT */ +// autogenerated by syzkaller (https://github.com/google/syzkaller) + +#include <endian.h> +#include <stdint.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <sys/types.h> +#include <sys/mman.h> +#include <unistd.h> + +#include "liburing.h" +#include "../src/syscall.h" + +int main(int argc, char *argv[]) +{ + if (argc > 1) + return 0; + + mmap((void *) 0x20000000, 0x1000000, 3, 0x32, -1, 0); + + *(uint32_t*)0x20000200 = 0; + *(uint32_t*)0x20000204 = 0; + *(uint32_t*)0x20000208 = 5; + *(uint32_t*)0x2000020c = 0x400; + *(uint32_t*)0x20000210 = 0; + *(uint32_t*)0x20000214 = 0; + *(uint32_t*)0x20000218 = 0; + *(uint32_t*)0x2000021c = 0; + *(uint32_t*)0x20000220 = 0; + *(uint32_t*)0x20000224 = 0; + *(uint32_t*)0x20000228 = 0; + *(uint32_t*)0x2000022c = 0; + *(uint32_t*)0x20000230 = 0; + *(uint32_t*)0x20000234 = 0; + *(uint32_t*)0x20000238 = 0; + *(uint32_t*)0x2000023c = 0; + *(uint32_t*)0x20000240 = 0; + *(uint32_t*)0x20000244 = 0; + *(uint64_t*)0x20000248 = 0; + *(uint32_t*)0x20000250 = 0; + *(uint32_t*)0x20000254 = 0; + *(uint32_t*)0x20000258 = 0; + *(uint32_t*)0x2000025c = 0; + *(uint32_t*)0x20000260 = 0; + *(uint32_t*)0x20000264 = 0; + *(uint32_t*)0x20000268 = 0; + *(uint32_t*)0x2000026c = 0; + *(uint64_t*)0x20000270 = 0; + __sys_io_uring_setup(0xc9f, (struct io_uring_params *) 0x20000200); + return 0; +} |