ocaml-bitstring.git
16 years agoImplement save_to_offset() and partially implement when() and bind().
Richard W.M. Jones [Thu, 17 Jul 2008 11:27:13 +0000 (11:27 +0000)]
Implement save_to_offset() and partially implement when() and bind().

16 years agoFix an error message.
Richard W.M. Jones [Thu, 17 Jul 2008 10:33:49 +0000 (10:33 +0000)]
Fix an error message.

16 years agoAdded when(), bind() and save_offset_to() to the TODO list.
Richard W.M. Jones [Thu, 17 Jul 2008 08:55:00 +0000 (08:55 +0000)]
Added when(), bind() and save_offset_to() to the TODO list.

16 years agoSet svn:ignore.
Richard W.M. Jones [Thu, 17 Jul 2008 08:27:01 +0000 (08:27 +0000)]
Set svn:ignore.

16 years agoSet svn:keywords property to Id.
Richard W.M. Jones [Thu, 17 Jul 2008 08:26:23 +0000 (08:26 +0000)]
Set svn:keywords property to Id.

16 years agoAdded offset padding test to test the case when original_off <> 0.
Richard W.M. Jones [Thu, 17 Jul 2008 08:25:15 +0000 (08:25 +0000)]
Added offset padding test to test the case when original_off <> 0.

16 years agoImplement dropbits, takebits, subbitstring.
Richard W.M. Jones [Thu, 17 Jul 2008 08:24:47 +0000 (08:24 +0000)]
Implement dropbits, takebits, subbitstring.

16 years agoFix computed offset calculations when original_off <> 0.
Richard W.M. Jones [Thu, 17 Jul 2008 08:24:20 +0000 (08:24 +0000)]
Fix computed offset calculations when original_off <> 0.

16 years agoVersion 1.9.5 for release.
Richard W.M. Jones [Fri, 11 Jul 2008 11:10:30 +0000 (11:10 +0000)]
Version 1.9.5 for release.

16 years agoClarify licensing for Debian.
Richard W.M. Jones [Fri, 11 Jul 2008 11:07:17 +0000 (11:07 +0000)]
Clarify licensing for Debian.

16 years agoFix documentation for how to compile using camlp4 directly.
Richard W.M. Jones [Fri, 11 Jul 2008 10:56:31 +0000 (10:56 +0000)]
Fix documentation for how to compile using camlp4 directly.

16 years agoVersion 1.9.4 for release.
Richard W.M. Jones [Fri, 4 Jul 2008 13:40:31 +0000 (13:40 +0000)]
Version 1.9.4 for release.

16 years agoSomewhat better attempt at a META file.
Richard W.M. Jones [Fri, 4 Jul 2008 13:40:07 +0000 (13:40 +0000)]
Somewhat better attempt at a META file.

16 years agoDon't allow zero-length patterns to be loaded from a file
Richard W.M. Jones [Fri, 4 Jul 2008 12:35:06 +0000 (12:35 +0000)]
Don't allow zero-length patterns to be loaded from a file

16 years agoUpdate status
Richard W.M. Jones [Fri, 4 Jul 2008 12:03:21 +0000 (12:03 +0000)]
Update status

16 years agoVersion 1.9.3 for release.
Richard W.M. Jones [Fri, 4 Jul 2008 11:03:36 +0000 (11:03 +0000)]
Version 1.9.3 for release.

16 years agoInclude pkg_*
Richard W.M. Jones [Fri, 4 Jul 2008 11:03:17 +0000 (11:03 +0000)]
Include pkg_*

16 years agoextlib is needed for CIL tools subdir
Richard W.M. Jones [Tue, 1 Jul 2008 14:36:25 +0000 (14:36 +0000)]
extlib is needed for CIL tools subdir

16 years agoNote about META file
Richard W.M. Jones [Tue, 1 Jul 2008 14:21:45 +0000 (14:21 +0000)]
Note about META file

16 years agoAllow bitmatch-import-prefix.h to be installed centrally.
Richard W.M. Jones [Tue, 1 Jul 2008 14:15:18 +0000 (14:15 +0000)]
Allow bitmatch-import-prefix.h to be installed centrally.

