Add symbol table search scaffolding and ELF32 implementation

This commit is contained in:
Katy Coe
2019-10-21 00:00:05 +02:00
parent 491735044c
commit bebfba4f46
4 changed files with 115 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ namespace Il2CppInspector
long Position { get; set; }
string Arch { get; }
uint GlobalOffset { get; }
Dictionary<string, uint> GetSymbolTable();
uint[] GetFunctionTable();
U ReadMappedObject<U>(uint uiAddr) where U : new();
U[] ReadMappedArray<U>(uint uiAddr, int count) where U : new();
@@ -76,6 +77,9 @@ namespace Il2CppInspector
}
}
// Find search locations in the symbol table for Il2Cpp data
public virtual Dictionary<string, uint> GetSymbolTable() => null;
// Find search locations in the machine code for Il2Cpp data
public virtual uint[] GetFunctionTable() => throw new NotImplementedException();