mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-16 11:58:08 +00:00
Fix
This commit is contained in:
@ -247,7 +247,7 @@ static inline void insert_object(aflcc_state_t *aflcc, u8 *obj, u8 *fmt,
|
|||||||
/* Insert params into the new argv, make clang load the pass. */
|
/* Insert params into the new argv, make clang load the pass. */
|
||||||
static inline void load_llvm_pass(aflcc_state_t *aflcc, u8 *pass) {
|
static inline void load_llvm_pass(aflcc_state_t *aflcc, u8 *pass) {
|
||||||
if (getenv("AFL_SAN_NO_INST")) {
|
if (getenv("AFL_SAN_NO_INST")) {
|
||||||
if (debug) {
|
if (!be_quiet) {
|
||||||
DEBUGF("Instrument disabled\n");
|
DEBUGF("Instrument disabled\n");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
@ -2091,7 +2091,7 @@ void add_native_pcguard(aflcc_state_t *aflcc) {
|
|||||||
*/
|
*/
|
||||||
if (aflcc->have_rust_asanrt) { return; }
|
if (aflcc->have_rust_asanrt) { return; }
|
||||||
if (getenv("AFL_SAN_NO_INST")) {
|
if (getenv("AFL_SAN_NO_INST")) {
|
||||||
if (debug) {
|
if (!be_quiet) {
|
||||||
DEBUGF("Instrument disabled\n");
|
DEBUGF("Instrument disabled\n");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
@ -2131,7 +2131,7 @@ void add_native_pcguard(aflcc_state_t *aflcc) {
|
|||||||
void add_optimized_pcguard(aflcc_state_t *aflcc) {
|
void add_optimized_pcguard(aflcc_state_t *aflcc) {
|
||||||
|
|
||||||
if (getenv("AFL_SAN_NO_INST")) {
|
if (getenv("AFL_SAN_NO_INST")) {
|
||||||
if (debug) {
|
if (!be_quiet) {
|
||||||
DEBUGF("Instrument disabled\n");
|
DEBUGF("Instrument disabled\n");
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
@ -511,7 +511,6 @@ u8 __attribute__((hot)) save_if_interesting(afl_state_t *afl, void *mem,
|
|||||||
u8 san_fault = 0;
|
u8 san_fault = 0;
|
||||||
u8 san_idx = 0;
|
u8 san_idx = 0;
|
||||||
u8 feed_san = 0;
|
u8 feed_san = 0;
|
||||||
u8 crashed = 0;
|
|
||||||
|
|
||||||
afl->san_case_status = 0;
|
afl->san_case_status = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user