Reverse Engineering for Beginners
CHAPTER 53. WINDOWS 16-BIT CHAPTER 53. WINDOWS 16-BIT if (*s1==0 || *s2==0) return 1; // end of string s1++; s2++; }; }; int PAS ...
CHAPTER 53. WINDOWS 16-BIT CHAPTER 53. WINDOWS 16-BIT loc_22: ; CODE XREF: string_compare+16j mov ax, 1 jmp short loc_2B loc_27: ...
CHAPTER 53. WINDOWS 16-BIT CHAPTER 53. WINDOWS 16-BIT push bp mov bp, sp mov bx, [bp+arg_0] loc_72: ; CODE XREF: remove_digits+1 ...
CHAPTER 53. WINDOWS 16-BIT CHAPTER 53. WINDOWS 16-BIT es:[bx]). “far” pointers are also used in myMessageBox()win16 example:53.2 ...
CHAPTER 53. WINDOWS 16-BIT CHAPTER 53. WINDOWS 16-BIT add ax, 1900 push ax mov ax, offset a04d02d02d02d02 ; "%04d-%02d-%02d %02d ...
CHAPTER 53. WINDOWS 16-BIT CHAPTER 53. WINDOWS 16-BIT t dw 0 WinMain proc near push bp mov bp, sp xor ax, ax call time_ mov unix ...
Part IV Java ...
CHAPTER 54. JAVA CHAPTER 54. JAVA Chapter 54 Java 54.1 Introduction. There are some well-known decompilers for Java (orJVMbyteco ...
CHAPTER 54. JAVA CHAPTER 54. JAVA And we get: Listing 54.1: JDK 1.7 (excerpt) public static int main(java.lang.String[]); flags: ...
CHAPTER 54. JAVA CHAPTER 54. JAVA This way of passing constants is not unique to JVM. MIPS, ARM and other RISC CPUs also can’t e ...
CHAPTER 54. JAVA CHAPTER 54. JAVA public class retc { public static byte main(String[] args) { return 123; } } public static byt ...
CHAPTER 54. JAVA CHAPTER 54. JAVA 0: ldc2_w #2 // double 123.456d 3: dreturn dreturnstands for “return double”. And finally, a s ...
CHAPTER 54. JAVA CHAPTER 54. JAVA 0: iload_0 1: iconst_2 2: idiv 3: ireturn iload_0takes the zeroth function argument and pushes ...
CHAPTER 54. JAVA CHAPTER 54. JAVA iload_0loads the first function argument (a),iload_2—second (b). Here is the stack after the e ...
CHAPTER 54. JAVA CHAPTER 54. JAVA 54.4 JVMmemory model x86 and other low-level environments use the stack for argument passing a ...
CHAPTER 54. JAVA CHAPTER 54. JAVA public class HelloWorld { public static void main(String[] args) { System.out.println("Hello, ...
CHAPTER 54. JAVA CHAPTER 54. JAVA public static void main(java.lang.String[]); flags: ACC_PUBLIC, ACC_STATIC Code: stack=1, loca ...
CHAPTER 54. JAVA CHAPTER 54. JAVA public int my_rand(); flags: ACC_PUBLIC Code: stack=2, locals=1, args_size=1 0: getstatic #2 / ...
CHAPTER 54. JAVA CHAPTER 54. JAVA 0: iload_0 1: iload_1 2: if_icmple 7 5: iload_1 6: ireturn 7: iload_0 8: ireturn if_icmplepops ...
CHAPTER 54. JAVA CHAPTER 54. JAVA 25: invokevirtual #4 // Method java/io/PrintStream.print:(Ljava/lang/⤦ ÇString;)V 28: iload_0 ...
«
26
27
28
29
30
31
32
33
34
35
»
Free download pdf