Autor Beitrag
andras
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 460

Win XP, Win Vista Home Premium, Ubuntu Dapper Drake
Delphi 2005 Pers
BeitragVerfasst: Di 14.06.05 11:17 
hallo
eine kompilierter exe-datei besteh ja aus einem haufen 0 und 1
ich hab mich gefragt ob es möglich wäre so etwas in delphi-quelltext zurückverwandeln. geht das????
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Di 14.06.05 11:24 
Delphi-Source bekommst du nicht wieder. Höchstens Assembler-Code.
Es soll ein Tool geben, dass zumindest die DFM-Dateien wieder herstellen kann.
andras Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 460

Win XP, Win Vista Home Premium, Ubuntu Dapper Drake
Delphi 2005 Pers
BeitragVerfasst: Di 14.06.05 11:34 
und wie krieg ich den assembler code?
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Di 14.06.05 11:36 
Suche mal nach:
Suche in: Delphi-Forum, Delphi-Library DECOMPILER
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19336
Erhaltene Danke: 1751

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 14.06.05 11:36 
Dieses Tool heißt Delphi Dekompiler (DeDe)...

Aber wie gesagt, mehr als Assembler + dfm kommt da nicht bei raus.

Wofür das sehr nützlich ist, ist für Optimierungen, also ich dekompiliere mein fertiges Projekt und versuche dann an bestimmten Stellen stattdessen den (vorher manuell optimierten) Assembler-Code in mein Programm einzusetzen.

Wer aber Assembler nicht kann und vor allem am Code und nicht an den Formularen interessiert ist (die könnte man ja auch nachbauen) für den gibt es da nix.

Übner illegale Zwecke für den man den Delphi Dekompiler benutzen könnte, möchte ich jetzt nicht reden, aber da gibts schon einiges "Sinnvolles", für den man den benutzen könnte.

Der Grund, warum da kein Delphi-Quelltext mehr rauskommt:
Der Delphi Compiler optimiert beim Kompilieren so stark, dass einfach nicht mehr erkennbar ist, welcher Delphi-befehl das mal war.
Die einzige Möglichkeit wäre also, zu versuchen, zu erraten, was diesen Assembler-Quelltext erzeugt haben könnte, aber meines Wissens nach ist das einzige Projekt, das sich soweit ich weiß damit mal befasst hatte, "eingegangen", d.h. die Leute kamen nicht mehr weiter...
Luckie
Ehemaliges Mitglied
Erhaltene Danke: 1



BeitragVerfasst: Di 14.06.05 12:51 
Desweiteren sind jegliche Variablennamen und Funktionsnamen nur noch Adressen im Code.
andras Threadstarter
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 460

Win XP, Win Vista Home Premium, Ubuntu Dapper Drake
Delphi 2005 Pers
BeitragVerfasst: Di 14.06.05 16:06 
ok
ich glaube dieses thema spare ich mir zuzeit einmal vor allem da das ganze schon etwas kompliziert wird und ich die assemblersprache so oder so nicht kann
trotzdem vielen dank an alle!!
andi