Reputation: 61
here is code, I don't know what each detain meaning for them, for example, REG_RIP, what is "RIP"
//ucontext.h
enum
{
//...
REG_RIP,
//...
}
here is full code
Upvotes: 0
Views: 544
Reputation: 249552
It's the name of a register. REG_RIP means "register RIP" and RIP is the Instruction Pointer. So that enum value is a "name" for the instruction pointer (aka program counter) register on x86.
Upvotes: 1