Class: Rex::PeParsey::PeBase::RuntimeFunctionEntry
- Inherits:
-
Object
- Object
- Rex::PeParsey::PeBase::RuntimeFunctionEntry
- Defined in:
- lib/rex/peparsey/pebase.rb
Instance Attribute Summary collapse
-
#begin_address ⇒ Object
readonly
Returns the value of attribute begin_address.
-
#end_address ⇒ Object
readonly
Returns the value of attribute end_address.
-
#unwind_info ⇒ Object
Returns the value of attribute unwind_info.
-
#unwind_info_address ⇒ Object
readonly
Returns the value of attribute unwind_info_address.
Instance Method Summary collapse
-
#initialize(pe, data) ⇒ RuntimeFunctionEntry
constructor
A new instance of RuntimeFunctionEntry.
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_address ⇒ Object (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_address ⇒ Object (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_info ⇒ Object
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_address ⇒ Object (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 |