mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 13:28:40 +00:00
regrel32: interpret rbp-relative offsets as potential parameters as well (this only shows up with /ZI - usually everything is rsp-relative)
This commit is contained in:
@@ -3676,8 +3676,8 @@ p2r_convert(Arena *arena, P2R_ConvertParams *params)
|
|||||||
switch(arch)
|
switch(arch)
|
||||||
{
|
{
|
||||||
default:{}break;
|
default:{}break;
|
||||||
case RDI_Arch_X86:{is_stack_reg = (cv_reg == CV_Regx86_ESP);}break;
|
case RDI_Arch_X86:{is_stack_reg = (cv_reg == CV_Regx86_ESP || cv_reg == CV_Regx86_EBP);}break;
|
||||||
case RDI_Arch_X64:{is_stack_reg = (cv_reg == CV_Regx64_RSP);}break;
|
case RDI_Arch_X64:{is_stack_reg = (cv_reg == CV_Regx64_RSP || cv_reg == CV_Regx64_RBP);}break;
|
||||||
}
|
}
|
||||||
if(is_stack_reg)
|
if(is_stack_reg)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user