DCU reversing.

I read at 'developers.href.com' while searching under Delphi decompilers, that reversing a DCU was relativley easy. Has anyone
any idea's on how this is done ?.
 
                        Paul.

LVL 1
pr_wainwrightAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

LischkeCommented:
Hi Paul,

do you mean to get back the source code? If yes then you must have gotten something wrong. One can at best get back assembler code which isn't particularly usefull from DCUs. Sorry to say that, but this is all about it...

Ciao, Mike
0
sburckCommented:
I looked there too, and they don't say that it's easy to reverse engineer from a DCU, but that with a DCU a lot of the public details can be gotten.  The best answer I saw there was given by Ray Lischner (Hidden Paths), and he said just take any DCU, put it into an empty project, and compile the project with symbol info on.  Then use the object browser, and you can get information about the public objects.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
brainwareCommented:
What About Disassembling DCU what is the Start Offset if it is possiple..

Else how would u recommend Decompiling a single Procedure/Function to see how Delphi Assembled it and to see if any ways to Optimize it.

0
simonetCommented:
it aint't easy. Not to mention that any algorythm you come up with that does it, will be invalid for any other version of Delphi other than the one you first targeted. This is so because DCUs are version-specific and their formats change (considerably I may say) from version to version.

Alex
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.