Method: Rex::Arch::X86.jmp
- Defined in:
- lib/rex/arch/x86.rb
.jmp(addr) ⇒ Object
This method returns the opcodes that compose a jump instruction to the supplied relative offset.
47 48 49 |
# File 'lib/rex/arch/x86.rb', line 47 def self.jmp(addr) "\xe9" + pack_dword(rel_number(addr)) end |