Created
March 14, 2020 11:12
-
-
Save jlevon/a25a895918f5816db6d222400600915c to your computer and use it in GitHub Desktop.
ljmp variants
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jlevon@kent:~$ cat a.s | |
.code64: | |
ljmp %cs:*0x11223344 | |
rex64 ljmpl %cs:*0x11223344 | |
jlevon@kent:~$ as a.s | |
jlevon@kent:~$ objdump --disassemble a.out | |
a.out: file format elf64-x86-64 | |
Disassembly of section .text: | |
0000000000000000 <.code64>: | |
0: 2e ff 2c 25 44 33 22 ljmp *%cs:0x11223344 | |
7: 11 | |
8: 2e 48 ff 2c 25 44 33 rex.W ljmp *%cs:0x11223344 | |
f: 22 11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment