I am looking at the dll loader in carberp and there is this line i dont understand.
for (DWORD i = 0; i < ((Relocation->SizeOfBlock - IMAGE_SIZEOF_BASE_RELOCATION) / 2 ); i++, RelInfo++ )
You can have a look at the source code on the link below.
I mean i understand the for loop, but what is "sizeofblock- image_sizeof_base_relocation / 2" .
Please help.