IL2CPP: Add basic validation to found CodeGenModule pointer (#137)
This commit is contained in:
@@ -164,6 +164,7 @@ namespace Il2CppInspector
|
||||
public bool FindRegistrationStructs(double metadataVersion) {
|
||||
Image.Version = metadataVersion;
|
||||
|
||||
StatusUpdate("Searching for binary metadata");
|
||||
if (!((FindMetadataFromSymbols() ?? FindMetadataFromCode() ?? FindMetadataFromData()) is (ulong code, ulong meta)))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user