daemon/inspect_fs_windows.ml: Add debugging when we start registry analysis

Add some debugging when we begin the process of analyzing the Windows
registry of a guest.
This commit is contained in:
Richard W.M. Jones
2025-08-14 14:57:45 +01:00
committed by rwmjones
parent e18bd72c8e
commit 5c7e15cfae

View File

@@ -207,6 +207,12 @@ and check_windows_registry systemroot data =
if Is.is_file system_hive then Some system_hive else None in
data.windows_system_hive <- system_hive;
if verbose () then
eprintf "check_windows_registry: software hive: %s\n\
check_windows_registry: system hive: %s\n%!"
(Option.value ~default:"None" software_hive)
(Option.value ~default:"None" system_hive);
match software_hive, system_hive with
| None, _ | Some _, None -> ()
| Some software_hive, Some system_hive ->