class Metasm::COFF::LoadConfig

the 'load configuration' directory (used for SafeSEH)

Attributes

safeseh[RW]

Public Instance Methods

decode(coff) click to toggle source
Calls superclass method Metasm::SerialStruct#decode
# File metasm/exe_format/coff_decode.rb, line 341
def decode(coff)
        super(coff)

        if @sehcount >= 0 and @sehcount < 100 and (@signature == 0x40 or @signature == 0x48) and coff.sect_at_va(@sehtable_p)
                @safeseh = []
                @sehcount.times { @safeseh << coff.decode_xword }
        end
end