Somewhat ugly CI fix... (#2768)

* Maybe fix CI

* does this help?

* Very dirty 'fix'
This commit is contained in:
Dominik Maier 2024-12-15 14:40:58 +01:00 committed by GitHub
parent 5324799935
commit 65e544a417
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 43 additions and 37 deletions

View File

@ -84,7 +84,7 @@ ahash = { version = "0.8.11", default-features = false } # The hash function alr
arbitrary-int = "1.2.7" # arbitrary sized integers, useful in combination with bitfields (bitbybit crate) arbitrary-int = "1.2.7" # arbitrary sized integers, useful in combination with bitfields (bitbybit crate)
backtrace = { version = "0.3.74", default-features = false } # Used to get the stacktrace in StacktraceObserver backtrace = { version = "0.3.74", default-features = false } # Used to get the stacktrace in StacktraceObserver
bindgen = "0.71.1" bindgen = "0.71.1"
bitbybit = "1.3.2" # bitfields, use this for bit fields and bit enums bitbybit = "1.3.3" # bitfields, use this for bit fields and bit enums
clap = "4.5.18" clap = "4.5.18"
cc = "1.1.21" cc = "1.1.21"
cmake = "0.1.51" cmake = "0.1.51"

View File

@ -5,8 +5,6 @@ use core::{
ops::{Deref, DerefMut}, ops::{Deref, DerefMut},
}; };
use arbitrary_int::{u1, u4, u5, u6};
use bitbybit::bitfield;
use hashbrown::HashMap; use hashbrown::HashMap;
use libafl_bolts::{ownedref::OwnedRefMut, AsSlice, HasLen, Named}; use libafl_bolts::{ownedref::OwnedRefMut, AsSlice, HasLen, Named};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
@ -405,6 +403,11 @@ impl AFLppCmpValuesMetadata {
} }
} }
#[allow(missing_docs)] // 2024-12-15: bitfield is leading CI to fail due to missing docs.
mod aflpp_cmplog_header {
use arbitrary_int::{u1, u4, u5, u6};
use bitbybit::bitfield;
/// Comparison header, used to describe a set of comparison values efficiently. /// Comparison header, used to describe a set of comparison values efficiently.
/// ///
/// # Bitfields /// # Bitfields
@ -442,3 +445,5 @@ pub struct AFLppCmpLogHeader {
#[bits(12..=15, r)] #[bits(12..=15, r)]
attribute: u4, attribute: u4,
} }
}
pub use aflpp_cmplog_header::AFLppCmpLogHeader;

View File

@ -695,6 +695,7 @@ impl IntelPTBuilder {
/// Perf event config for `IntelPT` /// Perf event config for `IntelPT`
/// ///
/// (This is almost mapped to `IA32_RTIT_CTL MSR` by perf) /// (This is almost mapped to `IA32_RTIT_CTL MSR` by perf)
#[allow(missing_docs)] // 2024-12-15: bitfield is leading CI to fail due to missing docs.
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
#[bitfield(u64, default = 0)] #[bitfield(u64, default = 0)]
struct PtConfig { struct PtConfig {