diff options
author | Robert Swiecki <robert@swiecki.net> | 2017-12-15 16:09:24 +0100 |
---|---|---|
committer | Robert Swiecki <robert@swiecki.net> | 2017-12-15 16:09:24 +0100 |
commit | 72092d32b112523090dcdde085f80889df297974 (patch) | |
tree | 3bc23aeb98a829a964a4a5dd38ae0a7b519231b4 | |
parent | ced3ebaa5a4a96185dc92a40c98f6dbb8728743b (diff) | |
download | honggfuzz-72092d32b112523090dcdde085f80889df297974.tar.gz |
libhfuzz: better info about mismatched version of the feedback structure
-rw-r--r-- | libhfuzz/instrument.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libhfuzz/instrument.c b/libhfuzz/instrument.c index 682990cd..e3184834 100644 --- a/libhfuzz/instrument.c +++ b/libhfuzz/instrument.c @@ -55,7 +55,8 @@ __attribute__((constructor)) static void mapBB(void) { } if (st.st_size != sizeof(feedback_t)) { LOG_F( - "size of the feedback structure mismatch: st.size != sizeof(feedback_t) (%zu != %zu)\n", + "size of the feedback structure mismatch: st.size != sizeof(feedback_t) (%zu != %zu). " + "Recompile your fuzzed binaries with your newest honggfuzz sources (libhfuzz.a)\n", (size_t)st.st_size, sizeof(feedback_t)); } if ((feedback = mmap(NULL, sizeof(feedback_t), PROT_READ | PROT_WRITE, MAP_SHARED, |