| 1 | /* |
|---|
| 2 | * zzuf - general purpose fuzzer |
|---|
| 3 | * Copyright (c) 2006, 2007 Sam Hocevar <sam@zoy.org> |
|---|
| 4 | * All Rights Reserved |
|---|
| 5 | * |
|---|
| 6 | * $Id: timer.h 192 2007-01-12 15:47:48Z sam $ |
|---|
| 7 | * |
|---|
| 8 | * This program is free software. It comes without any warranty, to |
|---|
| 9 | * the extent permitted by applicable law. You can redistribute it |
|---|
| 10 | * and/or modify it under the terms of the Do What The Fuck You Want |
|---|
| 11 | * To Public License, Version 2, as published by Sam Hocevar. See |
|---|
| 12 | * http://sam.zoy.org/wtfpl/COPYING for more details. |
|---|
| 13 | */ |
|---|
| 14 | |
|---|
| 15 | /* |
|---|
| 16 | * config.h: MSVC-specific configuration file |
|---|
| 17 | */ |
|---|
| 18 | |
|---|
| 19 | #define ATTRIBUTE_PRINTF(x,y) |
|---|
| 20 | |
|---|
| 21 | #define FILE_CNT _cnt |
|---|
| 22 | #define FILE_PTR _ptr |
|---|
| 23 | #define FPOS_CAST(x) (x) |
|---|
| 24 | #define HAVE_ACCEPT 1 |
|---|
| 25 | /* #undef HAVE_AIO_H */ |
|---|
| 26 | /* #undef HAVE_AIO_READ */ |
|---|
| 27 | /* #undef HAVE_ARPA_INET_H */ |
|---|
| 28 | #define HAVE_BIND 1 |
|---|
| 29 | #define HAVE_CONNECT 1 |
|---|
| 30 | /* #undef HAVE_DLFCN_H */ |
|---|
| 31 | #define HAVE_DUP 1 |
|---|
| 32 | #define HAVE_DUP2 1 |
|---|
| 33 | /* #undef HAVE_ENDIAN_H */ |
|---|
| 34 | /* #undef HAVE_FGETC_UNLOCKED */ |
|---|
| 35 | /* #undef HAVE_FGETLN */ |
|---|
| 36 | /* #undef HAVE_FGETS_UNLOCKED */ |
|---|
| 37 | #define HAVE_FOPEN64 1 |
|---|
| 38 | /* #undef HAVE_FORK */ |
|---|
| 39 | /* #undef HAVE_FREAD_UNLOCKED */ |
|---|
| 40 | /* #undef HAVE_FREOPEN64 */ |
|---|
| 41 | /* #undef HAVE_FSEEKO */ |
|---|
| 42 | #define HAVE_FSEEKO64 1 |
|---|
| 43 | /* #undef HAVE_FSETPOS64 */ |
|---|
| 44 | /* #undef HAVE_GETCHAR_UNLOCKED */ |
|---|
| 45 | /* #undef HAVE_GETC_UNLOCKED */ |
|---|
| 46 | /* #undef HAVE_GETDELIM */ |
|---|
| 47 | /* #undef HAVE_GETLINE */ |
|---|
| 48 | #define HAVE_GETOPT_H 1 |
|---|
| 49 | #define HAVE_GETOPT_LONG 1 |
|---|
| 50 | #define HAVE_GETPAGESIZE 1 |
|---|
| 51 | #define HAVE_GETTIMEOFDAY 1 |
|---|
| 52 | #define HAVE_INTTYPES_H 1 |
|---|
| 53 | #define HAVE_IO_H 1 |
|---|
| 54 | /* #undef HAVE_KILL */ |
|---|
| 55 | /* #undef HAVE_LIBC_H */ |
|---|
| 56 | #define HAVE_LSEEK64 1 |
|---|
| 57 | #define HAVE_MALLOC_H 1 |
|---|
| 58 | /* #undef HAVE_MAP_FD */ |
|---|
| 59 | /* #undef HAVE_MEMALIGN */ |
|---|
| 60 | #define HAVE_MEMORY_H 1 |
|---|
| 61 | /* #undef HAVE_MMAP */ |
|---|
| 62 | /* #undef HAVE_MMAP64 */ |
|---|
| 63 | /* #undef HAVE_NETINET_IN_H */ |
|---|
| 64 | /* #undef HAVE_OPEN64 */ |
|---|
| 65 | /* #undef HAVE_PIPE */ |
|---|
| 66 | /* #undef HAVE_POSIX_MEMALIGN */ |
|---|
| 67 | #define HAVE_PRAGMA_INIT 1 |
|---|
| 68 | /* #undef HAVE_PREAD */ |
|---|
| 69 | #define HAVE_PROCESS_H 1 |
|---|
| 70 | /* #undef HAVE_READV */ |
|---|
| 71 | #define HAVE_RECV 1 |
|---|
| 72 | #define HAVE_RECVFROM 1 |
|---|
| 73 | /* #undef HAVE_RECVMSG */ |
|---|
| 74 | /* #undef HAVE_REGEX_H */ |
|---|
| 75 | /* #undef HAVE_SETENV */ |
|---|
| 76 | /* #undef HAVE_SETRLIMIT */ |
|---|
| 77 | /* #undef HAVE_SIGACTION */ |
|---|
| 78 | /* #undef HAVE_SIGHANDLER_T */ |
|---|
| 79 | /* #undef HAVE_SIG_T */ |
|---|
| 80 | #define HAVE_SOCKET 1 |
|---|
| 81 | /* #undef HAVE_SOCKLEN_T */ |
|---|
| 82 | #define HAVE_STDINT_H 1 |
|---|
| 83 | #define HAVE_STDLIB_H 1 |
|---|
| 84 | #define HAVE_STRINGS_H 1 |
|---|
| 85 | #define HAVE_STRING_H 1 |
|---|
| 86 | /* #undef HAVE_SYS_CDEFS_H */ |
|---|
| 87 | /* #undef HAVE_SYS_MMAN_H */ |
|---|
| 88 | /* #undef HAVE_SYS_RESOURCE_H */ |
|---|
| 89 | /* #undef HAVE_SYS_SOCKET_H */ |
|---|
| 90 | #define HAVE_SYS_STAT_H 1 |
|---|
| 91 | #define HAVE_SYS_TIME_H 1 |
|---|
| 92 | #define HAVE_SYS_TYPES_H 1 |
|---|
| 93 | /* #undef HAVE_SYS_UIO_H */ |
|---|
| 94 | /* #undef HAVE_SYS_WAIT_H */ |
|---|
| 95 | #define HAVE_UNISTD_H 1 |
|---|
| 96 | /* #undef HAVE_VALLOC */ |
|---|
| 97 | /* #undef HAVE_WAITPID */ |
|---|
| 98 | #define HAVE_WINDOWS_H 1 |
|---|
| 99 | #define HAVE_WINSOCK2_H 1 |
|---|
| 100 | /* #undef HAVE__IO_GETC */ |
|---|
| 101 | #define HAVE__PIPE |
|---|
| 102 | /* #undef HAVE___FILBUF */ |
|---|
| 103 | /* #undef HAVE___FOPEN64 */ |
|---|
| 104 | /* #undef HAVE___FREOPEN64 */ |
|---|
| 105 | /* #undef HAVE___FSEEKO64 */ |
|---|
| 106 | /* #undef HAVE___FSETPOS64 */ |
|---|
| 107 | /* #undef HAVE___GETDELIM */ |
|---|
| 108 | /* #undef HAVE___LSEEK64 */ |
|---|
| 109 | /* #undef HAVE___OPEN64 */ |
|---|
| 110 | /* #undef HAVE___SREFILL */ |
|---|
| 111 | /* #undef HAVE___SRGET */ |
|---|
| 112 | #define LT_OBJDIR "" |
|---|
| 113 | /* #undef NO_MINUS_C_MINUS_O */ |
|---|
| 114 | #define PACKAGE_BUGREPORT "" |
|---|
| 115 | #define PACKAGE_NAME "zzuf" |
|---|
| 116 | #define PACKAGE_STRING "zzuf 0.12" |
|---|
| 117 | #define PACKAGE_TARNAME "zzuf" |
|---|
| 118 | #define PACKAGE_URL "" |
|---|
| 119 | #define PACKAGE_VERSION "0.12" |
|---|
| 120 | /* #undef READ_USES_SSIZE_T */ |
|---|
| 121 | #define RECV_T int |
|---|
| 122 | #define SONAME "libzzuf.dll" |
|---|
| 123 | #define STDC_HEADERS 1 |
|---|
| 124 | /* #undef __func__ */ |
|---|
| 125 | |
|---|
| 126 | /* Win32-specific, of course. */ |
|---|
| 127 | typedef signed long long int int64_t; |
|---|
| 128 | typedef unsigned long long int uint64_t; |
|---|
| 129 | typedef signed int int32_t; |
|---|
| 130 | typedef unsigned int uint32_t; |
|---|
| 131 | typedef signed short int16_t; |
|---|
| 132 | typedef unsigned short uint16_t; |
|---|
| 133 | typedef signed char int8_t; |
|---|
| 134 | typedef unsigned char uint8_t; |
|---|
| 135 | |
|---|
| 136 | #include <stddef.h> /* Has uintptr_t etc. */ |
|---|
| 137 | typedef int pid_t; |
|---|
| 138 | |
|---|
| 139 | #define inline /* undefined */ |
|---|
| 140 | #define __attribute__(x) /* undefined */ |
|---|
| 141 | #define __func__ __FUNCTION__ |
|---|
| 142 | |
|---|
| 143 | #define STDOUT_FILENO 1 |
|---|
| 144 | #define STDERR_FILENO 2 |
|---|