What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » creating an asm opcode

creating an asm opcode
Author: Message:
TheSteve
Full Member
***

Avatar
The Man from Japan

Posts: 179
Reputation: 23
40 / Male / Flag
Joined: Aug 2005
RE: creating an asm opcode
The easiest solution is to use a program such as ollydbg and find a random spot to construct some temporary asm.  The actual bytes for the command will be next to the character representation for the command.

If my memory serves me correctly, a standard 5 byte offset JMP command is 0xE9 followed by the 4 byte little endian offset to the function from the end of the current command.  (jmp address - current address - length of command)
so

33333333   jmp 0x12345678
would turn out (0x12345678 - 0x33333333 - 5)

E9 DF012340
0xE9 0x40 0x23 0x01 0xDF
06-26-2007 12:21 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
creating an asm opcode - by effection on 06-25-2007 at 12:25 PM
RE: creating an asm opcode - by Verte on 06-25-2007 at 03:26 PM
RE: creating an asm opcode - by effection on 06-25-2007 at 08:03 PM
RE: RE: creating an asm opcode - by Verte on 06-26-2007 at 09:17 AM
RE: creating an asm opcode - by TheSteve on 06-26-2007 at 12:21 AM
RE: creating an asm opcode - by effection on 06-26-2007 at 10:04 AM
RE: RE: creating an asm opcode - by Verte on 06-26-2007 at 10:24 AM
RE: creating an asm opcode - by effection on 06-27-2007 at 03:45 PM
RE: creating an asm opcode - by CookieRevised on 06-27-2007 at 11:48 PM
RE: creating an asm opcode - by Verte on 06-28-2007 at 01:39 AM
RE: creating an asm opcode - by effection on 06-28-2007 at 11:28 AM
RE: creating an asm opcode - by Verte on 06-28-2007 at 01:57 PM
RE: creating an asm opcode - by effection on 06-28-2007 at 03:18 PM
RE: creating an asm opcode - by CookieRevised on 06-29-2007 at 02:40 AM
RE: creating an asm opcode - by Verte on 06-29-2007 at 10:07 AM
RE: creating an asm opcode - by effection on 06-29-2007 at 05:49 PM
RE: creating an asm opcode - by Verte on 06-29-2007 at 11:42 PM
RE: creating an asm opcode - by effection on 06-30-2007 at 12:15 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On