This commit is contained in:
Perfare 2020-11-01 00:28:22 +08:00
parent 2fd3624288
commit f8b509c2d8

View file

@ -70,6 +70,10 @@ namespace Il2CppDumper
public override ulong MapVATR(ulong uiAddr)
{
var section = sections.First(x => uiAddr >= x.addr && uiAddr <= x.end);
if (section.sectname == "__bss")
{
throw new Exception();
}
return uiAddr - (section.addr - section.offset);
}