
Reverse Engineering for Beginners : Floating-point unit(Part2)
1.25.7 Comparison example Let's try this: C Copy #include <stdio.h> // include standard I/O header double d_max (double a, doubl...

1.25.7 Comparison example Let's try this: C Copy #include <stdio.h> // include standard I/O header double d_max (double a, doubl...

1.25 Floating-point unit The author started explaining that the FPU is a part inside the main CPU, specialized in dealing with floating point numbers. In the old days it was called "coproce...

For the sake of optimization, an instruction can be replaced with another instruction, or even with a group of instructions. For example, ADD and SUB can replace each other. Also, the LEA instr...

1.23.1 strlen() Let us talk about loops again. Very often, the strlen() function is implemented using a while() statement. If you do not know what strlen() does, it simply walks character by ...

1.22.3 When there are several case statements in one block This is a very popular construct: several case statements for the same block: C Copy ...

1.22.1 Small number of cases C Copy #include <stdio.h> // include standard I/O header void f (int a) // define function f taking i...

1.21 Loops x86 The author began this section by saying that there is a special instruction called LOOP in the x86 instruction set. This instruction checks the value in the ECX register; if it...

1.19 Software cracking The author said at the beginning that the vast majority of programs can be cracked in this way That you search for the place where the protection is checked, Whether d...

1.18.3 Ternary conditional operator The ternary conditional operator in C/C++ has this syntax: C Copy expression ? expression : expressi...

1.18 Conditional jumps 1.18.1 Simple example C Copy #include <stdio.h> // include the standard I/O header; this directive includes t...