summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add build framework for OCaml, Perl, Python bindings.Richard Jones2010-02-2416-0/+396
| | | | | (No bindings are actually built, this just adds the build, test and generator framework for them).
* configure: Comment out Ruby, Java, Haskell detection.Richard Jones2010-02-241-158/+158
| | | | | | | | | We will not be implementing bindings for Ruby, Java or Haskell unless someone pitches in to do the work. Therefore comment out the code which detects these languages in the configure script. (This leaves OCaml, Perl, Python, which we will be writing bindings for).
* Create separate toplevel directories for hivexsh and hivexml.Richard Jones2010-02-2419-95/+147
|
* Rename hivex/ -> lib/Richard Jones2010-02-2432-22/+22
|
* Move test images to images/ and add a large, generated test image.Richard Jones2010-02-249-7/+132
| | | | | | | | | | | Previously we had one minimal test image. This was located in hivex/t (a subdirectory of the main library). This adds a large, procedurally generated test image. Because this needs to be built using hivex code, and because subdirectories are built before the parent directory by automake, we have to also move the directory location to a top-level directory called images/.
* Added Kannada translation (RHBZ#567860).Shankar Prasad2010-02-241-0/+2231
|
* hivex: Fix allocations that may move C heap buffer.Richard Jones2010-02-231-1/+39
| | | | | | | | | | | | | | | When heavily extending existing hive files, the malloc-allocated in-memory copy of the hive may be moved when we reallocate it (to increase its size). However we didn't adjust existing pointers to cope with this, so sometimes you could get a segfault. This patch fixes the issue by adjusting pointers as necessary after calling (directly or indirectly) to the allocate_block function. With this patch I was able to allocate 10,000's of blocks in a deeply nested hive structure without any problems being reported by valgrind.
* Link gnulib in to the hivex library, not end-user programs.Richard Jones2010-02-231-2/+3
| | | | | | Gnulib should be statically linked into the hivex library, so it gets included into end-user programs automatically. Otherwise end-user programs would have to link explicitly with gnulib.
* generator: More minor formatting adjustments to POD documentation.Richard Jones2010-02-221-0/+3
|
* generator: Minor adjustments to the C POD documentation.Richard Jones2010-02-221-29/+34
|
* Add a generator for generating bindings to other languages.Richard Jones2010-02-226-786/+1370
| | | | | | | At the moment the generator just generates the C header file and C POD documentation. This just so we can compare the existing hand-written code with the generated code to make sure that our description of the API within the generator is correct.
* Remove bogus reference to src/ directory which no longer exists.Richard Jones2010-02-221-2/+0
|
* Update copyright notice and change libguestfs to hivex.Richard Jones2010-02-221-2/+2
|
* Version 1.1.21.1.2Richard Jones2010-02-2211-12/+12
|
* Install hivex.h in $includedir.Richard Jones2010-02-221-0/+2
|
* Version 1.1.1.1.1.1Richard Jones2010-02-2213-14/+13
| | | | Also some minor fixes to the build system.
* Move README, LICENSE files to the toplevel directory.Richard Jones2010-02-193-35/+35
|
* gnulib: Remove some unused modules.Richard Jones2010-02-191-5/+0
|
* Version 1.1.01.1.0Richard Jones2010-02-191-2/+2
|
* po: Import pofiles and various build fixes.Richard Jones2010-02-1913-3/+14561
|
* Sort and complete m4/.gitignore file.Richard Jones2010-02-191-4/+54
|
* Add gettext.h, omitted from earlier import.Richard Jones2010-02-192-1/+273
|
* gnulib: Include xstrtol, xstrtoll modules.Richard Jones2010-02-191-0/+2
| | | | These were omitted from the earlier code import from libguestfs.
* Add html/ directory, include POD CSS.Richard Jones2010-02-192-0/+28
|
* hivexsh: Print hex bytes >= 0x80 correctly.Richard Jones2010-02-191-1/+2
| | | | | These were being interpreted as signed chars, and thus printed as "ffffff80" etc.
* Remove some unused variables.Richard Jones2010-02-191-1/+0
| | | | | | Since we have to compile with -Wno-unused-variables, we don't spot unused variables in code. I found these by compiling the code in Ubuntu.
* Add scripts to EXTRA_DIST.Richard Jones2010-02-191-2/+14
|
* hivex: example6: Don't double backslashes.Richard Jones2010-02-191-1/+1
|
* hivex: example6: Hypothetical addition of keys for viostor.Richard Jones2010-02-191-0/+126
|
* hivex: Fix handling of inline VKs.Richard Jones2010-02-192-31/+35
|
* hivexsh: Set correct type for 'expandstring' values.Richard Jones2010-02-191-1/+1
|
* hivex: Documentation and cleanups.Richard Jones2010-02-191-1/+2
|
* hivex: Make limits into macros.Richard Jones2010-02-192-5/+13
|
* hivexsh: Remove unused variable.Richard Jones2010-02-191-1/+0
| | | | | This removes an unused variable left over by commit ab608f3948d903af64e814b2e67949a1a71d93a4.
* hivex: Complete the implementation of adding child nodes.Richard Jones2010-02-195-12/+378
|
* hivex: More debugging around nk 'unknown2' field.Richard Jones2010-02-191-10/+26
|
* hivex: Check hash fields in lf/lh records.Richard Jones2010-02-191-20/+61
|
* hivexsh: del command: Fix error message.Richard Jones2010-02-191-1/+1
|
* hivexsh: lsval: Remove stray quotation mark.Richard Jones2010-02-191-1/+1
|
* hivexsh: cd command: fix error handlingRichard Jones2010-02-191-2/+6
| | | | | The error behaviour of hivex_node_get_child is subtle, so the 'cd' command wouldn't always report errors correctly. This fixes it.
* hivex: allocate_block should update valid block bitmap.Richard Jones2010-02-191-0/+2
| | | | | | The internal allocate_block() function wasn't updating the bitmap, so if you revisited a block which you had allocated in the same session, you could get an EFAULT error.
* hivex: More debug messages.Richard Jones2010-02-191-1/+10
|
* hivex: Documentation update.Richard Jones2010-02-191-1/+1
| | | | | ntreg_lf_record can have id "lf" (old-style hashes) or "lh" (new- style hashes).
* hivex: Some missing le32toh endianness conversions.Richard Jones2010-02-191-2/+2
|
* hivexsh: Document some peculiarities of the "cd" command.Richard Jones2010-02-191-1/+8
|
* hivex: Implement deleting child nodes.Richard Jones2010-02-196-0/+317
|
* hivex: Add flags argument to internal get_children() function.Richard Jones2010-02-191-14/+21
| | | | | | | | | When we later call get_children to visit the intermediate ri/lf/lh records, we have already deleted the subkey nk-records, so checking that those nk-records are still valid is not very helpful. This commit adds a flag to turn these checks off.
* hivex: Don't die on valid registries which have bad declared data lengths.Richard Jones2010-02-191-5/+8
| | | | | | | | | | | Some apparently valid registries contain value data length declarations which exceed the allocated block size for the value. Previously the code would return EFAULT for such registries. However since these appear to be otherwise valid registries, turn this into a warning and just use the allocated block size as the data length (in other words, truncate the value).
* hivex: Minimal registry example.Richard Jones2010-02-195-1/+29
| | | | | This is the smallest registry you can make and still have it load correctly in Windows regedit.
* hivexsh: Add 'setval' and 'commit' commands.Richard Jones2010-02-196-4/+491
| | | | | | This adds the 'setval' and 'commit' commands to the hivex shell. Also adds some example scripts showing use of these.