mirror of
https://github.com/claunia/libexeinfo.git
synced 2025-12-16 19:14:24 +00:00
Refactor MZ.
This commit is contained in:
@@ -33,10 +33,10 @@ namespace exeinfo
|
||||
mzHdr = (MZ.Header)Marshal.PtrToStructure(hdrPtr, typeof(MZ.Header));
|
||||
Marshal.FreeHGlobal(hdrPtr);
|
||||
|
||||
if(mzHdr.signature == MZ.Signature)
|
||||
if(mzHdr.signature == MZ.Consts.Signature)
|
||||
{
|
||||
recognized = true;
|
||||
MZ.PrintInfo(mzHdr);
|
||||
MZ.Info.PrintInfo(mzHdr);
|
||||
|
||||
if (mzHdr.new_offset < exeFs.Length)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user