Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Someone walked off with the source code? Or was it 'archived'?
"I can put any old tat in my sig, put quotes around it and attribute to someone of whom I've heard, to make it sound true."
- Voltaire/Benjamin Franklin/Anne Frank...
Also, is the compiled code in intermediate binary files, which can easily be parsed as these files have a documented structure with short parcels of data and code etc, or is it an executable file?
In the latter case, does the program use dynamic/shared linked libraries, or is the relevant library code embedded statically in the EXE file itself?
An EXE program with embedded library code is next to impossible to decompile, because the actual code is a small proportion of the whole, and very hard to distinguish from the library code, unless the file also includes symbol tables.
IDA (formerly called IDA Pro) is the most well known, and I think that can recognise code from many standard embedded libraries
Also, do you really mean C, or is it C++? A disassembly of the latter will be _much_ harder to follow, due to all the crud and bells and whistles automatically associated with the code.
In general, disassembly of an executable program of any significant length, without a symbol table or patterns of disassembled earlier similar versions available, is _very_ hard, painstaking, and time-consuming work, and often well-nigh impossible!
edit: If you have a serious requirement for this, for example if some baboon has lost vital source code which you have to reconstruct, I have a fair bit of experience and might be available for some freelance work in the evening if you'd like to PM me with details. (I once wrote my own Intel disassembler, so I know the Intel instruction set backwards) But I'm not promising anything!
Comment