This patch series completes byte run outputting for long values.
Several unit tests are now in place for the new RLenValue generator
type, including one added example unit test for Perl. An additional
hive file, rlenvalue_test_hive, is included specifically to test the
positions of non-inline values.
Alex Nelson (8):
Add test hive and generator script
generator: Add new return type to ABI: RLenValue
hivex: Add offset-&-length function for long value data
ocaml: Add unit test for new RLenValue type
perl: Add unit test for enw RLenValue type
python: Add unit test for new RLenValue type
ruby: Add unit test for new RLenValue type
hivexml: Add byte run reporting functions
.gitignore | 1 +
generator/generator.ml | 90 +++++++++++++++++++++++++++++++++
images/mkrlenvalue_test_hive.py | 37 ++++++++++++++
images/rlenvalue_test_hive | Bin 0 -> 12288 bytes
lib/hivex.c | 60 ++++++++++++++++++++++
ocaml/Makefile.am | 1 +
ocaml/t/hivex_120_rlenvalue.ml | 43 ++++++++++++++++
perl/t/120-rlenvalue.t | 46 +++++++++++++++++
python/t/120-rlenvalue.py | 42 ++++++++++++++++
ruby/tests/tc_120_rlenvalue.rb | 46 +++++++++++++++++
xml/hivexml.c | 104 +++++++++++++++++++++++++++++++++++---
11 files changed, 461 insertions(+), 9 deletions(-)
create mode 100755 images/mkrlenvalue_test_hive.py
create mode 100644 images/rlenvalue_test_hive
create mode 100644 ocaml/t/hivex_120_rlenvalue.ml
create mode 100644 perl/t/120-rlenvalue.t
create mode 100644 python/t/120-rlenvalue.py
create mode 100644 ruby/tests/tc_120_rlenvalue.rb
--
1.7.6.4