Coverage Report

Created: 2026-07-25 06:39

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/php-src/Zend/zend_multiply.h
Line
Count
Source
1
/*
2
   +----------------------------------------------------------------------+
3
   | Zend Engine                                                          |
4
   +----------------------------------------------------------------------+
5
   | Copyright © Zend Technologies Ltd., a subsidiary company of          |
6
   |     Perforce Software, Inc., and Contributors.                       |
7
   +----------------------------------------------------------------------+
8
   | This source file is subject to the Modified BSD License that is      |
9
   | bundled with this package in the file LICENSE, and is available      |
10
   | through the World Wide Web at <https://www.php.net/license/>.        |
11
   |                                                                      |
12
   | SPDX-License-Identifier: BSD-3-Clause                                |
13
   +----------------------------------------------------------------------+
14
   | Authors: Sascha Schumann <sascha@schumann.cx>                        |
15
   |          Ard Biesheuvel <ard.biesheuvel@linaro.org>                  |
16
   +----------------------------------------------------------------------+
17
*/
18
19
#include "zend_portability.h"
20
21
#ifndef ZEND_MULTIPLY_H
22
#define ZEND_MULTIPLY_H
23
24
#if defined(PHP_HAVE_BUILTIN_SMULL_OVERFLOW) && SIZEOF_LONG == SIZEOF_ZEND_LONG
25
26
154k
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
27
154k
  long __tmpvar;                          \
28
154k
  if (((usedval) = __builtin_smull_overflow((a), (b), &__tmpvar))) { \
29
25.7k
    (dval) = (double) (a) * (double) (b);           \
30
25.7k
  }                                \
31
154k
  else (lval) = __tmpvar;                     \
32
154k
} while (0)
33
34
#elif defined(PHP_HAVE_BUILTIN_SMULLL_OVERFLOW) && SIZEOF_LONG_LONG == SIZEOF_ZEND_LONG
35
36
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
37
  long long __tmpvar;                       \
38
  if (((usedval) = __builtin_smulll_overflow((a), (b), &__tmpvar))) { \
39
    (dval) = (double) (a) * (double) (b);           \
40
  }                               \
41
  else (lval) = __tmpvar;                     \
42
} while (0)
43
44
#elif (defined(__i386__) || defined(__x86_64__)) && defined(__GNUC__)
45
46
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
47
  zend_long __tmpvar;                           \
48
  __asm__ ("imul %3,%0\n"                     \
49
    "adc $0,%1"                         \
50
      : "=r"(__tmpvar),"=r"(usedval)              \
51
      : "0"(a), "r"(b), "1"(0));                \
52
  if (usedval) (dval) = (double) (a) * (double) (b);        \
53
  else (lval) = __tmpvar;                     \
54
} while (0)
55
56
#elif defined(__arm__) && defined(__GNUC__)
57
58
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
59
  zend_long __tmpvar;                           \
60
  __asm__("smull %0, %1, %2, %3\n"                \
61
    "sub %1, %1, %0, asr #31"                 \
62
      : "=r"(__tmpvar), "=r"(usedval)             \
63
      : "r"(a), "r"(b));                    \
64
  if (usedval) (dval) = (double) (a) * (double) (b);        \
65
  else (lval) = __tmpvar;                     \
66
} while (0)
67
68
#elif defined(__aarch64__) && defined(__GNUC__)
69
70
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
71
  zend_long __tmpvar;                           \
72
  __asm__("mul %0, %2, %3\n"                    \
73
    "smulh %1, %2, %3\n"                    \
74
    "sub %1, %1, %0, asr #63\n"                 \
75
      : "=&r"(__tmpvar), "=&r"(usedval)           \
76
      : "r"(a), "r"(b));                    \
77
  if (usedval) (dval) = (double) (a) * (double) (b);        \
78
  else (lval) = __tmpvar;                     \
79
} while (0)
80
81
#elif defined(ZEND_WIN32) && SIZEOF_LONG_LONG == SIZEOF_ZEND_LONG
82
83
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
84
  long long __tmpvar;                       \
85
  if (((usedval) = FAILED(LongLongMult((a), (b), &__tmpvar)))) {  \
86
    (dval) = (double) (a) * (double) (b);           \
87
  }                               \
88
  else (lval) = __tmpvar;                     \
89
} while (0)
90
91
#elif defined(ZEND_WIN32) && SIZEOF_LONG == SIZEOF_ZEND_LONG
92
93
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
94
  long __tmpvar;                          \
95
  if (((usedval) = FAILED(LongMult((a), (b), &__tmpvar)))) {    \
96
    (dval) = (double) (a) * (double) (b);           \
97
  }                               \
98
  else (lval) = __tmpvar;                     \
99
} while (0)
100
101
#elif defined(__powerpc64__) && defined(__GNUC__)
102
103
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
104
  long __low, __high;           \
105
  __asm__("mulld %0,%2,%3\n\t"          \
106
    "mulhd %1,%2,%3\n"          \
107
    : "=&r"(__low), "=&r"(__high)       \
108
    : "r"(a), "r"(b));          \