16 years agoVersion 1.9.2 for release.
Richard W.M. Jones [Tue, 1 Jul 2008 14:02:10 +0000 (14:02 +0000)]
Version 1.9.2 for release.

16 years agoSome fixes for building bmpp file.
Richard W.M. Jones [Tue, 1 Jul 2008 14:01:47 +0000 (14:01 +0000)]
Some fixes for building bmpp file.

16 years agoUpdated MANIFEST
Richard W.M. Jones [Tue, 1 Jul 2008 12:38:11 +0000 (12:38 +0000)]
Updated MANIFEST

16 years agoVersion 1.9.1 for release.
Richard W.M. Jones [Tue, 1 Jul 2008 12:37:03 +0000 (12:37 +0000)]
Version 1.9.1 for release.

16 years agoCIL examples.
Richard W.M. Jones [Tue, 1 Jul 2008 12:35:03 +0000 (12:35 +0000)]
CIL examples.

16 years agoJust warn about unimplemented types - they can be safely skipped.
Richard W.M. Jones [Tue, 1 Jul 2008 12:34:31 +0000 (12:34 +0000)]
Just warn about unimplemented types - they can be safely skipped.

16 years agoRefactor raising of Construct_failure exceptions and make the
Richard W.M. Jones [Tue, 1 Jul 2008 11:38:46 +0000 (11:38 +0000)]
Refactor raising of Construct_failure exceptions and make the
locations more precise (Bluestorm & RWMJ).

16 years agoMake the locations in error messages more specific.
Richard W.M. Jones [Tue, 1 Jul 2008 11:26:12 +0000 (11:26 +0000)]
Make the locations in error messages more specific.

16 years agoRefactor constructor and extractor function name generation (Bluestorm).
Richard W.M. Jones [Tue, 1 Jul 2008 11:19:34 +0000 (11:19 +0000)]
Refactor constructor and extractor function name generation (Bluestorm).

16 years agoRefactor parse_field function (Bluestorm).
Richard W.M. Jones [Tue, 1 Jul 2008 11:16:18 +0000 (11:16 +0000)]
Refactor parse_field function (Bluestorm).

16 years agoRefactor expr_is_constant (Bluestorm).
Richard W.M. Jones [Tue, 1 Jul 2008 11:09:59 +0000 (11:09 +0000)]
Refactor expr_is_constant (Bluestorm).

16 years agoAdded string offset tests.
Richard W.M. Jones [Tue, 1 Jul 2008 10:12:58 +0000 (10:12 +0000)]
Added string offset tests.

16 years agoConvenience function locfail (thanks to Bluestorm).
Richard W.M. Jones [Tue, 1 Jul 2008 09:12:39 +0000 (09:12 +0000)]
Convenience function locfail (thanks to Bluestorm).

16 years agoMap 8-bit int element arrays to strings
Richard W.M. Jones [Tue, 17 Jun 2008 15:33:16 +0000 (15:33 +0000)]
Map 8-bit int element arrays to strings

16 years agoMore items for TODO list
Richard W.M. Jones [Tue, 17 Jun 2008 15:32:27 +0000 (15:32 +0000)]
More items for TODO list

16 years agoChange cil tools to use computed offsets.
Richard W.M. Jones [Mon, 16 Jun 2008 21:37:16 +0000 (21:37 +0000)]
Change cil tools to use computed offsets.

16 years agoAdd string_of_*_field so we can print out fields more accurately.
Richard W.M. Jones [Mon, 16 Jun 2008 21:36:56 +0000 (21:36 +0000)]
Add string_of_*_field so we can print out fields more accurately.

16 years agoFix dependencies
Richard W.M. Jones [Mon, 16 Jun 2008 20:34:11 +0000 (20:34 +0000)]
Fix dependencies

16 years agoTest for offsets
Richard W.M. Jones [Mon, 16 Jun 2008 20:33:39 +0000 (20:33 +0000)]
Test for offsets

16 years agoDocument constructed offsets, zeroes_bitstring, ones_bitstring.
Richard W.M. Jones [Mon, 16 Jun 2008 20:33:21 +0000 (20:33 +0000)]
Document constructed offsets, zeroes_bitstring, ones_bitstring.

