ELF: Fix crash when LoadOptions is null
This commit is contained in:
@@ -209,7 +209,7 @@ namespace Il2CppInspector
|
||||
|
||||
// Rebase if requested (whether dumped or not) and treat it as a memory image,
|
||||
// disabling processing of relocations, symbols and decryption
|
||||
if (LoadOptions?.ImageBase != 0) {
|
||||
if (LoadOptions != null && LoadOptions.ImageBase != 0) {
|
||||
isMemoryImage = true;
|
||||
rebase(conv.FromULong(LoadOptions.ImageBase));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user