NASM - The Netwide Assembler
NASM Forum => Using NASM => Topic started by: hannibal on December 14, 2012, 03:04:10 AM
-
current compilers want to min the size and optimize execute speed.
but, maybe i want a compiler,whose purpose is anti-analysis.
so ,i made unest.org, it support nasm language,intel x86 instruction,output binary code.
Demo:
source code:
[bits 32]
%define Key 0cccccccch
%define dwFlag 04013f4h
mov edi,dwFlag
mov eax,dword [edi]
cmp eax,Key
jz @1
mov eax,0
jmp @2
@1:
mov eax,Key
@2:
mov dword [edi],eax
download: http://www.unest.org/demo/demo.php
after download,load it with ollydbg or other debugger tools.
like this picture:
(http://www.unest.org/demo/demo.jpg)
if you change the key before you run it,then you will see the result as same as the source code.
when the key is not 0cccccccch,the dword memory will been set by 0.
the important is : the code been garble(poly) each you download it.
if you want to try my little toy,contact me to get invitation code
-
but, maybe i want a compiler,whose purpose is anti-analysis.
It's called Perl :P
-
er...perl... but it doesn't modify the code each you compile it
-
er...perl... but it doesn't modify the code each you compile it
I think Keith was making a joke at how difficult some PERL code is to read, ie "anti-analysis". I can't say I personally agree. :P
-
[offtopic]
I think Keith was making a joke at how difficult some PERL code is to read
Correct... thinly veiled sarcasm :)
Two of my favorite Perl quotes:
Perl is the only language where you can bang your head on the keyboard and it compiles.
Perl - The only language that looks the same before and after RSA encryption.
[/offtopic]