summaryrefslogtreecommitdiffstats
path: root/xml
Commit message (Collapse)AuthorAgeFilesLines
* hivexml: Remove unused variable.HEADmasterRichard W.M. Jones2011-12-201-1/+0
|
* hivex: Added gnulib includes from builddir, as suggested by the Gnulib ↵Hilko Bengen2011-12-012-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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'
* hivexml: Do not print null input timesAlex Nelson2011-09-221-0/+7
| | | | | | | 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>
* hivexml: Add correct casts to xmlTextWriter* function call params.Richard W.M. Jones2011-09-071-2/+2
| | | | This fixes commit 7ab64739391d60a52755250e76b0f4a03878a7e8.
* hivexml: Report attributes in values instead of text.Alex Nelson2011-09-061-5/+20
| | | | | | | | | 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>
* Include libintl.h to silence warning about bindtextdomain, textdomain.Richard W.M. Jones2011-09-061-0/+4
|
* Mac OS X: setlocale function requires locale.hAlex Nelson2011-09-061-0/+1
| | | | | | | In the style of libguestfs commit: 9e397cc16be51f4f3940c7a5b90d0bc43f3f13a8 Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
* Mac OS X: Detect bindtextdomainAlex Nelson2011-09-061-0/+2
| | | | | | | In the style of libguestfs commit: 7581672c7893fd392ca10b47f044af327011f502 Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
* hivexml: Add root attribute to the root nodeAlex Nelson2011-08-161-0/+4
| | | | | | | 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>
* Report last-modified time of hive root and nodesAlex Nelson2011-08-131-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Refresh documentation.Richard W.M. Jones2010-12-231-0/+1
|
* Add CLEANFILES rules.TJ2010-04-021-0/+2
|
* hivexml: Fix path so HTML documentation is generated correctly.Richard Jones2010-03-301-1/+1
|
* Create separate toplevel directories for hivexsh and hivexml.Richard Jones2010-02-243-0/+463