Skip to content

Commit 745326e

Browse files
authored
Add post_run_target for ShadowExecutor (#1641)
1 parent 976d6b2 commit 745326e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libafl/src/executors/shadow.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ where
7070
mgr: &mut EM,
7171
input: &Self::Input,
7272
) -> Result<ExitKind, Error> {
73-
self.executor.run_target(fuzzer, state, mgr, input)
73+
let ret = self.executor.run_target(fuzzer, state, mgr, input);
74+
self.executor.post_run_reset();
75+
ret
7476
}
7577
}
7678

0 commit comments

Comments
 (0)