16 years agoImplement construct_bitstring, zeroes_bitstring, ones_bitstring functions.
Richard W.M. Jones [Mon, 16 Jun 2008 20:32:45 +0000 (20:32 +0000)]
Implement construct_bitstring, zeroes_bitstring, ones_bitstring functions.

16 years agoSupport for computed offsets in output. Also allow constructed bitstrings of length...
Richard W.M. Jones [Mon, 16 Jun 2008 20:30:24 +0000 (20:30 +0000)]
Support for computed offsets in output.  Also allow constructed bitstrings of length 0 bits.

16 years agoAdded computed offset field
Richard W.M. Jones [Mon, 16 Jun 2008 20:29:24 +0000 (20:29 +0000)]
Added computed offset field

16 years agoDocumentation cleanups
Richard W.M. Jones [Fri, 13 Jun 2008 20:57:35 +0000 (20:57 +0000)]
Documentation cleanups

16 years agoDocumentation cleanups
Richard W.M. Jones [Fri, 13 Jun 2008 20:56:02 +0000 (20:56 +0000)]
Documentation cleanups

16 years agoDocumentation cleanups
Richard W.M. Jones [Fri, 13 Jun 2008 20:52:06 +0000 (20:52 +0000)]
Documentation cleanups

16 years agoDocumentation clarification.
Richard W.M. Jones [Fri, 13 Jun 2008 20:07:43 +0000 (20:07 +0000)]
Documentation clarification.

16 years agoClarify how to write multiple patterns to a file
Richard W.M. Jones [Fri, 13 Jun 2008 20:06:00 +0000 (20:06 +0000)]
Clarify how to write multiple patterns to a file

16 years agoVersion 1.9 for release.
Richard W.M. Jones [Fri, 13 Jun 2008 16:04:51 +0000 (16:04 +0000)]
Version 1.9 for release.

16 years agoUpdate MANIFEST
Richard W.M. Jones [Fri, 13 Jun 2008 15:58:53 +0000 (15:58 +0000)]
Update MANIFEST

16 years agoPersistent patterns, save and load to a file.
Richard W.M. Jones [Fri, 13 Jun 2008 15:56:04 +0000 (15:56 +0000)]
Persistent patterns, save and load to a file.

16 years agoSplit out field handling from pa_bitmatch into a common library, in preparation for...
Richard W.M. Jones [Thu, 12 Jun 2008 15:46:00 +0000 (15:46 +0000)]
Split out field handling from pa_bitmatch into a common library, in preparation for pattern persistence.

16 years agoCommitting NON-WORKING cil tools directory. This code all needs
Richard W.M. Jones [Wed, 11 Jun 2008 15:04:05 +0000 (15:04 +0000)]
Committing NON-WORKING cil tools directory.  This code all needs
to be reworked for when we have reusable bitmatch structures.

16 years agoStarted to copy the import tool from libunbin.
Richard W.M. Jones [Tue, 10 Jun 2008 21:50:48 +0000 (21:50 +0000)]
Started to copy the import tool from libunbin.

16 years agoInclude CHANGES file in tarball.
Richard W.M. Jones [Wed, 21 May 2008 09:59:21 +0000 (09:59 +0000)]
Include CHANGES file in tarball.

16 years agoVersion 1.3, updated MANIFEST.
Richard W.M. Jones [Wed, 21 May 2008 09:46:39 +0000 (09:46 +0000)]
Version 1.3, updated MANIFEST.

16 years agoEndianness expressions.
Richard W.M. Jones [Wed, 21 May 2008 08:59:40 +0000 (08:59 +0000)]
Endianness expressions.

16 years agoUpdated MANIFEST
Richard W.M. Jones [Mon, 19 May 2008 09:20:01 +0000 (09:20 +0000)]
Updated MANIFEST

16 years agoAdded libpcap parsing example.
Richard W.M. Jones [Mon, 19 May 2008 09:19:27 +0000 (09:19 +0000)]
Added libpcap parsing example.

16 years agoWhen flen is a constant, use the constant integer value instead of flen expr.
Richard W.M. Jones [Mon, 19 May 2008 08:16:49 +0000 (08:16 +0000)]
When flen is a constant, use the constant integer value instead of flen expr.

