Skip to content

Remove TUI from default feature #2685

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

Merged
merged 6 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fuzzers/baby/baby_fuzzer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ opt-level = 3
debug = true

[dependencies]
libafl = { path = "../../../libafl" }
libafl = { path = "../../../libafl", features = ["tui_monitor"] }
libafl_bolts = { path = "../../../libafl_bolts" }
log = { version = "0.4.22", features = ["release_max_level_info"] }
2 changes: 1 addition & 1 deletion fuzzers/baby/baby_fuzzer_swap_differential/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ bindgen = "0.70.1"
cc = "1.1.21"

[dependencies]
libafl = { path = "../../../libafl" }
libafl = { path = "../../../libafl", features = ["tui_monitor"] }
libafl_bolts = { path = "../../../libafl_bolts" }
libafl_targets = { path = "../../../libafl_targets", features = [
"sancov_pcguard_hitcounts",
Expand Down
2 changes: 1 addition & 1 deletion fuzzers/baby/baby_fuzzer_unicode/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ opt-level = 3
debug = true

[dependencies]
libafl = { path = "../../../libafl", features = ["unicode"] }
libafl = { path = "../../../libafl", features = ["unicode", "tui_monitor"] }
libafl_bolts = { path = "../../../libafl_bolts" }
log = { version = "0.4.22", features = ["release_max_level_info"] }
2 changes: 1 addition & 1 deletion fuzzers/binary_only/qemu_launcher/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ vergen-git2 = "1.0.1"

[dependencies]
clap = { version = "4.5.18", features = ["derive", "string"] }
libafl = { path = "../../../libafl" }
libafl = { path = "../../../libafl", features = ["tui_monitor"] }
libafl_bolts = { path = "../../../libafl_bolts", features = [
"errors_backtrace",
] }
Expand Down
2 changes: 1 addition & 1 deletion fuzzers/full_system/nyx_libxml2_standalone/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
default-run = "nyx_libxml2_standalone"

[dependencies]
libafl = { path = "../../../libafl" }
libafl = { path = "../../../libafl", features = ["tui_monitor"] }
libafl_bolts = { path = "../../../libafl_bolts" }
libafl_cc = { path = "../../../libafl_cc" }
libafl_nyx = { path = "../../../libafl_nyx" }
Expand Down
5 changes: 4 additions & 1 deletion fuzzers/structure_aware/baby_fuzzer_multi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ opt-level = 3
debug = true

[dependencies]
libafl = { path = "../../../libafl", features = ["multipart_inputs"] }
libafl = { path = "../../../libafl", features = [
"multipart_inputs",
"tui_monitor",
] }
libafl_bolts = { path = "../../../libafl_bolts" }
log = { version = "0.4.22", features = ["release_max_level_info"] }
1 change: 0 additions & 1 deletion libafl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ default = [
"gzip",
"regex",
"serdeany_autoreg",
"tui_monitor",
"libafl_bolts/xxh3",
]
document-features = ["dep:document-features"]
Expand Down
8 changes: 7 additions & 1 deletion libafl_nyx/src/helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,13 @@ impl NyxHelper {
let mut timeout = Duration::from_secs(u64::from(settings.timeout_secs));
timeout += Duration::from_micros(u64::from(settings.timeout_micro_secs));

Ok(Self { nyx_process, nyx_stdout, timeout, bitmap_size, bitmap_buffer })
Ok(Self {
nyx_process,
nyx_stdout,
timeout,
bitmap_size,
bitmap_buffer,
})
}

/// Set a timeout for Nyx.
Expand Down
1 change: 0 additions & 1 deletion utils/cfg_builder/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
# First, add all the intra-procedural edges

for fname, v in module["edges"].items():

if fname not in fname2id:
GG.add_node(f_ids, label=fname)
fname2id[fname] = f_ids
Expand Down
2 changes: 0 additions & 2 deletions utils/gramatron/construct_automata.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ def postprocess1():

# Cull transitions to states which were not expanded owing to the stack limit
if stack_limit:

blocklist = []
for final_state in final:
for transition in pda:
Expand Down Expand Up @@ -287,7 +286,6 @@ def postprocess():

# Cull transitions to states which were not expanded owing to the stack limit
if stack_limit:

blocklist = []
for final_state in final:
for transition in pda:
Expand Down
Loading