create fake string segment to allow ida to show the actual strings, also add custom xref between methodinfo and method when both exist
This commit is contained in:
@@ -132,10 +132,14 @@ namespace Il2CppInspector.Outputs
|
||||
// Metedata usage methods
|
||||
writeArray("methodInfoPointers",
|
||||
() => {
|
||||
foreach (var method in model.Methods.Values.Where(m => m.HasMethodInfo)) {
|
||||
writeObject(() => {
|
||||
foreach (var method in model.Methods.Values.Where(m => m.HasMethodInfo))
|
||||
{
|
||||
writeObject(() =>
|
||||
{
|
||||
writeName(method.MethodInfoPtrAddress, method.ToMangledMethodInfoString());
|
||||
writeDotNetSignature(method.Method);
|
||||
if (method.HasCompiledCode)
|
||||
writer.WriteString("methodAddress", method.MethodCodeAddress.ToAddressString());
|
||||
});
|
||||
}
|
||||
}, "MethodInfo pointers");
|
||||
|
||||
Reference in New Issue
Block a user