RIP history implementation for broken stacks

This commit is contained in:
Alex
2022-12-14 14:21:48 +02:00
parent 40c26f1232
commit 3828186c56
3 changed files with 50 additions and 4 deletions

View File

@ -94,8 +94,11 @@ namespace Tasking
#if defined(__amd64__)
CPU::x64::TrapFrame Registers;
uint64_t GSBase, FSBase;
uint64_t RIPHistory[128];
#elif defined(__i386__)
uint32_t Registers; // TODO
uint64_t GSBase, FSBase;
uint32_t EIPHistory[128];
#elif defined(__aarch64__)
uint64_t Registers; // TODO
#endif