From 355f8a5413f7fdd68130da463fa7a9d6a4f2dae8 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 4 Nov 2025 13:41:03 +0000 Subject: [PATCH] daemon/inspect_fs_windows.ml: Debug number of children Just adds a useful debugging statement. --- daemon/inspect_fs_windows.ml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daemon/inspect_fs_windows.ml b/daemon/inspect_fs_windows.ml index 5d644135a..e69ab3e12 100644 --- a/daemon/inspect_fs_windows.ml +++ b/daemon/inspect_fs_windows.ml @@ -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