Re: Obfuscation - sinnfrei?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hallo Frank,

Frank Dzaebel schrieb:
Hallo Michael,

Bei nativem Code erhält man ja am Ende fast nur den Assemblercode, der für den Laien nur mit viel Aufwand und technischem Verständnis zu verstehen ist.

Das ist der Irrtum.
Für alle Code-Arten (auch Assembler) gibt es mittlerweile Disassembler/Reflectoren. Für exe Formate gehts nur ein wenig langsamer.

> ...
also aus Maschienencode wieder eine Hochsprache zusammenzubauen ist ja nicht ganz so einfach bzw. eigentlich fast unmöglich. Und selbst wenn man grob wieder die Kontrollstrukturen zusammenbaut, so fehlen einem meißtens auch noch die Namen von Klassen, Member- und lokale Variablen. Und jeder Compiler erzeugt ja auch noch unterschiedlichen Code, der sich auch noch nach den Compilereinstellungen ändert. Der Watcom Compiler drehte z.B. am Stack rum, um switch/case Anweisung zu bauen. Woher soll ein Decompiler wissen, was da genau passiert. IL Code ist ja doch schon was anderes als reiner Maschinencode.



ciao Frank


Gruß
Martin
.



Relevant Pages

  • Re: Early fruits of my labour
    ... > Would you call B0 an assembler or a Compiler? ... Frank ... Prev by Date: ...
    (alt.lang.asm)
  • Re: What micros do you actually hate to work with?
    ... with less than tiny asm ... hassle to work with 32 bit longs in assembler for an 8 bit uP, ... Microchip's C compiler tools and their assembly under MPLAB. ... is that other programmers for C are easier to find. ...
    (comp.arch.embedded)
  • Re: The Promise of Forth
    ... Declare variables, declare locals, let the compiler do the work ... Forth could be considered the assembler for a simplified virtual ... If you use locals then you have to initialise them each time. ... there are likely to be libraries that could be profitably used within ...
    (comp.lang.forth)
  • The never ending assembly vs. HLL war
    ... > branch instruction excluded is not particularly effective optimization. ... > CPU, chances are pretty good it *won't* be optimal on a different CPU. ... > discussing the futility of optimizing it in *assembler* when the ... careful and consider the code the compiler is emitting (and adjust your ...
    (comp.lang.asm.x86)
  • Re: the quality of assembly language code
    ... Intel's compiler is supposed to ... I have found that I prefer 'C' and assembler roughly in inverse ... >> code than human beings writing raw assembly language. ... > assembly programmers and compilers. ...
    (comp.lang.asm.x86)