WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   .EXE Dekompilieren ??? (http://www.wcm.at/forum/showthread.php?t=57360)

zaphod 23.05.2002 14:16

.EXE Dekompilieren ???
 
Hi Folks!

Ich habe folgendes Problem.
Ich verwende ein Programm, welches 1997 wahrscheinlich in C++ geschrieben wurde.
Für dieses Ding gibt es leider KEINEN Quellcode mehr (den hat der Programmierer wahrscheinlich mit ins Grab genommen).
Nun meine Frage: Gibt es ein Tool, mit dem man die EXE-Datei wieder in eine bearbeitbare Form (Sourcecode) bringt oder mit dem man die EXE analysieren kann, in welcher Sprache programmiert wurde???
Bitte um Nachsicht, falls meine Frage für Profis zu albern ist ;-)
:verwirrt:

Danke im Voraus
Zaphopd

jak 23.05.2002 15:20

Zitat:

[34.4] How can I decompile an executable program back into C++ source code?
You gotta be kidding, right?

Here are a few of the many reasons this is not even remotely feasible:

What makes you think the program was written in C++ to begin with?
Even if you are sure it was originally written (at least partially) in C++, which one of the gazillion C++ compilers produced it?
Even if you know the compiler, which particular version of the compiler was used?
Even if you know the compiler's manufacturer and version number, what compile-time options were used?
Even if you know the compiler's manufacturer and version number and compile-time options, what third party libraries were linked-in, and what was their version?
Even if you know all that stuff, most executables have had their debugging information stripped out, so the resulting decompiled code will be totally unreadable.
Even if you know everything about the compiler, manufacturer, version number, compile-time options, third party libraries, and debugging information, the cost of writing a decompiler that works with even one particular compiler and has even a modest success rate at generating code would be significant — on the par with writing the compiler itself from scratch.
But the biggest question is not how you can decompile someone's code, but why do you want to do this? If you're trying to reverse-engineer someone else's code, shame on you; go find honest work. If you're trying to recover from losing your own source, the best suggestion I have is to make better backups next time.
Eine Möglichkeit besteht natürlich darin sich jemanden zu suchen der Assembler kann. Aber an und für sich ist es glaube ich nicht möglich. Warum hätten sonst die Raubkopierer so viel Arbeit?

Jak

mcs_ 23.05.2002 17:02

ich glaub wenns visual basic ist, könnts gehen, da nur pseudomaschinencode, hab ich mal gehört. aber nix genaues weiß ich nicht.

Sonic 24.05.2002 08:24

Für Vb version 1 bis 3 gibt es decompiler die wirklich alles wieder zurückbringen (sogar den kommentar!) :)
Alles andere kann man nicht decompilieren sondern nur disassemblieren. (in assemblercode umwandeln)

Es gibt auch Programme die dir aus einem assemblercode C Code machen aber der ist dann noch unlesbarer als der assemblercode. :)

Langer Rede kurzer sinn:

Es gibt keine vernünfige möglichkeit ein Programm zu decompilieren. (auser wenns ein vb1-3 Programm ist)

lg

Seidl 24.05.2002 08:31

Das Problem ist,...
 
dass der compilierte Code seiner Struktur, seiner Variablennamen und sämtlicher Kommentare beraubt ist. Im Prinzip kann man aus jeder EXE wieder was bearbeitbares machen. Nur hängt es dann von deinen Fähigkeiten als Programmierer ab ob du den Code lesen kannst. Was die Tools dazu betrifft weiss ich nur, dass es zumindest für C++ einen Decompiler gibt wobei mir der Name allerdings leider unbekannt ist (auf da UNI homms hoit gsogt ;) )
Zumindest kannst du dich jetzt, sofern du noch Bock darauf hast, mit gutem Gewissen auf die Suche nach einem Tool machen. Im Web wird sich bestimmt was finden lassen.

so long
Seidl

zaphod 26.05.2002 14:43

DANKE
 
Ihr seid´s Super!

Zwar keine Lösung, aber Danke für die rege Anteilnahme!

So long
Zaphod

benz 22.06.2002 16:57

http://www.decompiler.com/

mehr hab ich dazu nciht zu sagen

SNo0py 22.06.2002 18:34

Ich halte es für ein Ding der Unmöglichkeit (ausser VB natürlich) weil woher soll der Decompiler wissen, welchen Variablennamen 0x83E432C4 früher mal hatte?


Alle Zeitangaben in WEZ +2. Es ist jetzt 21:50 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag