diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-02-07 20:44:36 +0100 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2020-02-07 20:44:36 +0100 |
commit | aa2cb66ea23884eb03cb0220dcfafbdd7343f54d (patch) | |
tree | 94567a29d95d97000d4b420407ef58eb9a418b32 /examples/qemu_persistent_hook/test.c | |
parent | 420b1aa85934b59ccf0b58fb9b2740418a379241 (diff) | |
download | afl++-aa2cb66ea23884eb03cb0220dcfafbdd7343f54d.tar.gz |
code format
Diffstat (limited to 'examples/qemu_persistent_hook/test.c')
-rw-r--r-- | examples/qemu_persistent_hook/test.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/qemu_persistent_hook/test.c b/examples/qemu_persistent_hook/test.c index 079d2be4..83001545 100644 --- a/examples/qemu_persistent_hook/test.c +++ b/examples/qemu_persistent_hook/test.c @@ -6,16 +6,15 @@ int target_func(char *buf, int size) { switch (buf[0]) { case 1: - if (buf[1] == '\x44') { - puts("a"); - } + if (buf[1] == '\x44') { puts("a"); } break; case 0xff: if (buf[2] == '\xff') { - if (buf[1] == '\x44') { - puts("b"); - } + + if (buf[1] == '\x44') { puts("b"); } + } + break; default: break; @@ -32,3 +31,4 @@ int main() { target_func(data, 1024); } + |