auxvtypes.h

Go to the documentation of this file.
00001 /*
00002  * See the dyninst/COPYRIGHT file for copyright information.
00003  * 
00004  * We provide the Paradyn Tools (below described as "Paradyn")
00005  * on an AS IS basis, and do not warrant its validity or performance.
00006  * We reserve the right to update, modify, or discontinue this
00007  * software at any time.  We shall have no obligation to supply such
00008  * updates or modifications or any other form of support to you.
00009  * 
00010  * By your use of Paradyn, you understand and agree that we (or any
00011  * other person or entity with proprietary rights in Paradyn) are
00012  * under no obligation to provide either maintenance services,
00013  * update services, notices of latent defects, or correction of
00014  * defects for Paradyn.
00015  * 
00016  * This library is free software; you can redistribute it and/or
00017  * modify it under the terms of the GNU Lesser General Public
00018  * License as published by the Free Software Foundation; either
00019  * version 2.1 of the License, or (at your option) any later version.
00020  * 
00021  * This library is distributed in the hope that it will be useful,
00022  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00023  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00024  * Lesser General Public License for more details.
00025  * 
00026  * You should have received a copy of the GNU Lesser General Public
00027  * License along with this library; if not, write to the Free Software
00028  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00029  */
00030 #ifndef AUXV_TYPES_H
00031 #define AUXV_TYPES_H
00032 
00033 // These are not defined on some systems, so this header should help.  This 
00034 // also defines a method to convert auxv types to strings, for more 
00035 // readable debug output.
00036 
00037 // --- Standard auxv values from elf.h ---
00038 #ifndef AT_NULL
00039 #define AT_NULL 0
00040 #endif  // AT_NULL
00041 
00042 #ifndef AT_IGNORE
00043 #define AT_IGNORE 1
00044 #endif  // AT_IGNORE
00045 
00046 #ifndef AT_EXECFD
00047 #define AT_EXECFD 2
00048 #endif  // AT_EXECFD
00049 
00050 #ifndef AT_PHDR
00051 #define AT_PHDR 3
00052 #endif  // AT_PHDR
00053 
00054 #ifndef AT_PHENT
00055 #define AT_PHENT 4
00056 #endif  // AT_PHENT
00057 
00058 #ifndef AT_PHNUM
00059 #define AT_PHNUM 5
00060 #endif  // AT_PHNUM
00061 
00062 #ifndef AT_PAGESZ
00063 #define AT_PAGESZ 6
00064 #endif  // AT_PAGESZ
00065 
00066 #ifndef AT_BASE
00067 #define AT_BASE 7
00068 #endif  // AT_BASE
00069 
00070 #ifndef AT_FLAGS
00071 #define AT_FLAGS 8
00072 #endif  // AT_FLAGS
00073 
00074 #ifndef AT_ENTRY
00075 #define AT_ENTRY 9
00076 #endif  // AT_ENTRY
00077 
00078 #ifndef AT_NOTELF
00079 #define AT_NOTELF 10
00080 #endif  // AT_NOTELF
00081 
00082 #ifndef AT_UID
00083 #define AT_UID  11
00084 #endif  // AT_UID
00085 
00086 #ifndef AT_EUID
00087 #define AT_EUID 12
00088 #endif  // AT_EUID
00089 
00090 #ifndef AT_GID
00091 #define AT_GID  13
00092 #endif  // AT_GID
00093 
00094 #ifndef AT_EGID
00095 #define AT_EGID 14
00096 #endif  // AT_EGID
00097 
00098 #ifndef AT_CLKTCK
00099 #define AT_CLKTCK 17
00100 #endif  // AT_CLKTCK
00101 
00102 #ifndef AT_PLATFORM
00103 #define AT_PLATFORM 15
00104 #endif  // AT_PLATFORM
00105 
00106 #ifndef AT_HWCAP
00107 #define AT_HWCAP 16 
00108 #endif  // AT_HWCAP
00109 
00110 #ifndef AT_FPUCW
00111 #define AT_FPUCW 18
00112 #endif  // AT_FPUCW
00113 
00114 #ifndef AT_DCACHEBSIZE
00115 #define AT_DCACHEBSIZE 19
00116 #endif  // AT_DCACHEBSIZE
00117 
00118 #ifndef AT_ICACHEBSIZE
00119 #define AT_ICACHEBSIZE 20
00120 #endif  // AT_ICACHEBSIZE
00121 
00122 #ifndef AT_UCACHEBSIZE
00123 #define AT_UCACHEBSIZE 21
00124 #endif  // AT_UCACHEBSIZE
00125 
00126 #ifndef AT_IGNOREPPC
00127 #define AT_IGNOREPPC 22
00128 #endif  // AT_IGNOREPPC
00129 
00130 #ifndef AT_SECURE
00131 #define AT_SECURE 23
00132 #endif  // AT_SECURE
00133 
00134 #ifndef AT_SYSINFO
00135 #define AT_SYSINFO 32
00136 #endif  // AT_SYSINFO
00137 
00138 #ifndef AT_SYSINFO
00139 #define AT_SYSINFO_EHDR 33
00140 #endif  // AT_SYSINFO
00141 
00142 #ifndef AT_L1I
00143 #define AT_L1I_CACHESHAPE 34
00144 #endif  // AT_L1I
00145 
00146 #ifndef AT_L1D
00147 #define AT_L1D_CACHESHAPE 35
00148 #endif  // AT_L1D
00149 
00150 #ifndef AT_L2
00151 #define AT_L2_CACHESHAPE 36
00152 #endif  // AT_L2
00153 
00154 #ifndef AT_L3
00155 #define AT_L3_CACHESHAPE 37
00156 #endif  // AT_L3
00157 
00158 
00159 
00160 /// Converts an auxv type into a const string.  Useful for debugging.
00161 const char *auxv_type_to_string(int auxv_type);
00162 
00163 #endif // AUXV_TYPES_H
00164 
00165 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1