109
  if ((__low >> 63) != __high) {          \
110
    (dval) = (double) (a) * (double) (b);     \
111
    (usedval) = 1;            \
112
  } else {              \
113
    (lval) = __low;           \
114
    (usedval) = 0;            \
115
  }               \
116
} while (0)
117
118
#elif SIZEOF_ZEND_LONG == 4
119
120
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
121
  int64_t __result = (int64_t) (a) * (int64_t) (b);       \
122
  if (__result > ZEND_LONG_MAX || __result < ZEND_LONG_MIN) {   \
123
    (dval) = (double) __result;                 \
124
    (usedval) = 1;                        \
125
  } else {                            \
126
    (lval) = (long) __result;                 \
127
    (usedval) = 0;                        \
128
  }                               \
129
} while (0)
130
131
#else
132
133
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
134
  long   __lres  = (a) * (b);                   \
135
  long double __dres  = (long double)(a) * (long double)(b);    \
136
  long double __delta = (long double) __lres - __dres;      \
137
  if ( ((usedval) = (( __dres + __delta ) != __dres))) {      \
138
    (dval) = __dres;                      \
139
  } else {                            \
140
    (lval) = __lres;                      \
141
  }                               \
142
} while (0)
143
144
#endif
145
146
#if defined(__GNUC__) && (defined(__native_client__) || defined(i386))
147
148
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
149
{
150
  size_t res = nmemb;
151
  size_t m_overflow = 0;
152
153
  if (ZEND_CONST_COND(offset == 0, 0)) {
154
    __asm__ ("mull %3\n\tadcl $0,%1"
155
       : "=&a"(res), "=&d" (m_overflow)
156
       : "%0"(res),
157
         "rm"(size)
158
       : "cc");
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
       : "cc");
166
  }
167
168
  if (UNEXPECTED(m_overflow)) {
169
    *overflow = 1;
170
    return 0;
171
  }
172
  *overflow = 0;
173
  return res;
174
}
175
176
#elif defined(__GNUC__) && defined(__x86_64__)
177
178
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
179
320M
{
180
320M
  size_t res;
181
320M
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
320M
# define LP_SUFF "q"
187
320M
#endif
188
189
320M
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
278M
    res = nmemb;
191
278M
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
278M
      "adc $0,%1"
193
278M
      : "=&a"(res), "=&d" (m_overflow)
194
278M
      : "%0"(res),
195
278M
        "rm"(size)
196
278M
      : "cc");
197
278M
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
37.0M
    res = size;
199
37.0M
    __asm__ ("add %2, %0\n\t"
200
37.0M
      "adc $0,%1"
201
37.0M
      : "+r"(res), "+r" (m_overflow)
202
37.0M
      : "rm"(offset)
203
37.0M
      : "cc");
204
37.0M
  } else {
205
4.20M
    res = nmemb;
206
4.20M
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
4.20M
      "add %4,%0\n\t"
208
4.20M
      "adc $0,%1"
209
4.20M
      : "=&a"(res), "=&d" (m_overflow)
210
4.20M
      : "%0"(res),
211
4.20M
        "rm"(size),
212
4.20M
        "rm"(offset)
213
4.20M
      : "cc");
214
4.20M
  }
215
320M
#undef LP_SUFF
216
320M
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
320M
  *overflow = 0;
221
320M
  return res;
222
320M
}
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
179
1.08k
{
180
1.08k
  size_t res;
181
1.08k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
1.08k
# define LP_SUFF "q"
187
1.08k
#endif
188
189
1.08k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
0
    res = nmemb;
191
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
0
      "adc $0,%1"
193
0
      : "=&a"(res), "=&d" (m_overflow)
194
0
      : "%0"(res),
195
0
        "rm"(size)
196
0
      : "cc");
197
1.08k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
529
    res = size;
199
529
    __asm__ ("add %2, %0\n\t"
200
529
      "adc $0,%1"
201
529
      : "+r"(res), "+r" (m_overflow)
202
529
      : "rm"(offset)
203
529
      : "cc");
204
551
  } else {
205
551
    res = nmemb;
206
551
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
551
      "add %4,%0\n\t"
208
551
      "adc $0,%1"
209
551
      : "=&a"(res), "=&d" (m_overflow)
210
551
      : "%0"(res),
211
551
        "rm"(size),
212
551
        "rm"(offset)
213
551
      : "cc");
214
551
  }
215
1.08k
#undef LP_SUFF
216
1.08k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
1.08k
  *overflow = 0;
221
1.08k
  return res;
