Class: Rex::PeParsey::PeBase::ImportDescriptor

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

Overview

typedef struct _IMAGE_IMPORT_BY_NAME {

    WORD    Hint;
    BYTE    Name[1];
} IMAGE_IMPORT_BY_NAME, *PIMAGE_IMPORT_BY_NAME;

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_name, _entries) ⇒ ImportDescriptor

Returns a new instance of ImportDescriptor.



250
251
252
253
# File 'lib/rex/peparsey/pebase.rb', line 250

def initialize(_name, _entries)
  self.name    = _name
  self.entries = _entries
end

Instance Attribute Details

#entriesObject

Returns the value of attribute entries.



249
250
251
# File 'lib/rex/peparsey/pebase.rb', line 249

def entries
  @entries
end

#nameObject

Returns the value of attribute name.



249
250
251
# File 'lib/rex/peparsey/pebase.rb', line 249

def name
  @name
end