flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > [solved] 64 bits how do far jmp ?

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1080
Roman
64 bits
Code:
macro CreateCalladress address,Name {
        local ..return
        push  ..return
        jmp   qword address
..return:        
        Name equ ..return-4
}   
CreateCalladress ProcA,MyProcA
invoke MyProcA
    


But IDA pro show jmp short !
This breaks my idea.
Post 08 Jan 2021, 12:27
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 18182
Location: In your JS exploiting you and your system
revolution
When you say far jmp, do you mean long jmp?
Code:
use64
addr dq 0x1234567890abcdef
jmp [addr]    
Post 08 Jan 2021, 13:03
View user's profile Send private message Visit poster's website Reply with quote
Roman



Joined: 21 Apr 2012
Posts: 1080
Roman
Yes.
Post 08 Jan 2021, 13:09
View user's profile Send private message Reply with quote
Ali.Z



Joined: 08 Jan 2018
Posts: 445
Ali.Z
jmp [rip+0]
dq my_address

this form of jump takes 14 bytes.

_________________
Asm For Wise Humans
Post 08 Jan 2021, 14:03
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.