Yea someone told me that a decompiler would do the job but i searched and could find anythat worked?I tried NASM but i couldnt regester withthem cause they wouldt take any username i entered.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Actually, there are no such things as decompilers. However, there are disassemblers. (At least I know of no tool that generates a high level source code from binary).
If you want a java decompiler, these things do exist. For c, c++, pascal, etc i dont think these things will ever be made. I believe some programs are capable of producing some mixed c and assembly code, but this is more for understanding a program then for anything else. It has been a while since i looked into this so i cant give you any names.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you have disassembled the code into assembly language, then you simply run it through an assembler to create the application.
So, yes, you can modify the disassembled code. You can reassemble the code. You can run the application.
The reason you can decompile java is because java is an interpreted language. What you are really doing is decompiling the byte code, which is what runs on the java machines. However, if you actually compile java application into native code (rather than byte code) then would not be able to decompile it - although, you could disassemble it.
Disassembling a program is simply a matter of transofrming the binary data into something more English like - assembly code.
So instead of trying to read and understand something like this (which predates my time):
Does any 1 know of any good decompiler, if so list them here.
What are your trying to do, check out assembly code?
Wayne
Yea someone told me that a decompiler would do the job but i searched and could find anythat worked?I tried NASM but i couldnt regester withthem cause they wouldt take any username i entered.
Actually, there are no such things as decompilers. However, there are disassemblers. (At least I know of no tool that generates a high level source code from binary).
You can go here to look for a disassembler you like: http://www.thefreecountry.com/programming/disassemblers.shtml
rr
Are you the same person who was asking a similar question a couple of days ago on another thread?
Wayne
If you want a java decompiler, these things do exist. For c, c++, pascal, etc i dont think these things will ever be made. I believe some programs are capable of producing some mixed c and assembly code, but this is more for understanding a program then for anything else. It has been a while since i looked into this so i cant give you any names.
I wonder if this thread is realted to this one?
http://sourceforge.net/forum/message.php?msg_id=2871444
Wayne
Can i modify the program from assembly code? I downloaded the Borg disassembler.
Try the Boomerang decompiler:
http://sourceforge.net/projects/boomerang/
When i down load that decompiler the run screen blips on then off and it doesnt come with a source file does it?
dont listen to bad advice . boomerang is a peace of crap...call it from the dos window, like
boomer~1 -oc:\outputdir c:\somefile.exe
Warning! Could not create path c:\somefile.exe/!
setting up transformers...
loading...
!!!But it allways crashs!!! Just alpha shit - dont care.
so do you use any decompiler?
Nope. I haven't done assembly language in years.
Wayne
Can you dissassemble with nasm? I did not know that.
Kip
I found a good dissasembler but all the decompilers are for java.The assembly code makes no sense to me
"The assembly code makes no sense to me"
I think I have been saying something like that.
Wayne
but can you modify the program that you have disassembled from the assembly code?
You can disassemble the assembly code and assemble assembly disassemble code, does that help?
Stanky Freaking McPie
"Stanky Freaking McPie" lol, I love it.
Kip
If you have disassembled the code into assembly language, then you simply run it through an assembler to create the application.
So, yes, you can modify the disassembled code. You can reassemble the code. You can run the application.
The reason you can decompile java is because java is an interpreted language. What you are really doing is decompiling the byte code, which is what runs on the java machines. However, if you actually compile java application into native code (rather than byte code) then would not be able to decompile it - although, you could disassemble it.
Disassembling a program is simply a matter of transofrming the binary data into something more English like - assembly code.
So instead of trying to read and understand something like this (which predates my time):
03e4 563e e45b 3789
12a3 12a4 34e5 ff56
3456 7efb 0101 5a5a
You instead get something that looks like this:
mov eax, ecx
sub ecx, edi
sub ecx, eax
and ecx, 3
sub eax, ecx
jle short LEndBytes
rep movsb
mov ecx, eax
and eax, 3
shr ecx, 2
rep movsd
LEndBytes: add ecx, eax
rep movsb
rr