You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Variable manager seems to return rdi, rsi, rdx, and r9 as accessed registers but r9 doesn't seem to be used in disassembly
and then _redorder_args update the argument list from rdi to r9 making it 6.
I think by fixing r9 we can get the number down to 4 from 6.
Description
Hello!
There are 3 args in source code for this function but the disassembly and decompiled code has 6.
some observations:
Callsite facts.args returns 4 registers
rdi, rsi, rdx, rcx
Variable manager seems to return
rdi, rsi, rdx, and r9
as accessed registers butr9
doesn't seem to be used in disassemblyand then
_redorder_args
update the argument list fromrdi
tor9
making it 6.I think by fixing
r9
we can get the number down to 4 from 6.https://github.com/angr/angr/blob/master/angr/analyses/calling_convention.py#L713
https://github.com/angr/angr/blob/master/angr/analyses/calling_convention.py#L340
csplit binary
: binaries.zipSteps to reproduce the bug
No response
Environment
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: