mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Move fuzz-emul.c function prototypes into a header. Also share the definition of the input size (rather than hard-coding it in fuzz-emul.c). Signed-off-by: George Dunlap <george.dunlap@citrix.com>
11 lines
280 B
C
11 lines
280 B
C
#ifndef FUZZ_EMUL_H
|
|
# define FUZZ_EMUL_H
|
|
|
|
extern int LLVMFuzzerInitialize(int *argc, char ***argv);
|
|
extern int LLVMFuzzerTestOneInput(const uint8_t *data_p, size_t size);
|
|
extern unsigned int fuzz_minimal_input_size(void);
|
|
|
|
#define INPUT_SIZE 4096
|
|
|
|
#endif /* ifdef FUZZ_EMUL_H */
|