diff options
author | van Hauser <vh@thc.org> | 2019-11-12 10:31:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-12 10:31:49 +0100 |
commit | c59e07581dd0008f2fdd5071bbfa874c89226a60 (patch) | |
tree | 721f34a77b421ba042b4b1a22b40891f35afee3b /gcc_plugin/afl-gcc-fast.c | |
parent | c15053d1f8904f37aac965b654087ea31a3dacd0 (diff) | |
parent | 5939727b6606f5ec0186b7ac2a2766311edf41df (diff) | |
download | afl++-c59e07581dd0008f2fdd5071bbfa874c89226a60.tar.gz |
Merge pull request #107 from devnexen/gcc_plugin_pass_real_cmp_naming
gcc plugin little update proposal.
Diffstat (limited to 'gcc_plugin/afl-gcc-fast.c')
-rw-r--r-- | gcc_plugin/afl-gcc-fast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc_plugin/afl-gcc-fast.c b/gcc_plugin/afl-gcc-fast.c index 057b44cc..68035944 100644 --- a/gcc_plugin/afl-gcc-fast.c +++ b/gcc_plugin/afl-gcc-fast.c @@ -119,12 +119,12 @@ static void edit_params(u32 argc, char** argv) { if (!strcmp(name, "afl-g++-fast")) { u8* alt_cxx = getenv("AFL_CXX"); - cc_params[0] = alt_cxx ? alt_cxx : (u8*)"g++"; + cc_params[0] = alt_cxx ? alt_cxx : (u8*)AFL_GCC_CXX; } else { u8* alt_cc = getenv("AFL_CC"); - cc_params[0] = alt_cc ? alt_cc : (u8*)"gcc"; + cc_params[0] = alt_cc ? alt_cc : (u8*)AFL_GCC_CC; } |