| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
documentation; link hivexml against libgnu.
Since some modules (`getopt', for example) may copy files
into the build directory, `top_builddir/lib' is needed as well as
`top_srcdir/lib'. -- GNU Gnulib manual, section 2.2 Initial import
This fixes an in-tree build failure on a Debian/sid system (see
below). hivexml could be built out-of-tree, but it turned out that due
to a missing include path, in this case the system's getopt
implementation was used insted of Gnulib's.
make[2]: Entering directory `«SRCDIR»/xml'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DLOCALEBASEDIR=\""/usr/local/share/locale"\" -I../gnulib/lib -I../lib -I/usr/include/libxml2 -g -O2 -MT hivexml-hivexml.o -MD -MP -MF .deps/hivexml-hivexml.Tpo -c -o hivexml-hivexml.o `test -f 'hivexml.c' || echo './'`hivexml.c
mv -f .deps/hivexml-hivexml.Tpo .deps/hivexml-hivexml.Po
/bin/bash ../libtool --tag=CC --mode=link gcc -std=gnu99 -DLOCALEBASEDIR=\""/usr/local/share/locale"\" -I../gnulib/lib -I../lib -I/usr/include/libxml2 -g -O2 -o hivexml hivexml-hivexml.o ../lib/libhivex.la -lxml2
libtool: link: gcc -std=gnu99 -DLOCALEBASEDIR=\"/usr/local/share/locale\" -I../gnulib/lib -I../lib -I/usr/include/libxml2 -g -O2 -o .libs/hivexml hivexml-hivexml.o ../lib/.libs/libhivex.so /usr/lib/libxml2.so
hivexml-hivexml.o: In function `main':
«SRCDIR»/xml/hivexml.c:96: undefined reference to `rpl_getopt'
«SRCDIR»/xml/hivexml.c:110: undefined reference to `rpl_optind'
«SRCDIR»/xml/hivexml.c:154: undefined reference to `rpl_optind'
collect2: ld returned 1 exit status
make[2]: *** [hivexml] Error 1
make[2]: Leaving directory `«SRCDIR»/xml'
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 48d2e0d9ea5c12ae81f31706fa463f8e1ebd09af.
This commit breaks the ordinary build:
make[2]: Entering directory `/home/rjones/d/hivex/ruby'
rake build
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
rake/gempackagetask is deprecated. Use rubygems/package_task instead
top_srcdir=$(pwd)/..; top_builddir=$(pwd)/..; export ARCHFLAGS="-arch $(uname -m)"; mkdir -p ./ext/guestfs; cd ./hivex; ruby #(EXT_CONF} --with-_hivex-include=$top_srcdir/lib --with-_hivex-lib=$top_builddir/lib/.libs
sh: line 0: cd: ./hivex: No such file or directory
|
| |
|
| |
|
|
|
|
| |
This fixes commit 0a28041f4156878a74543966f9a72ed3d214ba44.
|
| |
|
|
|
|
|
|
|
|
| |
Previously we parsed -[...] to delete a registry key, but this is not
correct. It should be [-...]. Reference:
http://support.microsoft.com/kb/310516
https://secure.wikimedia.org/wikipedia/en/wiki/Windows_Registry#.REG_files
|
|
|
|
|
|
|
| |
Dealing with "1601-01-01T00:00:00Z" is unnecessarily awkward, especially
since the value only represents a 0 found in the data.
Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
|
|
|
|
|
|
|
|
| |
OS X lacks open_memstream, causing hivexsh to fail to build. This patch
defines HAVE_HIVEXSH, setting the only condition to open_memstream
existence.
Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
|
|
|
|
| |
(Updates by RWMJ)
|
| |
|
|
|
|
| |
This fixes commit 7ab64739391d60a52755250e76b0f4a03878a7e8.
|
|
|
|
|
|
|
| |
The description of what it returns is already produced by the
generator.
This fixes commit e85b1eaa268caea316f6aa8e02738b3d94297250.
|
|
|
|
|
|
|
|
|
| |
Reporting value data in attributes has two advantages:
* The output of hivexml breaks Python expat processing if binary data
makes it out. This was observed in Software hives.
* Not having child text makes room for child elements.
Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
|
|
|
|
|
|
|
|
|
|
| |
This patch adds hivex_node_struct_length and hivex_value_struct_length
to the hivex ABI, to report the amount of hive space used for each
stored structure.
Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
A fix added by RWMJ.
|
|
|
|
|
|
|
|
|
|
| |
This function breaks the value name calculation out so the name does
not need to be fetched and immediately thrown away when one only needs
the name.
Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
RWMJ fixed hivex_value_key handling of errno.
|
|
|
|
|
|
|
|
| |
This patch adds RSize, similar to RNode and RValue.
Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
OCaml bindings fixed by RWMJ.
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
|
|
|
|
|
|
|
| |
In the style of libguestfs commit:
9e397cc16be51f4f3940c7a5b90d0bc43f3f13a8
Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
|
|
|
|
|
|
|
| |
In the style of libguestfs commit:
7581672c7893fd392ca10b47f044af327011f502
Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
New feature: If the root node of the XML root is the hive root node,
denote with attribute/value root="1".
Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also this adds a regression test so we don't break it in future.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The infrastructure for modified-time reporting has been essentially
unused. These changes report the registry time by treating the
time fields as Windows filetime fields stored in little-Endian
(which means they can be treated as a single 64-bit little-Endian
integer).
This patch adds to the hivex ABI:
* int64_t hivex_last_modified (hive_h *)
* int64_t hivex_node_timestamp (hive_h *, hive_node_h)
These two functions return the hive's last-modified time and
a particular node's last-modified time, respectively. Credit
to Richard Jones for the ABI suggestion, and for the tip on
Microsoft's filetime time span.
hivexml employs these two functions to produce mtime elements
for a hive and all of its nodes, producing ISO-8601 formatted
time.
Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
A lot of code cleanup by RWMJ.
|
|
|
|
| |
Pushed and pulled translations from Transifex.
|
|
|
|
|
|
|
| |
This patch hopefully fixes building and installing the OCaml bindings
both in-tree and out-of-tree.
-Hilko
|
|
|
|
|
|
|
| |
Here's the fix for perl. Both in-tree and out-of-tree build and install
worked.
-Hilko
|
|
|
|
| |
A couple of fixes by RWMJ so it still works in the same directory case.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A change to ExtUtils::CBuilder in Perl 5.14 causes CCFLAGS to
completely replace, rather than appending, the C flags.
The unfortunate consequence of this is that vital flags such as
-D_FILE_OFFSET_BITS=64 are missing. For 32 bit code, this means you
get binary-incompatible code that completely fails to load.
For further analysis see:
http://www.nntp.perl.org/group/perl.perl5.porters/2011/04/msg171535.html
This commit changes CCFLAGS so that it appends to the existing
$Config{ccflags} instead of replacing it. On earlier versions of Perl
this means we get two copies of the flags, which is unfortunate but
should be safe.
Also, ignore MYMETA.yml file produced by Perl 5.14.
|
|
|
|
|
| |
Since the file has been completely read into memory, there is no
reason to keep the file descriptor open.
|
| |
|
|
|
|
|
|
|
| |
* cfg.mk: New file, to tell maint.mk which syntax-checks to skip
for now, where .gnulib/ is, to exempt images/minimal from
one of the tests and to exempt sh/hivexsh\.pod from another.
Also exempt lib/gettext.h from sc_useless_cpp_parens.
|