mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 19:08:08 +00:00
auto mode for CTX + NGRAM
This commit is contained in:
@ -1421,6 +1421,14 @@ int main(int argc, char **argv, char **envp) {
|
||||
|
||||
}
|
||||
|
||||
if (instrument_opt_mode && instrument_mode == INSTRUMENT_DEFAULT &&
|
||||
(compiler_mode == LLVM || compiler_mode == UNSET)) {
|
||||
|
||||
instrument_mode = INSTRUMENT_CLASSIC;
|
||||
compiler_mode = LLVM;
|
||||
|
||||
}
|
||||
|
||||
if (!compiler_mode) {
|
||||
|
||||
// lto is not a default because outside of afl-cc RANLIB and AR have to
|
||||
|
Reference in New Issue
Block a user