summaryrefslogtreecommitdiffstats
path: root/hivex
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-02-03 18:09:52 +0000
committerRichard Jones <rjones@redhat.com>2010-02-19 15:01:28 +0000
commita72a61b02d1eda599efda8645570d04434a39fa2 (patch)
tree8c55fa5d83d7c0309171df99c82b466ee287bb89 /hivex
parent72a03b2cd32299ece4fb179ab179ce8689c6d0ce (diff)
downloadhivex-a72a61b02d1eda599efda8645570d04434a39fa2.tar.gz
hivex-a72a61b02d1eda599efda8645570d04434a39fa2.tar.xz
hivex-a72a61b02d1eda599efda8645570d04434a39fa2.zip
hivex: Minimal registry example.
This is the smallest registry you can make and still have it load correctly in Windows regedit.
Diffstat (limited to 'hivex')
-rw-r--r--hivex/Makefile.am2
-rw-r--r--hivex/t/Makefile.am18
-rw-r--r--hivex/t/README9
-rwxr-xr-xhivex/t/minimalbin0 -> 8192 bytes
4 files changed, 28 insertions, 1 deletions
diff --git a/hivex/Makefile.am b/hivex/Makefile.am
index 987cfc9..e11b95a 100644
--- a/hivex/Makefile.am
+++ b/hivex/Makefile.am
@@ -15,7 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-SUBDIRS = tools
+SUBDIRS = t tools
EXTRA_DIST = hivex.pod hivexml.pod hivexget.pod hivexsh.pod LICENSE
diff --git a/hivex/t/Makefile.am b/hivex/t/Makefile.am
new file mode 100644
index 0000000..217d7ca
--- /dev/null
+++ b/hivex/t/Makefile.am
@@ -0,0 +1,18 @@
+# libguestfs
+# Copyright (C) 2009 Red Hat Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+EXTRA_DIST = minimal
diff --git a/hivex/t/README b/hivex/t/README
new file mode 100644
index 0000000..b7e297a
--- /dev/null
+++ b/hivex/t/README
@@ -0,0 +1,9 @@
+This directory contains tests for the hivex library.
+
+'minimal' is a valid registry containing a single root nk (with
+associated sk) which was created by chopping out everything possible
+from a Windows 2003 software hive and then doing lots of hand edits on
+the result. There is no "source" for it as such, it is just a
+hand-crafted binary blob.
+
+- Richard W.M. Jones 2010-01-23.
diff --git a/hivex/t/minimal b/hivex/t/minimal
new file mode 100755
index 0000000..3f4ee58
--- /dev/null
+++ b/hivex/t/minimal
Binary files differ