Class: Pwnlib::ABI::SyscallABI
Overview
The syscall ABI treats the syscall number as the zeroth argument, which must be loaded into the specified register.
Instance Attribute Summary collapse
-
#syscall_str ⇒ Object
readonly
Returns the value of attribute syscall_str.
Attributes inherited from ABI
#arg_alignment, #cdq_pair, #register_arguments, #stack_pointer
Instance Method Summary collapse
-
#initialize(regs, align, stack_pointer, syscall_str) ⇒ SyscallABI
constructor
A new instance of SyscallABI.
Methods inherited from ABI
Constructor Details
#initialize(regs, align, stack_pointer, syscall_str) ⇒ SyscallABI
Returns a new instance of SyscallABI.
45 46 47 48 |
# File 'lib/pwnlib/abi.rb', line 45 def initialize(regs, align, stack_pointer, syscall_str) super(regs, align, stack_pointer) @syscall_str = syscall_str end |
Instance Attribute Details
#syscall_str ⇒ Object (readonly)
Returns the value of attribute syscall_str.
43 44 45 |
# File 'lib/pwnlib/abi.rb', line 43 def syscall_str @syscall_str end |