Skip to content

CI Fixes#3726

Closed
domenukk wants to merge 56 commits intomainfrom
cifixes
Closed

CI Fixes#3726
domenukk wants to merge 56 commits intomainfrom
cifixes

Conversation

@domenukk
Copy link
Copy Markdown
Member

Description

Random fixes that may or may not help

Checklist

  • I have run ./scripts/precommit.sh and addressed all comments

use libafl::{executors::ExitKind, inputs::HasTargetBytes};
use libafl_qemu_sys::GuestAddr;
#[cfg(feature = "systemmode")]
#[cfg(all(feature = "systemmode", not(feature = "usermode")))]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why all these not(feature = '...')?
these features are already exclusive, it's enforced by the build.rs

libafl_qemu_sys::page_check_range(addr, size as GuestAddr, kind.into())
}
}
#[must_use]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why add this to usermode? it doesn't make sense in this context

#[cfg(feature = "systemmode")]
{
qemu.read_mem(pc, code); // TODO handle faults
let _ = qemu.read_mem(pc, code); // TODO handle faults
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just use unwrap there? no reason to ignore this error

@domenukk domenukk closed this Apr 7, 2026
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