class Metasm::COFF::Cor20Header
structure defining entrypoints and stuff for .net binaries
Attributes
codemgr[RW]
eatjumps[RW]
managednativehdr[RW]
metadata[RW]
resources[RW]
strongnamesig[RW]
vtfixup[RW]
Public Instance Methods
decode_all(coff)
click to toggle source
# File metasm/exe_format/coff_decode.rb, line 372 def decode_all(coff) if coff.sect_at_rva(@metadata_rva) @metadata = coff.curencoded.read(@metadata_sz) end if coff.sect_at_rva(@resources_rva) @resources = coff.curencoded.read(@resources_sz) end if coff.sect_at_rva(@strongnamesig_rva) @strongnamesig = coff.curencoded.read(@strongnamesig_sz) end if coff.sect_at_rva(@codemgr_rva) @codemgr = coff.curencoded.read(@codemgr_sz) end if coff.sect_at_rva(@vtfixup_rva) @vtfixup = coff.curencoded.read(@vtfixup_sz) end if coff.sect_at_rva(@eatjumps_rva) @eatjumps = coff.curencoded.read(@eatjumps_sz) end if coff.sect_at_rva(@managednativehdr_rva) @managednativehdr = coff.curencoded.read(@managednativehdr_sz) end end