Class: Rubycc::ObjFile::ELFReader::VersionDefinition
- Inherits:
-
Struct
- Object
- Struct
- Rubycc::ObjFile::ELFReader::VersionDefinition
- Defined in:
- lib/rubycc/objfile/elf_reader.rb
Overview
One version this object defines (an Elf64_Verdef with its Elf64_Verdaux
chain resolved). name is the version's own name — the first aux record
— and parents the names of the versions it inherits from, in the order
the chain lists them. index is vd_ndx, the number a .gnu.version entry
carries to bind a symbol to this definition, and flags the raw
vd_flags, of which VER_FLG_BASE marks the file's own pseudo-version
(whose name is the SONAME, not a version a symbol can carry).
Instance Attribute Summary collapse
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#index ⇒ Object
Returns the value of attribute index.
-
#name ⇒ Object
Returns the value of attribute name.
-
#parents ⇒ Object
Returns the value of attribute parents.
Instance Method Summary collapse
Instance Attribute Details
#flags ⇒ Object
Returns the value of attribute flags
208 209 210 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 208 def flags @flags end |
#index ⇒ Object
Returns the value of attribute index
208 209 210 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 208 def index @index end |
#name ⇒ Object
Returns the value of attribute name
208 209 210 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 208 def name @name end |
#parents ⇒ Object
Returns the value of attribute parents
208 209 210 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 208 def parents @parents end |
Instance Method Details
#base? ⇒ Boolean
209 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 209 def base? = (flags & VER_FLG_BASE) != 0 |
#weak? ⇒ Boolean
210 |
# File 'lib/rubycc/objfile/elf_reader.rb', line 210 def weak? = (flags & VER_FLG_WEAK) != 0 |