diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-09-13 14:26:57 +0200 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-09-13 14:26:57 +0200 |
commit | 7f94fe358702faa906574cac402875ef6ba3ccb3 (patch) | |
tree | 168f81c719ec429aabece319be72675e06684971 /instrumentation/afl-gcc-pass.so.cc | |
parent | 060dbe12391b1e4957c09ef8b135f99f2a3bb121 (diff) | |
download | afl++-7f94fe358702faa906574cac402875ef6ba3ccb3.tar.gz |
code format
Diffstat (limited to 'instrumentation/afl-gcc-pass.so.cc')
-rw-r--r-- | instrumentation/afl-gcc-pass.so.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/instrumentation/afl-gcc-pass.so.cc b/instrumentation/afl-gcc-pass.so.cc index 52304832..04d606cc 100644 --- a/instrumentation/afl-gcc-pass.so.cc +++ b/instrumentation/afl-gcc-pass.so.cc @@ -159,8 +159,9 @@ #include <gimple-iterator.h> #include <stringpool.h> #include <gimple-ssa.h> -#if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 60200 /* >= version 6.2.0 */ -#include <tree-vrp.h> +#if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= \ + 60200 /* >= version 6.2.0 */ + #include <tree-vrp.h> #endif #include <tree-ssanames.h> #include <tree-phinodes.h> @@ -334,12 +335,12 @@ struct afl_pass : gimple_opt_pass { gimple_seq_add_stmt(&seq, add1_cntr); /* Extract the real part into count. */ - tree cntrb = build1(REALPART_EXPR, TREE_TYPE(cntr), xaddc); + tree cntrb = build1(REALPART_EXPR, TREE_TYPE(cntr), xaddc); auto xtrct_cntr = gimple_build_assign(cntr, cntrb); gimple_seq_add_stmt(&seq, xtrct_cntr); /* Extract the imaginary part into xincr. */ - tree incrb = build1(IMAGPART_EXPR, TREE_TYPE(xincr), xaddc); + tree incrb = build1(IMAGPART_EXPR, TREE_TYPE(xincr), xaddc); auto xtrct_xincr = gimple_build_assign(xincr, incrb); gimple_seq_add_stmt(&seq, xtrct_xincr); |