LibAFL icon indicating copy to clipboard operation
LibAFL copied to clipboard

libafl-fuzz: separate frida build + cmplog debug

Open R9295 opened this issue 1 year ago • 9 comments

Try to fix the cmplog issue in this pr too

R9295 avatar Oct 08 '24 12:10 R9295

https://github.com/mxschmitt/action-tmate

use this if you want to connect to their vm

tokatoka avatar Oct 08 '24 12:10 tokatoka

Since AFL++ runs the timeout again with double the timeout, to confirm if it is actually a timeout, I'll implement that and check if that fixes the CI

R9295 avatar Oct 08 '24 14:10 R9295

you can delete old afl_stat.rs

tokatoka avatar Oct 08 '24 15:10 tokatoka

Making this into a draft PR cause still a bit WIP

R9295 avatar Oct 09 '24 15:10 R9295

set_timeout and timeout should be #[inline]

R9295 avatar Oct 11 '24 10:10 R9295

@R9295 Don't over-speficy the trait bounds. always put the minimal set of contraints

tokatoka avatar Oct 15 '24 17:10 tokatoka

On windows this leads to:

error[E0432]: unresolved import `libafl_bolts::os::peak_rss_mb_child_processes`
   --> libafl\src\stages\stats.rs:16:5
    |
16  |     os::peak_rss_mb_child_processes,
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `peak_rss_mb_child_processes` in `os`
    | 

domenukk avatar Oct 16 '24 19:10 domenukk

some fuzzers are also still broken

error[E0046]: not all trait items implemented, missing: `exec_timeout_mut`
  --> src/main.rs:88:5
   |
88 |     impl CommandConfigurator<BytesInput> for MyExecutor {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `exec_timeout_mut` in implementation
   |
   = help: implement the missing item: `fn exec_timeout_mut(&mut self) -> &mut std::time::Duration { todo!() }`

domenukk avatar Oct 16 '24 19:10 domenukk

Status?

domenukk avatar Oct 21 '24 17:10 domenukk