Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Class runtime representation
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-12-10 (17:19)
From: Dmitry Bely <dmitry.bely@g...>
Subject: Re: [Caml-list] Class runtime representation
On Dec 10, 2007 6:51 PM, Richard Jones <> wrote:

> > Thanks for the detailed explanation. I don't like method names in the
> > binary because they show some implementation details that I would like
> > to hide; several extra bytes of code are really not a problem.
> I suppose you could preprocess the source to mangle method names,

Writing such "obfuscator" may be non-trivial.. I tend to think that
modifying Ocaml compiler can be simpler.

> but
> to be honest if you're worried about the security of the binary from
> reverse engineering I'm afraid that you'll need to consider a lot more
> than just mangling.

Not that I worry about reverse engineering too much, but my manager is
not very happy to see human-readable method names in the binary (I
spent enough time to get a permission to code anything in Ocaml; I
don't like to lose it eventually)

- Dmitry Bely