Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Brent Fulgham <brent.fulgham@xpsystems.com>
To: Daniel Ortmann <ortmann@vnet.ibm.com>
Cc: caml-list@inria.fr
Subject: RE: Reverse-Engineering Bytecode: A Possible Commercial Objection To O'Caml
Date: Fri, 9 Jun 2000 11:18:56 -0700	[thread overview]
Message-ID: <EDFD2A95EE7DD31187350090279C6767958B0D@THRESHER> (raw)

> Also, isn't "information hiding" part of the purpose of .cmi 
> files?  What I am suggesting might be viewed as an stronger 
> type of .cmi file ... with REAL "implementation hiding".  :-)
> 
Regarding your later anecdote about the Lisp source being available
under Emacs, I think we may be comparing apples to oranges.

Pulling up a .cmi file in a text editor does not provide me with
the same ease-of-analysis of Lisp sources.  I would have to sit
down and understand the byte value meanings for the OCaml VM,
parse the bytes in the .cmi file, and then discern the meaning.

This is no different than "decompiling" the byte code from a Java
VM (the compiled "class" modules).  Certainly one of us could write
a utility to "decompile" .cmi files (such beasts exist for Java).

I guess my point is:  The .cmi files seem to be obfuscated enough
for general distribution.  I mean, someone with enough interest
in your 'secrets' to learn the byte code and write a decompiler 
will be capable of doing the same to native object code as well.

I guess I'm just not sure your proposal would provide sufficient
value for the effort and performance hit required.

[ ... snip ... ]
> > 2) Encryption is illegal in many countries, or at least 
> >    export restricted, i think france changed this some time
> >    ago, but if not, it would not be possible for inria to 
> >    distribute such a product.
> 
> I believe the US has just lightened up on some of the restrictions.
> 
> ... But the answer would be:  Don't distribute the actual 
> encryptiong directly with O'Caml, just the hooks.  Have the 

Please note that under the US's current law (well, current prior
to the most recent potentially-temporary relaxation), it is also
prohibited to provide encryption hooks in your code.  You could
get around this by calling them "compression" hooks.

Regards,

-Brent 




             reply	other threads:[~2000-06-12 14:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-09 18:18 Brent Fulgham [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-06-09 16:13 Brent Fulgham
2000-06-08 21:58 Brent Fulgham
2000-06-07 21:41 Michael Donat
2000-06-06 20:46 Daniel Ortmann
2000-06-07 20:23 ` Markus Mottl
2000-06-07 22:02 ` Max Skaller
2000-06-07 22:15 ` Max Skaller
2000-06-08  8:54 ` Sven LUTHER
2000-06-08 22:36   ` Daniel Ortmann
2000-06-09 13:34     ` Sven LUTHER
2000-06-09 22:06     ` Vitaly Lugovsky
2000-06-10 14:41     ` Gerd Stolpmann
2000-06-09 15:44 ` Julian Assange

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=EDFD2A95EE7DD31187350090279C6767958B0D@THRESHER \
    --to=brent.fulgham@xpsystems.com \
    --cc=caml-list@inria.fr \
    --cc=ortmann@vnet.ibm.com \
    /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