Remove release_max_level_info from log (#2396)

This commit is contained in:
Dominik Maier 2024-07-15 14:55:13 +02:00 committed by GitHub
parent 7969e7ae51
commit ea3e70b6e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 9 additions and 10 deletions

View File

@ -170,7 +170,7 @@ prometheus-client = { version = "0.22", optional = true } # For the prometheus m
tide = { version = "0.16", optional = true } tide = { version = "0.16", optional = true }
async-std = { version = "1.12", features = ["attributes"], optional = true } async-std = { version = "1.12", features = ["attributes"], optional = true }
futures = { version = "0.3", optional = true } futures = { version = "0.3", optional = true }
log = { version = "0.4", features = ["release_max_level_info"] } log = { version = "0.4" }
tokio = { version = "1.38", optional = true, features = ["sync", "net", "rt", "io-util", "macros", "rt-multi-thread", "time"] } # used for TCP Event Manager and multi-machine tokio = { version = "1.38", optional = true, features = ["sync", "net", "rt", "io-util", "macros", "rt-multi-thread", "time"] } # used for TCP Event Manager and multi-machine
enumflags2 = { version = "0.7", optional = true } enumflags2 = { version = "0.7", optional = true }

View File

@ -1,8 +1,8 @@
//! The ondisk corpus stores all [`Testcase`]s to disk. //! The [`OnDiskCorpus`] stores all [`Testcase`]s to disk.
//! It never keeps any of them in memory. //! It _never_ keeps any of them in memory.
//! This is a good solution for solutions that are never reused, and for very memory-constraint environments. //! This is a good solution for solutions that are never reused, or for *very* memory-constraint environments.
//! For any other occasions, consider using [`crate::corpus::CachedOnDiskCorpus`] //! For any other occasions, consider using [`crate::corpus::CachedOnDiskCorpus`]
//! which stores a certain number of testcases in memory and removes additional ones in a FIFO manner. //! which stores a certain number of [`Testcase`]s in memory and removes additional ones in a FIFO manner.
use alloc::string::String; use alloc::string::String;
use core::{cell::RefCell, time::Duration}; use core::{cell::RefCell, time::Duration};
@ -11,9 +11,8 @@ use std::path::{Path, PathBuf};
use libafl_bolts::serdeany::SerdeAnyMap; use libafl_bolts::serdeany::SerdeAnyMap;
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use super::{CachedOnDiskCorpus, HasTestcase};
use crate::{ use crate::{
corpus::{Corpus, CorpusId, Testcase}, corpus::{CachedOnDiskCorpus, Corpus, CorpusId, HasTestcase, Testcase},
inputs::{Input, UsesInput}, inputs::{Input, UsesInput},
Error, Error,
}; };

View File

@ -113,7 +113,7 @@ rand_core = { version = "0.6", optional = true }
nix = { version = "0.29", default-features = false, optional = true, features = ["signal", "socket", "poll"] } nix = { version = "0.29", default-features = false, optional = true, features = ["signal", "socket", "poll"] }
uuid = { version = "1.4", optional = true, features = ["serde", "v4"] } uuid = { version = "1.4", optional = true, features = ["serde", "v4"] }
clap = { version = "4.5", features = ["derive", "wrap_help"], optional = true } # CLI parsing, for libafl_bolts::cli / the `cli` feature clap = { version = "4.5", features = ["derive", "wrap_help"], optional = true } # CLI parsing, for libafl_bolts::cli / the `cli` feature
log = { version = "0.4", features = ["release_max_level_info"] } log = { version = "0.4" }
pyo3 = { version = "0.18", optional = true, features = ["serde", "macros"] } pyo3 = { version = "0.18", optional = true, features = ["serde", "macros"] }

View File

@ -10,7 +10,7 @@ vergen = { version = "8.1.1", features = ["build", "cargo", "git", "gitcl", "rus
anyhow = { version = "1.0", default-features = false } anyhow = { version = "1.0", default-features = false }
clap = { version = "4.5", default-features = false, features = ["derive", "string", "std", "help", "derive", "error-context", "usage"] } clap = { version = "4.5", default-features = false, features = ["derive", "string", "std", "help", "derive", "error-context", "usage"] }
libc = {version = "0.2", default-features = false } libc = {version = "0.2", default-features = false }
log = { version = "0.4.20", default-features = false } log = { version = "0.4", default-features = false }
nix = { version = "0.29", default-features = false, features = ["signal", "fs"] } nix = { version = "0.29", default-features = false, features = ["signal", "fs"] }
readonly = { version = "0.2.8", default-features = false } readonly = { version = "0.2.8", default-features = false }
simplelog = { version = "0.12.1", default-features = false } simplelog = { version = "0.12.1", default-features = false }

View File

@ -9,7 +9,7 @@ vergen = { version = "8.1.1", features = ["build", "cargo", "git", "gitcl", "rus
[dependencies] [dependencies]
anyhow = { version = "1.0", default-features = false } anyhow = { version = "1.0", default-features = false }
clap = { version = "4.5", default-features = false, features = ["derive", "string", "std", "help", "derive", "error-context", "usage"] } clap = { version = "4.5", default-features = false, features = ["derive", "string", "std", "help", "derive", "error-context", "usage"] }
log = { version = "0.4.20", default-features = false } log = { version = "0.4", default-features = false }
nix = { version = "0.29", default-features = false, features = ["process", "personality"] } nix = { version = "0.29", default-features = false, features = ["process", "personality"] }
readonly = { version = "0.2.8", default-features = false } readonly = { version = "0.2.8", default-features = false }
simplelog = { version = "0.12.1", default-features = false } simplelog = { version = "0.12.1", default-features = false }