From 54f8b2fdbe814d79cf52231ba38175c92b5c3c23 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Thu, 11 Mar 2010 00:02:24 +0200 Subject: [PATCH] Fill real offsets for freebsd --- src/x86/offsets.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/x86/offsets.h b/src/x86/offsets.h index 81f69f90..f06ffd2d 100644 --- a/src/x86/offsets.h +++ b/src/x86/offsets.h @@ -83,28 +83,28 @@ #define LINUX_FPSTATE_XMM6_OFF 0x170 #define LINUX_FPSTATE_XMM7_OFF 0x180 -#define FREEBSD_UC_MCONTEXT_EAX_OFF 0x11 -#define FREEBSD_UC_MCONTEXT_EBX_OFF 0x11 -#define FREEBSD_UC_MCONTEXT_ECX_OFF 0x11 -#define FREEBSD_UC_MCONTEXT_EDX_OFF 0x11 -#define FREEBSD_UC_MCONTEXT_EDI_OFF 0x11 -#define FREEBSD_UC_MCONTEXT_ESI_OFF 0x11 -#define FREEBSD_UC_MCONTEXT_EBP_OFF 0x11 -#define FREEBSD_UC_MCONTEXT_OFF_EIP 0x11 -#define FREEBSD_UC_MCONTEXT_OFF_ESP 0x11 -#define FREEBSD_UC_MCONTEXT_OFF_FS 0x11 -#define FREEBSD_UC_MCONTEXT_OFF_GS 0x11 -#define FREEBSD_UC_MCONTEXT_OFF_DS 0x11 -#define FREEBSD_UC_MCONTEXT_OFF_ES 0x11 -#define FREEBSD_UC_MCONTEXT_OFF_SS 0x11 -#define FREEBSD_UC_MCONTEXT_OFF_CS 0x11 -#define FREEBSD_UC_MCONTEXT_OFF_EFLAGS 0x11 -#define FREEBSD_UC_MCONTEXT_OWNEDFP 0x11 -#define FREEBSD_UC_MCONTEXT_FPFORMAT 0x11 -#define FREEBSD_UC_MCONTEXT_FPSTATE 0x11 -#define FREEBSD_UC_MCONTEXT_MC_LEN 0x11 +#define FREEBSD_UC_MCONTEXT_EAX_OFF 0x40 +#define FREEBSD_UC_MCONTEXT_EBX_OFF 0x34 +#define FREEBSD_UC_MCONTEXT_ECX_OFF 0x3c +#define FREEBSD_UC_MCONTEXT_EDX_OFF 0x38 +#define FREEBSD_UC_MCONTEXT_EDI_OFF 0x24 +#define FREEBSD_UC_MCONTEXT_ESI_OFF 0x28 +#define FREEBSD_UC_MCONTEXT_EBP_OFF 0x2c +#define FREEBSD_UC_MCONTEXT_OFF_EIP 0x4c +#define FREEBSD_UC_MCONTEXT_OFF_ESP 0x58 +#define FREEBSD_UC_MCONTEXT_OFF_FS 0x18 +#define FREEBSD_UC_MCONTEXT_OFF_GS 0x14 +#define FREEBSD_UC_MCONTEXT_OFF_DS 0x20 +#define FREEBSD_UC_MCONTEXT_OFF_ES 0x1c +#define FREEBSD_UC_MCONTEXT_OFF_SS 0x5c +#define FREEBSD_UC_MCONTEXT_OFF_CS 0x50 +#define FREEBSD_UC_MCONTEXT_OFF_EFLAGS 0x54 +#define FREEBSD_UC_MCONTEXT_OWNEDFP 0x68 +#define FREEBSD_UC_MCONTEXT_FPFORMAT 0x64 +#define FREEBSD_UC_MCONTEXT_FPSTATE 0x70 +#define FREEBSD_UC_MCONTEXT_MC_LEN 0x60 -#define FREEBSD_UC_MCONTEXT_MC_LEN_VAL 0x11 +#define FREEBSD_UC_MCONTEXT_MC_LEN_VAL 0x280 #define FREEBSD_UC_MCONTEXT_FPOWNED_FPU 0x20001 #define FREEBSD_UC_MCONTEXT_FPFMT_387 0x10001 #define FREEBSD_UC_MCONTEXT_FPFMT_XMM 0x10002