Coverage Report

Created: 2025-06-13 06:43

/src/php-src/Zend/zend_multiply.h
Line
Count
Source (jump to first uncovered line)
1
/*
2
   +----------------------------------------------------------------------+
3
   | Zend Engine                                                          |
4
   +----------------------------------------------------------------------+
5
   | Copyright (c) Zend Technologies Ltd. (http://www.zend.com)           |
6
   +----------------------------------------------------------------------+
7
   | This source file is subject to version 2.00 of the Zend license,     |
8
   | that is bundled with this package in the file LICENSE, and is        |
9
   | available through the world-wide-web at the following url:           |
10
   | http://www.zend.com/license/2_00.txt.                                |
11
   | If you did not receive a copy of the Zend license and are unable to  |
12
   | obtain it through the world-wide-web, please send a note to          |
13
   | license@zend.com so we can mail you a copy immediately.              |
14
   +----------------------------------------------------------------------+
15
   | Authors: Sascha Schumann <sascha@schumann.cx>                        |
16
   |          Ard Biesheuvel <ard.biesheuvel@linaro.org>                  |
17
   +----------------------------------------------------------------------+
18
*/
19
20
#include "zend_portability.h"
21
22
#ifndef ZEND_MULTIPLY_H
23
#define ZEND_MULTIPLY_H
24
25
#if defined(PHP_HAVE_BUILTIN_SMULL_OVERFLOW) && SIZEOF_LONG == SIZEOF_ZEND_LONG
26
27
131k
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
28
131k
  long __tmpvar;                          \
29
131k
  if (((usedval) = __builtin_smull_overflow((a), (b), &__tmpvar))) { \
30
18.9k
    (dval) = (double) (a) * (double) (b);           \
31
18.9k
  }                                \
32
131k
  else (lval) = __tmpvar;                     \
33
131k
} while (0)
34
35
#elif defined(PHP_HAVE_BUILTIN_SMULLL_OVERFLOW) && SIZEOF_LONG_LONG == SIZEOF_ZEND_LONG
36
37
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
38
  long long __tmpvar;                       \
39
  if (((usedval) = __builtin_smulll_overflow((a), (b), &__tmpvar))) { \
40
    (dval) = (double) (a) * (double) (b);           \
41
  }                               \
42
  else (lval) = __tmpvar;                     \
43
} while (0)
44
45
#elif (defined(__i386__) || defined(__x86_64__)) && defined(__GNUC__)
46
47
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
48
  zend_long __tmpvar;                           \
49
  __asm__ ("imul %3,%0\n"                     \
50
    "adc $0,%1"                         \
51
      : "=r"(__tmpvar),"=r"(usedval)              \
52
      : "0"(a), "r"(b), "1"(0));                \
53
  if (usedval) (dval) = (double) (a) * (double) (b);        \
54
  else (lval) = __tmpvar;                     \
55
} while (0)
56
57
#elif defined(__arm__) && defined(__GNUC__)
58
59
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
60
  zend_long __tmpvar;                           \
61
  __asm__("smull %0, %1, %2, %3\n"                \
62
    "sub %1, %1, %0, asr #31"                 \
63
      : "=r"(__tmpvar), "=r"(usedval)             \
64
      : "r"(a), "r"(b));                    \
65
  if (usedval) (dval) = (double) (a) * (double) (b);        \
66
  else (lval) = __tmpvar;                     \
67
} while (0)
68
69
#elif defined(__aarch64__) && defined(__GNUC__)
70
71
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
72
  zend_long __tmpvar;                           \
73
  __asm__("mul %0, %2, %3\n"                    \
74
    "smulh %1, %2, %3\n"                    \
75
    "sub %1, %1, %0, asr #63\n"                 \
76
      : "=&r"(__tmpvar), "=&r"(usedval)           \
77
      : "r"(a), "r"(b));                    \
78
  if (usedval) (dval) = (double) (a) * (double) (b);        \
79
  else (lval) = __tmpvar;                     \
80
} while (0)
81
82
#elif defined(ZEND_WIN32) && SIZEOF_LONG_LONG == SIZEOF_ZEND_LONG
83
84
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
85
  long long __tmpvar;                       \
86
  if (((usedval) = FAILED(LongLongMult((a), (b), &__tmpvar)))) {  \
87
    (dval) = (double) (a) * (double) (b);           \
88
  }                               \
89
  else (lval) = __tmpvar;                     \
90
} while (0)
91
92
#elif defined(ZEND_WIN32) && SIZEOF_LONG == SIZEOF_ZEND_LONG
93
94
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
95
  long __tmpvar;                          \
96
  if (((usedval) = FAILED(LongMult((a), (b), &__tmpvar)))) {    \
97
    (dval) = (double) (a) * (double) (b);           \
98
  }                               \
99
  else (lval) = __tmpvar;                     \
100
} while (0)
101
102
#elif defined(__powerpc64__) && defined(__GNUC__)
103
104
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
105
  long __low, __high;           \
106
  __asm__("mulld %0,%2,%3\n\t"          \
107
    "mulhd %1,%2,%3\n"          \
108
    : "=&r"(__low), "=&r"(__high)       \
109
    : "r"(a), "r"(b));          \
110
  if ((__low >> 63) != __high) {          \
111
    (dval) = (double) (a) * (double) (b);     \
112
    (usedval) = 1;            \
113
  } else {              \
114
    (lval) = __low;           \
115
    (usedval) = 0;            \
116
  }               \
117
} while (0)
118
119
#elif SIZEOF_ZEND_LONG == 4
120
121
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
122
  int64_t __result = (int64_t) (a) * (int64_t) (b);       \
123
  if (__result > ZEND_LONG_MAX || __result < ZEND_LONG_MIN) {   \
124
    (dval) = (double) __result;                 \
125
    (usedval) = 1;                        \
126
  } else {                            \
127
    (lval) = (long) __result;                 \
128
    (usedval) = 0;                        \
129
  }                               \
130
} while (0)
131
132
#else
133
134
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
135
  long   __lres  = (a) * (b);                   \
136
  long double __dres  = (long double)(a) * (long double)(b);    \
137
  long double __delta = (long double) __lres - __dres;      \
138
  if ( ((usedval) = (( __dres + __delta ) != __dres))) {      \
139
    (dval) = __dres;                      \
140
  } else {                            \
141
    (lval) = __lres;                      \
142
  }                               \
143
} while (0)
144
145
#endif
146
147
#if defined(__GNUC__) && (defined(__native_client__) || defined(i386))
148
149
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
150
{
151
  size_t res = nmemb;
152
  size_t m_overflow = 0;
153
154
  if (ZEND_CONST_COND(offset == 0, 0)) {
155
    __asm__ ("mull %3\n\tadcl $0,%1"
156
       : "=&a"(res), "=&d" (m_overflow)
157
       : "%0"(res),
158
         "rm"(size));
159
  } else {
160
    __asm__ ("mull %3\n\taddl %4,%0\n\tadcl $0,%1"
161
       : "=&a"(res), "=&d" (m_overflow)
162
       : "%0"(res),
163
         "rm"(size),
164
         "rm"(offset));
165
  }
166
167
  if (UNEXPECTED(m_overflow)) {
168
    *overflow = 1;
169
    return 0;
170
  }
171
  *overflow = 0;
172
  return res;
173
}
174
175
#elif defined(__GNUC__) && defined(__x86_64__)
176
177
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
178
386M
{
179
386M
  size_t res = nmemb;
180
386M
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
386M
# define LP_SUFF "q"
186
386M
#endif
187
188
386M
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
383M
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
383M
      "adc $0,%1"
191
383M
      : "=&a"(res), "=&d" (m_overflow)
192
383M
      : "%0"(res),
193
383M
        "rm"(size));
194
383M
  } else {
195
2.93M
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
2.93M
      "add %4,%0\n\t"
197
2.93M
      "adc $0,%1"
198
2.93M
      : "=&a"(res), "=&d" (m_overflow)
199
2.93M
      : "%0"(res),
200
2.93M
        "rm"(size),
201
2.93M
        "rm"(offset));
202
2.93M
  }
203
386M
#undef LP_SUFF
204
386M
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
386M
  *overflow = 0;
209
386M
  return res;
210
386M
}
Unexecuted instantiation: php_date.c:zend_safe_address
Unexecuted instantiation: astro.c:zend_safe_address
Unexecuted instantiation: dow.c:zend_safe_address
Unexecuted instantiation: parse_date.c:zend_safe_address
Unexecuted instantiation: parse_tz.c:zend_safe_address
Unexecuted instantiation: parse_posix.c:zend_safe_address
Unexecuted instantiation: timelib.c:zend_safe_address
Unexecuted instantiation: tm2unixtime.c:zend_safe_address
Unexecuted instantiation: unixtime2tm.c:zend_safe_address
Unexecuted instantiation: parse_iso_intervals.c:zend_safe_address
Unexecuted instantiation: interval.c:zend_safe_address
php_pcre.c:zend_safe_address
Line
Count
Source
178
376
{
179
376
  size_t res = nmemb;
180
376
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
376
# define LP_SUFF "q"
186
376
#endif
187
188
376
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
0
      "adc $0,%1"
191
0
      : "=&a"(res), "=&d" (m_overflow)
192
0
      : "%0"(res),
193
0
        "rm"(size));
194
376
  } else {
195
376
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
376
      "add %4,%0\n\t"
197
376
      "adc $0,%1"
198
376
      : "=&a"(res), "=&d" (m_overflow)
199
376
      : "%0"(res),
200
376
        "rm"(size),
201
376
        "rm"(offset));
202
376
  }
203
376
#undef LP_SUFF
204
376
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
376
  *overflow = 0;
209
376
  return res;
