update dependencies and remove cxxdemangler, as it was outdated
This commit is contained in:
@@ -463,7 +463,7 @@ namespace Il2CppInspector
|
|||||||
var symbolItem = new Symbol {Name = name, Type = type, VirtualAddress = conv.ULong(symbol.st_value) };
|
var symbolItem = new Symbol {Name = name, Type = type, VirtualAddress = conv.ULong(symbol.st_value) };
|
||||||
symbolTable.TryAdd(name, symbolItem);
|
symbolTable.TryAdd(name, symbolItem);
|
||||||
if (symbol.st_shndx != (ushort) Elf.SHN_UNDEF)
|
if (symbol.st_shndx != (ushort) Elf.SHN_UNDEF)
|
||||||
exportTable.TryAdd(name, new Export {Name = symbolItem.DemangledName, VirtualAddress = conv.ULong(symbol.st_value)});
|
exportTable.TryAdd(name, new Export {Name = symbolItem.Name, VirtualAddress = conv.ULong(symbol.st_value)});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -282,7 +282,7 @@ namespace Il2CppInspector
|
|||||||
: SymbolType.Unknown;
|
: SymbolType.Unknown;
|
||||||
|
|
||||||
if (type == SymbolType.Unknown) {
|
if (type == SymbolType.Unknown) {
|
||||||
Console.WriteLine($"Unknown symbol type: {((int) ntype):x2} {value:x16} " + CxxDemangler.CxxDemangler.Demangle(name));
|
Console.WriteLine($"Unknown symbol type: {((int) ntype):x2} {value:x16} {name}");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ignore duplicates
|
// Ignore duplicates
|
||||||
|
|||||||
@@ -20,7 +20,5 @@ namespace Il2CppInspector
|
|||||||
public ulong VirtualAddress { get; set; }
|
public ulong VirtualAddress { get; set; }
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public SymbolType Type { get; set; }
|
public SymbolType Type { get; set; }
|
||||||
|
|
||||||
public string DemangledName => CxxDemangler.CxxDemangler.Demangle(Name);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,10 +41,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="dnlib" Version="4.4.0" />
|
<PackageReference Include="dnlib" Version="4.4.0" />
|
||||||
<PackageReference Include="McMaster.NETCore.Plugins" Version="1.4.0" />
|
<PackageReference Include="McMaster.NETCore.Plugins" Version="2.0.0" />
|
||||||
<PackageReference Include="CxxDemangler" Version="0.2.4.11">
|
|
||||||
<NoWarn>NU1605</NoWarn>
|
|
||||||
</PackageReference>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -217,7 +217,6 @@ namespace Il2CppInspector.Outputs
|
|||||||
foreach (var symbol in symbols) {
|
foreach (var symbol in symbols) {
|
||||||
writeObject(() => {
|
writeObject(() => {
|
||||||
writeName(symbol.VirtualAddress, symbol.Name);
|
writeName(symbol.VirtualAddress, symbol.Name);
|
||||||
writer.WriteString("demangledName", symbol.DemangledName);
|
|
||||||
writer.WriteString("type", symbol.Type.ToString());
|
writer.WriteString("type", symbol.Type.ToString());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -213,9 +213,9 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="nunit" Version="3.12.0" />
|
<PackageReference Include="nunit" Version="3.14.0" />
|
||||||
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
|
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" />
|
||||||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -785,7 +785,6 @@ Thanks to the following major contributors!
|
|||||||
This project uses:
|
This project uses:
|
||||||
|
|
||||||
- [MultiKeyDictionary](https://www.codeproject.com/Articles/32894/C-Multi-key-Generic-Dictionary) by Aron Weiler
|
- [MultiKeyDictionary](https://www.codeproject.com/Articles/32894/C-Multi-key-Generic-Dictionary) by Aron Weiler
|
||||||
- [CxxDemangler](https://github.com/southpolenator/CxxDemangler) by Vuk Jovanovic
|
|
||||||
- [CommandLineParser](https://github.com/commandlineparser/commandline)
|
- [CommandLineParser](https://github.com/commandlineparser/commandline)
|
||||||
- [Ookii.Dialogs.Wpf](https://github.com/augustoproiete/ookii-dialogs-wpf)
|
- [Ookii.Dialogs.Wpf](https://github.com/augustoproiete/ookii-dialogs-wpf)
|
||||||
- [XamlAnimatedGif](https://github.com/XamlAnimatedGif/WpfAnimatedGif) by Thomas Levesque
|
- [XamlAnimatedGif](https://github.com/XamlAnimatedGif/WpfAnimatedGif) by Thomas Levesque
|
||||||
|
|||||||
Reference in New Issue
Block a user