Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
glibc/sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37 lines (32 sloc)
706 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stddef.h> | |
#include <signal.h> | |
#include <sys/ucontext.h> | |
-- | |
SIG_BLOCK | |
SIG_SETMASK | |
_NSIG8 (_NSIG / 8) | |
#define ucontext(member) offsetof (ucontext_t, member) | |
#define mcontext(member) ucontext (uc_mcontext.member) | |
#define mreg(reg) mcontext (gregs[REG_##reg]) | |
oRBP mreg (RBP) | |
oRSP mreg (RSP) | |
oRBX mreg (RBX) | |
oR8 mreg (R8) | |
oR9 mreg (R9) | |
oR10 mreg (R10) | |
oR11 mreg (R11) | |
oR12 mreg (R12) | |
oR13 mreg (R13) | |
oR14 mreg (R14) | |
oR15 mreg (R15) | |
oRDI mreg (RDI) | |
oRSI mreg (RSI) | |
oRDX mreg (RDX) | |
oRAX mreg (RAX) | |
oRCX mreg (RCX) | |
oRIP mreg (RIP) | |
oEFL mreg (EFL) | |
oFPREGS mcontext (fpregs) | |
oSIGMASK ucontext (uc_sigmask) | |
oFPREGSMEM ucontext (__fpregs_mem) | |
oMXCSR ucontext (__fpregs_mem.mxcsr) |