Re: Messagebox

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

From: Herfried K. Wagner [MVP] (hirf-spam-me-here_at_gmx.at)
Date: 05/27/04


Date: 27 May 2004 07:41:29 +0200


* Arne Janning <spam.me-here.arnolo@msn.com> scripsit:
>> Nur mal so eine Überlegung, weil du immer wieder mal Quellcode der
>> nicht-öffentlichen "Microsoft.VisualBasic.dll" postest: Ist das erlaubt?
>
> es sieht so aus, als wenn Jürgen den "Decompiler" des .NET-Reflectors
> benutzt hätte. Das ist ja nun nicht wirklich "Quellcode", sondern nur
> eine besser lesbare Darstellung des MSILs:
>
>
> L_00a4: ldloc.1
> L_00a5: ldloc.2
> L_00a6: ldloc.3
> L_00a7: ldarg.1
> L_00a8: ldc.i4.s 15
> L_00aa: and
> L_00ab: ldarg.1
> L_00ac: ldc.i4 240
> L_00b1: and
> L_00b2: ldarg.1
> L_00b3: ldc.i4 3840
> L_00b8: and
> L_00b9: ldarg.1
> L_00ba: ldc.i4 -4096
> L_00bf: and
> L_00c0: call MessageBox.Show
> L_00c5: ret
>
> und das sollte man doch posten dürfen, oder?

Ich habe mir den Lizenzvertrag nicht durchgelesen, bin aber nicht
sicher, ob das nicht bereits als erster Schritt zum "Reverse Engineering"
anzusehen ist. Die Rekonstruktion von Quellcode einer "Hochsprache" wie
VB.NET oder C#, sei es im Kopf oder mit Reflector, ist m.A.n. Reverse
Engineering.

<URL:http://whatis.techtarget.com/definition/0,,sid9_gci507015,00.html>
sagt dazu:

<quote>
Someone doing reverse engineering on software may use several tools to
disassemble a program. [...] Another common tool is the
disassembler. The disassembler reads the binary code and then displays
each executable instruction in text form. A disassembler cannot tell the
difference between an executable instruction and the data used by the
program so a debugger is used, which allows the disassembler to avoid
disassembling the data portions of a program.
</quote>

-- 
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>


Relevant Pages