Sha256: 2c0b5e9bd65f751d9681037b60521de59b34e187c3c95a54b43b6cc749ffd32c

Contents?: true

Size: 1.4 KB

Versions: 23

Compression:

Stored size: 1.4 KB

Contents

/* 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 "helpers.h"
#include "../src/syscall.h"

int main(int argc, char *argv[])
{
  if (argc > 1)
    return T_EXIT_SKIP;

  mmap((void *) 0x20000000, 0x1000000, 3, MAP_ANON|MAP_PRIVATE, -1, 0);

  *(uint32_t*)0x20000000 = 0;
  *(uint32_t*)0x20000004 = 0;
  *(uint32_t*)0x20000008 = 6;
  *(uint32_t*)0x2000000c = 0;
  *(uint32_t*)0x20000010 = 0x3af;
  *(uint32_t*)0x20000014 = 0;
  *(uint32_t*)0x20000018 = 0;
  *(uint32_t*)0x2000001c = 0;
  *(uint32_t*)0x20000020 = 0;
  *(uint32_t*)0x20000024 = 0;
  *(uint32_t*)0x20000028 = 0;
  *(uint32_t*)0x2000002c = 0;
  *(uint32_t*)0x20000030 = 0;
  *(uint32_t*)0x20000034 = 0;
  *(uint32_t*)0x20000038 = 0;
  *(uint32_t*)0x2000003c = 0;
  *(uint32_t*)0x20000040 = 0;
  *(uint32_t*)0x20000044 = 0;
  *(uint64_t*)0x20000048 = 0;
  *(uint32_t*)0x20000050 = 0;
  *(uint32_t*)0x20000054 = 0;
  *(uint32_t*)0x20000058 = 0;
  *(uint32_t*)0x2000005c = 0;
  *(uint32_t*)0x20000060 = 0;
  *(uint32_t*)0x20000064 = 0;
  *(uint32_t*)0x20000068 = 0;
  *(uint32_t*)0x2000006c = 0;
  *(uint64_t*)0x20000070 = 0;
  __sys_io_uring_setup(0x7a6, (struct io_uring_params *) 0x20000000UL);
  return T_EXIT_PASS;
}

Version data entries

23 entries across 23 versions & 3 rubygems

Version Path
uringmachine-0.3 vendor/liburing/test/917257daa0fe.c
uringmachine-0.2 vendor/liburing/test/917257daa0fe.c
uringmachine-0.1 vendor/liburing/test/917257daa0fe.c
iou-0.2 vendor/liburing/test/917257daa0fe.c
iou-0.1 vendor/liburing/test/917257daa0fe.c
polyphony-1.6 vendor/liburing/test/917257daa0fe.c
polyphony-1.5 vendor/liburing/test/917257daa0fe.c
polyphony-1.4 vendor/liburing/test/917257daa0fe.c
polyphony-1.3 vendor/liburing/test/917257daa0fe.c
polyphony-1.2.1 vendor/liburing/test/917257daa0fe.c
polyphony-1.2 vendor/liburing/test/917257daa0fe.c
polyphony-1.1.1 vendor/liburing/test/917257daa0fe.c
polyphony-1.1 vendor/liburing/test/917257daa0fe.c
polyphony-1.0.2 vendor/liburing/test/917257daa0fe.c
polyphony-1.0.1 vendor/liburing/test/917257daa0fe.c
polyphony-1.0 vendor/liburing/test/917257daa0fe.c
polyphony-0.99.6 vendor/liburing/test/917257daa0fe.c
polyphony-0.99.5 vendor/liburing/test/917257daa0fe.c
polyphony-0.99.4 vendor/liburing/test/917257daa0fe.c
polyphony-0.99.3 vendor/liburing/test/917257daa0fe.c