The Student Room Group

Convert .exe file to source code

Is there a way to dicompile an .exe file to it's source code?
If it's a native exe: no (it's quite difficult and time consuming to work out what it does); if it's a .net exe: partially.

For native exe: IDA Pro Disassembler
Reply 2
In short, no. You can disassemble an executable, but you'll just get assembly language out of it.
Reply 3
No, it's messy, very messy
Reply 4
If it is .NET you can use a nice tool called Reflector http://www.red-gate.com/products/reflector.

If not then you are better off doing whatever you need to do from scratch.
Reply 5
iamsam
In short, no. You can disassemble an executable, but you'll just get assembly language out of it.


Lies (partially). IDA has a plugin to convert the assembly to C using Hex-Rays Decompiler.

http://www.hex-rays.com/decompiler.shtml

Note it won't ever be able to convert the entire code to C nor will it be able to provide complex functions without you being able to give some input. Function names are not kept either.

What do you do?

Write it (the program) from scratch yourself.
Reply 6
this is reverse engineering and if the program is copyright its illegal
Google Ollydbg :P
Reply 8
jackal441
this is reverse engineering and if the program is copyright its illegal


try telling that to all the warez sites...

<(". )>
Google Ollydbg :P


Olly's the best out there!!
Reply 9
noaksey
try telling that to all the warez sites...



Olly's the best out there!!


The Pirate bays been told. :rolleyes:
Reply 10
INTit
The Pirate bays been told. :rolleyes:



1.3 million posts OmG!
Reply 11
You can disassemble an executable, but if it's of any decent size you'll end up with reams and reams of assembly code, which isn't really much good if you're wanting to make changes to it... so all in all, the answer to your question is no.
Reply 12
jackal441
1.3 million posts OmG!

OMG too!
Reply 13
jackal441
1.3 million posts OmG!

newman24x
OMG too!

Pfft, I have more.
Reply 14
1 billion posts would be FTW
Reply 15
Original post by newman24x
is there a way to dicompile an .exe file to it's source code?

aa000000000000001148

Quick Reply

Latest

Trending

Trending