1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| #include<stdio.h>
int main() { _asm { xor eax, eax; jz s; _emit 0x11; _emit 0x22; _emit 0x33; s: } printf("Hello World!\n"); }
|
1 2 3 4 5 6 7 8 9 10 11 12
| int main() { _asm { xor eax, eax; jz s; add esp, 0x11; s: } printf("Hello World!\n"); }
|
//https://bbs.kanxue.com/thread-283122.htm