-
-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
frida_libpng example does not compile on Mac #1384
Comments
@s1341 in case you find the time... :) |
This is likely the same as #1383. (On Windows it also gets stuck instead of fuzzing, though updating |
Can you check if this is still the case after the frida update? |
Pulled the latest changes (keeping my dependency changes) and ran into a compilation error due on this line
|
I'm not sure what's changed in the meantime but it's now getting slightly further with recent changes. I have a small example with a single file in the corpus and on startup it won't find that interesting, doesn't accept it as an input, and fails due to having an empty corpus. It looks like this may be due to the target module not being instrumented.
Which gave me
Logging all the addresses in the for loop afterwards had them in the range of around |
Can you see if #1408 helps at all? |
Fixed the reported build issues on my mac, cannot test it right now |
The build issues are indeed fixed for me in that branch |
While trying to run frida_libpng on my M1 Mac running MacOs 13.5, I ran into two problems which are dependent on each other so I'm adding them as one issue but let me know if you want me to split them.
Not compiling
Describe the bug
frida_libpng
does not compile due to an error in a dependency. Updating a few dependencies was able to get it building.LibAFL/fuzzers/frida_libpng/Cargo.toml
Line 30 in eae6f04
0.12.0
LibAFL/libafl_frida/Cargo.toml
Line 29 in eae6f04
0.7.1
LibAFL/libafl_frida/Cargo.toml
Line 30 in eae6f04
0.12.0
and addmodule-names
tofeatures
To Reproduce
fuzzers/frida_libpng
cargo build --release
orcargo make run
Expected behavior
The example fuzzer would compile
Screen output/Screenshots
Not fuzzing
Describe the bug
With the fuzzer compiled, running it results in it doing no fuzzing. It periodically outputs a status update which shows that the target isn't being executed (see below). I wasn't able to get this working with VS Code's debugger but by adding lots of print statements, I've tracked the issue down to this line within libafl which goes to this line in
frida-gum
. That call togum_sys::gum_stalker_follow_me
seems to hang, at least beyond the default 5 minute timeout. I'm not sure how to chase down the cause further from that point.To Reproduce
Steps to reproduce the behavior:
fuzzers/frida_libpng
cargo make run
Expected behavior
I would expect the fuzzer to execute the the fuzz target function.
Screen output/Screenshots
The text was updated successfully, but these errors were encountered: