Skip to content
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

QEMU: add injections mode default #1818

Merged
merged 1 commit into from
Jan 28, 2024
Merged

QEMU: add injections mode default #1818

merged 1 commit into from
Jan 28, 2024

Conversation

domenukk
Copy link
Member

This makes injections fuzzing easier to use, and it doesn't add much overhead to the build process/downloads (especially when compared to qemu, lol)

@domenukk domenukk merged commit e7df233 into main Jan 28, 2024
20 of 26 checks passed
@domenukk domenukk deleted the injections_default branch January 28, 2024 16:12
@tokatoka
Copy link
Member

error[E0599]: no method named `syscalls` found for reference `&hooks::QemuHooks<QT, S>` in the current scope
   --> /home/runner/work/LibAFL/LibAFL/libafl_qemu/src/injections.rs:256:15
    |
256 |         hooks.syscalls(Hook::Function(syscall_hook::<QT, S>));
    |               ^^^^^^^^ method not found in `&QemuHooks<QT, S>`

error[E0599]: no method named `mappings` found for reference `&emu::Emulator` in the current scope
   --> /home/runner/work/LibAFL/LibAFL/libafl_qemu/src/injections.rs:266:27
    |
266 |         for region in emu.mappings() {
    |                           ^^^^^^^^ method not found in `&Emulator`

error[E0599]: no method named `load_addr` found for reference `&emu::Emulator` in the current scope
   --> /home/runner/work/LibAFL/LibAFL/libafl_qemu/src/injections.rs:400:13
    |
400 |         emu.load_addr()
    |             ^^^^^^^^^ method not found in `&Emulator`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `libafl_qemu` (lib) due to 3 previous errors
Error: Process completed with exit code 1.

CI fails due to injection fuzzer

@domenukk
Copy link
Member Author

Will take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants