From 6c9c744ba23d362b9bae87b27d65376499a231cd Mon Sep 17 00:00:00 2001 From: mrexodia Date: Wed, 13 Jul 2016 08:51:55 +0200 Subject: [PATCH] DBG: resolved issue #841 (fixed inter modular calls) --- src/dbg/instruction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dbg/instruction.cpp b/src/dbg/instruction.cpp index 307aea8c..0990b3ef 100644 --- a/src/dbg/instruction.cpp +++ b/src/dbg/instruction.cpp @@ -1454,7 +1454,7 @@ static bool cbModCallFind(Capstone* disasm, BASIC_INSTRUCTION_INFO* basicinfo, R if(basicinfo->call) //we are looking for calls { duint ptr = basicinfo->addr > 0 ? basicinfo->addr : basicinfo->memory.value; - found = DbgGetLabelAt(ptr, SEG_DEFAULT, label) && !LabelGet(ptr, label) && DbgGetModuleAt(ptr, module); //a non-user label + found = DbgGetLabelAt(ptr, SEG_DEFAULT, label) && !LabelGet(ptr, label) && !strstr(label, "sub_") && DbgGetModuleAt(ptr, module); //a non-user label } if(found) {