common: add REG_OFFSET accesso

master
Ariadne Conill 2020-03-29 14:27:19 +00:00
parent c385d69aa9
commit 2411cdfb54
1 changed files with 2 additions and 0 deletions

View File

@ -33,4 +33,6 @@ __proc: \
.weak __alias; \
__alias = __real;
#define REG_OFFSET(__reg) (MCONTEXT_GREGS + ((__reg) * SZ_REG))
#endif