Files
George Dunlap c4e365a0eb fuzz/x86_emulate: Move definitions into a header
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>
2017-10-11 23:35:28 +01:00

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 */