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