Log in

View Full Version : call $+5 ?


mcensamuel
August 29th, 2005, 03:39
I opened one of my c++ program in the IDA pro and read that assembly.
I seen a call to $+5 in the starting of the function.
anybody know the meaning for this call ?

blabberer
August 29th, 2005, 12:29
$+5 is relative referance
it means call the function that is 5 byte after the length of command in eip


$ ==> 00401030 E8 00000000 CALL 00401035 ; call $+5
$+5 00401035 00 DB 00
$+6 00401036 00 DB 00


mcensamuel
August 29th, 2005, 22:19
thanks....