210
376
}
Unexecuted instantiation: exif.c:zend_safe_address
Unexecuted instantiation: hash_adler32.c:zend_safe_address
Unexecuted instantiation: hash_crc32.c:zend_safe_address
Unexecuted instantiation: hash_fnv.c:zend_safe_address
Unexecuted instantiation: hash_gost.c:zend_safe_address
Unexecuted instantiation: hash_haval.c:zend_safe_address
Unexecuted instantiation: hash_joaat.c:zend_safe_address
Unexecuted instantiation: hash_md.c:zend_safe_address
Unexecuted instantiation: hash_murmur.c:zend_safe_address
Unexecuted instantiation: hash_ripemd.c:zend_safe_address
Unexecuted instantiation: hash_sha_ni.c:zend_safe_address
Unexecuted instantiation: hash_sha_sse2.c:zend_safe_address
Unexecuted instantiation: hash_sha.c:zend_safe_address
Unexecuted instantiation: hash_sha3.c:zend_safe_address
Unexecuted instantiation: hash_snefru.c:zend_safe_address
Unexecuted instantiation: hash_tiger.c:zend_safe_address
Unexecuted instantiation: hash_whirlpool.c:zend_safe_address
Unexecuted instantiation: hash_xxhash.c:zend_safe_address
Unexecuted instantiation: hash.c:zend_safe_address
Unexecuted instantiation: json_encoder.c:zend_safe_address
Unexecuted instantiation: json_parser.tab.c:zend_safe_address
Unexecuted instantiation: json_scanner.c:zend_safe_address
Unexecuted instantiation: json.c:zend_safe_address
Unexecuted instantiation: php_lexbor.c:zend_safe_address
Unexecuted instantiation: csprng.c:zend_safe_address
Unexecuted instantiation: engine_mt19937.c:zend_safe_address
Unexecuted instantiation: engine_pcgoneseq128xslrr64.c:zend_safe_address
Unexecuted instantiation: engine_secure.c:zend_safe_address
Unexecuted instantiation: engine_user.c:zend_safe_address
Unexecuted instantiation: engine_xoshiro256starstar.c:zend_safe_address
Unexecuted instantiation: gammasection.c:zend_safe_address
Unexecuted instantiation: random.c:zend_safe_address
Unexecuted instantiation: randomizer.c:zend_safe_address
Unexecuted instantiation: zend_utils.c:zend_safe_address
Unexecuted instantiation: php_reflection.c:zend_safe_address
Unexecuted instantiation: php_spl.c:zend_safe_address
Unexecuted instantiation: spl_array.c:zend_safe_address
Unexecuted instantiation: spl_directory.c:zend_safe_address
Unexecuted instantiation: spl_dllist.c:zend_safe_address
Unexecuted instantiation: spl_exceptions.c:zend_safe_address
Unexecuted instantiation: spl_fixedarray.c:zend_safe_address
Unexecuted instantiation: spl_functions.c:zend_safe_address
Unexecuted instantiation: spl_heap.c:zend_safe_address
Unexecuted instantiation: spl_iterators.c:zend_safe_address
Unexecuted instantiation: spl_observer.c:zend_safe_address
Unexecuted instantiation: array.c:zend_safe_address
Unexecuted instantiation: assert.c:zend_safe_address
Unexecuted instantiation: base64.c:zend_safe_address
Unexecuted instantiation: basic_functions.c:zend_safe_address
Unexecuted instantiation: browscap.c:zend_safe_address
Unexecuted instantiation: crc32_x86.c:zend_safe_address
Unexecuted instantiation: crc32.c:zend_safe_address
Unexecuted instantiation: credits.c:zend_safe_address
Unexecuted instantiation: crypt.c:zend_safe_address
Unexecuted instantiation: css.c:zend_safe_address
Unexecuted instantiation: datetime.c:zend_safe_address
Unexecuted instantiation: dir.c:zend_safe_address
Unexecuted instantiation: dl.c:zend_safe_address
Unexecuted instantiation: dns.c:zend_safe_address
Unexecuted instantiation: exec.c:zend_safe_address
Unexecuted instantiation: file.c:zend_safe_address
Unexecuted instantiation: filestat.c:zend_safe_address
Unexecuted instantiation: filters.c:zend_safe_address
Unexecuted instantiation: flock_compat.c:zend_safe_address
Unexecuted instantiation: formatted_print.c:zend_safe_address
Unexecuted instantiation: fsock.c:zend_safe_address
Unexecuted instantiation: ftok.c:zend_safe_address
Unexecuted instantiation: ftp_fopen_wrapper.c:zend_safe_address
Unexecuted instantiation: head.c:zend_safe_address
Unexecuted instantiation: hrtime.c:zend_safe_address
html.c:zend_safe_address
Line
Count
Source
178
1.19k
{
179
1.19k
  size_t res = nmemb;
180
1.19k
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
1.19k
# define LP_SUFF "q"
186
1.19k
#endif
187
188
1.19k
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
1.19k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
1.19k
      "adc $0,%1"
191
1.19k
      : "=&a"(res), "=&d" (m_overflow)
192
1.19k
      : "%0"(res),
193
1.19k
        "rm"(size));
194
1.19k
  } else {
195
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
0
      "add %4,%0\n\t"
197
0
      "adc $0,%1"
198
0
      : "=&a"(res), "=&d" (m_overflow)
199
0
      : "%0"(res),
200
0
        "rm"(size),
201
0
        "rm"(offset));
202
0
  }
203
1.19k
#undef LP_SUFF
204
1.19k
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
1.19k
  *overflow = 0;
209
1.19k
  return res;
210
1.19k
}
Unexecuted instantiation: http_fopen_wrapper.c:zend_safe_address
Unexecuted instantiation: http.c:zend_safe_address
Unexecuted instantiation: image.c:zend_safe_address
Unexecuted instantiation: incomplete_class.c:zend_safe_address
Unexecuted instantiation: info.c:zend_safe_address
Unexecuted instantiation: iptc.c:zend_safe_address
Unexecuted instantiation: levenshtein.c:zend_safe_address
Unexecuted instantiation: link.c:zend_safe_address
Unexecuted instantiation: mail.c:zend_safe_address
Unexecuted instantiation: math.c:zend_safe_address
Unexecuted instantiation: md5.c:zend_safe_address
Unexecuted instantiation: metaphone.c:zend_safe_address
Unexecuted instantiation: microtime.c:zend_safe_address
Unexecuted instantiation: net.c:zend_safe_address
Unexecuted instantiation: pack.c:zend_safe_address
Unexecuted instantiation: pageinfo.c:zend_safe_address
Unexecuted instantiation: password.c:zend_safe_address
Unexecuted instantiation: php_fopen_wrapper.c:zend_safe_address
Unexecuted instantiation: proc_open.c:zend_safe_address
Unexecuted instantiation: quot_print.c:zend_safe_address
Unexecuted instantiation: scanf.c:zend_safe_address
Unexecuted instantiation: sha1.c:zend_safe_address
Unexecuted instantiation: soundex.c:zend_safe_address
Unexecuted instantiation: streamsfuncs.c:zend_safe_address
Unexecuted instantiation: string.c:zend_safe_address
Unexecuted instantiation: strnatcmp.c:zend_safe_address
Unexecuted instantiation: syslog.c:zend_safe_address
Unexecuted instantiation: type.c:zend_safe_address
Unexecuted instantiation: uniqid.c:zend_safe_address
Unexecuted instantiation: url_scanner_ex.c:zend_safe_address
Unexecuted instantiation: url.c:zend_safe_address
Unexecuted instantiation: user_filters.c:zend_safe_address
Unexecuted instantiation: uuencode.c:zend_safe_address
Unexecuted instantiation: var_unserializer.c:zend_safe_address
Unexecuted instantiation: var.c:zend_safe_address
Unexecuted instantiation: versioning.c:zend_safe_address
Unexecuted instantiation: crypt_sha256.c:zend_safe_address
Unexecuted instantiation: crypt_sha512.c:zend_safe_address
Unexecuted instantiation: php_crypt_r.c:zend_safe_address
Unexecuted instantiation: php_uri.c:zend_safe_address
Unexecuted instantiation: php_uri_common.c:zend_safe_address
Unexecuted instantiation: explicit_bzero.c:zend_safe_address
Unexecuted instantiation: fopen_wrappers.c:zend_safe_address
Unexecuted instantiation: getopt.c:zend_safe_address
Unexecuted instantiation: main.c:zend_safe_address
Unexecuted instantiation: network.c:zend_safe_address
Unexecuted instantiation: output.c:zend_safe_address
Unexecuted instantiation: php_content_types.c:zend_safe_address
Unexecuted instantiation: php_ini_builder.c:zend_safe_address
Unexecuted instantiation: php_ini.c:zend_safe_address
Unexecuted instantiation: php_glob.c:zend_safe_address
Unexecuted instantiation: php_odbc_utils.c:zend_safe_address
Unexecuted instantiation: php_open_temporary_file.c:zend_safe_address
Unexecuted instantiation: php_scandir.c:zend_safe_address
Unexecuted instantiation: php_syslog.c:zend_safe_address
Unexecuted instantiation: php_ticks.c:zend_safe_address
Unexecuted instantiation: php_variables.c:zend_safe_address
Unexecuted instantiation: reentrancy.c:zend_safe_address
Unexecuted instantiation: rfc1867.c:zend_safe_address
Unexecuted instantiation: safe_bcmp.c:zend_safe_address
Unexecuted instantiation: SAPI.c:zend_safe_address
Unexecuted instantiation: snprintf.c:zend_safe_address
Unexecuted instantiation: spprintf.c:zend_safe_address
Unexecuted instantiation: strlcat.c:zend_safe_address
Unexecuted instantiation: strlcpy.c:zend_safe_address
Unexecuted instantiation: cast.c:zend_safe_address
Unexecuted instantiation: filter.c:zend_safe_address
Unexecuted instantiation: glob_wrapper.c:zend_safe_address
Unexecuted instantiation: memory.c:zend_safe_address
Unexecuted instantiation: mmap.c:zend_safe_address
Unexecuted instantiation: plain_wrapper.c:zend_safe_address
Unexecuted instantiation: streams.c:zend_safe_address
Unexecuted instantiation: transports.c:zend_safe_address
Unexecuted instantiation: userspace.c:zend_safe_address
Unexecuted instantiation: xp_socket.c:zend_safe_address
block_pass.c:zend_safe_address
Line
Count
Source
178
109k
{
179
109k
  size_t res = nmemb;
180
109k
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
109k
# define LP_SUFF "q"
186
109k
#endif
187
188
109k
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
109k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
109k
      "adc $0,%1"
191
109k
      : "=&a"(res), "=&d" (m_overflow)
192
109k
      : "%0"(res),
193
109k
        "rm"(size));