222
1.08k
}
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: shared_alloc_mmap.c:zend_safe_address
Unexecuted instantiation: shared_alloc_posix.c:zend_safe_address
Unexecuted instantiation: shared_alloc_shm.c:zend_safe_address
Unexecuted instantiation: zend_accelerator_api.c:zend_safe_address
Unexecuted instantiation: zend_accelerator_blacklist.c:zend_safe_address
Unexecuted instantiation: zend_accelerator_debug.c:zend_safe_address
Unexecuted instantiation: zend_accelerator_hash.c:zend_safe_address
Unexecuted instantiation: zend_accelerator_module.c:zend_safe_address
Unexecuted instantiation: zend_accelerator_util_funcs.c:zend_safe_address
Unexecuted instantiation: zend_file_cache.c:zend_safe_address
Unexecuted instantiation: zend_persist_calc.c:zend_safe_address
Unexecuted instantiation: zend_persist.c:zend_safe_address
Unexecuted instantiation: zend_shared_alloc.c:zend_safe_address
Unexecuted instantiation: ZendAccelerator.c:zend_safe_address
Unexecuted instantiation: ir_cfg.c:zend_safe_address
Unexecuted instantiation: ir_check.c:zend_safe_address
Unexecuted instantiation: ir_dump.c:zend_safe_address
Unexecuted instantiation: ir_emit.c:zend_safe_address
Unexecuted instantiation: ir_gcm.c:zend_safe_address
Unexecuted instantiation: ir_gdb.c:zend_safe_address
Unexecuted instantiation: ir_patch.c:zend_safe_address
Unexecuted instantiation: ir_perf.c:zend_safe_address
Unexecuted instantiation: ir_ra.c:zend_safe_address
Unexecuted instantiation: ir_save.c:zend_safe_address
Unexecuted instantiation: ir_sccp.c:zend_safe_address
Unexecuted instantiation: ir_strtab.c:zend_safe_address
Unexecuted instantiation: ir.c:zend_safe_address
Unexecuted instantiation: zend_jit_vm_helpers.c:zend_safe_address
Unexecuted instantiation: zend_jit.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
179
1.19k
{
180
1.19k
  size_t res;
181
1.19k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
1.19k
# define LP_SUFF "q"
187
1.19k
#endif
188
189
1.19k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
1.19k
    res = nmemb;
191
1.19k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
1.19k
      "adc $0,%1"
193
1.19k
      : "=&a"(res), "=&d" (m_overflow)
194
1.19k
      : "%0"(res),
195
1.19k
        "rm"(size)
196
1.19k
      : "cc");
197
1.19k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
0
  } else {
205
0
    res = nmemb;
206
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
0
      "add %4,%0\n\t"
208
0
      "adc $0,%1"
209
0
      : "=&a"(res), "=&d" (m_overflow)
210
0
      : "%0"(res),
211
0
        "rm"(size),
212
0
        "rm"(offset)
213
0
      : "cc");
214
0
  }
215
1.19k
#undef LP_SUFF
216
1.19k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
1.19k
  *overflow = 0;
221
1.19k
  return res;
222
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: io_poll.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: uri_parser_rfc3986.c:zend_safe_address
Unexecuted instantiation: uri_parser_whatwg.c:zend_safe_address
Unexecuted instantiation: uri_parser_php_parse_url.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: php_io.c:zend_safe_address
Unexecuted instantiation: php_io_copy_linux.c:zend_safe_address
Unexecuted instantiation: poll_backend_epoll.c:zend_safe_address
Unexecuted instantiation: poll_backend_eventport.c:zend_safe_address
Unexecuted instantiation: poll_backend_kqueue.c:zend_safe_address
Unexecuted instantiation: poll_backend_poll.c:zend_safe_address
Unexecuted instantiation: poll_core.c:zend_safe_address
Unexecuted instantiation: poll_fd_table.c:zend_safe_address
Unexecuted instantiation: poll_handle.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: stream_errors.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
179
116k
{
180
116k
  size_t res;
181
116k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
116k
# define LP_SUFF "q"
187
116k
#endif
188
189
116k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
116k
    res = nmemb;
191
116k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
116k
      "adc $0,%1"
193
116k
      : "=&a"(res), "=&d" (m_overflow)
194
116k
      : "%0"(res),
195
116k
        "rm"(size)
196
116k
      : "cc");
197
116k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
0
  } else {
205
0
    res = nmemb;
206
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
0
      "add %4,%0\n\t"
208
0
      "adc $0,%1"
209
0
      : "=&a"(res), "=&d" (m_overflow)
210
0
      : "%0"(res),
211
0
        "rm"(size),
212
0
        "rm"(offset)
213
0
      : "cc");
214
0
  }
215
116k
#undef LP_SUFF
216
116k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
116k
  *overflow = 0;
221
116k
  return res;
222
116k
}
compact_literals.c:zend_safe_address
Line
Count
Source
179
116k
{
180
116k
  size_t res;
181
116k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
116k
# define LP_SUFF "q"
187
116k
#endif
188
189
116k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
116k
    res = nmemb;
191
116k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
116k
      "adc $0,%1"
193
116k
      : "=&a"(res), "=&d" (m_overflow)
194
116k
      : "%0"(res),
195
116k
        "rm"(size)
196
116k
      : "cc");
197
116k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
0
  } else {
205
0
    res = nmemb;
206
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
0
      "add %4,%0\n\t"
208
0
      "adc $0,%1"
209
0
      : "=&a"(res), "=&d" (m_overflow)
210
0
      : "%0"(res),
211
0
        "rm"(size),
212
0
        "rm"(offset)
213
0
      : "cc");
214
0
  }
215
116k
#undef LP_SUFF
216
116k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
116k
  *overflow = 0;
