From: Richard Jones Date: Wed, 3 Feb 2010 18:09:52 +0000 (+0000) Subject: hivex: Minimal registry example. X-Git-Tag: 1.1.0~30 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=a72a61b02d1eda599efda8645570d04434a39fa2;p=hivex.git hivex: Minimal registry example. This is the smallest registry you can make and still have it load correctly in Windows regedit. --- diff --git a/configure.ac b/configure.ac index 0d1294a..62613ed 100644 --- a/configure.ac +++ b/configure.ac @@ -399,6 +399,7 @@ AC_CONFIG_FILES([Makefile gnulib/tests/Makefile hivex.pc hivex/Makefile + hivex/t/Makefile hivex/tools/Makefile]) AC_OUTPUT 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 Binary files /dev/null and b/hivex/t/minimal differ