News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Building a Decompiler

Started by MusicalMike, October 02, 2005, 10:53:20 PM

Previous topic - Next topic

MusicalMike

I am trying to build a decompiler. I have successfully extracted the bytes from a file and loaded it in to the string. Before I start writing code that will translate the binary back into assembly language, I need to know the basic file format of an exe files (I am aware there are more than one, so preferably I would like information on all the ones that are still in use). I tried googling it, but I got a whole bunch of links that had nothing to do with computers let alone with the subject in question as a result. Any help would be appreciated.

PBrennick

Hi MusicalMike,
A very useful site for that sort of information is http://www.wotsit.org/

hth,
Paul
The GeneSys Project is available from:
The Repository or My crappy website

ToutEnMasm

Hello,
Search for PE file format,
OFFICIAL WINDOWS http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/pe_format.asp
You can see also the Iczelion Tuts on PE
You can also find viewers of PE file
PEBROWSE http://www.smidgeonsoft.com/
PEVIEW http://www.magma.ca/~wjr

                              ToutEnMasm

OceanJeff32

Also, why not use DEBUG.exe, it's available from the command-line from any windows system, and write a small file?  You can use it to write a .com program, and also an .exe and see the difference.  It might only show you one type of each, and the difference, but I'm sure it would be educational.

Let me know if you want me to help any further with this,

Jeff c
:U

P.S. When I say this, I mean just this suggestion of mine.
Any good programmer knows, every large and/or small job, is equally large, to the programmer!

thomasantony

Hi,
   See Iczelion's PE tuts for some good Info. http://spiff.tripnet.se/~iczelion/pe-tut1.html . Also try googling for YATES` PE NOTES . It is a very good doc

Thomas :U
There are 10 types of people in the world. Those who understand binary and those who don't.


Programmer's Directory. Submit for free


P1

Freudian slip ?

De-Assembler instead of De-compiler ?

As long as you all understand, that most software EULAs do not permit Reverse Engineering (RE).

I hope you know there is software out there with man years of effort in it and it's still a problem after all this time.

In the end, DO YOUR BACKUPS !!!  It's dumb and ignorant to lose source code to hardware failures.  Which is the excuse, we get for wanting a de-assembler.

Regards,  P1  :8)

ToutEnMasm

Hello,
For the very useful GOOGLE it is disassembler that give the most results.
Try it ,and you wil find all you want
  One of them    http://81.233.34.19/dazmit.php
                                        ToutEnMasm