Skip to content

Tail call analysis of indirect jumps #1060

Open
@0x1F9F1

Description

@0x1F9F1

Binary Ninja Version: 1.1.1227-dev, 92412e23
Platform: Windows 10 (10.0)

There seems to have been a regression analyzing indirect tail calls between 1.1.1200-dev and 1.1.1201-dev.

1.1.1200-dev:

>>> current_llil[24]
<il: jump([rsp - 8 {var_8}].q => 25 @ 0x143455093)>

>>> current_llil[24].operation
<LowLevelILOperation.LLIL_JUMP_TO: 52>

>>> current_llil[24].get_reg_value('rsp')
<stack frame offset 0x0>

>>> current_llil[24].dest.value
<const ptr 0x14152ad3c>

>>> current_llil[25]
<il: <return> tailcall(0x14152ad3c)>

>>> current_llil[25].operation
<LowLevelILOperation.LLIL_TAILCALL: 55>

image

image

1.1.1201-dev:

>>> current_llil[24]
<il: jump([rsp - 8 {var_8}].q)>

>>> current_llil[24].operation
<LowLevelILOperation.LLIL_JUMP: 51>

>>> current_llil[24].get_reg_value('rsp')
<stack frame offset 0x0>

>>> current_llil[24].dest.value
<const ptr 0x14152ad3c>

image

image

Metadata

Metadata

Assignees

Labels

Component: CoreIssue needs changes to the coreEffort: MediumIssue should take < 1 monthImpact: HighIssue adds or blocks important functionality

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions