qemu-e2k/tests/qtest/fuzz/qos_fuzz.h
Ahmed Abouzied e52ee00dab Remove leading underscores from QEMU defines
Leading underscores followed by a capital letter or underscore are
reserved by the C standard.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/369

Signed-off-by: Ahmed Abouzied <email@aabouzied.com>
Message-Id: <20210605174938.13782-1-email@aabouzied.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2021-06-21 05:49:01 +02:00

34 lines
697 B
C

/*
* QOS-assisted fuzzing helpers
*
* Copyright Red Hat Inc., 2019
*
* Authors:
* Alexander Bulekov <alxndr@bu.edu>
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#ifndef QOS_FUZZ_H
#define QOS_FUZZ_H
#include "tests/qtest/fuzz/fuzz.h"
#include "tests/qtest/libqos/qgraph.h"
int qos_fuzz(const unsigned char *Data, size_t Size);
void qos_setup(void);
extern void *fuzz_qos_obj;
extern QGuestAllocator *fuzz_qos_alloc;
void fuzz_add_qos_target(
FuzzTarget *fuzz_opts,
const char *interface,
QOSGraphTestOptions *opts
);
void qos_init_path(QTestState *);
#endif