16 years agoVersion 1.2 for release.
Richard W.M. Jones [Sun, 18 May 2008 22:30:19 +0000 (22:30 +0000)]
Version 1.2 for release.

16 years agoUpdated MANIFEST
Richard W.M. Jones [Sun, 18 May 2008 22:29:50 +0000 (22:29 +0000)]
Updated MANIFEST

16 years agoFix string_of_bitstring/add_bits handling of non-multiple-of-8-bit length strings...
Richard W.M. Jones [Sun, 18 May 2008 22:28:41 +0000 (22:28 +0000)]
Fix string_of_bitstring/add_bits handling of non-multiple-of-8-bit length strings, and add a test case.

16 years agoMinor code rearrangement, improve an error message.
Richard W.M. Jones [Sun, 18 May 2008 22:27:25 +0000 (22:27 +0000)]
Minor code rearrangement, improve an error message.

16 years agoAdded integer matching test.
Richard W.M. Jones [Sun, 18 May 2008 21:06:15 +0000 (21:06 +0000)]
Added integer matching test.

16 years agoBit-matching test.
Richard W.M. Jones [Sun, 18 May 2008 20:54:08 +0000 (20:54 +0000)]
Bit-matching test.

16 years agoSeems that the ELF fields are little-endian.
Richard W.M. Jones [Sun, 18 May 2008 20:11:19 +0000 (20:11 +0000)]
Seems that the ELF fields are little-endian.

16 years agoUpdated MANIFEST and removed .cvsignore files.
Richard W.M. Jones [Sun, 18 May 2008 20:00:45 +0000 (20:00 +0000)]
Updated MANIFEST and removed .cvsignore files.

16 years agoVersion 1.1 for release.
Richard W.M. Jones [Sun, 18 May 2008 19:58:56 +0000 (19:58 +0000)]
Version 1.1 for release.

16 years agoAdded GIF parsing example.
Richard W.M. Jones [Sun, 18 May 2008 19:58:17 +0000 (19:58 +0000)]
Added GIF parsing example.

16 years agoEnable svn:keywords Id property on relevant files.
Richard W.M. Jones [Sun, 18 May 2008 19:44:58 +0000 (19:44 +0000)]
Enable svn:keywords Id property on relevant files.

16 years agoELF parsing example.
Richard W.M. Jones [Sun, 18 May 2008 19:29:03 +0000 (19:29 +0000)]
ELF parsing example.

16 years agoMake examples depend upon library.
Richard W.M. Jones [Sun, 18 May 2008 19:28:22 +0000 (19:28 +0000)]
Make examples depend upon library.

16 years agoMore consistent naming of files.
Richard W.M. Jones [Sun, 18 May 2008 19:23:13 +0000 (19:23 +0000)]
More consistent naming of files.

16 years agoRemoved obsolete tests, and moved some tests into examples.
Richard W.M. Jones [Sun, 18 May 2008 19:21:59 +0000 (19:21 +0000)]
Removed obsolete tests, and moved some tests into examples.

16 years agoFix svnignore in the examples subdirectory.
Richard W.M. Jones [Sun, 18 May 2008 19:05:08 +0000 (19:05 +0000)]
Fix svnignore in the examples subdirectory.

16 years agoAdded rules to build examples.
Richard W.M. Jones [Sun, 18 May 2008 19:03:58 +0000 (19:03 +0000)]
Added rules to build examples.

16 years agoFix this example so it now works.
Richard W.M. Jones [Sun, 18 May 2008 19:03:22 +0000 (19:03 +0000)]
Fix this example so it now works.

16 years agoImplement bitstring_to_chan, bitstring_to_file.
Richard W.M. Jones [Sun, 18 May 2008 19:02:54 +0000 (19:02 +0000)]
Implement bitstring_to_chan, bitstring_to_file.

16 years agoImplement the nativeendian version of some functions.
Richard W.M. Jones [Sun, 18 May 2008 18:32:01 +0000 (18:32 +0000)]
Implement the nativeendian version of some functions.

16 years agoFix examples to use the new syntax.
Richard W.M. Jones [Sun, 18 May 2008 18:30:08 +0000 (18:30 +0000)]
Fix examples to use the new syntax.