194
109k
  } else {
195
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
0
      "add %4,%0\n\t"
197
0
      "adc $0,%1"
198
0
      : "=&a"(res), "=&d" (m_overflow)
199
0
      : "%0"(res),
200
0
        "rm"(size),
201
0
        "rm"(offset));
202
0
  }
203
109k
#undef LP_SUFF
204
109k
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
109k
  *overflow = 0;
209
109k
  return res;
210
109k
}
compact_literals.c:zend_safe_address
Line
Count
Source
178
109k
{
179
109k
  size_t res = nmemb;
180
109k
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
109k
# define LP_SUFF "q"
186
109k
#endif
187
188
109k
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
109k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
109k
      "adc $0,%1"
191
109k
      : "=&a"(res), "=&d" (m_overflow)
192
109k
      : "%0"(res),
193
109k
        "rm"(size));
194
109k
  } else {
195
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
0
      "add %4,%0\n\t"
197
0
      "adc $0,%1"
198
0
      : "=&a"(res), "=&d" (m_overflow)
199
0
      : "%0"(res),
200
0
        "rm"(size),
201
0
        "rm"(offset));
202
0
  }
203
109k
#undef LP_SUFF
204
109k
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
109k
  *overflow = 0;
209
109k
  return res;
210
109k
}
Unexecuted instantiation: compact_vars.c:zend_safe_address
dce.c:zend_safe_address
Line
Count
Source
178
296k
{
179
296k
  size_t res = nmemb;
180
296k
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
296k
# define LP_SUFF "q"
186
296k
#endif
187
188
296k
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
296k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
296k
      "adc $0,%1"
191
296k
      : "=&a"(res), "=&d" (m_overflow)
192
296k
      : "%0"(res),
193
296k
        "rm"(size));
194
296k
  } else {
195
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
0
      "add %4,%0\n\t"
197
0
      "adc $0,%1"
198
0
      : "=&a"(res), "=&d" (m_overflow)
199
0
      : "%0"(res),
200
0
        "rm"(size),
201
0
        "rm"(offset));
202
0
  }
203
296k
#undef LP_SUFF
204
296k
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
296k
  *overflow = 0;
209
296k
  return res;
210
296k
}
Unexecuted instantiation: dfa_pass.c:zend_safe_address
Unexecuted instantiation: escape_analysis.c:zend_safe_address
Unexecuted instantiation: nop_removal.c:zend_safe_address
optimize_func_calls.c:zend_safe_address
Line
Count
Source
178
106k
{
179
106k
  size_t res = nmemb;
180
106k
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
106k
# define LP_SUFF "q"
186
106k
#endif
187
188
106k
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
106k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
106k
      "adc $0,%1"
191
106k
      : "=&a"(res), "=&d" (m_overflow)
192
106k
      : "%0"(res),
193
106k
        "rm"(size));
194
106k
  } else {
195
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
0
      "add %4,%0\n\t"
197
0
      "adc $0,%1"
198
0
      : "=&a"(res), "=&d" (m_overflow)
199
0
      : "%0"(res),
200
0
        "rm"(size),
201
0
        "rm"(offset));
202
0
  }
203
106k
#undef LP_SUFF
204
106k
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
106k
  *overflow = 0;
209
106k
  return res;
210
106k
}
Unexecuted instantiation: optimize_temp_vars_5.c:zend_safe_address
Unexecuted instantiation: pass1.c:zend_safe_address
Unexecuted instantiation: pass3.c:zend_safe_address
Unexecuted instantiation: sccp.c:zend_safe_address
scdf.c:zend_safe_address
Line
Count
Source
178
74.1k
{
179
74.1k
  size_t res = nmemb;
180
74.1k
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
74.1k
# define LP_SUFF "q"
186
74.1k
#endif
187
188
74.1k
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
74.1k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
74.1k
      "adc $0,%1"
191
74.1k
      : "=&a"(res), "=&d" (m_overflow)
192
74.1k
      : "%0"(res),
193
74.1k
        "rm"(size));
194
74.1k
  } else {
195
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
0
      "add %4,%0\n\t"
197
0
      "adc $0,%1"
198
0
      : "=&a"(res), "=&d" (m_overflow)
199
0
      : "%0"(res),
200
0
        "rm"(size),
201
0
        "rm"(offset));
202
0
  }
203
74.1k
#undef LP_SUFF
204
74.1k
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
74.1k
  *overflow = 0;
209
74.1k
  return res;
210
74.1k
}
zend_call_graph.c:zend_safe_address
Line
Count
Source
178
292k
{
179
292k
  size_t res = nmemb;
180
292k
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
292k
# define LP_SUFF "q"
186
292k
#endif
187
188
292k
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
292k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
292k
      "adc $0,%1"
191
292k
      : "=&a"(res), "=&d" (m_overflow)
192
292k
      : "%0"(res),
193
292k
        "rm"(size));
194
292k
  } else {
195
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
0
      "add %4,%0\n\t"
197
0
      "adc $0,%1"
198
0
      : "=&a"(res), "=&d" (m_overflow)
199
0
      : "%0"(res),
200
0
        "rm"(size),
201
0
        "rm"(offset));
202
0
  }
203
292k
#undef LP_SUFF
204
292k
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
292k
  *overflow = 0;
209
292k
  return res;
210
292k
}
zend_cfg.c:zend_safe_address
Line
Count
Source
178
446k
{
179
446k
  size_t res = nmemb;
180
446k
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
446k
# define LP_SUFF "q"
186
446k
#endif
187
188
446k
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
446k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
446k
      "adc $0,%1"
191
446k
      : "=&a"(res), "=&d" (m_overflow)
192
446k
      : "%0"(res),
193
446k
        "rm"(size));
194
446k
  } else {
195
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
0
      "add %4,%0\n\t"
197
0
      "adc $0,%1"
198
0
      : "=&a"(res), "=&d" (m_overflow)
199
0
      : "%0"(res),
200
0
        "rm"(size),
201
0
        "rm"(offset));
202
0
  }
203
446k
#undef LP_SUFF
204
446k
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
446k
  *overflow = 0;
209
446k
  return res;
210
446k
}
Unexecuted instantiation: zend_dfg.c:zend_safe_address
Unexecuted instantiation: zend_dump.c:zend_safe_address
Unexecuted instantiation: zend_func_info.c:zend_safe_address
zend_inference.c:zend_safe_address
Line
Count
Source
178
74.1k
{
179
74.1k
  size_t res = nmemb;
180
74.1k
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
74.1k
# define LP_SUFF "q"
186
74.1k
#endif
187
188
74.1k
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
74.1k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
74.1k
      "adc $0,%1"
191
74.1k
      : "=&a"(res), "=&d" (m_overflow)
192
74.1k
      : "%0"(res),
193
74.1k
        "rm"(size));
194
74.1k
  } else {
195
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
0
      "add %4,%0\n\t"
197
0
      "adc $0,%1"
198
0
      : "=&a"(res), "=&d" (m_overflow)
199
0
      : "%0"(res),
200
0
        "rm"(size),
201
0
        "rm"(offset));
202
0
  }
203
74.1k
#undef LP_SUFF
204
74.1k
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
74.1k
  *overflow = 0;
209
74.1k
  return res;
210
74.1k
}
Unexecuted instantiation: zend_optimizer.c:zend_safe_address
zend_ssa.c:zend_safe_address
Line
Count
Source
178
399k
{
179
399k
  size_t res = nmemb;
180
399k
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
399k
# define LP_SUFF "q"
186
399k
#endif
187
188
399k
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
399k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
399k
      "adc $0,%1"
191
399k
      : "=&a"(res), "=&d" (m_overflow)
192
399k
      : "%0"(res),
193
399k
        "rm"(size));
194
399k
  } else {
195
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
0
      "add %4,%0\n\t"
197
0
      "adc $0,%1"
198
0
      : "=&a"(res), "=&d" (m_overflow)
199
0
      : "%0"(res),
200
0
        "rm"(size),
201
0
        "rm"(offset));
202
0
  }
203
399k
#undef LP_SUFF
204
399k
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
399k
  *overflow = 0;
209
399k
  return res;
210
399k
}
zend_alloc.c:zend_safe_address
Line
Count
Source
178
384M
{
179
384M
  size_t res = nmemb;
180
384M
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
384M
# define LP_SUFF "q"
186
384M
#endif
187
188
384M
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
381M
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
381M
      "adc $0,%1"
191
381M
      : "=&a"(res), "=&d" (m_overflow)
192
381M
      : "%0"(res),
193
381M
        "rm"(size));
194
381M
  } else {
195
2.93M
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
2.93M
      "add %4,%0\n\t"
197
2.93M
      "adc $0,%1"
198
2.93M
      : "=&a"(res), "=&d" (m_overflow)
199
2.93M
      : "%0"(res),
200
2.93M
        "rm"(size),
201
2.93M
        "rm"(offset));
