mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 01:58:17 +00:00
better gcc_plugin error msg
This commit is contained in:
@ -1437,15 +1437,7 @@ void __afl_coverage_abort() {
|
|||||||
// mark this area as especially interesting
|
// mark this area as especially interesting
|
||||||
void __afl_coverage_interesting(u8 val, u32 id) {
|
void __afl_coverage_interesting(u8 val, u32 id) {
|
||||||
|
|
||||||
if (id) {
|
__afl_area_ptr[id] = val;
|
||||||
|
|
||||||
__afl_area_ptr[id] = val;
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
__afl_area_ptr[(rand() % __afl_map_size)] = val;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -922,8 +922,9 @@ int plugin_init(struct plugin_name_args * info,
|
|||||||
struct plugin_gcc_version *version) {
|
struct plugin_gcc_version *version) {
|
||||||
|
|
||||||
if (!plugin_default_version_check(version, &gcc_version))
|
if (!plugin_default_version_check(version, &gcc_version))
|
||||||
FATAL(G_("GCC and plugin have incompatible versions, expected GCC %d.%d"),
|
FATAL(G_("GCC and plugin have incompatible versions, expected GCC %d.%d, "
|
||||||
GCCPLUGIN_VERSION_MAJOR, GCCPLUGIN_VERSION_MINOR);
|
"is %s"),
|
||||||
|
GCCPLUGIN_VERSION_MAJOR, GCCPLUGIN_VERSION_MINOR, version->basever);
|
||||||
|
|
||||||
/* Show a banner. */
|
/* Show a banner. */
|
||||||
bool quiet = false;
|
bool quiet = false;
|
||||||
|
Reference in New Issue
Block a user