From ae3cad91f8d9401b14c88ff0fab32d533320a8c9 Mon Sep 17 00:00:00 2001 From: ConnorBP Date: Wed, 16 Apr 2025 17:41:30 -0400 Subject: [PATCH] additional verbose debugging info on pcileech error for testing --- memflow-pcileech/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/memflow-pcileech/src/lib.rs b/memflow-pcileech/src/lib.rs index 37d9018..5306b8c 100644 --- a/memflow-pcileech/src/lib.rs +++ b/memflow-pcileech/src/lib.rs @@ -128,6 +128,7 @@ impl PciLeech { let pp_lc_config_error_info = &raw const p_lc_config_error_info as *mut PLC_CONFIG_ERRORINFO; let handle = unsafe { LcCreateEx(&mut conf, pp_lc_config_error_info) }; if handle.is_null() { + error!("Unable to create leechcore context: {conf:?} ppErr: {pp_lc_config_error_info:?} pErr: {p_lc_config_error_info:?}"); // TODO: handle version error // TODO: handle special case of fUserInputRequest let err = if p_lc_config_error_info.is_null() {