forked from ariadne/libucontext
common: add REG_OFFSET accesso
parent
c385d69aa9
commit
2411cdfb54
|
@ -33,4 +33,6 @@ __proc: \
|
||||||
.weak __alias; \
|
.weak __alias; \
|
||||||
__alias = __real;
|
__alias = __real;
|
||||||
|
|
||||||
|
#define REG_OFFSET(__reg) (MCONTEXT_GREGS + ((__reg) * SZ_REG))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue