Class: FFI::UDis86::OperandPointer
- Inherits:
-
Struct
- Object
- Struct
- FFI::UDis86::OperandPointer
- Defined in:
- lib/ffi/udis86/operand_pointer.rb
Instance Method Summary collapse
-
#offset ⇒ Integer
(also: #off)
Returns the offset within the segment of the pointer.
-
#segment ⇒ Integer
(also: #seg)
Returns the pointer segment.
Instance Method Details
#offset ⇒ Integer Also known as: off
Returns the offset within the segment of the pointer.
28 29 30 |
# File 'lib/ffi/udis86/operand_pointer.rb', line 28 def offset self[:offset] end |
#segment ⇒ Integer Also known as: seg
Returns the pointer segment.
16 17 18 |
# File 'lib/ffi/udis86/operand_pointer.rb', line 16 def segment self[:segment] end |