Turn on thread page Beta
    • Thread Starter
    Offline

    0
    ReputationRep:
    I have the assembly source of a program written with delphi language. I want to find out the aligorethm of this program. What is the best way?
    Thank.
    Offline

    2
    ReputationRep:
    (Original post by bagher)
    I have the assembly source of a program written with delphi language. I want to find out the aligorethm of this program. What is the best way?
    Thank.
    Do you mean you have just taken Delphi executable and disassembled it? Did you use a disassembler which 'knows' it's dealing with a Win32 PE executable or just a byte-for-byte disassember? If you have the code seperated from the data, then with a lot of work and if it's a simple program you might be able to establish the algorithm, although languages like Delphi will most likely generate complicated code deliberately intended to fool attempts at disassembly. I wouldn't get your hopes up, especially if the writer of the program intended on keeping this algorithm secret; there are many ways of making the assembly code generated very complicated and obfuscated.

    If you really want to try and do this, you will need a good knowledge of Windows' PE (Portable Executable) format, the Intel IA-32 instruction set, protected mode architecture and the Win32 API.

    Regards,
 
 
 
Turn on thread page Beta
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Updated: November 30, 2003
Poll
How are you feeling in the run-up to Results Day 2018?
Useful resources

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.