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.



1085
1086
1087
1088
1089
# File 'lib/rex/peparsey/pebase.rb', line 1085

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.



1091
1092
1093
# File 'lib/rex/peparsey/pebase.rb', line 1091

def begin_address
  @begin_address
end

#end_addressObject (readonly)

Returns the value of attribute end_address.



1091
1092
1093
# File 'lib/rex/peparsey/pebase.rb', line 1091

def end_address
  @end_address
end

#unwind_infoObject

Returns the value of attribute unwind_info.



1092
1093
1094
# File 'lib/rex/peparsey/pebase.rb', line 1092

def unwind_info
  @unwind_info
end

#unwind_info_addressObject (readonly)

Returns the value of attribute unwind_info_address.



1091
1092
1093
# File 'lib/rex/peparsey/pebase.rb', line 1091

def unwind_info_address
  @unwind_info_address
end