Click to See Complete Forum and Search --> : Calls Less Than 5 Bytes


Mr. Smith
July 23rd, 2011, 07:23 PM
Is there any way to write a call like this in less bytes?
e8 02 00 00 00

Thanks!

Eri523
July 24th, 2011, 06:13 AM
The only shorter call instruction I can think of at the moment is a call via a register, like CALL EAX (FF C2 if I "hand-assembled" it correctly) for instance. However, of course you'd need to get the destination address into the register first what certainly would eat up more than you gained with the shorter call instruction.

Mr. Smith
July 24th, 2011, 08:35 PM
Thanks for answering this! :)