Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Caml-list] OCaml bindings to hivex (Windows Registry hive library)

30 views
Skip to first unread message

Richard Jones

unread,
Feb 25, 2010, 8:05:03 AM2/25/10
to caml...@inria.fr

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

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

0 new messages