Paste: uap program counter

Author: slava
Mode: factor
Date: Tue, 2 Feb 2010 07:26:55
Plain Text |
slava-pestovs-macbook-pro:factor slava$ grep UAP_PROGRAM_COUNTER vm/*.hpp
vm/os-freebsd-x86.32.hpp:#define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.mc_eip)
vm/os-freebsd-x86.64.hpp:#define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.mc_rip)
vm/os-linux-arm.hpp:#define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.arm_pc)
vm/os-linux-ppc.hpp:#define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.uc_regs->gregs[PT_NIP])
vm/os-linux-x86.32.hpp:#define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.gregs[14])
vm/os-linux-x86.64.hpp:#define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.gregs[16])
vm/os-macosx-ppc.hpp:#define UAP_PROGRAM_COUNTER(ucontext) \
vm/os-macosx-x86.32.hpp:#define UAP_PROGRAM_COUNTER(ucontext) \
vm/os-macosx-x86.64.hpp:#define UAP_PROGRAM_COUNTER(ucontext) \
vm/os-netbsd.hpp:#define UAP_PROGRAM_COUNTER(uap)    _UC_MACHINE_PC((ucontext_t *)uap)
vm/os-openbsd-x86.32.hpp:#define UAP_PROGRAM_COUNTER(ucontext) (((struct sigcontext *)ucontext)->sc_eip)
vm/os-openbsd-x86.64.hpp:#define UAP_PROGRAM_COUNTER(ucontext) (((struct sigcontext *)ucontext)->sc_rip)
vm/os-solaris-x86.32.hpp:#define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.gregs[EIP])
vm/os-solaris-x86.64.hpp:#define UAP_PROGRAM_COUNTER(ucontext) (((ucontext_t *)ucontext)->uc_mcontext.gregs[RIP])

New Annotation

Summary:
Author:
Mode:
Body: