Class: EmergeCLI::BoundSymbol
- Inherits:
-
Object
- Object
- EmergeCLI::BoundSymbol
- Defined in:
- lib/utils/macho_parser.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#library ⇒ Object
Returns the value of attribute library.
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#segment_offset ⇒ Object
Returns the value of attribute segment_offset.
-
#symbol ⇒ Object
Returns the value of attribute symbol.
Instance Method Summary collapse
-
#initialize(segment_offset:, library:, offset:, symbol:) ⇒ BoundSymbol
constructor
A new instance of BoundSymbol.
Constructor Details
#initialize(segment_offset:, library:, offset:, symbol:) ⇒ BoundSymbol
Returns a new instance of BoundSymbol.
317 318 319 320 321 322 323 |
# File 'lib/utils/macho_parser.rb', line 317 def initialize(segment_offset:, library:, offset:, symbol:) @segment_offset = segment_offset @library = library @offset = offset @symbol = symbol @address = 0 end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
315 316 317 |
# File 'lib/utils/macho_parser.rb', line 315 def address @address end |
#library ⇒ Object
Returns the value of attribute library.
315 316 317 |
# File 'lib/utils/macho_parser.rb', line 315 def library @library end |
#offset ⇒ Object
Returns the value of attribute offset.
315 316 317 |
# File 'lib/utils/macho_parser.rb', line 315 def offset @offset end |
#segment_offset ⇒ Object
Returns the value of attribute segment_offset.
315 316 317 |
# File 'lib/utils/macho_parser.rb', line 315 def segment_offset @segment_offset end |
#symbol ⇒ Object
Returns the value of attribute symbol.
315 316 317 |
# File 'lib/utils/macho_parser.rb', line 315 def symbol @symbol end |