about summary refs log tree commit diff
path: root/gcc_plugin/afl-gcc-pass.so.cc
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2019-10-18 19:53:10 +0200
committerhexcoder- <heiko@hexco.de>2019-10-18 19:53:10 +0200
commite7ab8be0cd97f9a18e6ca2f855afa69768322dfb (patch)
treed8248acacb9135473f35da77c832eddf4ae3d949 /gcc_plugin/afl-gcc-pass.so.cc
parentb1822f26022c323e4b47198abbb7d5f5ea6a57e5 (diff)
downloadafl++-e7ab8be0cd97f9a18e6ca2f855afa69768322dfb.tar.gz
sync afl-fast-gcc with afl-clang-fast, add tests for gcc_plugin
Diffstat (limited to 'gcc_plugin/afl-gcc-pass.so.cc')
-rw-r--r--gcc_plugin/afl-gcc-pass.so.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc_plugin/afl-gcc-pass.so.cc b/gcc_plugin/afl-gcc-pass.so.cc
index f0f5b30b..a44f5a74 100644
--- a/gcc_plugin/afl-gcc-pass.so.cc
+++ b/gcc_plugin/afl-gcc-pass.so.cc
@@ -416,7 +416,7 @@ public:
 
 			/* Either we couldn't figure out our location or the location is
 			 * not whitelisted, so we skip instrumentation. */
-			if (!instrumentBlock) return 0;;
+			if (!instrumentBlock) return 0;
 		}
 
 		return do_ext_call ? ext_call_instrument(fun) : inline_instrument(fun);
@@ -464,7 +464,7 @@ int plugin_init(struct plugin_name_args *plugin_info,
 
 	/* Show a banner */
 	if (isatty(2) && !getenv("AFL_QUIET")) {
-		SAYF(G_(cCYA "afl-gcc-pass " cBRI VERSION cRST " initially by <aseipp@pobox.com>, maintainer: hexcoder-\n"));
+		SAYF(G_(cCYA "afl-gcc-pass" VERSION cRST " initially by <aseipp@pobox.com>, maintainer: hexcoder-\n"));
 	} else
 		be_quiet = 1;