1
0
Fork 0

DBG: fixed a bug with inter-modular calls for x64 (thanks ahmadmansoor for reporting)

This commit is contained in:
Mr. eXoDia 2014-06-25 00:32:01 +02:00
parent d2ae3d2529
commit bacfcf498b
1 changed files with 1 additions and 1 deletions

View File

@ -995,7 +995,7 @@ static bool cbModCallFind(DISASM* disasm, BASIC_INSTRUCTION_INFO* basicinfo, REF
bool found=false;
if(basicinfo->call) //we are looking for calls
{
uint ptr=basicinfo->memory.value > 0 ? basicinfo->memory.value : basicinfo->addr;
uint ptr=basicinfo->addr > 0 ? basicinfo->addr : basicinfo->memory.value;
char label[MAX_LABEL_SIZE]="";
found=DbgGetLabelAt(ptr, SEG_DEFAULT, label) && !labelget(ptr, label); //a non-user label
}