mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 09:07:38 +01:00
Set UNW_TDEP_SP on x86 to ESP
This is similar to what has been done on other archs and resolves an out of bounds array access elsewhere.
This commit is contained in:
parent
d7089547e2
commit
f88e949d16
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ typedef enum
|
||||||
UNW_TDEP_LAST_REG = UNW_X86_XMM7,
|
UNW_TDEP_LAST_REG = UNW_X86_XMM7,
|
||||||
|
|
||||||
UNW_TDEP_IP = UNW_X86_EIP,
|
UNW_TDEP_IP = UNW_X86_EIP,
|
||||||
UNW_TDEP_SP = UNW_X86_CFA,
|
UNW_TDEP_SP = UNW_X86_ESP,
|
||||||
UNW_TDEP_EH = UNW_X86_EAX
|
UNW_TDEP_EH = UNW_X86_EAX
|
||||||
}
|
}
|
||||||
x86_regnum_t;
|
x86_regnum_t;
|
||||||
|
|
Loading…
Reference in a new issue