English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    
Browse thread
OCaml bindings to hivex (Windows Registry hive library)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: OCaml bindings to hivex (Windows Registry hive library)

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