daemon/inspect_fs_windows.ml: Debug number of children

Just adds a useful debugging statement.
This commit is contained in:
Richard W.M. Jones
2025-11-04 13:41:03 +00:00
committed by rwmjones
parent 344d96e158
commit 355f8a5413

View File

@@ -237,6 +237,11 @@ and check_windows_software_registry software_hive data =
(* Convert to a list of (key, value) to make the following easier. *)
let values = List.map (fun v -> Hivex.value_key h v, v) values in
eprintf "check_windows_software_registry: \
found HKLM\\SOFTWARE\\%s with %d children\n"
(String.concat "\\" path)
(List.length values);
(* Look for ProductName key. *)
(try
let v = List.assoc "ProductName" values in