Class: MachO::SymtabCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::SymtabCommand
- Defined in:
- lib/macho/load_commands.rb
Instance Attribute Summary collapse
-
#nsyms ⇒ Object
readonly
Returns the value of attribute nsyms.
-
#stroff ⇒ Object
readonly
Returns the value of attribute stroff.
-
#strsize ⇒ Object
readonly
Returns the value of attribute strsize.
-
#symoff ⇒ Object
readonly
Returns the value of attribute symoff.
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, symoff, nsyms, stroff, strsize) ⇒ SymtabCommand
constructor
A new instance of SymtabCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, symoff, nsyms, stroff, strsize) ⇒ SymtabCommand
Returns a new instance of SymtabCommand.
390 391 392 393 394 395 396 |
# File 'lib/macho/load_commands.rb', line 390 def initialize(offset, cmd, cmdsize, symoff, nsyms, stroff, strsize) super(offset, cmd, cmdsize) @symoff = symoff @nsyms = nsyms @stroff = stroff @strsize = strsize end |
Instance Attribute Details
#nsyms ⇒ Object (readonly)
Returns the value of attribute nsyms.
385 386 387 |
# File 'lib/macho/load_commands.rb', line 385 def nsyms @nsyms end |
#stroff ⇒ Object (readonly)
Returns the value of attribute stroff.
385 386 387 |
# File 'lib/macho/load_commands.rb', line 385 def stroff @stroff end |
#strsize ⇒ Object (readonly)
Returns the value of attribute strsize.
385 386 387 |
# File 'lib/macho/load_commands.rb', line 385 def strsize @strsize end |
#symoff ⇒ Object (readonly)
Returns the value of attribute symoff.
385 386 387 |
# File 'lib/macho/load_commands.rb', line 385 def symoff @symoff end |