caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: caml-list@inria.fr
Subject: OCaml bindings to hivex (Windows Registry hive library)
Date: Thu, 25 Feb 2010 13:04:54 +0000	[thread overview]
Message-ID: <20100225130454.GA28253@annexia.org> (raw)


Should anyone be crazy enough to want to examine or modify Windows
Registry 'hive' (binary) files directly, they can now do so from
OCaml, since we added OCaml bindings to our hivex library:

http://libguestfs.org/hivex.3.html
http://git.annexia.org/?p=hivex.git;a=commitdiff;h=095c395082d1aad1e8558aa25514ad911e6d193c

There are example programs in the second link.

We also used OCaml for two other parts of this project: Firstly it is
used to generate the language binding boilerplate code for all
supported languages.  Secondly we used OCaml + bitstring to analyze
the undocumented hive files themselves.

http://git.annexia.org/?p=hivex.git;a=blob;f=generator/generator.ml;hb=HEAD
http://git.annexia.org/?p=hivex.git;a=tree;f=lib/tools;hb=HEAD

Rich.

-- 
Richard Jones
Red Hat


                 reply	other threads:[~2010-02-25 13:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100225130454.GA28253@annexia.org \
    --to=rich@annexia.org \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).