221
116k
  return res;
222
116k
}
Unexecuted instantiation: compact_vars.c:zend_safe_address
dce.c:zend_safe_address
Line
Count
Source
179
356k
{
180
356k
  size_t res;
181
356k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
356k
# define LP_SUFF "q"
187
356k
#endif
188
189
356k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
356k
    res = nmemb;
191
356k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
356k
      "adc $0,%1"
193
356k
      : "=&a"(res), "=&d" (m_overflow)
194
356k
      : "%0"(res),
195
356k
        "rm"(size)
196
356k
      : "cc");
197
356k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
0
  } else {
205
0
    res = nmemb;
206
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
0
      "add %4,%0\n\t"
208
0
      "adc $0,%1"
209
0
      : "=&a"(res), "=&d" (m_overflow)
210
0
      : "%0"(res),
211
0
        "rm"(size),
212
0
        "rm"(offset)
213
0
      : "cc");
214
0
  }
215
356k
#undef LP_SUFF
216
356k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
356k
  *overflow = 0;
221
356k
  return res;
222
356k
}
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
179
113k
{
180
113k
  size_t res;
181
113k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
113k
# define LP_SUFF "q"
187
113k
#endif
188
189
113k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
113k
    res = nmemb;
191
113k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
113k
      "adc $0,%1"
193
113k
      : "=&a"(res), "=&d" (m_overflow)
194
113k
      : "%0"(res),
195
113k
        "rm"(size)
196
113k
      : "cc");
197
113k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
0
  } else {
205
0
    res = nmemb;
206
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
0
      "add %4,%0\n\t"
208
0
      "adc $0,%1"
209
0
      : "=&a"(res), "=&d" (m_overflow)
210
0
      : "%0"(res),
211
0
        "rm"(size),
212
0
        "rm"(offset)
213
0
      : "cc");
214
0
  }
215
113k
#undef LP_SUFF
216
113k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
113k
  *overflow = 0;
221
113k
  return res;
222
113k
}
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
179
89.1k
{
180
89.1k
  size_t res;
181
89.1k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
89.1k
# define LP_SUFF "q"
187
89.1k
#endif
188
189
89.1k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
89.1k
    res = nmemb;
191
89.1k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
89.1k
      "adc $0,%1"
193
89.1k
      : "=&a"(res), "=&d" (m_overflow)
194
89.1k
      : "%0"(res),
195
89.1k
        "rm"(size)
196
89.1k
      : "cc");
197
89.1k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
0
  } else {
205
0
    res = nmemb;
206
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
0
      "add %4,%0\n\t"
208
0
      "adc $0,%1"
209
0
      : "=&a"(res), "=&d" (m_overflow)
210
0
      : "%0"(res),
211
0
        "rm"(size),
212
0
        "rm"(offset)
213
0
      : "cc");
214
0
  }
215
89.1k
#undef LP_SUFF
216
89.1k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
89.1k
  *overflow = 0;
221
89.1k
  return res;
222
89.1k
}
zend_call_graph.c:zend_safe_address
Line
Count
Source
179
320k
{
180
320k
  size_t res;
181
320k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
320k
# define LP_SUFF "q"
187
320k
#endif
188
189
320k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
320k
    res = nmemb;
191
320k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
320k
      "adc $0,%1"
193
320k
      : "=&a"(res), "=&d" (m_overflow)
194
320k
      : "%0"(res),
195
320k
        "rm"(size)
196
320k
      : "cc");
197
320k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
0
  } else {
205
0
    res = nmemb;
206
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
0
      "add %4,%0\n\t"
208
0
      "adc $0,%1"
209
0
      : "=&a"(res), "=&d" (m_overflow)
210
0
      : "%0"(res),
211
0
        "rm"(size),
212
0
        "rm"(offset)
213
0
      : "cc");
214
0
  }
215
320k
#undef LP_SUFF
216
320k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
320k
  *overflow = 0;
221
320k
  return res;
222
320k
}
zend_cfg.c:zend_safe_address
Line
Count
Source
179
509k
{
180
509k
  size_t res;
181
509k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
509k
# define LP_SUFF "q"
187
509k
#endif
188
189
509k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
509k
    res = nmemb;
191
509k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
509k
      "adc $0,%1"
193
509k
      : "=&a"(res), "=&d" (m_overflow)
194
509k
      : "%0"(res),
195
509k
        "rm"(size)
196
509k
      : "cc");
197
509k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
0
  } else {
205
0
    res = nmemb;
206
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
0
      "add %4,%0\n\t"
208
0
      "adc $0,%1"
209
0
      : "=&a"(res), "=&d" (m_overflow)
210
0
      : "%0"(res),
211
0
        "rm"(size),
212
0
        "rm"(offset)
213
0
      : "cc");
214
0
  }
215
509k
#undef LP_SUFF
216
509k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
509k
  *overflow = 0;
221
509k
  return res;
