add comments
This commit is contained in:
@@ -60,10 +60,12 @@ unsigned preprocess_calltrick(unsigned char *infile, unsigned insize, unsigned c
|
||||
do {
|
||||
//printf("infile_ptr = %p, count = %u\n", infile_ptr, count);
|
||||
unsigned al = *(infile_ptr++);
|
||||
al -= 0x0E8; // relative call opcode
|
||||
if (al > 1) {
|
||||
al -= 0x0E8;
|
||||
if (al > 1) { // if != E8 and != E9
|
||||
continue;
|
||||
}
|
||||
// E8 dword: call rel32
|
||||
// E9 dword: jmp rel32
|
||||
if (count < 5) {
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user