mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-04-18 02:22:16 +02: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…
Add table
Reference in a new issue