202
2.93M
  }
203
384M
#undef LP_SUFF
204
384M
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
384M
  *overflow = 0;
209
384M
  return res;
210
384M
}
Unexecuted instantiation: zend_API.c:zend_safe_address
Unexecuted instantiation: zend_ast.c:zend_safe_address
Unexecuted instantiation: zend_attributes.c:zend_safe_address
Unexecuted instantiation: zend_builtin_functions.c:zend_safe_address
Unexecuted instantiation: zend_call_stack.c:zend_safe_address
Unexecuted instantiation: zend_closures.c:zend_safe_address
Unexecuted instantiation: zend_compile.c:zend_safe_address
Unexecuted instantiation: zend_constants.c:zend_safe_address
Unexecuted instantiation: zend_cpuinfo.c:zend_safe_address
Unexecuted instantiation: zend_default_classes.c:zend_safe_address
Unexecuted instantiation: zend_dtrace.c:zend_safe_address
zend_enum.c:zend_safe_address
Line
Count
Source
178
4.60k
{
179
4.60k
  size_t res = nmemb;
180
4.60k
  zend_ulong m_overflow = 0;
181
182
#ifdef __ILP32__ /* x32 */
183
# define LP_SUFF "l"
184
#else /* amd64 */
185
4.60k
# define LP_SUFF "q"
186
4.60k
#endif
187
188
4.60k
  if (ZEND_CONST_COND(offset == 0, 0)) {
189
4.60k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
190
4.60k
      "adc $0,%1"
191
4.60k
      : "=&a"(res), "=&d" (m_overflow)
192
4.60k
      : "%0"(res),
193
4.60k
        "rm"(size));
194
4.60k
  } else {
195
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
196
0
      "add %4,%0\n\t"
197
0
      "adc $0,%1"
198
0
      : "=&a"(res), "=&d" (m_overflow)
199
0
      : "%0"(res),
200
0
        "rm"(size),
201
0
        "rm"(offset));
202
0
  }
203
4.60k
#undef LP_SUFF
204
4.60k
  if (UNEXPECTED(m_overflow)) {
205
0
    *overflow = 1;
206
0
    return 0;
207
0
  }
208
4.60k
  *overflow = 0;
209
4.60k
  return res;
