diff options
author | van Hauser <vh@thc.org> | 2020-06-03 10:50:49 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-06-03 10:50:49 +0200 |
commit | fc164e4709f1f1c91f9343eb116627417e7f267f (patch) | |
tree | 335c24fa435c28ca2026e69a0a719daa7e6badef /examples/aflpp_driver/aflpp_qemu_driver.c | |
parent | 1c95e2e8e0674b69bf38e3e097948c6db9f07493 (diff) | |
download | afl++-fc164e4709f1f1c91f9343eb116627417e7f267f.tar.gz |
code format
Diffstat (limited to 'examples/aflpp_driver/aflpp_qemu_driver.c')
-rw-r--r-- | examples/aflpp_driver/aflpp_qemu_driver.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/aflpp_driver/aflpp_qemu_driver.c b/examples/aflpp_driver/aflpp_qemu_driver.c index dd272408..d8862316 100644 --- a/examples/aflpp_driver/aflpp_qemu_driver.c +++ b/examples/aflpp_driver/aflpp_qemu_driver.c @@ -6,12 +6,14 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size); __attribute__((weak)) int LLVMFuzzerInitialize(int *argc, char ***argv); int main(int argc, char **argv) { - if (LLVMFuzzerInitialize) - LLVMFuzzerInitialize(&argc, &argv); + + if (LLVMFuzzerInitialize) LLVMFuzzerInitialize(&argc, &argv); // Do any other expensive one-time initialization here. uint8_t dummy_input[1] = {0}; LLVMFuzzerTestOneInput(dummy_input, 1); - + return 0; + } + |