mirror of
https://github.com/wolfpld/tracy
synced 2025-05-01 13:13:53 +00:00
Include return instructions in jump out list.
This commit is contained in:
parent
8c260c9d12
commit
38bfa7bdb6
@ -148,7 +148,7 @@ bool SourceView::Disassemble( uint64_t symAddr, const Worker& worker )
|
|||||||
bool hasJump = false;
|
bool hasJump = false;
|
||||||
for( auto j=0; j<detail.groups_count; j++ )
|
for( auto j=0; j<detail.groups_count; j++ )
|
||||||
{
|
{
|
||||||
if( detail.groups[j] == CS_GRP_JUMP || detail.groups[j] == CS_GRP_CALL )
|
if( detail.groups[j] == CS_GRP_JUMP || detail.groups[j] == CS_GRP_CALL || detail.groups[j] == CS_GRP_RET )
|
||||||
{
|
{
|
||||||
hasJump = true;
|
hasJump = true;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user