[Email protected] ~]# uname-a
Linux Monitor 2.6.32-431.23.3.el6.x86_64 #1 SMP Thu 17:20:51 UTC x86_64 x86_64 x86_64 gnu/linux
[Email protected] ~]# cat/usr/include/sys/reg.h/*Copyright (C) 2001, 2002 Free Software Foundation, Inc. This file was part of the GNU C Library. The GNU C Library is free software; Can redistribute it and/or modify it under the terms of the GNU Lesser general public License as published by the Free software Foundation; Either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it'll be useful, but without any WARRANTY; Without even the implied warranty of merchantability or FITNESS for A particular PURPOSE. See the GNU Lesser general public License for more details. You should has received a copy of the GNU Lesser General public License along with the GNU C Library; If not, write to the Free Software Foundation, Inc., Temple Place, Suite, Boston, MA 02111-1307 USA. */#ifndef _sys_reg_h#define_sys_reg_h 1#include<bits/wordsize.h>#if__wordsize = = 64/*Index into a array of 8 byte longs returned from Ptrace for location of the users ' stored general purpose register S.*/# define R150# define R141# define R132# define R123# define RBP4# define RBX5# define R116# define R107# define R98# define R89# define RAXTen# define RCX One# define RDX A# define RSI -# define RDI -# define Orig_rax the# define RIP -# define CS -# define EFlags -# define RSP +# define SS -# define Fs_base +# define Gs_base A# define DS at# define ES -# define FS -# define GS -#else/*Index into a array of 4 byte integers returned from Ptrace for * location of the users ' stored general purpose regis Ters. */# define EBX0# define ECX1# define EDX2# define ESI3# define EDI4# define EBP5# define EAX6# define DS7# define ES8# define FS9# define GSTen# define ORIG_EAX One# define EIP A# define CS -# define EFL -# define UESP the# define SS -#endif#endif[[Email protected]~]#
Centosx64 bit Register