From d85fc2487a6427a0df699c7eaee37db70bc6858b Mon Sep 17 00:00:00 2001 From: David Venhoff Date: Wed, 6 Aug 2025 15:37:26 +0200 Subject: [PATCH] Make the debug log option accessible --- libnyx/src/lib.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libnyx/src/lib.rs b/libnyx/src/lib.rs index d6560b3..c9f705a 100644 --- a/libnyx/src/lib.rs +++ b/libnyx/src/lib.rs @@ -240,6 +240,14 @@ impl NyxConfig { return self.config.runtime.set_aux_buffer_size(size); } + pub fn set_nyx_debug_log_path(&mut self, path: String) { + self.config.runtime.set_nyx_debug_log_path(path); + } + + pub fn nyx_debug_log_path(&self) -> Option<&str> { + self.config.runtime.nyx_debug_log_path() + } + pub fn dict(&self) -> Vec> { self.config.fuzz.dict.clone() }