From 578a5774a3ec00aad31988079eb6aacddcf6643f Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Wed, 3 Feb 2010 18:09:52 +0000 Subject: [PATCH] hivex: Minimal registry example. This is the smallest registry you can make and still have it load correctly in Windows regedit. --- configure.ac | 1 + hivex/Makefile.am | 2 +- hivex/t/Makefile.am | 18 ++++++++++++++++++ hivex/t/README | 9 +++++++++ hivex/t/minimal | Bin 0 -> 8192 bytes 5 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 hivex/t/Makefile.am create mode 100644 hivex/t/README create mode 100755 hivex/t/minimal diff --git a/configure.ac b/configure.ac index 134cebd..820b236 100644 --- a/configure.ac +++ b/configure.ac @@ -737,6 +737,7 @@ AC_CONFIG_FILES([Makefile gnulib/lib/Makefile gnulib/tests/Makefile hivex/Makefile + hivex/t/Makefile hivex/tools/Makefile fuse/Makefile ocaml/META perl/Makefile.PL]) 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 0000000000000000000000000000000000000000..3f4ee58c0adc1c3a73da8fed459304fd1083fce7 GIT binary patch literal 8192 zcmeI0y-EX75QWc17h&;d5sL^GD+X-D+AjD@1Ti8}5K<}rgvB7y2iVdFu(1eO_#Rq{ zm5<;9_yiWNbM6|GX2hQK^f#I$8z!6klV zZkBOSq>%j3f2p7AQ}1-EFJmItKl-i@yZbxcrgQb#to|gY2sp8g->voSo2wn-#@;jX geSpe1t7IY|0wN#+A|L`HAOa#F0wN#+BJei?pOc0_k^lez literal 0 HcmV?d00001 -- 1.8.3.1