210
4.60k
}
Unexecuted instantiation: zend_exceptions.c:zend_safe_address
Unexecuted instantiation: zend_execute_API.c:zend_safe_address
Unexecuted instantiation: zend_execute.c:zend_safe_address
Unexecuted instantiation: zend_extensions.c:zend_safe_address
Unexecuted instantiation: zend_fibers.c:zend_safe_address
Unexecuted instantiation: zend_float.c:zend_safe_address
Unexecuted instantiation: zend_gc.c:zend_safe_address
Unexecuted instantiation: zend_gdb.c:zend_safe_address
Unexecuted instantiation: zend_generators.c:zend_safe_address
Unexecuted instantiation: zend_hash.c:zend_safe_address
Unexecuted instantiation: zend_highlight.c:zend_safe_address
Unexecuted instantiation: zend_hrtime.c:zend_safe_address
Unexecuted instantiation: zend_inheritance.c:zend_safe_address
Unexecuted instantiation: zend_ini_parser.c:zend_safe_address
Unexecuted instantiation: zend_ini_scanner.c:zend_safe_address
Unexecuted instantiation: zend_ini.c:zend_safe_address
Unexecuted instantiation: zend_interfaces.c:zend_safe_address
Unexecuted instantiation: zend_iterators.c:zend_safe_address
Unexecuted instantiation: zend_language_parser.c:zend_safe_address
Unexecuted instantiation: zend_language_scanner.c:zend_safe_address
Unexecuted instantiation: zend_lazy_objects.c:zend_safe_address
Unexecuted instantiation: zend_list.c:zend_safe_address
Unexecuted instantiation: zend_llist.c:zend_safe_address
Unexecuted instantiation: zend_multibyte.c:zend_safe_address
Unexecuted instantiation: zend_object_handlers.c:zend_safe_address
Unexecuted instantiation: zend_objects_API.c:zend_safe_address
Unexecuted instantiation: zend_objects.c:zend_safe_address
Unexecuted instantiation: zend_observer.c:zend_safe_address
Unexecuted instantiation: zend_opcode.c:zend_safe_address
Unexecuted instantiation: zend_operators.c:zend_safe_address
Unexecuted instantiation: zend_property_hooks.c:zend_safe_address
Unexecuted instantiation: zend_ptr_stack.c:zend_safe_address
Unexecuted instantiation: zend_signal.c:zend_safe_address
Unexecuted instantiation: zend_smart_str.c:zend_safe_address
Unexecuted instantiation: zend_sort.c:zend_safe_address
Unexecuted instantiation: zend_stack.c:zend_safe_address
Unexecuted instantiation: zend_stream.c:zend_safe_address
Unexecuted instantiation: zend_string.c:zend_safe_address
Unexecuted instantiation: zend_strtod.c:zend_safe_address
Unexecuted instantiation: zend_system_id.c:zend_safe_address
Unexecuted instantiation: zend_variables.c:zend_safe_address
Unexecuted instantiation: zend_virtual_cwd.c:zend_safe_address
Unexecuted instantiation: zend_vm_opcodes.c:zend_safe_address
Unexecuted instantiation: zend_weakrefs.c:zend_safe_address
Unexecuted instantiation: zend.c:zend_safe_address
Unexecuted instantiation: internal_functions_cli.c:zend_safe_address
Unexecuted instantiation: fuzzer-parser.c:zend_safe_address
Unexecuted instantiation: fuzzer-sapi.c:zend_safe_address
Unexecuted instantiation: fuzzer-tracing-jit.c:zend_safe_address
Unexecuted instantiation: fuzzer-exif.c:zend_safe_address
Unexecuted instantiation: fuzzer-unserialize.c:zend_safe_address
Unexecuted instantiation: fuzzer-function-jit.c:zend_safe_address
Unexecuted instantiation: fuzzer-json.c:zend_safe_address
Unexecuted instantiation: fuzzer-unserializehash.c:zend_safe_address
Unexecuted instantiation: fuzzer-execute.c:zend_safe_address
211
212
#elif defined(__GNUC__) && defined(__arm__)
213
214
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
215
{
216
  size_t res;
217
  zend_ulong m_overflow;
218
219
  __asm__ ("umlal %0,%1,%2,%3"
220
    : "=r"(res), "=r"(m_overflow)
221
    : "r"(nmemb),
222
      "r"(size),
223
      "0"(offset),
224
      "1"(0));
225
226
  if (UNEXPECTED(m_overflow)) {
227
    *overflow = 1;
228
    return 0;
229
  }
230
  *overflow = 0;
231
  return res;
232
}
233
234
#elif defined(__GNUC__) && defined(__aarch64__)
235
236
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
237
{
238
  size_t res;
239
  zend_ulong m_overflow;
240
241
  __asm__ ("mul %0,%2,%3\n\tumulh %1,%2,%3\n\tadds %0,%0,%4\n\tadc %1,%1,xzr"
242
    : "=&r"(res), "=&r"(m_overflow)
243
    : "r"(nmemb),
244
      "r"(size),
245
      "r"(offset));
246
247
  if (UNEXPECTED(m_overflow)) {
248
    *overflow = 1;
249
    return 0;
250
  }
251
  *overflow = 0;
252
  return res;
253
}
254
255
#elif defined(__GNUC__) && defined(__powerpc64__)
256
257
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
258
{
259
        size_t res;
260
        unsigned long m_overflow;
261
262
        __asm__ ("mulld %0,%2,%3\n\t"
263
                 "mulhdu %1,%2,%3\n\t"
264
                 "addc %0,%0,%4\n\t"
265
                 "addze %1,%1\n"
266
             : "=&r"(res), "=&r"(m_overflow)
267
             : "r"(nmemb),
268
               "r"(size),
269
               "r"(offset));
270
271
        if (UNEXPECTED(m_overflow)) {
272
                *overflow = 1;
273
                return 0;
274
        }
275
        *overflow = 0;
276
        return res;
277
}
278
279
#elif SIZEOF_SIZE_T == 4
280
281
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
282
{
283
  uint64_t res = (uint64_t) nmemb * (uint64_t) size + (uint64_t) offset;
284
285
  if (UNEXPECTED(res > UINT64_C(0xFFFFFFFF))) {
286
    *overflow = 1;
287
    return 0;
288
  }
289
  *overflow = 0;
290
  return (size_t) res;
291
}
292
293
#elif defined(_MSC_VER)
294
295
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
296
{
297
  size_t res;
298
  if (UNEXPECTED(FAILED(ULongLongMult(nmemb, size, &res)) || FAILED(ULongLongAdd(res, offset, &res)))) {
299
    *overflow = 1;
300
    return 0;
301
  }
302
  *overflow = 0;
303
  return res;
304
}
305
306
#else
307
308
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
309
{
310
  size_t res = nmemb * size + offset;
311
  double _d  = (double)nmemb * (double)size + (double)offset;
312
  double _delta = (double)res - _d;
313
314
  if (UNEXPECTED((_d + _delta ) != _d)) {
315
    *overflow = 1;
316
    return 0;
317
  }
318
  *overflow = 0;
319
  return res;
320
}
321
#endif
322
323
static zend_always_inline size_t zend_safe_address_guarded(size_t nmemb, size_t size, size_t offset)
324
384M
{
325
384M
  bool overflow;
326
384M
  size_t ret = zend_safe_address(nmemb, size, offset, &overflow);
327
328
384M
  if (UNEXPECTED(overflow)) {
329
0
    zend_error_noreturn(E_ERROR, "Possible integer overflow in memory allocation (%zu * %zu + %zu)", nmemb, size, offset);
330
0
    return 0;
331
0
  }
332
384M
  return ret;
333
384M
}
Unexecuted instantiation: php_date.c:zend_safe_address_guarded
Unexecuted instantiation: astro.c:zend_safe_address_guarded
Unexecuted instantiation: dow.c:zend_safe_address_guarded
Unexecuted instantiation: parse_date.c:zend_safe_address_guarded
Unexecuted instantiation: parse_tz.c:zend_safe_address_guarded
Unexecuted instantiation: parse_posix.c:zend_safe_address_guarded
Unexecuted instantiation: timelib.c:zend_safe_address_guarded
Unexecuted instantiation: tm2unixtime.c:zend_safe_address_guarded
Unexecuted instantiation: unixtime2tm.c:zend_safe_address_guarded
Unexecuted instantiation: parse_iso_intervals.c:zend_safe_address_guarded
Unexecuted instantiation: interval.c:zend_safe_address_guarded
php_pcre.c:zend_safe_address_guarded
Line
Count
Source
324
376
{
325
376
  bool overflow;
326
376
  size_t ret = zend_safe_address(nmemb, size, offset, &overflow);
327
328
376
  if (UNEXPECTED(overflow)) {
329
0
    zend_error_noreturn(E_ERROR, "Possible integer overflow in memory allocation (%zu * %zu + %zu)", nmemb, size, offset);
330
0
    return 0;
331
0
  }
332
376
  return ret;
333
376
}
Unexecuted instantiation: exif.c:zend_safe_address_guarded
Unexecuted instantiation: hash_adler32.c:zend_safe_address_guarded
Unexecuted instantiation: hash_crc32.c:zend_safe_address_guarded
Unexecuted instantiation: hash_fnv.c:zend_safe_address_guarded
Unexecuted instantiation: hash_gost.c:zend_safe_address_guarded
Unexecuted instantiation: hash_haval.c:zend_safe_address_guarded
Unexecuted instantiation: hash_joaat.c:zend_safe_address_guarded
Unexecuted instantiation: hash_md.c:zend_safe_address_guarded
Unexecuted instantiation: hash_murmur.c:zend_safe_address_guarded
Unexecuted instantiation: hash_ripemd.c:zend_safe_address_guarded
Unexecuted instantiation: hash_sha_ni.c:zend_safe_address_guarded
Unexecuted instantiation: hash_sha_sse2.c:zend_safe_address_guarded
Unexecuted instantiation: hash_sha.c:zend_safe_address_guarded
Unexecuted instantiation: hash_sha3.c:zend_safe_address_guarded
Unexecuted instantiation: hash_snefru.c:zend_safe_address_guarded
Unexecuted instantiation: hash_tiger.c:zend_safe_address_guarded
Unexecuted instantiation: hash_whirlpool.c:zend_safe_address_guarded
Unexecuted instantiation: hash_xxhash.c:zend_safe_address_guarded
Unexecuted instantiation: hash.c:zend_safe_address_guarded
Unexecuted instantiation: json_encoder.c:zend_safe_address_guarded
Unexecuted instantiation: json_parser.tab.c:zend_safe_address_guarded
Unexecuted instantiation: json_scanner.c:zend_safe_address_guarded
Unexecuted instantiation: json.c:zend_safe_address_guarded
Unexecuted instantiation: php_lexbor.c:zend_safe_address_guarded
Unexecuted instantiation: csprng.c:zend_safe_address_guarded
Unexecuted instantiation: engine_mt19937.c:zend_safe_address_guarded
Unexecuted instantiation: engine_pcgoneseq128xslrr64.c:zend_safe_address_guarded
Unexecuted instantiation: engine_secure.c:zend_safe_address_guarded
Unexecuted instantiation: engine_user.c:zend_safe_address_guarded
Unexecuted instantiation: engine_xoshiro256starstar.c:zend_safe_address_guarded
Unexecuted instantiation: gammasection.c:zend_safe_address_guarded
Unexecuted instantiation: random.c:zend_safe_address_guarded
Unexecuted instantiation: randomizer.c:zend_safe_address_guarded
Unexecuted instantiation: zend_utils.c:zend_safe_address_guarded
Unexecuted instantiation: php_reflection.c:zend_safe_address_guarded
Unexecuted instantiation: php_spl.c:zend_safe_address_guarded
Unexecuted instantiation: spl_array.c:zend_safe_address_guarded
Unexecuted instantiation: spl_directory.c:zend_safe_address_guarded
Unexecuted instantiation: spl_dllist.c:zend_safe_address_guarded
Unexecuted instantiation: spl_exceptions.c:zend_safe_address_guarded
Unexecuted instantiation: spl_fixedarray.c:zend_safe_address_guarded
Unexecuted instantiation: spl_functions.c:zend_safe_address_guarded
Unexecuted instantiation: spl_heap.c:zend_safe_address_guarded
Unexecuted instantiation: spl_iterators.c:zend_safe_address_guarded
Unexecuted instantiation: spl_observer.c:zend_safe_address_guarded
Unexecuted instantiation: array.c:zend_safe_address_guarded
Unexecuted instantiation: assert.c:zend_safe_address_guarded
Unexecuted instantiation: base64.c:zend_safe_address_guarded
Unexecuted instantiation: basic_functions.c:zend_safe_address_guarded
Unexecuted instantiation: browscap.c:zend_safe_address_guarded
Unexecuted instantiation: crc32_x86.c:zend_safe_address_guarded
Unexecuted instantiation: crc32.c:zend_safe_address_guarded
Unexecuted instantiation: credits.c:zend_safe_address_guarded
Unexecuted instantiation: crypt.c:zend_safe_address_guarded
Unexecuted instantiation: css.c:zend_safe_address_guarded
Unexecuted instantiation: datetime.c:zend_safe_address_guarded
Unexecuted instantiation: dir.c:zend_safe_address_guarded
Unexecuted instantiation: dl.c:zend_safe_address_guarded
Unexecuted instantiation: dns.c:zend_safe_address_guarded
Unexecuted instantiation: exec.c:zend_safe_address_guarded
Unexecuted instantiation: file.c:zend_safe_address_guarded
Unexecuted instantiation: filestat.c:zend_safe_address_guarded
Unexecuted instantiation: filters.c:zend_safe_address_guarded
Unexecuted instantiation: flock_compat.c:zend_safe_address_guarded
Unexecuted instantiation: formatted_print.c:zend_safe_address_guarded
Unexecuted instantiation: fsock.c:zend_safe_address_guarded
Unexecuted instantiation: ftok.c:zend_safe_address_guarded
Unexecuted instantiation: ftp_fopen_wrapper.c:zend_safe_address_guarded
Unexecuted instantiation: head.c:zend_safe_address_guarded
Unexecuted instantiation: hrtime.c:zend_safe_address_guarded
Unexecuted instantiation: html.c:zend_safe_address_guarded
Unexecuted instantiation: http_fopen_wrapper.c:zend_safe_address_guarded
Unexecuted instantiation: http.c:zend_safe_address_guarded
Unexecuted instantiation: image.c:zend_safe_address_guarded
Unexecuted instantiation: incomplete_class.c:zend_safe_address_guarded
Unexecuted instantiation: info.c:zend_safe_address_guarded
Unexecuted instantiation: iptc.c:zend_safe_address_guarded
Unexecuted instantiation: levenshtein.c:zend_safe_address_guarded
Unexecuted instantiation: link.c:zend_safe_address_guarded
Unexecuted instantiation: mail.c:zend_safe_address_guarded
Unexecuted instantiation: math.c:zend_safe_address_guarded
Unexecuted instantiation: md5.c:zend_safe_address_guarded
Unexecuted instantiation: metaphone.c:zend_safe_address_guarded
Unexecuted instantiation: microtime.c:zend_safe_address_guarded
Unexecuted instantiation: net.c:zend_safe_address_guarded
Unexecuted instantiation: pack.c:zend_safe_address_guarded
Unexecuted instantiation: pageinfo.c:zend_safe_address_guarded
Unexecuted instantiation: password.c:zend_safe_address_guarded
Unexecuted instantiation: php_fopen_wrapper.c:zend_safe_address_guarded
Unexecuted instantiation: proc_open.c:zend_safe_address_guarded
Unexecuted instantiation: quot_print.c:zend_safe_address_guarded
Unexecuted instantiation: scanf.c:zend_safe_address_guarded
Unexecuted instantiation: sha1.c:zend_safe_address_guarded
Unexecuted instantiation: soundex.c:zend_safe_address_guarded
Unexecuted instantiation: streamsfuncs.c:zend_safe_address_guarded
Unexecuted instantiation: string.c:zend_safe_address_guarded
Unexecuted instantiation: strnatcmp.c:zend_safe_address_guarded
Unexecuted instantiation: syslog.c:zend_safe_address_guarded
Unexecuted instantiation: type.c:zend_safe_address_guarded
Unexecuted instantiation: uniqid.c:zend_safe_address_guarded
Unexecuted instantiation: url_scanner_ex.c:zend_safe_address_guarded
Unexecuted instantiation: url.c:zend_safe_address_guarded
Unexecuted instantiation: user_filters.c:zend_safe_address_guarded
Unexecuted instantiation: uuencode.c:zend_safe_address_guarded
Unexecuted instantiation: var_unserializer.c:zend_safe_address_guarded
Unexecuted instantiation: var.c:zend_safe_address_guarded
Unexecuted instantiation: versioning.c:zend_safe_address_guarded
Unexecuted instantiation: crypt_sha256.c:zend_safe_address_guarded
Unexecuted instantiation: crypt_sha512.c:zend_safe_address_guarded
Unexecuted instantiation: php_crypt_r.c:zend_safe_address_guarded
Unexecuted instantiation: php_uri.c:zend_safe_address_guarded
Unexecuted instantiation: php_uri_common.c:zend_safe_address_guarded
Unexecuted instantiation: explicit_bzero.c:zend_safe_address_guarded
Unexecuted instantiation: fopen_wrappers.c:zend_safe_address_guarded
Unexecuted instantiation: getopt.c:zend_safe_address_guarded
Unexecuted instantiation: main.c:zend_safe_address_guarded
Unexecuted instantiation: network.c:zend_safe_address_guarded
Unexecuted instantiation: output.c:zend_safe_address_guarded
Unexecuted instantiation: php_content_types.c:zend_safe_address_guarded
Unexecuted instantiation: php_ini_builder.c:zend_safe_address_guarded
Unexecuted instantiation: php_ini.c:zend_safe_address_guarded
Unexecuted instantiation: php_glob.c:zend_safe_address_guarded
Unexecuted instantiation: php_odbc_utils.c:zend_safe_address_guarded
Unexecuted instantiation: php_open_temporary_file.c:zend_safe_address_guarded
Unexecuted instantiation: php_scandir.c:zend_safe_address_guarded
Unexecuted instantiation: php_syslog.c:zend_safe_address_guarded
Unexecuted instantiation: php_ticks.c:zend_safe_address_guarded
Unexecuted instantiation: php_variables.c:zend_safe_address_guarded
Unexecuted instantiation: reentrancy.c:zend_safe_address_guarded
Unexecuted instantiation: rfc1867.c:zend_safe_address_guarded
Unexecuted instantiation: safe_bcmp.c:zend_safe_address_guarded
Unexecuted instantiation: SAPI.c:zend_safe_address_guarded
Unexecuted instantiation: snprintf.c:zend_safe_address_guarded
Unexecuted instantiation: spprintf.c:zend_safe_address_guarded
Unexecuted instantiation: strlcat.c:zend_safe_address_guarded
Unexecuted instantiation: strlcpy.c:zend_safe_address_guarded
Unexecuted instantiation: cast.c:zend_safe_address_guarded
Unexecuted instantiation: filter.c:zend_safe_address_guarded
Unexecuted instantiation: glob_wrapper.c:zend_safe_address_guarded
Unexecuted instantiation: memory.c:zend_safe_address_guarded
Unexecuted instantiation: mmap.c:zend_safe_address_guarded
Unexecuted instantiation: plain_wrapper.c:zend_safe_address_guarded
Unexecuted instantiation: streams.c:zend_safe_address_guarded
Unexecuted instantiation: transports.c:zend_safe_address_guarded
Unexecuted instantiation: userspace.c:zend_safe_address_guarded
Unexecuted instantiation: xp_socket.c:zend_safe_address_guarded
Unexecuted instantiation: block_pass.c:zend_safe_address_guarded
Unexecuted instantiation: compact_literals.c:zend_safe_address_guarded
Unexecuted instantiation: compact_vars.c:zend_safe_address_guarded
Unexecuted instantiation: dce.c:zend_safe_address_guarded
Unexecuted instantiation: dfa_pass.c:zend_safe_address_guarded
Unexecuted instantiation: escape_analysis.c:zend_safe_address_guarded
Unexecuted instantiation: nop_removal.c:zend_safe_address_guarded
Unexecuted instantiation: optimize_func_calls.c:zend_safe_address_guarded
Unexecuted instantiation: optimize_temp_vars_5.c:zend_safe_address_guarded
Unexecuted instantiation: pass1.c:zend_safe_address_guarded
Unexecuted instantiation: pass3.c:zend_safe_address_guarded
Unexecuted instantiation: sccp.c:zend_safe_address_guarded
Unexecuted instantiation: scdf.c:zend_safe_address_guarded
Unexecuted instantiation: zend_call_graph.c:zend_safe_address_guarded
Unexecuted instantiation: zend_cfg.c:zend_safe_address_guarded
Unexecuted instantiation: zend_dfg.c:zend_safe_address_guarded
Unexecuted instantiation: zend_dump.c:zend_safe_address_guarded
Unexecuted instantiation: zend_func_info.c:zend_safe_address_guarded
Unexecuted instantiation: zend_inference.c:zend_safe_address_guarded
Unexecuted instantiation: zend_optimizer.c:zend_safe_address_guarded
Unexecuted instantiation: zend_ssa.c:zend_safe_address_guarded
zend_alloc.c:zend_safe_address_guarded
Line
Count
Source
324
384M
{
325
384M
  bool overflow;
326
384M
  size_t ret = zend_safe_address(nmemb, size, offset, &overflow);
327
328
384M
  if (UNEXPECTED(overflow)) {
329
0
    zend_error_noreturn(E_ERROR, "Possible integer overflow in memory allocation (%zu * %zu + %zu)", nmemb, size, offset);
330
0
    return 0;
331
0
  }
332
384M
  return ret;
333
384M
}
Unexecuted instantiation: zend_API.c:zend_safe_address_guarded
Unexecuted instantiation: zend_ast.c:zend_safe_address_guarded
Unexecuted instantiation: zend_attributes.c:zend_safe_address_guarded
Unexecuted instantiation: zend_builtin_functions.c:zend_safe_address_guarded
Unexecuted instantiation: zend_call_stack.c:zend_safe_address_guarded
Unexecuted instantiation: zend_closures.c:zend_safe_address_guarded
Unexecuted instantiation: zend_compile.c:zend_safe_address_guarded
Unexecuted instantiation: zend_constants.c:zend_safe_address_guarded
Unexecuted instantiation: zend_cpuinfo.c:zend_safe_address_guarded
Unexecuted instantiation: zend_default_classes.c:zend_safe_address_guarded
Unexecuted instantiation: zend_dtrace.c:zend_safe_address_guarded
Unexecuted instantiation: zend_enum.c:zend_safe_address_guarded
Unexecuted instantiation: zend_exceptions.c:zend_safe_address_guarded
Unexecuted instantiation: zend_execute_API.c:zend_safe_address_guarded
Unexecuted instantiation: zend_execute.c:zend_safe_address_guarded
Unexecuted instantiation: zend_extensions.c:zend_safe_address_guarded
Unexecuted instantiation: zend_fibers.c:zend_safe_address_guarded
Unexecuted instantiation: zend_float.c:zend_safe_address_guarded
Unexecuted instantiation: zend_gc.c:zend_safe_address_guarded
Unexecuted instantiation: zend_gdb.c:zend_safe_address_guarded
Unexecuted instantiation: zend_generators.c:zend_safe_address_guarded
Unexecuted instantiation: zend_hash.c:zend_safe_address_guarded
Unexecuted instantiation: zend_highlight.c:zend_safe_address_guarded
Unexecuted instantiation: zend_hrtime.c:zend_safe_address_guarded
Unexecuted instantiation: zend_inheritance.c:zend_safe_address_guarded
Unexecuted instantiation: zend_ini_parser.c:zend_safe_address_guarded
Unexecuted instantiation: zend_ini_scanner.c:zend_safe_address_guarded
Unexecuted instantiation: zend_ini.c:zend_safe_address_guarded
Unexecuted instantiation: zend_interfaces.c:zend_safe_address_guarded
Unexecuted instantiation: zend_iterators.c:zend_safe_address_guarded
Unexecuted instantiation: zend_language_parser.c:zend_safe_address_guarded
Unexecuted instantiation: zend_language_scanner.c:zend_safe_address_guarded
Unexecuted instantiation: zend_lazy_objects.c:zend_safe_address_guarded
Unexecuted instantiation: zend_list.c:zend_safe_address_guarded
Unexecuted instantiation: zend_llist.c:zend_safe_address_guarded
Unexecuted instantiation: zend_multibyte.c:zend_safe_address_guarded
Unexecuted instantiation: zend_object_handlers.c:zend_safe_address_guarded
Unexecuted instantiation: zend_objects_API.c:zend_safe_address_guarded
Unexecuted instantiation: zend_objects.c:zend_safe_address_guarded
Unexecuted instantiation: zend_observer.c:zend_safe_address_guarded
Unexecuted instantiation: zend_opcode.c:zend_safe_address_guarded
Unexecuted instantiation: zend_operators.c:zend_safe_address_guarded
Unexecuted instantiation: zend_property_hooks.c:zend_safe_address_guarded
Unexecuted instantiation: zend_ptr_stack.c:zend_safe_address_guarded
Unexecuted instantiation: zend_signal.c:zend_safe_address_guarded
Unexecuted instantiation: zend_smart_str.c:zend_safe_address_guarded
Unexecuted instantiation: zend_sort.c:zend_safe_address_guarded
Unexecuted instantiation: zend_stack.c:zend_safe_address_guarded
Unexecuted instantiation: zend_stream.c:zend_safe_address_guarded
Unexecuted instantiation: zend_string.c:zend_safe_address_guarded
Unexecuted instantiation: zend_strtod.c:zend_safe_address_guarded
Unexecuted instantiation: zend_system_id.c:zend_safe_address_guarded
Unexecuted instantiation: zend_variables.c:zend_safe_address_guarded
Unexecuted instantiation: zend_virtual_cwd.c:zend_safe_address_guarded
Unexecuted instantiation: zend_vm_opcodes.c:zend_safe_address_guarded
Unexecuted instantiation: zend_weakrefs.c:zend_safe_address_guarded
Unexecuted instantiation: zend.c:zend_safe_address_guarded
Unexecuted instantiation: internal_functions_cli.c:zend_safe_address_guarded
Unexecuted instantiation: fuzzer-parser.c:zend_safe_address_guarded
Unexecuted instantiation: fuzzer-sapi.c:zend_safe_address_guarded
Unexecuted instantiation: fuzzer-tracing-jit.c:zend_safe_address_guarded
Unexecuted instantiation: fuzzer-exif.c:zend_safe_address_guarded
Unexecuted instantiation: fuzzer-unserialize.c:zend_safe_address_guarded
Unexecuted instantiation: fuzzer-function-jit.c:zend_safe_address_guarded
Unexecuted instantiation: fuzzer-json.c:zend_safe_address_guarded
Unexecuted instantiation: fuzzer-unserializehash.c:zend_safe_address_guarded
Unexecuted instantiation: fuzzer-execute.c:zend_safe_address_guarded
334
335
/* A bit more generic version of the same */
336
static zend_always_inline size_t zend_safe_addmult(size_t nmemb, size_t size, size_t offset, const char *message)
337
1.19k
{
338
1.19k
  bool overflow;
339
1.19k
  size_t ret = zend_safe_address(nmemb, size, offset, &overflow);
340
341
1.19k
  if (UNEXPECTED(overflow)) {
342
0
    zend_error_noreturn(E_ERROR, "Possible integer overflow in %s (%zu * %zu + %zu)", message, nmemb, size, offset);
343
0
    return 0;
344
0
  }
345
1.19k
  return ret;
346
1.19k
}
Unexecuted instantiation: php_date.c:zend_safe_addmult
Unexecuted instantiation: astro.c:zend_safe_addmult
Unexecuted instantiation: dow.c:zend_safe_addmult
Unexecuted instantiation: parse_date.c:zend_safe_addmult
Unexecuted instantiation: parse_tz.c:zend_safe_addmult
Unexecuted instantiation: parse_posix.c:zend_safe_addmult
Unexecuted instantiation: timelib.c:zend_safe_addmult
Unexecuted instantiation: tm2unixtime.c:zend_safe_addmult
Unexecuted instantiation: unixtime2tm.c:zend_safe_addmult
Unexecuted instantiation: parse_iso_intervals.c:zend_safe_addmult
Unexecuted instantiation: interval.c:zend_safe_addmult
Unexecuted instantiation: php_pcre.c:zend_safe_addmult
Unexecuted instantiation: exif.c:zend_safe_addmult
Unexecuted instantiation: hash_adler32.c:zend_safe_addmult
Unexecuted instantiation: hash_crc32.c:zend_safe_addmult
Unexecuted instantiation: hash_fnv.c:zend_safe_addmult
Unexecuted instantiation: hash_gost.c:zend_safe_addmult
Unexecuted instantiation: hash_haval.c:zend_safe_addmult
Unexecuted instantiation: hash_joaat.c:zend_safe_addmult
Unexecuted instantiation: hash_md.c:zend_safe_addmult
Unexecuted instantiation: hash_murmur.c:zend_safe_addmult
Unexecuted instantiation: hash_ripemd.c:zend_safe_addmult
Unexecuted instantiation: hash_sha_ni.c:zend_safe_addmult
Unexecuted instantiation: hash_sha_sse2.c:zend_safe_addmult
Unexecuted instantiation: hash_sha.c:zend_safe_addmult
Unexecuted instantiation: hash_sha3.c:zend_safe_addmult
Unexecuted instantiation: hash_snefru.c:zend_safe_addmult
Unexecuted instantiation: hash_tiger.c:zend_safe_addmult
Unexecuted instantiation: hash_whirlpool.c:zend_safe_addmult
Unexecuted instantiation: hash_xxhash.c:zend_safe_addmult
Unexecuted instantiation: hash.c:zend_safe_addmult
Unexecuted instantiation: json_encoder.c:zend_safe_addmult
Unexecuted instantiation: json_parser.tab.c:zend_safe_addmult
Unexecuted instantiation: json_scanner.c:zend_safe_addmult
Unexecuted instantiation: json.c:zend_safe_addmult
Unexecuted instantiation: php_lexbor.c:zend_safe_addmult
Unexecuted instantiation: csprng.c:zend_safe_addmult
Unexecuted instantiation: engine_mt19937.c:zend_safe_addmult
Unexecuted instantiation: engine_pcgoneseq128xslrr64.c:zend_safe_addmult
Unexecuted instantiation: engine_secure.c:zend_safe_addmult
Unexecuted instantiation: engine_user.c:zend_safe_addmult
Unexecuted instantiation: engine_xoshiro256starstar.c:zend_safe_addmult
Unexecuted instantiation: gammasection.c:zend_safe_addmult
Unexecuted instantiation: random.c:zend_safe_addmult
Unexecuted instantiation: randomizer.c:zend_safe_addmult
Unexecuted instantiation: zend_utils.c:zend_safe_addmult
Unexecuted instantiation: php_reflection.c:zend_safe_addmult
Unexecuted instantiation: php_spl.c:zend_safe_addmult
Unexecuted instantiation: spl_array.c:zend_safe_addmult
Unexecuted instantiation: spl_directory.c:zend_safe_addmult
Unexecuted instantiation: spl_dllist.c:zend_safe_addmult
Unexecuted instantiation: spl_exceptions.c:zend_safe_addmult
Unexecuted instantiation: spl_fixedarray.c:zend_safe_addmult
Unexecuted instantiation: spl_functions.c:zend_safe_addmult
Unexecuted instantiation: spl_heap.c:zend_safe_addmult
Unexecuted instantiation: spl_iterators.c:zend_safe_addmult
Unexecuted instantiation: spl_observer.c:zend_safe_addmult
Unexecuted instantiation: array.c:zend_safe_addmult
Unexecuted instantiation: assert.c:zend_safe_addmult
Unexecuted instantiation: base64.c:zend_safe_addmult
Unexecuted instantiation: basic_functions.c:zend_safe_addmult
Unexecuted instantiation: browscap.c:zend_safe_addmult
Unexecuted instantiation: crc32_x86.c:zend_safe_addmult
Unexecuted instantiation: crc32.c:zend_safe_addmult
Unexecuted instantiation: credits.c:zend_safe_addmult
Unexecuted instantiation: crypt.c:zend_safe_addmult
Unexecuted instantiation: css.c:zend_safe_addmult
Unexecuted instantiation: datetime.c:zend_safe_addmult
Unexecuted instantiation: dir.c:zend_safe_addmult
Unexecuted instantiation: dl.c:zend_safe_addmult
Unexecuted instantiation: dns.c:zend_safe_addmult
Unexecuted instantiation: exec.c:zend_safe_addmult
Unexecuted instantiation: file.c:zend_safe_addmult
Unexecuted instantiation: filestat.c:zend_safe_addmult
Unexecuted instantiation: filters.c:zend_safe_addmult
Unexecuted instantiation: flock_compat.c:zend_safe_addmult
Unexecuted instantiation: formatted_print.c:zend_safe_addmult
Unexecuted instantiation: fsock.c:zend_safe_addmult
Unexecuted instantiation: ftok.c:zend_safe_addmult
Unexecuted instantiation: ftp_fopen_wrapper.c:zend_safe_addmult
Unexecuted instantiation: head.c:zend_safe_addmult
Unexecuted instantiation: hrtime.c:zend_safe_addmult
html.c:zend_safe_addmult
Line
Count
Source
337
1.19k
{
338
1.19k
  bool overflow;
339
1.19k
  size_t ret = zend_safe_address(nmemb, size, offset, &overflow);
340
341
1.19k
  if (UNEXPECTED(overflow)) {
342
0
    zend_error_noreturn(E_ERROR, "Possible integer overflow in %s (%zu * %zu + %zu)", message, nmemb, size, offset);
343
0
    return 0;
344
0
  }
345
1.19k
  return ret;
346
1.19k
}
Unexecuted instantiation: http_fopen_wrapper.c:zend_safe_addmult
Unexecuted instantiation: http.c:zend_safe_addmult
Unexecuted instantiation: image.c:zend_safe_addmult
Unexecuted instantiation: incomplete_class.c:zend_safe_addmult
Unexecuted instantiation: info.c:zend_safe_addmult
Unexecuted instantiation: iptc.c:zend_safe_addmult
Unexecuted instantiation: levenshtein.c:zend_safe_addmult
Unexecuted instantiation: link.c:zend_safe_addmult
Unexecuted instantiation: mail.c:zend_safe_addmult
Unexecuted instantiation: math.c:zend_safe_addmult
Unexecuted instantiation: md5.c:zend_safe_addmult
Unexecuted instantiation: metaphone.c:zend_safe_addmult
Unexecuted instantiation: microtime.c:zend_safe_addmult
Unexecuted instantiation: net.c:zend_safe_addmult
Unexecuted instantiation: pack.c:zend_safe_addmult
Unexecuted instantiation: pageinfo.c:zend_safe_addmult
Unexecuted instantiation: password.c:zend_safe_addmult
Unexecuted instantiation: php_fopen_wrapper.c:zend_safe_addmult
Unexecuted instantiation: proc_open.c:zend_safe_addmult
Unexecuted instantiation: quot_print.c:zend_safe_addmult
Unexecuted instantiation: scanf.c:zend_safe_addmult
Unexecuted instantiation: sha1.c:zend_safe_addmult
Unexecuted instantiation: soundex.c:zend_safe_addmult
Unexecuted instantiation: streamsfuncs.c:zend_safe_addmult
Unexecuted instantiation: string.c:zend_safe_addmult
Unexecuted instantiation: strnatcmp.c:zend_safe_addmult
Unexecuted instantiation: syslog.c:zend_safe_addmult
Unexecuted instantiation: type.c:zend_safe_addmult
Unexecuted instantiation: uniqid.c:zend_safe_addmult
Unexecuted instantiation: url_scanner_ex.c:zend_safe_addmult
Unexecuted instantiation: url.c:zend_safe_addmult
Unexecuted instantiation: user_filters.c:zend_safe_addmult
Unexecuted instantiation: uuencode.c:zend_safe_addmult
Unexecuted instantiation: var_unserializer.c:zend_safe_addmult
Unexecuted instantiation: var.c:zend_safe_addmult
Unexecuted instantiation: versioning.c:zend_safe_addmult
Unexecuted instantiation: crypt_sha256.c:zend_safe_addmult
Unexecuted instantiation: crypt_sha512.c:zend_safe_addmult
Unexecuted instantiation: php_crypt_r.c:zend_safe_addmult
Unexecuted instantiation: php_uri.c:zend_safe_addmult
Unexecuted instantiation: php_uri_common.c:zend_safe_addmult
Unexecuted instantiation: explicit_bzero.c:zend_safe_addmult
Unexecuted instantiation: fopen_wrappers.c:zend_safe_addmult
Unexecuted instantiation: getopt.c:zend_safe_addmult
Unexecuted instantiation: main.c:zend_safe_addmult
Unexecuted instantiation: network.c:zend_safe_addmult
Unexecuted instantiation: output.c:zend_safe_addmult
Unexecuted instantiation: php_content_types.c:zend_safe_addmult
Unexecuted instantiation: php_ini_builder.c:zend_safe_addmult
Unexecuted instantiation: php_ini.c:zend_safe_addmult
Unexecuted instantiation: php_glob.c:zend_safe_addmult
Unexecuted instantiation: php_odbc_utils.c:zend_safe_addmult
Unexecuted instantiation: php_open_temporary_file.c:zend_safe_addmult
Unexecuted instantiation: php_scandir.c:zend_safe_addmult
Unexecuted instantiation: php_syslog.c:zend_safe_addmult
Unexecuted instantiation: php_ticks.c:zend_safe_addmult
Unexecuted instantiation: php_variables.c:zend_safe_addmult
Unexecuted instantiation: reentrancy.c:zend_safe_addmult
Unexecuted instantiation: rfc1867.c:zend_safe_addmult
Unexecuted instantiation: safe_bcmp.c:zend_safe_addmult
Unexecuted instantiation: SAPI.c:zend_safe_addmult
Unexecuted instantiation: snprintf.c:zend_safe_addmult
Unexecuted instantiation: spprintf.c:zend_safe_addmult
Unexecuted instantiation: strlcat.c:zend_safe_addmult
Unexecuted instantiation: strlcpy.c:zend_safe_addmult
Unexecuted instantiation: cast.c:zend_safe_addmult
Unexecuted instantiation: filter.c:zend_safe_addmult
Unexecuted instantiation: glob_wrapper.c:zend_safe_addmult
Unexecuted instantiation: memory.c:zend_safe_addmult
Unexecuted instantiation: mmap.c:zend_safe_addmult
Unexecuted instantiation: plain_wrapper.c:zend_safe_addmult
Unexecuted instantiation: streams.c:zend_safe_addmult
Unexecuted instantiation: transports.c:zend_safe_addmult
Unexecuted instantiation: userspace.c:zend_safe_addmult
Unexecuted instantiation: xp_socket.c:zend_safe_addmult
Unexecuted instantiation: block_pass.c:zend_safe_addmult
Unexecuted instantiation: compact_literals.c:zend_safe_addmult
Unexecuted instantiation: compact_vars.c:zend_safe_addmult
Unexecuted instantiation: dce.c:zend_safe_addmult
Unexecuted instantiation: dfa_pass.c:zend_safe_addmult
Unexecuted instantiation: escape_analysis.c:zend_safe_addmult
Unexecuted instantiation: nop_removal.c:zend_safe_addmult
Unexecuted instantiation: optimize_func_calls.c:zend_safe_addmult
Unexecuted instantiation: optimize_temp_vars_5.c:zend_safe_addmult
Unexecuted instantiation: pass1.c:zend_safe_addmult
Unexecuted instantiation: pass3.c:zend_safe_addmult
Unexecuted instantiation: sccp.c:zend_safe_addmult
Unexecuted instantiation: scdf.c:zend_safe_addmult
Unexecuted instantiation: zend_call_graph.c:zend_safe_addmult
Unexecuted instantiation: zend_cfg.c:zend_safe_addmult
Unexecuted instantiation: zend_dfg.c:zend_safe_addmult
Unexecuted instantiation: zend_dump.c:zend_safe_addmult
Unexecuted instantiation: zend_func_info.c:zend_safe_addmult
Unexecuted instantiation: zend_inference.c:zend_safe_addmult
Unexecuted instantiation: zend_optimizer.c:zend_safe_addmult
Unexecuted instantiation: zend_ssa.c:zend_safe_addmult
Unexecuted instantiation: zend_alloc.c:zend_safe_addmult
Unexecuted instantiation: zend_API.c:zend_safe_addmult
Unexecuted instantiation: zend_ast.c:zend_safe_addmult
Unexecuted instantiation: zend_attributes.c:zend_safe_addmult
Unexecuted instantiation: zend_builtin_functions.c:zend_safe_addmult
Unexecuted instantiation: zend_call_stack.c:zend_safe_addmult
Unexecuted instantiation: zend_closures.c:zend_safe_addmult
Unexecuted instantiation: zend_compile.c:zend_safe_addmult
Unexecuted instantiation: zend_constants.c:zend_safe_addmult
Unexecuted instantiation: zend_cpuinfo.c:zend_safe_addmult
Unexecuted instantiation: zend_default_classes.c:zend_safe_addmult
Unexecuted instantiation: zend_dtrace.c:zend_safe_addmult
Unexecuted instantiation: zend_enum.c:zend_safe_addmult
Unexecuted instantiation: zend_exceptions.c:zend_safe_addmult
Unexecuted instantiation: zend_execute_API.c:zend_safe_addmult
Unexecuted instantiation: zend_execute.c:zend_safe_addmult
Unexecuted instantiation: zend_extensions.c:zend_safe_addmult
Unexecuted instantiation: zend_fibers.c:zend_safe_addmult
Unexecuted instantiation: zend_float.c:zend_safe_addmult
Unexecuted instantiation: zend_gc.c:zend_safe_addmult
Unexecuted instantiation: zend_gdb.c:zend_safe_addmult
Unexecuted instantiation: zend_generators.c:zend_safe_addmult
Unexecuted instantiation: zend_hash.c:zend_safe_addmult
Unexecuted instantiation: zend_highlight.c:zend_safe_addmult
Unexecuted instantiation: zend_hrtime.c:zend_safe_addmult
Unexecuted instantiation: zend_inheritance.c:zend_safe_addmult
Unexecuted instantiation: zend_ini_parser.c:zend_safe_addmult
Unexecuted instantiation: zend_ini_scanner.c:zend_safe_addmult
Unexecuted instantiation: zend_ini.c:zend_safe_addmult
Unexecuted instantiation: zend_interfaces.c:zend_safe_addmult
Unexecuted instantiation: zend_iterators.c:zend_safe_addmult
Unexecuted instantiation: zend_language_parser.c:zend_safe_addmult
Unexecuted instantiation: zend_language_scanner.c:zend_safe_addmult
Unexecuted instantiation: zend_lazy_objects.c:zend_safe_addmult
Unexecuted instantiation: zend_list.c:zend_safe_addmult
Unexecuted instantiation: zend_llist.c:zend_safe_addmult
Unexecuted instantiation: zend_multibyte.c:zend_safe_addmult
Unexecuted instantiation: zend_object_handlers.c:zend_safe_addmult
Unexecuted instantiation: zend_objects_API.c:zend_safe_addmult
Unexecuted instantiation: zend_objects.c:zend_safe_addmult
Unexecuted instantiation: zend_observer.c:zend_safe_addmult
Unexecuted instantiation: zend_opcode.c:zend_safe_addmult
Unexecuted instantiation: zend_operators.c:zend_safe_addmult
Unexecuted instantiation: zend_property_hooks.c:zend_safe_addmult
Unexecuted instantiation: zend_ptr_stack.c:zend_safe_addmult
Unexecuted instantiation: zend_signal.c:zend_safe_addmult
Unexecuted instantiation: zend_smart_str.c:zend_safe_addmult
Unexecuted instantiation: zend_sort.c:zend_safe_addmult
Unexecuted instantiation: zend_stack.c:zend_safe_addmult
Unexecuted instantiation: zend_stream.c:zend_safe_addmult
Unexecuted instantiation: zend_string.c:zend_safe_addmult
Unexecuted instantiation: zend_strtod.c:zend_safe_addmult
Unexecuted instantiation: zend_system_id.c:zend_safe_addmult
Unexecuted instantiation: zend_variables.c:zend_safe_addmult
Unexecuted instantiation: zend_virtual_cwd.c:zend_safe_addmult
Unexecuted instantiation: zend_vm_opcodes.c:zend_safe_addmult
Unexecuted instantiation: zend_weakrefs.c:zend_safe_addmult
Unexecuted instantiation: zend.c:zend_safe_addmult
Unexecuted instantiation: internal_functions_cli.c:zend_safe_addmult
Unexecuted instantiation: fuzzer-parser.c:zend_safe_addmult
Unexecuted instantiation: fuzzer-sapi.c:zend_safe_addmult
Unexecuted instantiation: fuzzer-tracing-jit.c:zend_safe_addmult
Unexecuted instantiation: fuzzer-exif.c:zend_safe_addmult
Unexecuted instantiation: fuzzer-unserialize.c:zend_safe_addmult
Unexecuted instantiation: fuzzer-function-jit.c:zend_safe_addmult
Unexecuted instantiation: fuzzer-json.c:zend_safe_addmult
Unexecuted instantiation: fuzzer-unserializehash.c:zend_safe_addmult
Unexecuted instantiation: fuzzer-execute.c:zend_safe_addmult
347
348
#endif /* ZEND_MULTIPLY_H */