222
509k
}
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
179
89.1k
{
180
89.1k
  size_t res;
181
89.1k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
89.1k
# define LP_SUFF "q"
187
89.1k
#endif
188
189
89.1k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
89.1k
    res = nmemb;
191
89.1k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
89.1k
      "adc $0,%1"
193
89.1k
      : "=&a"(res), "=&d" (m_overflow)
194
89.1k
      : "%0"(res),
195
89.1k
        "rm"(size)
196
89.1k
      : "cc");
197
89.1k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
0
  } else {
205
0
    res = nmemb;
206
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
0
      "add %4,%0\n\t"
208
0
      "adc $0,%1"
209
0
      : "=&a"(res), "=&d" (m_overflow)
210
0
      : "%0"(res),
211
0
        "rm"(size),
212
0
        "rm"(offset)
213
0
      : "cc");
214
0
  }
215
89.1k
#undef LP_SUFF
216
89.1k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
89.1k
  *overflow = 0;
221
89.1k
  return res;
222
89.1k
}
Unexecuted instantiation: zend_optimizer.c:zend_safe_address
zend_ssa.c:zend_safe_address
Line
Count
Source
179
456k
{
180
456k
  size_t res;
181
456k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
456k
# define LP_SUFF "q"
187
456k
#endif
188
189
456k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
456k
    res = nmemb;
191
456k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
456k
      "adc $0,%1"
193
456k
      : "=&a"(res), "=&d" (m_overflow)
194
456k
      : "%0"(res),
195
456k
        "rm"(size)
196
456k
      : "cc");
197
456k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
0
  } else {
205
0
    res = nmemb;
206
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
0
      "add %4,%0\n\t"
208
0
      "adc $0,%1"
209
0
      : "=&a"(res), "=&d" (m_overflow)
210
0
      : "%0"(res),
211
0
        "rm"(size),
212
0
        "rm"(offset)
213
0
      : "cc");
214
0
  }
215
456k
#undef LP_SUFF
216
456k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
456k
  *overflow = 0;
221
456k
  return res;
222
456k
}
zend_alloc.c:zend_safe_address
Line
Count
Source
179
280M
{
180
280M
  size_t res;
181
280M
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
280M
# define LP_SUFF "q"
187
280M
#endif
188
189
280M
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
276M
    res = nmemb;
191
276M
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
276M
      "adc $0,%1"
193
276M
      : "=&a"(res), "=&d" (m_overflow)
194
276M
      : "%0"(res),
195
276M
        "rm"(size)
196
276M
      : "cc");
197
276M
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
4.19M
  } else {
205
4.19M
    res = nmemb;
206
4.19M
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
4.19M
      "add %4,%0\n\t"
208
4.19M
      "adc $0,%1"
209
4.19M
      : "=&a"(res), "=&d" (m_overflow)
210
4.19M
      : "%0"(res),
211
4.19M
        "rm"(size),
212
4.19M
        "rm"(offset)
213
4.19M
      : "cc");
214
4.19M
  }
215
280M
#undef LP_SUFF
216
280M
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
280M
  *overflow = 0;
221
280M
  return res;
222
280M
}
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_autoload.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
179
5.09k
{
180
5.09k
  size_t res;
181
5.09k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
5.09k
# define LP_SUFF "q"
187
5.09k
#endif
188
189
5.09k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
5.09k
    res = nmemb;
191
5.09k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
5.09k
      "adc $0,%1"
193
5.09k
      : "=&a"(res), "=&d" (m_overflow)
194
5.09k
      : "%0"(res),
195
5.09k
        "rm"(size)
196
5.09k
      : "cc");
197
5.09k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
0
  } else {
205
0
    res = nmemb;
206
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
0
      "add %4,%0\n\t"
208
0
      "adc $0,%1"
209
0
      : "=&a"(res), "=&d" (m_overflow)
210
0
      : "%0"(res),
211
0
        "rm"(size),
212
0
        "rm"(offset)
213
0
      : "cc");
214
0
  }
215
5.09k
#undef LP_SUFF
216
5.09k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
5.09k
  *overflow = 0;
221
5.09k
  return res;
222
5.09k
}
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
zend_partial.c:zend_safe_address
Line
Count
Source
179
4.18k
{
180
4.18k
  size_t res;
181
4.18k
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
4.18k
# define LP_SUFF "q"
187
4.18k
#endif
188
189
4.18k
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
3.49k
    res = nmemb;
191
3.49k
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
3.49k
      "adc $0,%1"
193
3.49k
      : "=&a"(res), "=&d" (m_overflow)
194
3.49k
      : "%0"(res),
195
3.49k
        "rm"(size)
196
3.49k
      : "cc");
197
3.49k
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
0
    res = size;
199
0
    __asm__ ("add %2, %0\n\t"
200
0
      "adc $0,%1"
201
0
      : "+r"(res), "+r" (m_overflow)
202
0
      : "rm"(offset)
203
0
      : "cc");
204
698
  } else {
205
698
    res = nmemb;
206
698
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
698
      "add %4,%0\n\t"
208
698
      "adc $0,%1"
209
698
      : "=&a"(res), "=&d" (m_overflow)
210
698
      : "%0"(res),
211
698
        "rm"(size),
212
698
        "rm"(offset)
213
698
      : "cc");
214
698
  }
