mirror of
https://github.com/ReneLergner/WPinternals.git
synced 2026-06-18 13:20:11 +10:00
Project Maintenance
This commit is contained in:
@@ -35,7 +35,9 @@ namespace WPinternals
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
}, null, null);
|
||||
if (Offset == null)
|
||||
{
|
||||
throw new BadImageFormatException();
|
||||
}
|
||||
|
||||
UInt32 PartitionLoaderTableOffset = (UInt32)Offset;
|
||||
|
||||
@@ -49,7 +51,9 @@ namespace WPinternals
|
||||
},
|
||||
FoundPattern);
|
||||
if (Offset == null)
|
||||
{
|
||||
throw new BadImageFormatException();
|
||||
}
|
||||
|
||||
UInt32 SharedMemoryAddress = ByteOperations.ReadUInt32(FoundPattern, 0x0C);
|
||||
UInt32 GlobalIsSecurityEnabledAddress = SharedMemoryAddress + 0x28;
|
||||
@@ -65,7 +69,9 @@ namespace WPinternals
|
||||
},
|
||||
null);
|
||||
if (Offset == null)
|
||||
{
|
||||
throw new BadImageFormatException();
|
||||
}
|
||||
|
||||
UInt32 ReturnAddress = (UInt32)Offset - ImageOffset + ImageAddress;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user