ocaml-bitstring.git
15 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).

15 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

15 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

15 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.

15 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.

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

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

15 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.

15 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.

15 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.

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

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

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

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

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

15 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

15 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.

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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

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

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

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

15 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.

15 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.

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

15 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.

15 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.

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

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

15 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.

15 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.

15 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.

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

15 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.

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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

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

15 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.

15 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.

15 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.

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

15 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.

15 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.

15 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.

15 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.

15 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.

15 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.

16 years agoVersion 0.4.
Richard W.M. Jones [Tue, 15 Apr 2008 13:41:21 +0000 (13:41 +0000)]
Version 0.4.

16 years agoAdded TODO file.
Richard W.M. Jones [Tue, 15 Apr 2008 13:41:14 +0000 (13:41 +0000)]
Added TODO file.

16 years agostring_of_bitstring.
Richard W.M. Jones [Tue, 15 Apr 2008 13:40:51 +0000 (13:40 +0000)]
string_of_bitstring.

16 years agoSome fixes to the META file, still doesn't work.
Richard W.M. Jones [Wed, 2 Apr 2008 13:59:47 +0000 (13:59 +0000)]
Some fixes to the META file, still doesn't work.

16 years agoFixed 'compiling' documentation.
Richard W.M. Jones [Wed, 2 Apr 2008 13:59:37 +0000 (13:59 +0000)]
Fixed 'compiling' documentation.

16 years agoInstall pa_bitmatch.cmo, don't install pa_bitmatch.cmi, distribute config.h.in.
Richard W.M. Jones [Wed, 2 Apr 2008 13:22:46 +0000 (13:22 +0000)]
Install pa_bitmatch.cmo, don't install pa_bitmatch.cmi, distribute config.h.in.

16 years agoDocumentation update
Richard W.M. Jones [Wed, 2 Apr 2008 13:22:07 +0000 (13:22 +0000)]
Documentation update

16 years agoVersion 0.2 released.
Richard W.M. Jones [Wed, 2 Apr 2008 12:36:43 +0000 (12:36 +0000)]
Version 0.2 released.

16 years agoUpdated MANIFEST.
Richard W.M. Jones [Wed, 2 Apr 2008 12:31:46 +0000 (12:31 +0000)]
Updated MANIFEST.

16 years agoUpdated documentation.
Richard W.M. Jones [Wed, 2 Apr 2008 12:29:03 +0000 (12:29 +0000)]
Updated documentation.

16 years agoStart of documentation.
Richard W.M. Jones [Wed, 2 Apr 2008 11:06:31 +0000 (11:06 +0000)]
Start of documentation.

16 years agoUpdate cvsignore.
Richard W.M. Jones [Wed, 2 Apr 2008 11:06:21 +0000 (11:06 +0000)]
Update cvsignore.

16 years agoMove more common bithandling code into I/I32/I64 modules.
Richard W.M. Jones [Wed, 2 Apr 2008 11:06:07 +0000 (11:06 +0000)]
Move more common bithandling code into I/I32/I64 modules.
Fix constructor functions.

16 years agoOutline of documentation.
Richard W.M. Jones [Wed, 2 Apr 2008 08:14:40 +0000 (08:14 +0000)]
Outline of documentation.

16 years agoLGPL notices.
Richard W.M. Jones [Wed, 2 Apr 2008 08:05:58 +0000 (08:05 +0000)]
LGPL notices.

16 years agoMakefile make install/clean.
Richard W.M. Jones [Wed, 2 Apr 2008 08:03:26 +0000 (08:03 +0000)]
Makefile make install/clean.

16 years agoAdded README
Richard W.M. Jones [Wed, 2 Apr 2008 08:03:03 +0000 (08:03 +0000)]
Added README

16 years agoUpdated MANIFEST
Richard W.M. Jones [Wed, 2 Apr 2008 08:02:52 +0000 (08:02 +0000)]
Updated MANIFEST

16 years agoMETA file
Richard W.M. Jones [Wed, 2 Apr 2008 08:02:44 +0000 (08:02 +0000)]
META file

16 years agoAutoconfify.
Richard W.M. Jones [Wed, 2 Apr 2008 07:20:26 +0000 (07:20 +0000)]
Autoconfify.

16 years agoIgnore tarballs
Richard W.M. Jones [Tue, 1 Apr 2008 22:19:59 +0000 (22:19 +0000)]
Ignore tarballs

16 years agoAdded MANIFEST, distribution rule.
Richard W.M. Jones [Tue, 1 Apr 2008 22:18:24 +0000 (22:18 +0000)]
Added MANIFEST, distribution rule.

16 years agoFixed byte swaps so that now ext3 superblock can be parsed.
Richard W.M. Jones [Tue, 1 Apr 2008 19:10:45 +0000 (19:10 +0000)]
Fixed byte swaps so that now ext3 superblock can be parsed.

16 years agoFixed syntax of the examples.
Richard W.M. Jones [Tue, 1 Apr 2008 17:31:12 +0000 (17:31 +0000)]
Fixed syntax of the examples.

16 years agoAdded constructors.
Richard W.M. Jones [Tue, 1 Apr 2008 17:05:37 +0000 (17:05 +0000)]
Added constructors.

16 years agoNow supports constant field patterns in bitmatch.
Richard W.M. Jones [Tue, 1 Apr 2008 15:22:46 +0000 (15:22 +0000)]
Now supports constant field patterns in bitmatch.

16 years agoAdded extract_int_be_unsigned and extract_int32_be_unsigned.
Richard W.M. Jones [Tue, 1 Apr 2008 10:58:53 +0000 (10:58 +0000)]
Added extract_int_be_unsigned and extract_int32_be_unsigned.

16 years agoFix corrupted IPv4/6 packets.
Richard W.M. Jones [Tue, 1 Apr 2008 10:58:35 +0000 (10:58 +0000)]
Fix corrupted IPv4/6 packets.

16 years agoAdded IPv4 and IPv6 ping packets.
Richard W.M. Jones [Tue, 1 Apr 2008 10:06:37 +0000 (10:06 +0000)]
Added IPv4 and IPv6 ping packets.

16 years agoAdded Bitmatch.hexdump_bitstring
Richard W.M. Jones [Tue, 1 Apr 2008 10:06:12 +0000 (10:06 +0000)]
Added Bitmatch.hexdump_bitstring

16 years agoAvoid compiler warning from 'raise Exit; ()'
Richard W.M. Jones [Tue, 1 Apr 2008 10:05:14 +0000 (10:05 +0000)]
Avoid compiler warning from 'raise Exit; ()'

16 years agoextract_char_unsigned
Richard W.M. Jones [Tue, 1 Apr 2008 08:56:43 +0000 (08:56 +0000)]
extract_char_unsigned