Paul
 
So Therefore if you had the source (to extract the Local Var names) could you combine the
source and the CIL to get a reasonable port ie
 
VB.NET to Delphi.NET
 
Also on this subject why is the Delphi.NET component lib VCL not CLX based?
 
Neven
----- Original Message -----
From: Paul Heinz
Sent: Wednesday, September 25, 2002 3:07 PM
Subject: RE: [DUG]: Just a thought

Neven asked:
I just had a thought
 
If many languages can compile to .NET (CIL). The what is to
stop a delphi decompiler which generates source code?
 
Unlike a dissassembler there is propably enough symbolic
info in the CIL to make this reasonably practical
Combining the externally visible type information (method names and signatures) with some ILDasm post processing could well give you a reasonable set of pseudo-code in a language of your choice. Locals variables and such like would be 'anonymously' named though.
 
Interestingly, there are already 3rd party tools to obfuscate java .class files (bytecode) to make this sort of thing more difficult for java decompilers. They munge the byte code in confusing ways and remove  'unnecessary' (i.e. not needed for correct execution) metadata, etc.
 
TTFN,
  Paul.
 
 
 

Reply via email to