it's 4AM and still can't sleep...
then i went through older messages (well, only 3 days old)
and founded one by Radolpho about program called "sourcer".
i guess this is link to it:
http://www.tbcnet.com/~clive/vcomwinp.htmland if you read carefully you will see this program is still
nothing else but a disassembler - not a decompiler.
So far there is no real decompiler (and probably will never be). At least there is never going to be one for any of popular compilers (C, C++, Delphi, Pascal Fortran etc.).
If anyone finds working decompiler (not disassembler)
i will be first one to buy it. ;-)))
Huge output files? True... All disassemblers generate huge
output files. I was using few of them including varios
versions of debugers, TD(xxx), SoftIce and W32DASM.
It's simply because even one simple line in high level
language (like 'writeln;' or just about any other) is
resulting in few bytes till few hundred bytes of binary
code. Once binary file is disassembled there are usually
few (or dozens) of ASM instructions representing what was
initially one simple line.
Try disassembling notepad.exe or calc.exe and you'll get
about a megabyte of 'source code' while ORIGINAL source code was probably less than 5-10% of that. Happy decompiling...
Iby
Comments
btw, there are decompilers for java. but who is interested in such a beast...?
I've heard of these decompilers and disassemblers but I really don't understand what they are. (I'm learning Delphi) Do you think you could please give me a brief (and simple) explanation of what these tools actually do? By the way I came by a copy of Softice on a disk of 'dubious origin' I can't make 'head nor tail' of what it's supposed to do.... I uninstalled it.
OK, have a nice Christmas!
T.
: it's 4AM and still can't sleep...
: then i went through older messages (well, only 3 days old)
: and founded one by Radolpho about program called "sourcer".
: i guess this is link to it:
:
: http://www.tbcnet.com/~clive/vcomwinp.html
:
: and if you read carefully you will see this program is still
: nothing else but a disassembler - not a decompiler.
: So far there is no real decompiler (and probably will never be). At least there is never going to be one for any of popular compilers (C, C++, Delphi, Pascal Fortran etc.).
: If anyone finds working decompiler (not disassembler)
: i will be first one to buy it. ;-)))
: Huge output files? True... All disassemblers generate huge
: output files. I was using few of them including varios
: versions of debugers, TD(xxx), SoftIce and W32DASM.
: It's simply because even one simple line in high level
: language (like 'writeln;' or just about any other) is
: resulting in few bytes till few hundred bytes of binary
: code. Once binary file is disassembled there are usually
: few (or dozens) of ASM instructions representing what was
: initially one simple line.
: Try disassembling notepad.exe or calc.exe and you'll get
: about a megabyte of 'source code' while ORIGINAL source code was probably less than 5-10% of that. Happy decompiling...
:
: Iby
:
:
:
: I've heard of these decompilers and disassemblers but I really don't understand what they are. (I'm learning Delphi) Do you think you could please give me a brief (and simple) explanation of what these tools actually do? By the way I came by a copy of Softice on a disk of 'dubious origin' I can't make 'head nor tail' of what it's supposed to do.... I uninstalled it.
: OK, have a nice Christmas!
: T.
:
Brief and simple? Well, it wouldn't hurt to learn a bit more
and understand the difference between compilers and interpreters
but if you insist:
When you write a program in pascal it looks like this:
begin
writeln('hello world');
end.
This is code that even computer illiterate person would understand but computer doesn't. We need compiler
to translate this into binary code (EXE, COM, DLL etc.).
Decompiler would read from a binary file and return
source code (in theory). So far there is no good decompiler,
if you find one let me know ;-)))
However there is tons of good disassemblers (they reverse
binary files into assembler files).
Iby
I wonder how the first program was ever made?
I can just imagine working through a binary file
trying to work out how the hell the computer executes
it.
000001010101010100000000000000000001010101000001110000010000000000000101010000000000000000001010100101000001010101010100000000000000000001010101000001110000010000000000000101010000000000000000001010100101000001010101010100000000000000000001010101000001110000010000000000000101010000000000000000001010100101
Hehe, did you know that code executes Notepad?? I hope not, 'cause I just made it up.
Good day,
-- spida.
well you know, early computers for example had some
hex keypad (digits 0-9,a-f), so you wrote your program
on a sheet of paper, "assembled" it by hand and typed
it into the machine...
i guess one of the first things ppl coded was an assembler
:
: btw, there are decompilers for java. but who is interested in such a beast...?
:
:
:
: btw, there are decompilers for java. but who is interested in such a beast...?
:
:
Not only java, there are decompilers for VB as well
(both are actually interpreters, their compiler only
imitate real EXE files). I'm not sure for latest
VB version, but there are 'decompilers' for VB3, VB4
and VB5.
Both java compiler and files created by VB are
in reality small loader plus P-code of the sources,
they are not real binary files (try to disassemble
them and see what you get).
However I couldn't find any decompiler for
real EXE files (created from C, CPP, Pascal etc.).
They would be more interesting...
Iby
well
text is too
short
i gueess