This class contains information about a module-associated segment.
# File lib/rex/exploitation/opcodedb.rb, line 96 def initialize(hash) @type = hash['type'] @base_address = hash['base_address'].to_i @size = hash['segment_size'].to_i @writable = hash['writable'] == "true" ? true : false @readable = hash['readable'] == "true" ? true : false @executable = hash['executable'] == "true" ? true : false end
Generated with the Darkfish Rdoc Generator 2.