Class: ELFTools::Sections::NullSection

Inherits:
Section
  • Object
show all
Defined in:
lib/elftools/sections/null_section.rb

Overview

Class of null section. Null section is for specific the end of linked list (sh_link) between sections.

Instance Attribute Summary

Attributes inherited from Section

#header, #stream

Instance Method Summary collapse

Methods inherited from Section

create, #data, #initialize, #name, #type

Constructor Details

This class inherits a constructor from ELFTools::Sections::Section

Instance Method Details

#null?Boolean

Is this a null section?

Returns:

  • (Boolean)

    Yes it is.



13
14
15
# File 'lib/elftools/sections/null_section.rb', line 13

def null?
  true
end