mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +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;
|
||||
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;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user