215
4.18k
#undef LP_SUFF
216
4.18k
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
4.18k
  *overflow = 0;
221
4.18k
  return res;
222
4.18k
}
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
zend_string.c:zend_safe_address
Line
Count
Source
179
37.0M
{
180
37.0M
  size_t res;
181
37.0M
  zend_ulong m_overflow = 0;
182
183
#ifdef __ILP32__ /* x32 */
184
# define LP_SUFF "l"
185
#else /* amd64 */
186
37.0M
# define LP_SUFF "q"
187
37.0M
#endif
188
189
37.0M
  if (ZEND_CONST_COND(offset == 0, 0)) {
190
0
    res = nmemb;
191
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
192
0
      "adc $0,%1"
193
0
      : "=&a"(res), "=&d" (m_overflow)
194
0
      : "%0"(res),
195
0
        "rm"(size)
196
0
      : "cc");
197
37.0M
  } else if (ZEND_CONST_COND(nmemb == 1, 0)) {
198
37.0M
    res = size;
199
37.0M
    __asm__ ("add %2, %0\n\t"
200
37.0M
      "adc $0,%1"
201
37.0M
      : "+r"(res), "+r" (m_overflow)
202
37.0M
      : "rm"(offset)
203
37.0M
      : "cc");
204
37.0M
  } else {
205
0
    res = nmemb;
206
0
    __asm__ ("mul" LP_SUFF  " %3\n\t"
207
0
      "add %4,%0\n\t"
208
0
      "adc $0,%1"
209
0
      : "=&a"(res), "=&d" (m_overflow)
210
0
      : "%0"(res),
211
0
        "rm"(size),
212
0
        "rm"(offset)
213
0
      : "cc");
214
0
  }
215
37.0M
#undef LP_SUFF
216
37.0M
  if (UNEXPECTED(m_overflow)) {
217
0
    *overflow = 1;
218
0
    return 0;
219
0
  }
220
37.0M
  *overflow = 0;
221
37.0M
  return res;
