Class: Rex::PeParsey::PeBase::RuntimeFunctionEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/rex/peparsey/pebase.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pe, data) ⇒ RuntimeFunctionEntry

Returns a new instance of RuntimeFunctionEntry.



1088
1089
1090
1091
1092
# File 'lib/rex/peparsey/pebase.rb', line 1088

def initialize(pe, data)
  @pe = pe
  @begin_address, @end_address, @unwind_info_address = data.unpack("VVV");
  self.unwind_info = UnwindInfo.new(pe, unwind_info_address)
end

Instance Attribute Details

#begin_addressObject (readonly)

Returns the value of attribute begin_address.



1094
1095
1096
# File 'lib/rex/peparsey/pebase.rb', line 1094

def begin_address
  @begin_address
end

#end_addressObject (readonly)

Returns the value of attribute end_address.



1094
1095
1096
# File 'lib/rex/peparsey/pebase.rb', line 1094

def end_address
  @end_address
end

#unwind_infoObject

Returns the value of attribute unwind_info.



1095
1096
1097
# File 'lib/rex/peparsey/pebase.rb', line 1095

def unwind_info
  @unwind_info
end

#unwind_info_addressObject (readonly)

Returns the value of attribute unwind_info_address.



1094
1095
1096
# File 'lib/rex/peparsey/pebase.rb', line 1094

def unwind_info_address
  @unwind_info_address
end