Skip to content

Commit

Permalink
Remove release_max_level_info from log (AFLplusplus#2396)
Browse files Browse the repository at this point in the history
  • Loading branch information
domenukk authored Jul 15, 2024
1 parent 7969e7a commit ea3e70b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion libafl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ prometheus-client = { version = "0.22", optional = true } # For the prometheus m
tide = { version = "0.16", optional = true }
async-std = { version = "1.12", features = ["attributes"], 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
enumflags2 = { version = "0.7", optional = true }

Expand Down
11 changes: 5 additions & 6 deletions libafl/src/corpus/ondisk.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! The ondisk corpus stores all [`Testcase`]s to disk.
//! 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.
//! The [`OnDiskCorpus`] stores all [`Testcase`]s to disk.
//! It _never_ keeps any of them in memory.
//! 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`]
//! 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 core::{cell::RefCell, time::Duration};
Expand All @@ -11,9 +11,8 @@ use std::path::{Path, PathBuf};
use libafl_bolts::serdeany::SerdeAnyMap;
use serde::{Deserialize, Serialize};

use super::{CachedOnDiskCorpus, HasTestcase};
use crate::{
corpus::{Corpus, CorpusId, Testcase},
corpus::{CachedOnDiskCorpus, Corpus, CorpusId, HasTestcase, Testcase},
inputs::{Input, UsesInput},
Error,
};
Expand Down
2 changes: 1 addition & 1 deletion libafl_bolts/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ rand_core = { version = "0.6", optional = true }
nix = { version = "0.29", default-features = false, optional = true, features = ["signal", "socket", "poll"] }
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
log = { version = "0.4", features = ["release_max_level_info"] }
log = { version = "0.4" }

pyo3 = { version = "0.18", optional = true, features = ["serde", "macros"] }

Expand Down
2 changes: 1 addition & 1 deletion utils/gdb_qemu/gdb_qemu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ vergen = { version = "8.1.1", features = ["build", "cargo", "git", "gitcl", "rus
anyhow = { version = "1.0", default-features = false }
clap = { version = "4.5", default-features = false, features = ["derive", "string", "std", "help", "derive", "error-context", "usage"] }
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"] }
readonly = { version = "0.2.8", default-features = false }
simplelog = { version = "0.12.1", default-features = false }
2 changes: 1 addition & 1 deletion utils/noaslr/noaslr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ vergen = { version = "8.1.1", features = ["build", "cargo", "git", "gitcl", "rus
[dependencies]
anyhow = { version = "1.0", default-features = false }
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"] }
readonly = { version = "0.2.8", default-features = false }
simplelog = { version = "0.12.1", default-features = false }
Expand Down

0 comments on commit ea3e70b

Please sign in to comment.