222
37.0M
}
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
223
224
#elif defined(__GNUC__) && defined(__arm__)
225
226
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
227
{
228
  size_t res;
229
  zend_ulong m_overflow;
230
231
  __asm__ ("umlal %0,%1,%2,%3"
232
    : "=r"(res), "=r"(m_overflow)
233
    : "r"(nmemb),
234
      "r"(size),
235
      "0"(offset),
236
      "1"(0));
237
238
  if (UNEXPECTED(m_overflow)) {
239
    *overflow = 1;
240
    return 0;
241
  }
242
  *overflow = 0;
243
  return res;
244
}
245
246
#elif defined(__GNUC__) && defined(__aarch64__)
247
248
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
249
{
250
  size_t res;
251
  zend_ulong m_overflow;
252
253
  __asm__ ("mul %0,%2,%3\n\tumulh %1,%2,%3\n\tadds %0,%0,%4\n\tadc %1,%1,xzr"
254
    : "=&r"(res), "=&r"(m_overflow)
255
    : "r"(nmemb),
256
      "r"(size),
257
      "r"(offset)
258
    : "cc");
259
260
  if (UNEXPECTED(m_overflow)) {
261
    *overflow = 1;
262
    return 0;
263
  }
264
  *overflow = 0;
265
  return res;
266
}
267
268
#elif defined(__GNUC__) && defined(__powerpc64__)
269
270
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
271
{
272
        size_t res;
273
        unsigned long m_overflow;
274
275
        __asm__ ("mulld %0,%2,%3\n\t"
276
                 "mulhdu %1,%2,%3\n\t"
277
                 "addc %0,%0,%4\n\t"
278
                 "addze %1,%1\n"
279
             : "=&r"(res), "=&r"(m_overflow)
280
             : "r"(nmemb),
281
               "r"(size),
282
               "r"(offset)
283
             : "xer");
284
285
        if (UNEXPECTED(m_overflow)) {
286
                *overflow = 1;
287
                return 0;
288
        }
289
        *overflow = 0;
290
        return res;
291
}
292
293
#elif SIZEOF_SIZE_T == 4
294
295
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
296
{
297
  uint64_t res = (uint64_t) nmemb * (uint64_t) size + (uint64_t) offset;
298
299
  if (UNEXPECTED(res > UINT64_C(0xFFFFFFFF))) {
300
    *overflow = 1;
301
    return 0;
302
  }
303
  *overflow = 0;
304
  return (size_t) res;
305
}
306
307
#elif defined(_MSC_VER)
308
309
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
310
{
311
  size_t res;
312
  if (UNEXPECTED(FAILED(ULongLongMult(nmemb, size, &res)) || FAILED(ULongLongAdd(res, offset, &res)))) {
313
    *overflow = 1;
314
    return 0;
315
  }
316
  *overflow = 0;
317
  return res;
318
}
319
320
#else
321
322
static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *overflow)
323
{
324
  size_t res = nmemb * size + offset;
325
  double _d  = (double)nmemb * (double)size + (double)offset;
326
  double _delta = (double)res - _d;
327
328
  if (UNEXPECTED((_d + _delta ) != _d)) {
329
    *overflow = 1;
330
    return 0;
331
  }
332
  *overflow = 0;
333
  return res;
334
}
335
#endif
336
337
static zend_always_inline size_t zend_safe_address_guarded(size_t nmemb, size_t size, size_t offset)
338
317M
{
339
317M
  bool overflow;
340
317M
  size_t ret = zend_safe_address(nmemb, size, offset, &overflow);
341
342
317M
  if (UNEXPECTED(overflow)) {
343
0
    zend_error_noreturn(E_ERROR, "Possible integer overflow in memory allocation (%zu * %zu + %zu)", nmemb, size, offset);
344
0
  }
345
317M
  return ret;
346
317M
}
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
338
1.08k
{
339
1.08k
  bool overflow;
340
1.08k
  size_t ret = zend_safe_address(nmemb, size, offset, &overflow);
341
342
1.08k
  if (UNEXPECTED(overflow)) {
343
0
    zend_error_noreturn(E_ERROR, "Possible integer overflow in memory allocation (%zu * %zu + %zu)", nmemb, size, offset);
344
0
  }
345
1.08k
  return ret;
346
1.08k
}
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: shared_alloc_mmap.c:zend_safe_address_guarded
Unexecuted instantiation: shared_alloc_posix.c:zend_safe_address_guarded
Unexecuted instantiation: shared_alloc_shm.c:zend_safe_address_guarded
Unexecuted instantiation: zend_accelerator_api.c:zend_safe_address_guarded
Unexecuted instantiation: zend_accelerator_blacklist.c:zend_safe_address_guarded
Unexecuted instantiation: zend_accelerator_debug.c:zend_safe_address_guarded
Unexecuted instantiation: zend_accelerator_hash.c:zend_safe_address_guarded
Unexecuted instantiation: zend_accelerator_module.c:zend_safe_address_guarded
Unexecuted instantiation: zend_accelerator_util_funcs.c:zend_safe_address_guarded
Unexecuted instantiation: zend_file_cache.c:zend_safe_address_guarded
Unexecuted instantiation: zend_persist_calc.c:zend_safe_address_guarded
Unexecuted instantiation: zend_persist.c:zend_safe_address_guarded
Unexecuted instantiation: zend_shared_alloc.c:zend_safe_address_guarded
Unexecuted instantiation: ZendAccelerator.c:zend_safe_address_guarded
Unexecuted instantiation: ir_cfg.c:zend_safe_address_guarded
Unexecuted instantiation: ir_check.c:zend_safe_address_guarded
Unexecuted instantiation: ir_dump.c:zend_safe_address_guarded
Unexecuted instantiation: ir_emit.c:zend_safe_address_guarded
Unexecuted instantiation: ir_gcm.c:zend_safe_address_guarded
Unexecuted instantiation: ir_gdb.c:zend_safe_address_guarded
Unexecuted instantiation: ir_patch.c:zend_safe_address_guarded
Unexecuted instantiation: ir_perf.c:zend_safe_address_guarded
Unexecuted instantiation: ir_ra.c:zend_safe_address_guarded
Unexecuted instantiation: ir_save.c:zend_safe_address_guarded
Unexecuted instantiation: ir_sccp.c:zend_safe_address_guarded
Unexecuted instantiation: ir_strtab.c:zend_safe_address_guarded
Unexecuted instantiation: ir.c:zend_safe_address_guarded
Unexecuted instantiation: zend_jit_vm_helpers.c:zend_safe_address_guarded
Unexecuted instantiation: zend_jit.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: io_poll.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: uri_parser_rfc3986.c:zend_safe_address_guarded
Unexecuted instantiation: uri_parser_whatwg.c:zend_safe_address_guarded
Unexecuted instantiation: uri_parser_php_parse_url.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: php_io.c:zend_safe_address_guarded
Unexecuted instantiation: php_io_copy_linux.c:zend_safe_address_guarded
Unexecuted instantiation: poll_backend_epoll.c:zend_safe_address_guarded
Unexecuted instantiation: poll_backend_eventport.c:zend_safe_address_guarded
Unexecuted instantiation: poll_backend_kqueue.c:zend_safe_address_guarded
Unexecuted instantiation: poll_backend_poll.c:zend_safe_address_guarded
Unexecuted instantiation: poll_core.c:zend_safe_address_guarded
Unexecuted instantiation: poll_fd_table.c:zend_safe_address_guarded
Unexecuted instantiation: poll_handle.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: stream_errors.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
338
280M
{
339
280M
  bool overflow;
340
280M
  size_t ret = zend_safe_address(nmemb, size, offset, &overflow);
341
342
280M
  if (UNEXPECTED(overflow)) {
343
0
    zend_error_noreturn(E_ERROR, "Possible integer overflow in memory allocation (%zu * %zu + %zu)", nmemb, size, offset);
344
0
  }
345
280M
  return ret;
346
280M
}
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_autoload.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
zend_partial.c:zend_safe_address_guarded
Line
Count
Source
338
2.79k
{
339
2.79k
  bool overflow;
340
2.79k
  size_t ret = zend_safe_address(nmemb, size, offset, &overflow);
341
342
2.79k
  if (UNEXPECTED(overflow)) {
343
0
    zend_error_noreturn(E_ERROR, "Possible integer overflow in memory allocation (%zu * %zu + %zu)", nmemb, size, offset);
344
0
  }
345
2.79k
  return ret;
346
2.79k
}
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
zend_string.c:zend_safe_address_guarded
Line
Count
Source
338
37.0M
{
339
37.0M
  bool overflow;
340
37.0M
  size_t ret = zend_safe_address(nmemb, size, offset, &overflow);
341
342
37.0M
  if (UNEXPECTED(overflow)) {
343
0
    zend_error_noreturn(E_ERROR, "Possible integer overflow in memory allocation (%zu * %zu + %zu)", nmemb, size, offset);
344
0
  }
345
37.0M
  return ret;
346
37.0M
}
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
347
348
/* A bit more generic version of the same */
349
static zend_always_inline size_t zend_safe_addmult(size_t nmemb, size_t size, size_t offset, const char *message)
350
1.19k
{
351
1.19k
  bool overflow;
352
1.19k
  size_t ret = zend_safe_address(nmemb, size, offset, &overflow);
353
354
1.19k
  if (UNEXPECTED(overflow)) {
355
0
    zend_error_noreturn(E_ERROR, "Possible integer overflow in %s (%zu * %zu + %zu)", message, nmemb, size, offset);
356
0
  }
357
1.19k
  return ret;
358
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: shared_alloc_mmap.c:zend_safe_addmult
Unexecuted instantiation: shared_alloc_posix.c:zend_safe_addmult
Unexecuted instantiation: shared_alloc_shm.c:zend_safe_addmult
Unexecuted instantiation: zend_accelerator_api.c:zend_safe_addmult
Unexecuted instantiation: zend_accelerator_blacklist.c:zend_safe_addmult
Unexecuted instantiation: zend_accelerator_debug.c:zend_safe_addmult
Unexecuted instantiation: zend_accelerator_hash.c:zend_safe_addmult
Unexecuted instantiation: zend_accelerator_module.c:zend_safe_addmult
Unexecuted instantiation: zend_accelerator_util_funcs.c:zend_safe_addmult
Unexecuted instantiation: zend_file_cache.c:zend_safe_addmult
Unexecuted instantiation: zend_persist_calc.c:zend_safe_addmult
Unexecuted instantiation: zend_persist.c:zend_safe_addmult
Unexecuted instantiation: zend_shared_alloc.c:zend_safe_addmult
Unexecuted instantiation: ZendAccelerator.c:zend_safe_addmult
Unexecuted instantiation: ir_cfg.c:zend_safe_addmult
Unexecuted instantiation: ir_check.c:zend_safe_addmult
Unexecuted instantiation: ir_dump.c:zend_safe_addmult
Unexecuted instantiation: ir_emit.c:zend_safe_addmult
Unexecuted instantiation: ir_gcm.c:zend_safe_addmult
Unexecuted instantiation: ir_gdb.c:zend_safe_addmult
Unexecuted instantiation: ir_patch.c:zend_safe_addmult
Unexecuted instantiation: ir_perf.c:zend_safe_addmult
Unexecuted instantiation: ir_ra.c:zend_safe_addmult
Unexecuted instantiation: ir_save.c:zend_safe_addmult
Unexecuted instantiation: ir_sccp.c:zend_safe_addmult
Unexecuted instantiation: ir_strtab.c:zend_safe_addmult
Unexecuted instantiation: ir.c:zend_safe_addmult
Unexecuted instantiation: zend_jit_vm_helpers.c:zend_safe_addmult
Unexecuted instantiation: zend_jit.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
350
1.19k
{
351
1.19k
  bool overflow;
352
1.19k
  size_t ret = zend_safe_address(nmemb, size, offset, &overflow);
353
354
1.19k
  if (UNEXPECTED(overflow)) {
355
0
    zend_error_noreturn(E_ERROR, "Possible integer overflow in %s (%zu * %zu + %zu)", message, nmemb, size, offset);
356
0
  }
357
1.19k
  return ret;
358
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: io_poll.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: uri_parser_rfc3986.c:zend_safe_addmult
Unexecuted instantiation: uri_parser_whatwg.c:zend_safe_addmult
Unexecuted instantiation: uri_parser_php_parse_url.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: php_io.c:zend_safe_addmult
Unexecuted instantiation: php_io_copy_linux.c:zend_safe_addmult
Unexecuted instantiation: poll_backend_epoll.c:zend_safe_addmult
Unexecuted instantiation: poll_backend_eventport.c:zend_safe_addmult
Unexecuted instantiation: poll_backend_kqueue.c:zend_safe_addmult
Unexecuted instantiation: poll_backend_poll.c:zend_safe_addmult
Unexecuted instantiation: poll_core.c:zend_safe_addmult
Unexecuted instantiation: poll_fd_table.c:zend_safe_addmult
Unexecuted instantiation: poll_handle.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: stream_errors.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_autoload.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_partial.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
359
360
#endif /* ZEND_MULTIPLY_H */