1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Started with some simulation to determine 'step into' symbol lookup

This commit is contained in:
Brian Fiete 2020-03-21 13:09:19 -07:00
parent 9413d3ded4
commit 6412a27f97
6 changed files with 118 additions and 20 deletions

View file

@ -11710,15 +11710,16 @@ String WinDebugger::FindLineCallAddresses(intptr inAddress)
if (!mDebugTarget->DecodeInstruction(addr, &inst))
break;
*registers.GetPCRegisterRef() = addr;
if (inst.IsCall())
{
bool addSymbol = true;
if (addr < (addr_target)inAddress)
callAddresses += "-";
callAddresses += EncodeDataPtr(addr, false);
callAddresses += EncodeDataPtr(addr, false);
addr_target targetAddr = inst.GetTarget(&registers);
addr_target targetAddr = inst.GetTarget(this, &registers);
if (targetAddr != 0)
{
String outSymbol;
@ -11784,6 +11785,7 @@ String WinDebugger::FindLineCallAddresses(intptr inAddress)
callAddresses += "\n";
}
inst.PartialSimulate(this, &registers);
addr += inst.GetLength();
}
};