We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58f1467 commit 3ca60f9Copy full SHA for 3ca60f9
crates/libafl_nyx/src/settings.rs
@@ -5,6 +5,7 @@ use alloc::borrow::Cow;
5
use typed_builder::TypedBuilder;
6
7
const DEFAULT_INPUT_BUFFER_SIZE: usize = 1024 * 1024;
8
+const DEFAULT_AUX_BUFFER_SIZE: usize = 4096;
9
const DEFAULT_TIMEOUT_SECS: u8 = 2;
10
const DEFAULT_TIMEOUT_MICRO_SECS: u32 = 0;
11
const DEFAULT_SNAP_MODE: bool = true;
@@ -45,7 +46,8 @@ pub struct NyxSettings {
45
46
pub timeout_secs: u8,
47
48
/// The output buffer size (in bytes) used to record the stdout/stderr messages
- #[builder(default = 32768)]
49
+ /// Must be a multiple of 4KB!!!
50
+ #[builder(default = DEFAULT_AUX_BUFFER_SIZE)]
51
pub aux_buffer_size: usize,
52
53
/// Additional timeout in microseconds that gets added to
0 commit comments