Class: Fastlane::Helper::LinkMap::Section

Inherits:
Struct
  • Object
show all
Defined in:
lib/fastlane/plugin/analyze_ios_linkmap/helper/analyze_ios_linkmap_helper.rb

Overview

Sections: Address Size Segment Section 0x100001710 0x00000333 __TEXT __text

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#end_addrObject

Returns the value of attribute end_addr

Returns:

  • (Object)

    the current value of end_addr



22
23
24
# File 'lib/fastlane/plugin/analyze_ios_linkmap/helper/analyze_ios_linkmap_helper.rb', line 22

def end_addr
  @end_addr
end

#residual_sizeObject

Returns the value of attribute residual_size

Returns:

  • (Object)

    the current value of residual_size



22
23
24
# File 'lib/fastlane/plugin/analyze_ios_linkmap/helper/analyze_ios_linkmap_helper.rb', line 22

def residual_size
  @residual_size
end

#sectionObject

Returns the value of attribute section

Returns:

  • (Object)

    the current value of section



22
23
24
# File 'lib/fastlane/plugin/analyze_ios_linkmap/helper/analyze_ios_linkmap_helper.rb', line 22

def section
  @section
end

#segmentObject

Returns the value of attribute segment

Returns:

  • (Object)

    the current value of segment



22
23
24
# File 'lib/fastlane/plugin/analyze_ios_linkmap/helper/analyze_ios_linkmap_helper.rb', line 22

def segment
  @segment
end

#start_addrObject

Returns the value of attribute start_addr

Returns:

  • (Object)

    the current value of start_addr



22
23
24
# File 'lib/fastlane/plugin/analyze_ios_linkmap/helper/analyze_ios_linkmap_helper.rb', line 22

def start_addr
  @start_addr
end

#symbol_sizeObject

Returns the value of attribute symbol_size

Returns:

  • (Object)

    the current value of symbol_size



22
23
24
# File 'lib/fastlane/plugin/analyze_ios_linkmap/helper/analyze_ios_linkmap_helper.rb', line 22

def symbol_size
  @symbol_size
end

Instance Method Details

#keyObject



23
24
25
# File 'lib/fastlane/plugin/analyze_ios_linkmap/helper/analyze_ios_linkmap_helper.rb', line 23

def key
  "#{segment}:#{section}".to_sym
end

#parse_segmentObject



27
28
29
# File 'lib/fastlane/plugin/analyze_ios_linkmap/helper/analyze_ios_linkmap_helper.rb', line 27

def parse_segment
  key.to_s.split(':')[0].to_sym
end