16 years agoUpdated TODO
Richard W.M. Jones [Sun, 18 May 2008 16:42:38 +0000 (16:42 +0000)]
Updated TODO

16 years agoVersion 1.0 for release.
Richard W.M. Jones [Sun, 18 May 2008 16:13:50 +0000 (16:13 +0000)]
Version 1.0 for release.

16 years agoAllow '_' to be used to ignore more types of bitstring when matching.
Richard W.M. Jones [Sun, 18 May 2008 16:13:09 +0000 (16:13 +0000)]
Allow '_' to be used to ignore more types of bitstring when matching.

16 years agoFix check-manifest rule to work with Subversion.
Richard W.M. Jones [Sun, 18 May 2008 16:03:04 +0000 (16:03 +0000)]
Fix check-manifest rule to work with Subversion.

16 years agoPolymorphic 'field' type.
Richard W.M. Jones [Sun, 18 May 2008 15:52:49 +0000 (15:52 +0000)]
Polymorphic 'field' type.

16 years agoMore complete handling of constant field length expressions.
Richard W.M. Jones [Sun, 18 May 2008 15:39:29 +0000 (15:39 +0000)]
More complete handling of constant field length expressions.
More TODO line items.
Set svnignore and remove old cvsignore file.
Fix link to bitmatch home page.

16 years agoFix extracting in little-endian case.
Richard W.M. Jones [Mon, 12 May 2008 20:32:55 +0000 (20:32 +0000)]
Fix extracting in little-endian case.

16 years agoAdded extract_int64_le_unsigned, version 0.8 for release.
Richard W.M. Jones [Thu, 8 May 2008 21:28:28 +0000 (21:28 +0000)]
Added extract_int64_le_unsigned, version 0.8 for release.

16 years agoMissing exception arg to construct_bit, and added construct_int32_be_unsigned.
Richard W.M. Jones [Wed, 7 May 2008 14:56:53 +0000 (14:56 +0000)]
Missing exception arg to construct_bit, and added construct_int32_be_unsigned.

16 years agoRequires unix - new version 0.7 candidate for release.
Richard W.M. Jones [Wed, 7 May 2008 14:41:03 +0000 (14:41 +0000)]
Requires unix - new version 0.7 candidate for release.

16 years agoAdded construct_string, version 0.7 for release.
Richard W.M. Jones [Wed, 7 May 2008 14:37:00 +0000 (14:37 +0000)]
Added construct_string, version 0.7 for release.

16 years agobitstring_of_string and bitstring_of_*_max functions.
Richard W.M. Jones [Sat, 26 Apr 2008 20:35:02 +0000 (20:35 +0000)]
bitstring_of_string and bitstring_of_*_max functions.

16 years agoVersion 0.6 for release.
Richard W.M. Jones [Fri, 25 Apr 2008 15:07:30 +0000 (15:07 +0000)]
Version 0.6 for release.

16 years agoTurn off exhaustiveness checking (thanks: Martin Jambon).
Richard W.M. Jones [Fri, 25 Apr 2008 14:57:11 +0000 (14:57 +0000)]
Turn off exhaustiveness checking (thanks: Martin Jambon).

16 years agoAllow matching against a string type.
Richard W.M. Jones [Fri, 25 Apr 2008 12:55:39 +0000 (12:55 +0000)]
Allow matching against a string type.
Error locations are now very fine-grained.

16 years agoUse patterns, not expressions, in the bitmatch operator.
Richard W.M. Jones [Fri, 25 Apr 2008 12:08:51 +0000 (12:08 +0000)]
Use patterns, not expressions, in the bitmatch operator.

16 years agoChange syntax so that { ... } surrounds match patterns.
Richard W.M. Jones [Fri, 25 Apr 2008 11:08:43 +0000 (11:08 +0000)]
Change syntax so that { ... } surrounds match patterns.

16 years agoTypo.
Richard W.M. Jones [Fri, 25 Apr 2008 10:44:00 +0000 (10:44 +0000)]
Typo.

16 years agoAdded TODO to MANIFEST.
Richard W.M. Jones [Wed, 16 Apr 2008 11:14:40 +0000 (11:14 +0000)]
Added TODO to MANIFEST.