|
||||
File indexing completed on 2025-01-18 10:13:31
0001 0002 /*--------------------------------------------------------------------*/ 0003 /*--- Syscall numbers and related operations. pub_tool_vkiscnums.h ---*/ 0004 /*--------------------------------------------------------------------*/ 0005 0006 /* 0007 This file is part of Valgrind, a dynamic binary instrumentation 0008 framework. 0009 0010 Copyright (C) 2005-2017 Nicholas Nethercote 0011 njn@valgrind.org 0012 Copyright (C) 2006-2017 OpenWorks LLP 0013 info@open-works.co.uk 0014 0015 This program is free software; you can redistribute it and/or 0016 modify it under the terms of the GNU General Public License as 0017 published by the Free Software Foundation; either version 2 of the 0018 License, or (at your option) any later version. 0019 0020 This program is distributed in the hope that it will be useful, but 0021 WITHOUT ANY WARRANTY; without even the implied warranty of 0022 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0023 General Public License for more details. 0024 0025 You should have received a copy of the GNU General Public License 0026 along with this program; if not, see <http://www.gnu.org/licenses/>. 0027 0028 The GNU General Public License is contained in the file COPYING. 0029 */ 0030 0031 #ifndef __PUB_TOOL_VKISCNUMS_H 0032 #define __PUB_TOOL_VKISCNUMS_H 0033 0034 #include "pub_tool_vkiscnums_asm.h" 0035 #include "pub_tool_basics.h" // Word 0036 0037 0038 // This converts a syscall number into a string, suitable for printing. It is 0039 // needed because some platforms (Darwin) munge sysnums in various ways. 0040 // The string is allocated in a static buffer and will be overwritten in the 0041 // next invocation. 0042 extern const HChar *VG_(sysnum_string) (Word sysnum); 0043 0044 // Macro provided for backward compatibility purposes. 0045 #define VG_SYSNUM_STRING(sysnum) VG_(sysnum_string)(sysnum) 0046 0047 #endif // __PUB_TOOL_VKISCNUMS_H 0048 0049 /*--------------------------------------------------------------------*/ 0050 /*--- end ---*/ 0051 /*--------------------------------------------------------------------*/
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |