Coverage Report

Created: 2025-08-26 06:29

/src/harfbuzz/src/hb-sanitize.hh
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * Copyright © 2007,2008,2009,2010  Red Hat, Inc.
3
 * Copyright © 2012,2018  Google, Inc.
4
 *
5
 *  This is part of HarfBuzz, a text shaping library.
6
 *
7
 * Permission is hereby granted, without written agreement and without
8
 * license or royalty fees, to use, copy, modify, and distribute this
9
 * software and its documentation for any purpose, provided that the
10
 * above copyright notice and the following two paragraphs appear in
11
 * all copies of this software.
12
 *
13
 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
14
 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
15
 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
16
 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
17
 * DAMAGE.
18
 *
19
 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
20
 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21
 * FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
22
 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
23
 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
24
 *
25
 * Red Hat Author(s): Behdad Esfahbod
26
 * Google Author(s): Behdad Esfahbod
27
 */
28
29
#ifndef HB_SANITIZE_HH
30
#define HB_SANITIZE_HH
31
32
#include "hb.hh"
33
#include "hb-blob.hh"
34
#include "hb-dispatch.hh"
35
36
37
/*
38
 * Sanitize
39
 *
40
 *
41
 * === Introduction ===
42
 *
43
 * The sanitize machinery is at the core of our zero-cost font loading.  We
44
 * mmap() font file into memory and create a blob out of it.  Font subtables
45
 * are returned as a readonly sub-blob of the main font blob.  These table
46
 * blobs are then sanitized before use, to ensure invalid memory access does
47
 * not happen.  The toplevel sanitize API use is like, eg. to load the 'head'
48
 * table:
49
 *
50
 *   hb_blob_t *head_blob = hb_sanitize_context_t ().reference_table<OT::head> (face);
51
 *
52
 * The blob then can be converted to a head table struct with:
53
 *
54
 *   const head *head_table = head_blob->as<head> ();
55
 *
56
 * What the reference_table does is, to call hb_face_reference_table() to load
57
 * the table blob, sanitize it and return either the sanitized blob, or empty
58
 * blob if sanitization failed.  The blob->as() function returns the null
59
 * object of its template type argument if the blob is empty.  Otherwise, it
60
 * just casts the blob contents to the desired type.
61
 *
62
 * Sanitizing a blob of data with a type T works as follows (with minor
63
 * simplification):
64
 *
65
 *   - Cast blob content to T*, call sanitize() method of it,
66
 *   - If sanitize succeeded, return blob.
67
 *   - Otherwise, if blob is not writable, try making it writable,
68
 *     or copy if cannot be made writable in-place,
69
 *   - Call sanitize() again.  Return blob if sanitize succeeded.
70
 *   - Return empty blob otherwise.
71
 *
72
 *
73
 * === The sanitize() contract ===
74
 *
75
 * The sanitize() method of each object type shall return `true` if it's safe to
76
 * call other methods of the object, and `false` otherwise.
77
 *
78
 * Note that what sanitize() checks for might align with what the specification
79
 * describes as valid table data, but does not have to be.  In particular, we
80
 * do NOT want to be pedantic and concern ourselves with validity checks that
81
 * are irrelevant to our use of the table.  On the contrary, we want to be
82
 * lenient with error handling and accept invalid data to the extent that it
83
 * does not impose extra burden on us.
84
 *
85
 * Based on the sanitize contract, one can see that what we check for depends
86
 * on how we use the data in other table methods.  Ie. if other table methods
87
 * assume that offsets do NOT point out of the table data block, then that's
88
 * something sanitize() must check for (GSUB/GPOS/GDEF/etc work this way).  On
89
 * the other hand, if other methods do such checks themselves, then sanitize()
90
 * does not have to bother with them (glyf/local work this way).  The choice
91
 * depends on the table structure and sanitize() performance.  For example, to
92
 * check glyf/loca offsets in sanitize() would cost O(num-glyphs).  We try hard
93
 * to avoid such costs during font loading.  By postponing such checks to the
94
 * actual glyph loading, we reduce the sanitize cost to O(1) and total runtime
95
 * cost to O(used-glyphs).  As such, this is preferred.
96
 *
97
 * The same argument can be made re GSUB/GPOS/GDEF, but there, the table
98
 * structure is so complicated that by checking all offsets at sanitize() time,
99
 * we make the code much simpler in other methods, as offsets and referenced
100
 * objects do not need to be validated at each use site.
101
 */
102
103
/* This limits sanitizing time on really broken fonts. */
104
#ifndef HB_SANITIZE_MAX_EDITS
105
0
#define HB_SANITIZE_MAX_EDITS 32
106
#endif
107
#ifndef HB_SANITIZE_MAX_OPS_FACTOR
108
#define HB_SANITIZE_MAX_OPS_FACTOR 64
109
#endif
110
#ifndef HB_SANITIZE_MAX_OPS_MIN
111
284k
#define HB_SANITIZE_MAX_OPS_MIN 16384
112
#endif
113
#ifndef HB_SANITIZE_MAX_OPS_MAX
114
285k
#define HB_SANITIZE_MAX_OPS_MAX 0x3FFFFFFF
115
#endif
116
#ifndef HB_SANITIZE_MAX_SUBTABLES
117
6.13k
#define HB_SANITIZE_MAX_SUBTABLES 0x4000
118
#endif
119
120
struct hb_sanitize_context_t :
121
       hb_dispatch_context_t<hb_sanitize_context_t, bool, HB_DEBUG_SANITIZE>
122
{
123
  hb_sanitize_context_t (const char *start_ = nullptr, const char *end_ = nullptr) :
124
284k
  start (start_), end (end_),
125
284k
  length (0),
126
284k
  max_ops (0), max_subtables (0),
127
284k
        recursion_depth (0),
128
284k
  writable (false), edit_count (0),
129
284k
  blob (nullptr),
130
284k
  num_glyphs (65536),
131
284k
  num_glyphs_set (false),
132
284k
  lazy_some_gpos (false) {}
133
134
0
  const char *get_name () { return "SANITIZE"; }
135
  template <typename T, typename F>
136
  bool may_dispatch (const T *obj HB_UNUSED, const F *format)
137
6.27k
  {
138
6.27k
    return format->sanitize (this) &&
139
6.27k
     hb_barrier ();
140
6.27k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::SinglePos, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GPOS_impl::SinglePos const*, OT::NumType<true, unsigned short, 2u> const*)
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::PairPos, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GPOS_impl::PairPos const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
137
27
  {
138
27
    return format->sanitize (this) &&
139
27
     hb_barrier ();
140
27
  }
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::CursivePos, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GPOS_impl::CursivePos const*, OT::NumType<true, unsigned short, 2u> const*)
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::MarkBasePos, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GPOS_impl::MarkBasePos const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
137
126
  {
138
126
    return format->sanitize (this) &&
139
126
     hb_barrier ();
140
126
  }
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::MarkLigPos, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GPOS_impl::MarkLigPos const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
137
32
  {
138
32
    return format->sanitize (this) &&
139
32
     hb_barrier ();
140
32
  }
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::MarkMarkPos, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GPOS_impl::MarkMarkPos const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
137
51
  {
138
51
    return format->sanitize (this) &&
139
51
     hb_barrier ();
140
51
  }
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Context, OT::NumType<true, unsigned short, 2u> >(OT::Context const*, OT::NumType<true, unsigned short, 2u> const*)
bool hb_sanitize_context_t::may_dispatch<OT::ChainContext, OT::NumType<true, unsigned short, 2u> >(OT::ChainContext const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
137
93
  {
138
93
    return format->sanitize (this) &&
139
93
     hb_barrier ();
140
93
  }
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Extension<OT::Layout::GPOS_impl::ExtensionPos>, OT::NumType<true, unsigned short, 2u> >(OT::Extension<OT::Layout::GPOS_impl::ExtensionPos> const*, OT::NumType<true, unsigned short, 2u> const*)
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos>, OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> >(OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> const*, OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> const*)
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Paint, OT::NumType<true, unsigned char, 1u> >(OT::Paint const*, OT::NumType<true, unsigned char, 1u> const*)
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::ClipBox, OT::NumType<true, unsigned char, 1u> >(OT::ClipBox const*, OT::NumType<true, unsigned char, 1u> const*)
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::SingleSubst, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GSUB_impl::SingleSubst const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
137
2.07k
  {
138
2.07k
    return format->sanitize (this) &&
139
2.07k
     hb_barrier ();
140
2.07k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::MultipleSubst, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GSUB_impl::MultipleSubst const*, OT::NumType<true, unsigned short, 2u> const*)
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::AlternateSubst, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GSUB_impl::AlternateSubst const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
137
3.76k
  {
138
3.76k
    return format->sanitize (this) &&
139
3.76k
     hb_barrier ();
140
3.76k
  }
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::LigatureSubst, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GSUB_impl::LigatureSubst const*, OT::NumType<true, unsigned short, 2u> const*)
Line
Count
Source
137
102
  {
138
102
    return format->sanitize (this) &&
139
102
     hb_barrier ();
140
102
  }
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Extension<OT::Layout::GSUB_impl::ExtensionSubst>, OT::NumType<true, unsigned short, 2u> >(OT::Extension<OT::Layout::GSUB_impl::ExtensionSubst> const*, OT::NumType<true, unsigned short, 2u> const*)
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst>, OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> >(OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> const*, OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> const*)
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::ReverseChainSingleSubst, OT::NumType<true, unsigned short, 2u> >(OT::Layout::GSUB_impl::ReverseChainSingleSubst const*, OT::NumType<true, unsigned short, 2u> const*)
141
0
  static return_t default_return_value () { return true; }
142
0
  static return_t no_dispatch_return_value () { return false; }
143
0
  bool stop_sublookup_iteration (const return_t r) const { return !r; }
144
145
  bool visit_subtables (unsigned count)
146
6.13k
  {
147
6.13k
    max_subtables += count;
148
6.13k
    return max_subtables < HB_SANITIZE_MAX_SUBTABLES;
149
6.13k
  }
150
151
  private:
152
  template <typename T, typename ...Ts> auto
153
  _dispatch (const T &obj, hb_priority<1>, Ts&&... ds) HB_AUTO_RETURN
154
  ( obj.sanitize (this, std::forward<Ts> (ds)...) )
155
  template <typename T, typename ...Ts> auto
156
  _dispatch (const T &obj, hb_priority<0>, Ts&&... ds) HB_AUTO_RETURN
157
  ( obj.dispatch (this, std::forward<Ts> (ds)...) )
158
  public:
159
  template <typename T, typename ...Ts> auto
160
  dispatch (const T &obj, Ts&&... ds) HB_AUTO_RETURN
161
  ( _dispatch (obj, hb_prioritize, std::forward<Ts> (ds)...) )
162
163
246k
  hb_sanitize_context_t (hb_blob_t *b) : hb_sanitize_context_t ()
164
246k
  {
165
246k
    init (b);
166
167
246k
    if (blob)
168
246k
      start_processing ();
169
246k
  }
170
171
  ~hb_sanitize_context_t ()
172
284k
  {
173
284k
    if (blob)
174
246k
      end_processing ();
175
284k
  }
176
177
  void init (hb_blob_t *b)
178
284k
  {
179
284k
    this->blob = hb_blob_reference (b);
180
284k
    this->writable = false;
181
284k
  }
182
183
  void set_num_glyphs (unsigned int num_glyphs_)
184
38.4k
  {
185
38.4k
    num_glyphs = num_glyphs_;
186
38.4k
    num_glyphs_set = true;
187
38.4k
  }
188
0
  unsigned int get_num_glyphs () { return num_glyphs; }
189
190
909
  void set_max_ops (int max_ops_) { max_ops = max_ops_; }
191
192
  template <typename T>
193
  void set_object (const T *obj)
194
66
  {
195
66
    reset_object ();
196
197
66
    if (!obj) return;
198
199
45
    const char *obj_start = (const char *) obj;
200
45
    if (unlikely (obj_start < this->start || this->end <= obj_start))
201
0
    {
202
0
      this->start = this->end = nullptr;
203
0
      this->length = 0;
204
0
    }
205
45
    else
206
45
    {
207
45
      this->start = obj_start;
208
45
      this->end   = obj_start + hb_min (size_t (this->end - obj_start), obj->get_size ());
209
45
      this->length = this->end - this->start;
210
45
    }
211
45
  }
Unexecuted instantiation: void hb_sanitize_context_t::set_object<AAT::KerxSubTable>(AAT::KerxSubTable const*)
void hb_sanitize_context_t::set_object<OT::KernSubTable<OT::KernOTSubTableHeader> >(OT::KernSubTable<OT::KernOTSubTableHeader> const*)
Line
Count
Source
194
66
  {
195
66
    reset_object ();
196
197
66
    if (!obj) return;
198
199
45
    const char *obj_start = (const char *) obj;
200
45
    if (unlikely (obj_start < this->start || this->end <= obj_start))
201
0
    {
202
0
      this->start = this->end = nullptr;
203
0
      this->length = 0;
204
0
    }
205
45
    else
206
45
    {
207
45
      this->start = obj_start;
208
45
      this->end   = obj_start + hb_min (size_t (this->end - obj_start), obj->get_size ());
209
45
      this->length = this->end - this->start;
210
45
    }
211
45
  }
Unexecuted instantiation: void hb_sanitize_context_t::set_object<OT::KernSubTable<OT::KernAATSubTableHeader> >(OT::KernSubTable<OT::KernAATSubTableHeader> const*)
212
213
  void reset_object ()
214
285k
  {
215
285k
    if (this->blob)
216
285k
    {
217
285k
      this->start = this->blob->data;
218
285k
      this->end = this->start + this->blob->length;
219
285k
    }
220
285k
    this->length = this->end - this->start;
221
285k
    assert (this->start <= this->end); /* Must not overflow. */
222
285k
  }
223
224
  void start_processing (const char *start_ = nullptr, const char *end_ = nullptr)
225
284k
  {
226
284k
    if (start_)
227
0
    {
228
0
      this->start = start_;
229
0
      this->end = end_;
230
0
    }
231
284k
    reset_object ();
232
284k
    unsigned m;
233
284k
    if (unlikely (hb_unsigned_mul_overflows (this->end - this->start, HB_SANITIZE_MAX_OPS_FACTOR, &m)))
234
0
      this->max_ops = HB_SANITIZE_MAX_OPS_MAX;
235
284k
    else
236
284k
      this->max_ops = hb_clamp (m,
237
284k
        (unsigned) HB_SANITIZE_MAX_OPS_MIN,
238
284k
        (unsigned) HB_SANITIZE_MAX_OPS_MAX);
239
284k
    this->edit_count = 0;
240
284k
    this->debug_depth = 0;
241
284k
    this->recursion_depth = 0;
242
243
284k
    DEBUG_MSG_LEVEL (SANITIZE, start, 0, +1,
244
284k
         "start [%p..%p] (%lu bytes)",
245
284k
         this->start, this->end,
246
284k
         (unsigned long) (this->end - this->start));
247
284k
  }
248
249
  void end_processing ()
250
284k
  {
251
284k
    DEBUG_MSG_LEVEL (SANITIZE, this->start, 0, -1,
252
284k
         "end [%p..%p] %u edit requests",
253
284k
         this->start, this->end, this->edit_count);
254
255
284k
    hb_blob_destroy (this->blob);
256
284k
    this->blob = nullptr;
257
284k
    this->start = this->end = nullptr;
258
284k
    this->length = 0;
259
284k
  }
260
261
0
  unsigned get_edit_count () { return edit_count; }
262
263
264
  bool check_ops(unsigned count)
265
75
  {
266
    /* Avoid underflow */
267
75
    if (unlikely (this->max_ops < 0 || count >= (unsigned) this->max_ops))
268
0
    {
269
0
      this->max_ops = -1;
270
0
      return false;
271
0
    }
272
75
    this->max_ops -= (int) count;
273
75
    return true;
274
75
  }
275
276
#ifndef HB_OPTIMIZE_SIZE
277
  HB_ALWAYS_INLINE
278
#endif
279
  bool check_range (const void *base,
280
        unsigned int len) const
281
2.66M
  {
282
2.66M
    const char *p = (const char *) base;
283
2.66M
    bool ok = (uintptr_t) (p - this->start) <= this->length &&
284
2.66M
        (unsigned int) (this->end - p) >= len &&
285
2.66M
        ((this->max_ops -= len) > 0);
286
287
2.66M
    DEBUG_MSG_LEVEL (SANITIZE, p, this->debug_depth+1, 0,
288
2.66M
         "check_range [%p..%p]"
289
2.66M
         " (%u bytes) in [%p..%p] -> %s",
290
2.66M
         p, p + len, len,
291
2.66M
         this->start, this->end,
292
2.66M
         ok ? "OK" : "OUT-OF-RANGE");
293
294
2.66M
    return likely (ok);
295
2.66M
  }
296
#ifndef HB_OPTIMIZE_SIZE
297
  HB_ALWAYS_INLINE
298
#endif
299
  bool check_range_fast (const void *base,
300
       unsigned int len) const
301
0
  {
302
0
    const char *p = (const char *) base;
303
0
    bool ok = ((uintptr_t) (p - this->start) <= this->length &&
304
0
         (unsigned int) (this->end - p) >= len);
305
0
306
0
    DEBUG_MSG_LEVEL (SANITIZE, p, this->debug_depth+1, 0,
307
0
         "check_range_fast [%p..%p]"
308
0
         " (%u bytes) in [%p..%p] -> %s",
309
0
         p, p + len, len,
310
0
         this->start, this->end,
311
0
         ok ? "OK" : "OUT-OF-RANGE");
312
0
313
0
    return likely (ok);
314
0
  }
315
316
#ifndef HB_OPTIMIZE_SIZE
317
  HB_ALWAYS_INLINE
318
#endif
319
  bool check_point (const void *base) const
320
5.38M
  {
321
5.38M
    const char *p = (const char *) base;
322
5.38M
    bool ok = (uintptr_t) (p - this->start) <= this->length;
323
324
5.38M
    DEBUG_MSG_LEVEL (SANITIZE, p, this->debug_depth+1, 0,
325
5.38M
         "check_point [%p]"
326
5.38M
         " in [%p..%p] -> %s",
327
5.38M
         p,
328
5.38M
         this->start, this->end,
329
5.38M
         ok ? "OK" : "OUT-OF-RANGE");
330
331
5.38M
    return likely (ok);
332
5.38M
  }
333
334
  template <typename T>
335
  bool check_range (const T *base,
336
        unsigned int a,
337
        unsigned int b) const
338
320
  {
339
320
    unsigned m;
340
320
    return !hb_unsigned_mul_overflows (a, b, &m) &&
341
320
     this->check_range (base, m);
342
320
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::NumType<true, unsigned char, 1u> >(OT::NumType<true, unsigned char, 1u> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::ResourceRecord>(OT::ResourceRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::VarRegionAxis>(OT::VarRegionAxis const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::AxisRecord>(OT::AxisRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::InstanceRecord>(OT::InstanceRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> >(OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >(OT::HBFixed<OT::NumType<true, short, 2u>, 14u> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::NumType<true, unsigned int, 4u> >(OT::NumType<true, unsigned int, 4u> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<unsigned char>(unsigned char const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::UnsizedArrayOf<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> > >(OT::UnsizedArrayOf<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> > const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::LookupRecord>(OT::LookupRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::NumType<true, unsigned short, 2u> >(OT::NumType<true, unsigned short, 2u> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> const*, unsigned int, unsigned int) const
Line
Count
Source
338
293
  {
339
293
    unsigned m;
340
293
    return !hb_unsigned_mul_overflows (a, b, &m) &&
341
293
     this->check_range (base, m);
342
293
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairValueRecord<OT::Layout::SmallTypes> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_range<void>(void const*, unsigned int, unsigned int) const
Line
Count
Source
338
27
  {
339
27
    unsigned m;
340
27
    return !hb_unsigned_mul_overflows (a, b, &m) &&
341
27
     this->check_range (base, m);
342
27
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::NumType<true, short, 2u> >(OT::NumType<true, short, 2u> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::Format1Entry<true>::EntryData> >(AAT::Entry<AAT::Format1Entry<true>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader>::EntryData> >(AAT::Entry<AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<void> >(AAT::Entry<void> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::NameRecord>(OT::NameRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::Offset<OT::NumType<true, unsigned int, 4u>, true> >(OT::Offset<OT::NumType<true, unsigned int, 4u>, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::Offset<OT::NumType<true, unsigned short, 2u>, true> >(OT::Offset<OT::NumType<true, unsigned short, 2u>, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::IndexSubtableRecord>(OT::IndexSubtableRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::Index>(OT::Index const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::BaseGlyphRecord>(OT::BaseGlyphRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::LayerRecord>(OT::LayerRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::SBIXGlyph, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SBIXGlyph, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Feature>(AAT::Feature const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::ContextualSubtable<AAT::ExtendedTypes>::EntryData> >(AAT::Entry<AAT::ContextualSubtable<AAT::ExtendedTypes>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::HBGlyphID16>(OT::HBGlyphID16 const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::LigatureEntry<true>::EntryData> >(AAT::Entry<AAT::LigatureEntry<true>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::InsertionSubtable<AAT::ExtendedTypes>::EntryData> >(AAT::Entry<AAT::InsertionSubtable<AAT::ExtendedTypes>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::ContextualSubtable<AAT::ObsoleteTypes>::EntryData> >(AAT::Entry<AAT::ContextualSubtable<AAT::ObsoleteTypes>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Entry<AAT::InsertionSubtable<AAT::ObsoleteTypes>::EntryData> >(AAT::Entry<AAT::InsertionSubtable<AAT::ObsoleteTypes>::EntryData> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::AxisValueRecord>(OT::AxisValueRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::StatAxisRecord>(OT::StatAxisRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::SettingName>(AAT::SettingName const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::FeatureName>(AAT::FeatureName const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::TrackTableEntry>(AAT::TrackTableEntry const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
343
344
  template <typename T>
345
  bool check_range (const T *base,
346
        unsigned int a,
347
        unsigned int b,
348
        unsigned int c) const
349
0
  {
350
0
    unsigned m;
351
0
    return !hb_unsigned_mul_overflows (a, b, &m) &&
352
0
     this->check_range (base, m, c);
353
0
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::NumType<true, unsigned char, 1u> >(OT::NumType<true, unsigned char, 1u> const*, unsigned int, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::NumType<true, short, 2u> >(OT::NumType<true, short, 2u> const*, unsigned int, unsigned int, unsigned int) const
354
355
  template <typename T>
356
  HB_ALWAYS_INLINE
357
  bool check_array_sized (const T *base, unsigned int len, unsigned len_size) const
358
2.66M
  {
359
2.66M
    if (len_size >= 4)
360
66
    {
361
66
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
66
    }
364
2.66M
    else
365
2.66M
      len = len * hb_static_size (T);
366
2.66M
    return this->check_range (base, len);
367
2.66M
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::TableRecord>(OT::TableRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::OpenTypeOffsetTable, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::OpenTypeOffsetTable, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::ResourceTypeRecord>(OT::ResourceTypeRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::NumType<true, unsigned char, 1u> >(OT::NumType<true, unsigned char, 1u> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::EncodingRecord>(OT::EncodingRecord const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::HBGlyphID16>(OT::HBGlyphID16 const*, unsigned int, unsigned int) const
Line
Count
Source
358
2.61M
  {
359
2.61M
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
2.61M
    else
365
2.61M
      len = len * hb_static_size (T);
366
2.61M
    return this->check_range (base, len);
367
2.61M
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::CmapSubtableLongGroup>(OT::CmapSubtableLongGroup const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::VariationSelectorRecord>(OT::VariationSelectorRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::UnicodeValueRange>(OT::UnicodeValueRange const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::UVSMapping>(OT::UVSMapping const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const*, unsigned int, unsigned int) const
Line
Count
Source
358
4.35k
  {
359
4.35k
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
4.35k
    else
365
4.35k
      len = len * hb_static_size (T);
366
4.35k
    return this->check_range (base, len);
367
4.35k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::NumType<true, unsigned int, 3u> >(OT::NumType<true, unsigned int, 3u> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::Index>(OT::Index const*, unsigned int, unsigned int) const
Line
Count
Source
358
10.4k
  {
359
10.4k
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
10.4k
    else
365
10.4k
      len = len * hb_static_size (T);
366
10.4k
    return this->check_range (base, len);
367
10.4k
  }
bool hb_sanitize_context_t::check_array_sized<OT::Record<OT::LangSys> >(OT::Record<OT::LangSys> const*, unsigned int, unsigned int) const
Line
Count
Source
358
4.10k
  {
359
4.10k
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
4.10k
    else
365
4.10k
      len = len * hb_static_size (T);
366
4.10k
    return this->check_range (base, len);
367
4.10k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::SparseVariationRegion, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SparseVariationRegion, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::SparseVarRegionAxis>(OT::SparseVarRegionAxis const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::NumType<true, unsigned short, 2u> >(OT::NumType<true, unsigned short, 2u> const*, unsigned int, unsigned int) const
Line
Count
Source
358
115
  {
359
115
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
115
    else
365
115
      len = len * hb_static_size (T);
366
115
    return this->check_range (base, len);
367
115
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::VarData, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::VarData, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::MultiVarData, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::MultiVarData, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 3u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::FeatureTableSubstitutionRecord>(OT::FeatureTableSubstitutionRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::FeatureVariationRecord>(OT::FeatureVariationRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::AxisValueMap>(OT::AxisValueMap const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<CFF::FDSelect3_4_Range<OT::NumType<true, unsigned short, 2u>, OT::NumType<true, unsigned char, 1u> > >(CFF::FDSelect3_4_Range<OT::NumType<true, unsigned short, 2u>, OT::NumType<true, unsigned char, 1u> > const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<CFF::Encoding1_Range>(CFF::Encoding1_Range const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<CFF::SuppEncoding>(CFF::SuppEncoding const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<CFF::FDSelect3_4_Range<OT::NumType<true, unsigned int, 4u>, OT::NumType<true, unsigned short, 2u> > >(CFF::FDSelect3_4_Range<OT::NumType<true, unsigned int, 4u>, OT::NumType<true, unsigned short, 2u> > const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<AAT::FTStringRange>(AAT::FTStringRange const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
358
21
  {
359
21
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
21
    else
365
21
      len = len * hb_static_size (T);
366
21
    return this->check_range (base, len);
367
21
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::LookupRecord>(OT::LookupRecord const*, unsigned int, unsigned int) const
Line
Count
Source
358
240
  {
359
240
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
240
    else
365
240
      len = len * hb_static_size (T);
366
240
    return this->check_range (base, len);
367
240
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::Layout::GPOS_impl::EntryExitRecord>(OT::Layout::GPOS_impl::EntryExitRecord const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::Layout::GPOS_impl::MarkRecord>(OT::Layout::GPOS_impl::MarkRecord const*, unsigned int, unsigned int) const
Line
Count
Source
358
209
  {
359
209
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
209
    else
365
209
      len = len * hb_static_size (T);
366
209
    return this->check_range (base, len);
367
209
  }
bool hb_sanitize_context_t::check_array_sized<OT::Offset<OT::NumType<true, unsigned short, 2u>, true> >(OT::Offset<OT::NumType<true, unsigned short, 2u>, true> const*, unsigned int, unsigned int) const
Line
Count
Source
358
6.13k
  {
359
6.13k
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
6.13k
    else
365
6.13k
      len = len * hb_static_size (T);
366
6.13k
    return this->check_range (base, len);
367
6.13k
  }
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
358
155
  {
359
155
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
155
    else
365
155
      len = len * hb_static_size (T);
366
155
    return this->check_range (base, len);
367
155
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
358
32
  {
359
32
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
32
    else
365
32
      len = len * hb_static_size (T);
366
32
    return this->check_range (base, len);
367
32
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
358
93
  {
359
93
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
93
    else
365
93
      len = len * hb_static_size (T);
366
93
    return this->check_range (base, len);
367
93
  }
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
358
144
  {
359
144
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
144
    else
365
144
      len = len * hb_static_size (T);
366
144
    return this->check_range (base, len);
367
144
  }
bool hb_sanitize_context_t::check_array_sized<OT::Record<OT::Script> >(OT::Record<OT::Script> const*, unsigned int, unsigned int) const
Line
Count
Source
358
3.79k
  {
359
3.79k
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
3.79k
    else
365
3.79k
      len = len * hb_static_size (T);
366
3.79k
    return this->check_range (base, len);
367
3.79k
  }
bool hb_sanitize_context_t::check_array_sized<OT::Record<OT::Feature> >(OT::Record<OT::Feature> const*, unsigned int, unsigned int) const
Line
Count
Source
358
3.79k
  {
359
3.79k
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
3.79k
    else
365
3.79k
      len = len * hb_static_size (T);
366
3.79k
    return this->check_range (base, len);
367
3.79k
  }
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
358
1.89k
  {
359
1.89k
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
1.89k
    else
365
1.89k
      len = len * hb_static_size (T);
366
1.89k
    return this->check_range (base, len);
367
1.89k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<AAT::Anchor>(AAT::Anchor const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<AAT::KernPair>(AAT::KernPair const*, unsigned int, unsigned int) const
Line
Count
Source
358
66
  {
359
66
    if (len_size >= 4)
360
66
    {
361
66
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
66
    }
364
0
    else
365
0
      len = len * hb_static_size (T);
366
66
    return this->check_range (base, len);
367
66
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::DataMap>(OT::DataMap const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::BitmapSizeTable>(OT::BitmapSizeTable const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::NoVariable<OT::ColorStop> >(OT::NoVariable<OT::ColorStop> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::Variable<OT::ColorStop> >(OT::Variable<OT::ColorStop> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::ClipRecord>(OT::ClipRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::BaseGlyphPaintRecord>(OT::BaseGlyphPaintRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::SBIXStrike, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SBIXStrike, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::SVGDocumentIndexEntry>(OT::SVGDocumentIndexEntry const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
358
5.98k
  {
359
5.98k
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
5.98k
    else
365
5.98k
      len = len * hb_static_size (T);
366
5.98k
    return this->check_range (base, len);
367
5.98k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
358
3.76k
  {
359
3.76k
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
3.76k
    else
365
3.76k
      len = len * hb_static_size (T);
366
3.76k
    return this->check_range (base, len);
367
3.76k
  }
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
358
102
  {
359
102
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
102
    else
365
102
      len = len * hb_static_size (T);
366
102
    return this->check_range (base, len);
367
102
  }
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
358
255
  {
359
255
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
255
    else
365
255
      len = len * hb_static_size (T);
366
255
    return this->check_range (base, len);
367
255
  }
bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Line
Count
Source
358
1.89k
  {
359
1.89k
    if (len_size >= 4)
360
0
    {
361
0
      if (unlikely (hb_unsigned_mul_overflows (len, hb_static_size (T), &len)))
362
0
  return false;
363
0
    }
364
1.89k
    else
365
1.89k
      len = len * hb_static_size (T);
366
1.89k
    return this->check_range (base, len);
367
1.89k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::VertOriginMetric>(OT::VertOriginMetric const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::GaspRange>(OT::GaspRange const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<AAT::WidthDeltaPair>(AAT::WidthDeltaPair const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::Tag>(OT::Tag const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::BaseScriptRecord>(OT::BaseScriptRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::BaseCoord, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseCoord, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::FeatMinMaxRecord>(OT::FeatMinMaxRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::BaseLangSysRecord>(OT::BaseLangSysRecord const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::OffsetTo<OT::JstfPriority, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::JstfPriority, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::Record<OT::JstfLangSys> >(OT::Record<OT::JstfLangSys> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array_sized<OT::Record<OT::JstfScript> >(OT::Record<OT::JstfScript> const*, unsigned int, unsigned int) const
368
369
  template <typename T>
370
  bool check_array (const T *base, unsigned int len) const
371
293
  {
372
293
    return this->check_range (base, len, hb_static_size (T));
373
293
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NumType<true, unsigned char, 1u> >(OT::NumType<true, unsigned char, 1u> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::ResourceRecord>(OT::ResourceRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::VarRegionAxis>(OT::VarRegionAxis const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::AxisRecord>(OT::AxisRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> >(OT::HBFixed<OT::NumType<true, int, 4u>, 16u> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >(OT::HBFixed<OT::NumType<true, short, 2u>, 14u> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NumType<true, unsigned int, 4u> >(OT::NumType<true, unsigned int, 4u> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NumType<true, unsigned short, 2u> >(OT::NumType<true, unsigned short, 2u> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<unsigned char>(unsigned char const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::UnsizedArrayOf<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> > >(OT::UnsizedArrayOf<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> > const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::LookupRecord>(OT::LookupRecord const*, unsigned int) const
bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> const*, unsigned int) const
Line
Count
Source
371
293
  {
372
293
    return this->check_range (base, len, hb_static_size (T));
373
293
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NumType<true, short, 2u> >(OT::NumType<true, short, 2u> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::Format1Entry<true>::EntryData> >(AAT::Entry<AAT::Format1Entry<true>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader>::EntryData> >(AAT::Entry<AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<void> >(AAT::Entry<void> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NameRecord>(OT::NameRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::Offset<OT::NumType<true, unsigned int, 4u>, true> >(OT::Offset<OT::NumType<true, unsigned int, 4u>, true> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::Offset<OT::NumType<true, unsigned short, 2u>, true> >(OT::Offset<OT::NumType<true, unsigned short, 2u>, true> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::IndexSubtableRecord>(OT::IndexSubtableRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::Index>(OT::Index const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::BaseGlyphRecord>(OT::BaseGlyphRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::LayerRecord>(OT::LayerRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::SBIXGlyph, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SBIXGlyph, OT::NumType<true, unsigned int, 4u>, void, true> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Feature>(AAT::Feature const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::ContextualSubtable<AAT::ExtendedTypes>::EntryData> >(AAT::Entry<AAT::ContextualSubtable<AAT::ExtendedTypes>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::HBGlyphID16>(OT::HBGlyphID16 const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::LigatureEntry<true>::EntryData> >(AAT::Entry<AAT::LigatureEntry<true>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::InsertionSubtable<AAT::ExtendedTypes>::EntryData> >(AAT::Entry<AAT::InsertionSubtable<AAT::ExtendedTypes>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::ContextualSubtable<AAT::ObsoleteTypes>::EntryData> >(AAT::Entry<AAT::ContextualSubtable<AAT::ObsoleteTypes>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Entry<AAT::InsertionSubtable<AAT::ObsoleteTypes>::EntryData> >(AAT::Entry<AAT::InsertionSubtable<AAT::ObsoleteTypes>::EntryData> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::AxisValueRecord>(OT::AxisValueRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::StatAxisRecord>(OT::StatAxisRecord const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::SettingName>(AAT::SettingName const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::FeatureName>(AAT::FeatureName const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::TrackTableEntry>(AAT::TrackTableEntry const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int) const
374
375
  template <typename T>
376
  bool check_array (const T *base,
377
        unsigned int a,
378
        unsigned int b) const
379
0
  {
380
0
    return this->check_range (base, hb_static_size (T), a, b);
381
0
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NumType<true, unsigned char, 1u> >(OT::NumType<true, unsigned char, 1u> const*, unsigned int, unsigned int) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NumType<true, short, 2u> >(OT::NumType<true, short, 2u> const*, unsigned int, unsigned int) const
382
383
  bool check_start_recursion (int max_depth)
384
0
  {
385
0
    if (unlikely (recursion_depth >= max_depth)) return false;
386
0
    return ++recursion_depth;
387
0
  }
388
389
  bool end_recursion (bool result)
390
0
  {
391
0
    recursion_depth--;
392
0
    return result;
393
0
  }
394
395
  template <typename Type>
396
#ifndef HB_OPTIMIZE_SIZE
397
  HB_ALWAYS_INLINE
398
#endif
399
  bool check_struct (const Type *obj) const
400
5.38M
  {
401
5.38M
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
5.38M
    else
404
5.38M
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
5.38M
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::LONGDATETIME>(OT::LONGDATETIME const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VarSizedBinSearchHeader>(OT::VarSizedBinSearchHeader const*) const
bool hb_sanitize_context_t::check_struct<OT::NumType<true, unsigned int, 4u> >(OT::NumType<true, unsigned int, 4u> const*) const
Line
Count
Source
400
21
  {
401
21
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
21
    else
404
21
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
21
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OpenTypeOffsetTable>(OT::OpenTypeOffsetTable const*) const
bool hb_sanitize_context_t::check_struct<OT::BinSearchHeader<OT::NumType<true, unsigned short, 2u> > >(OT::BinSearchHeader<OT::NumType<true, unsigned short, 2u> > const*) const
Line
Count
Source
400
66
  {
401
66
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
66
    else
404
66
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
66
  }
bool hb_sanitize_context_t::check_struct<OT::FixedVersion<OT::NumType<true, unsigned short, 2u> > >(OT::FixedVersion<OT::NumType<true, unsigned short, 2u> > const*) const
Line
Count
Source
400
3.83k
  {
401
3.83k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
3.83k
    else
404
3.83k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
3.83k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::OpenTypeOffsetTable, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::OpenTypeOffsetTable, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ResourceForkHeader>(OT::ResourceForkHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ResourceMap, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::ResourceMap, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ResourceMap>(OT::ResourceMap const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ArrayOfM1<OT::ResourceTypeRecord, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::ArrayOfM1<OT::ResourceTypeRecord, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
bool hb_sanitize_context_t::check_struct<OT::NumType<true, unsigned short, 2u> >(OT::NumType<true, unsigned short, 2u> const*) const
Line
Count
Source
400
2.68M
  {
401
2.68M
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
2.68M
    else
404
2.68M
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
2.68M
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ResourceTypeRecord>(OT::ResourceTypeRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::ResourceRecord>, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::ResourceRecord>, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ResourceRecord>(OT::ResourceRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ArrayOf<OT::NumType<true, unsigned char, 1u>, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 3u>, void, false> >(OT::OffsetTo<OT::ArrayOf<OT::NumType<true, unsigned char, 1u>, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 3u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::cmap>(OT::cmap const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::EncodingRecord>(OT::EncodingRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::CmapSubtable, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::CmapSubtable, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableFormat0>(OT::CmapSubtableFormat0 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableFormat4>(OT::CmapSubtableFormat4 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableTrimmed<OT::NumType<true, unsigned short, 2u> > >(OT::CmapSubtableTrimmed<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableTrimmed<OT::NumType<true, unsigned int, 4u> > >(OT::CmapSubtableTrimmed<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableLongSegmented<OT::CmapSubtableFormat12> >(OT::CmapSubtableLongSegmented<OT::CmapSubtableFormat12> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableLongSegmented<OT::CmapSubtableFormat13> >(OT::CmapSubtableLongSegmented<OT::CmapSubtableFormat13> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableFormat14>(OT::CmapSubtableFormat14 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VariationSelectorRecord>(OT::VariationSelectorRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::DefaultUVS, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::DefaultUVS, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::NonDefaultUVS, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::NonDefaultUVS, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OS2>(OT::OS2 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OS2V1Tail>(OT::OS2V1Tail const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OS2V2Tail>(OT::OS2V2Tail const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OS2V5Tail>(OT::OS2V5Tail const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::head>(OT::head const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::TableRecord>(OT::TableRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::FeatureParamsSize>(OT::FeatureParamsSize const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::FeatureParamsStylisticSet>(OT::FeatureParamsStylisticSet const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::FeatureParamsCharacterVariants>(OT::FeatureParamsCharacterVariants const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NumType<true, unsigned int, 3u> >(OT::NumType<true, unsigned int, 3u> const*) const
bool hb_sanitize_context_t::check_struct<OT::Feature>(OT::Feature const*) const
Line
Count
Source
400
5.98k
  {
401
5.98k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
5.98k
    else
404
5.98k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
5.98k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::FeatureParams, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::FeatureParams, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::LangSys>(OT::LangSys const*) const
Line
Count
Source
400
4.44k
  {
401
4.44k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
4.44k
    else
404
4.44k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
4.44k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::LangSys, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::LangSys, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
4.44k
  {
401
4.44k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
4.44k
    else
404
4.44k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
4.44k
  }
bool hb_sanitize_context_t::check_struct<OT::Record<OT::LangSys> >(OT::Record<OT::LangSys> const*) const
Line
Count
Source
400
339
  {
401
339
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
339
    else
404
339
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
339
  }
bool hb_sanitize_context_t::check_struct<OT::ClassDefFormat1_3<OT::Layout::SmallTypes> >(OT::ClassDefFormat1_3<OT::Layout::SmallTypes> const*) const
Line
Count
Source
400
115
  {
401
115
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
115
    else
404
115
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
115
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VarRegionAxis>(OT::VarRegionAxis const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::SparseVarRegionAxis>(OT::SparseVarRegionAxis const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VarRegionList>(OT::VarRegionList const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::SparseVariationRegion, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SparseVariationRegion, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VarData>(OT::VarData const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NumType<true, unsigned char, 1u> >(OT::NumType<true, unsigned char, 1u> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CFFIndex<OT::NumType<true, unsigned int, 4u> > >(OT::CFFIndex<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ItemVariationStore>(OT::ItemVariationStore const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::VarRegionList, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::VarRegionList, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::VarData, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::VarData, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MultiItemVariationStore>(OT::MultiItemVariationStore const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::SparseVarRegionList, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SparseVarRegionList, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MultiVarData, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::MultiVarData, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::DeltaSetIndexMapFormat01<OT::NumType<true, unsigned short, 2u> > >(OT::DeltaSetIndexMapFormat01<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::DeltaSetIndexMapFormat01<OT::NumType<true, unsigned int, 4u> > >(OT::DeltaSetIndexMapFormat01<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ConditionAxisRange>(OT::ConditionAxisRange const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ConditionValue>(OT::ConditionValue const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::FeatureTableSubstitutionRecord>(OT::FeatureTableSubstitutionRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Feature, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Feature, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ConditionSet, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::ConditionSet, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::FeatureTableSubstitution, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::FeatureTableSubstitution, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::HintingDevice>(OT::HintingDevice const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VariationDevice>(OT::VariationDevice const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VariationValueRecord>(OT::VariationValueRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MVAR>(OT::MVAR const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ItemVariationStore, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ItemVariationStore, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableLongGroup>(OT::CmapSubtableLongGroup const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::UnicodeValueRange>(OT::UnicodeValueRange const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::UVSMapping>(OT::UVSMapping const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::fvar>(OT::fvar const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::DeltaSetIndexMap, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::DeltaSetIndexMap, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ItemVariationStore, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::ItemVariationStore, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValueMap>(OT::AxisValueMap const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::avar>(OT::avar const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::InstanceRecord>(OT::InstanceRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisRecord>(OT::AxisRecord const*) const
bool hb_sanitize_context_t::check_struct<OT::maxpV1Tail>(OT::maxpV1Tail const*) const
Line
Count
Source
400
1.89k
  {
401
1.89k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
1.89k
    else
404
1.89k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
1.89k
  }
bool hb_sanitize_context_t::check_struct<OT::maxp>(OT::maxp const*) const
Line
Count
Source
400
1.89k
  {
401
1.89k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
1.89k
    else
404
1.89k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
1.89k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::_hea<OT::hhea> >(OT::_hea<OT::hhea> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::_hea<OT::vhea> >(OT::_hea<OT::vhea> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::gvar_GVAR<OT::NumType<true, unsigned short, 2u>, 1735811442u> >(OT::gvar_GVAR<OT::NumType<true, unsigned short, 2u>, 1735811442u> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NumType<true, short, 2u> >(OT::NumType<true, short, 2u> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::gvar_GVAR<OT::NumType<true, unsigned int, 3u>, 1196835154u> >(OT::gvar_GVAR<OT::NumType<true, unsigned int, 3u>, 1196835154u> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::FDSelect0>(CFF::FDSelect0 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::FDSelect>(CFF::FDSelect const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::FDSelect3_4<OT::NumType<true, unsigned short, 2u>, OT::NumType<true, unsigned char, 1u> > >(CFF::FDSelect3_4<OT::NumType<true, unsigned short, 2u>, OT::NumType<true, unsigned char, 1u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::FDSelect3_4_Range<OT::NumType<true, unsigned short, 2u>, OT::NumType<true, unsigned char, 1u> > >(CFF::FDSelect3_4_Range<OT::NumType<true, unsigned short, 2u>, OT::NumType<true, unsigned char, 1u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Encoding1_Range>(CFF::Encoding1_Range const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::SuppEncoding>(CFF::SuppEncoding const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Encoding>(CFF::Encoding const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Charset>(CFF::Charset const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Charset_Range<OT::NumType<true, unsigned char, 1u> > >(CFF::Charset_Range<OT::NumType<true, unsigned char, 1u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Charset_Range<OT::NumType<true, unsigned short, 2u> > >(CFF::Charset_Range<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::cff1>(OT::cff1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CFFIndex<OT::NumType<true, unsigned short, 2u> > >(OT::CFFIndex<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::CFF2FDSelect>(CFF::CFF2FDSelect const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::FDSelect3_4<OT::NumType<true, unsigned int, 4u>, OT::NumType<true, unsigned short, 2u> > >(CFF::FDSelect3_4<OT::NumType<true, unsigned int, 4u>, OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::FDSelect3_4_Range<OT::NumType<true, unsigned int, 4u>, OT::NumType<true, unsigned short, 2u> > >(CFF::FDSelect3_4_Range<OT::NumType<true, unsigned int, 4u>, OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::CFF2ItemVariationStore>(CFF::CFF2ItemVariationStore const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::cff2>(OT::cff2 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::FTStringRange>(AAT::FTStringRange const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ltag>(AAT::ltag const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
6.50k
  {
401
6.50k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
6.50k
    else
404
6.50k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
6.50k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CaretValueFormat1>(OT::CaretValueFormat1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CaretValueFormat2>(OT::CaretValueFormat2 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CaretValueFormat3>(OT::CaretValueFormat3 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Device, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Device, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ClassDef, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ClassDef, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
375
  {
401
375
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
375
    else
404
375
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
375
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::AttachList, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AttachList, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
21
  {
401
21
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
21
    else
404
21
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
21
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::LigCaretList, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::LigCaretList, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
21
  {
401
21
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
21
    else
404
21
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
21
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MarkGlyphSets, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MarkGlyphSets, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::Entry<void> >(AAT::Entry<void> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::LookupRecord>(OT::LookupRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ContextFormat3>(OT::ContextFormat3 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Device, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::ValueBase, true> >(OT::OffsetTo<OT::Device, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::ValueBase, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::SinglePosFormat1>(OT::Layout::GPOS_impl::SinglePosFormat1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::SinglePosFormat2>(OT::Layout::GPOS_impl::SinglePosFormat2 const*) const
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::AnchorFormat1>(OT::Layout::GPOS_impl::AnchorFormat1 const*) const
Line
Count
Source
400
3.52k
  {
401
3.52k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
3.52k
    else
404
3.52k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
3.52k
  }
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::AnchorFormat2>(OT::Layout::GPOS_impl::AnchorFormat2 const*) const
Line
Count
Source
400
47
  {
401
47
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
47
    else
404
47
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
47
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::AnchorFormat3>(OT::Layout::GPOS_impl::AnchorFormat3 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::CursivePosFormat1, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::CursivePosFormat1, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::AnchorMatrix>(OT::Layout::GPOS_impl::AnchorMatrix const*) const
Line
Count
Source
400
293
  {
401
293
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
293
    else
404
293
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
293
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::MarkRecord>(OT::Layout::GPOS_impl::MarkRecord const*) const
Line
Count
Source
400
3.57k
  {
401
3.57k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
3.57k
    else
404
3.57k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
3.57k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
3.57k
  {
401
3.57k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
3.57k
    else
404
3.57k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
3.57k
  }
bool hb_sanitize_context_t::check_struct<OT::Lookup>(OT::Lookup const*) const
Line
Count
Source
400
6.13k
  {
401
6.13k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
6.13k
    else
404
6.13k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
6.13k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
236
  {
401
236
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
236
    else
404
236
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
236
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairPosFormat1_3<OT::Layout::SmallTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes> const*) const
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::PairPosFormat2_4<OT::Layout::SmallTypes> const*) const
Line
Count
Source
400
27
  {
401
27
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
27
    else
404
27
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
27
  }
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkBasePosFormat1_2<OT::Layout::SmallTypes> const*) const
Line
Count
Source
400
126
  {
401
126
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
126
    else
404
126
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
126
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
209
  {
401
209
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
209
    else
404
209
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
209
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
293
  {
401
293
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
293
    else
404
293
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
293
  }
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkLigPosFormat1_2<OT::Layout::SmallTypes> const*) const
Line
Count
Source
400
32
  {
401
32
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
32
    else
404
32
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
32
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
32
  {
401
32
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
32
    else
404
32
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
32
  }
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes> >(OT::Layout::GPOS_impl::MarkMarkPosFormat1_2<OT::Layout::SmallTypes> const*) const
Line
Count
Source
400
51
  {
401
51
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
51
    else
404
51
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
51
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Rule<OT::Layout::SmallTypes> >(OT::Rule<OT::Layout::SmallTypes> const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
315
  {
401
315
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
315
    else
404
315
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
315
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
240
  {
401
240
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
240
    else
404
240
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
240
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> >(OT::ExtensionFormat1<OT::Layout::GPOS_impl::ExtensionPos> const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::RecordListOfScript, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::RecordListOfScript, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
3.79k
  {
401
3.79k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
3.79k
    else
404
3.79k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
3.79k
  }
bool hb_sanitize_context_t::check_struct<OT::Record<OT::Script> >(OT::Record<OT::Script> const*) const
Line
Count
Source
400
4.10k
  {
401
4.10k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
4.10k
    else
404
4.10k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
4.10k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Script, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Script, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
4.10k
  {
401
4.10k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
4.10k
    else
404
4.10k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
4.10k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::RecordListOf<OT::Feature>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::RecordListOf<OT::Feature>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
3.79k
  {
401
3.79k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
3.79k
    else
404
3.79k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
3.79k
  }
bool hb_sanitize_context_t::check_struct<OT::Record<OT::Feature> >(OT::Record<OT::Feature> const*) const
Line
Count
Source
400
5.98k
  {
401
5.98k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
5.98k
    else
404
5.98k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
5.98k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Feature, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Feature, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
5.98k
  {
401
5.98k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
5.98k
    else
404
5.98k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
5.98k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
1.89k
  {
401
1.89k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
1.89k
    else
404
1.89k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
1.89k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
155
  {
401
155
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
155
    else
404
155
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
155
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::FeatureVariations, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::FeatureVariations, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::Anchor>(AAT::Anchor const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ankr>(AAT::ankr const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::Lookup<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<AAT::Lookup<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > >(AAT::LookupSegmentSingle<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > >(AAT::LookupSegmentArray<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > >(AAT::LookupSingle<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > >(AAT::LookupFormat8<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KernPair>(AAT::KernPair const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableHeader>(AAT::KerxSubTableHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BinSearchHeader<OT::NumType<true, unsigned int, 4u> > >(OT::BinSearchHeader<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat1<AAT::KerxSubTableHeader> >(AAT::KerxSubTableFormat1<AAT::KerxSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ExtendedTypes, AAT::Format1Entry<true>::EntryData> >(AAT::StateTable<AAT::ExtendedTypes, AAT::Format1Entry<true>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::Lookup<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::NumType<true, unsigned short, 2u> > >(AAT::LookupSegmentSingle<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::NumType<true, unsigned short, 2u> > >(AAT::LookupSegmentArray<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::NumType<true, unsigned short, 2u> > >(AAT::LookupSingle<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::NumType<true, unsigned short, 2u> > >(AAT::LookupFormat8<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat10<OT::NumType<true, unsigned short, 2u> > >(AAT::LookupFormat10<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat2<AAT::KerxSubTableHeader> >(AAT::KerxSubTableFormat2<AAT::KerxSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader> >(AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ExtendedTypes, AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader>::EntryData> >(AAT::StateTable<AAT::ExtendedTypes, AAT::KerxSubTableFormat4<AAT::KerxSubTableHeader>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat6<AAT::KerxSubTableHeader> >(AAT::KerxSubTableFormat6<AAT::KerxSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::Lookup<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::NumType<true, unsigned int, 4u> > >(AAT::LookupSegmentSingle<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::NumType<true, unsigned int, 4u> > >(AAT::LookupSegmentArray<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::NumType<true, unsigned int, 4u> > >(AAT::LookupSingle<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::NumType<true, unsigned int, 4u> > >(AAT::LookupFormat8<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat10<OT::NumType<true, unsigned int, 4u> > >(AAT::LookupFormat10<OT::NumType<true, unsigned int, 4u> > const*) const
bool hb_sanitize_context_t::check_struct<OT::KernOTSubTableHeader>(OT::KernOTSubTableHeader const*) const
Line
Count
Source
400
132
  {
401
132
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
132
    else
404
132
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
132
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::KernAATSubTableHeader>(OT::KernAATSubTableHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat1<OT::KernOTSubTableHeader> >(AAT::KerxSubTableFormat1<OT::KernOTSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ObsoleteTypes, void> >(AAT::StateTable<AAT::ObsoleteTypes, void> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::ClassTable<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<AAT::ClassTable<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ClassTable<OT::NumType<true, unsigned char, 1u> > >(AAT::ClassTable<OT::NumType<true, unsigned char, 1u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat2<OT::KernOTSubTableHeader> >(AAT::KerxSubTableFormat2<OT::KernOTSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::ClassTable<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<AAT::ClassTable<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ClassTable<OT::NumType<true, unsigned short, 2u> > >(AAT::ClassTable<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::KernSubTableFormat3<OT::KernOTSubTableHeader> >(OT::KernSubTableFormat3<OT::KernOTSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat1<OT::KernAATSubTableHeader> >(AAT::KerxSubTableFormat1<OT::KernAATSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::KerxSubTableFormat2<OT::KernAATSubTableHeader> >(AAT::KerxSubTableFormat2<OT::KernAATSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::KernSubTableFormat3<OT::KernAATSubTableHeader> >(OT::KernSubTableFormat3<OT::KernAATSubTableHeader> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::DataMap>(OT::DataMap const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::meta>(OT::meta const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NameRecord>(OT::NameRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::name>(OT::name const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::post>(OT::post const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::SmallGlyphMetrics>(OT::SmallGlyphMetrics const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::SBitLineMetrics>(OT::SBitLineMetrics const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::IndexSubtableHeader>(OT::IndexSubtableHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::IndexSubtableFormat1Or3<OT::NumType<true, unsigned int, 4u> > >(OT::IndexSubtableFormat1Or3<OT::NumType<true, unsigned int, 4u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::IndexSubtableFormat1Or3<OT::NumType<true, unsigned short, 2u> > >(OT::IndexSubtableFormat1Or3<OT::NumType<true, unsigned short, 2u> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::IndexSubtableRecord>(OT::IndexSubtableRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::IndexSubtable, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::IndexSubtable, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BitmapSizeTable>(OT::BitmapSizeTable const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::IndexSubtableArray, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::IndexSubtableArray, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CBLC>(OT::CBLC const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CBDT>(OT::CBDT const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CPALV1Tail>(OT::CPALV1Tail const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CPAL>(OT::CPAL const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::LayerRecord>(OT::LayerRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseGlyphRecord>(OT::BaseGlyphRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ColorStop>(OT::ColorStop const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Affine2x3>(OT::Affine2x3 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintColrLayers>(OT::PaintColrLayers const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintSolid>(OT::PaintSolid const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintGlyph>(OT::PaintGlyph const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintSolid> >(OT::NoVariable<OT::PaintSolid> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintSolid> >(OT::Variable<OT::PaintSolid> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintLinearGradient<OT::NoVariable> > >(OT::NoVariable<OT::PaintLinearGradient<OT::NoVariable> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintLinearGradient<OT::NoVariable> >(OT::PaintLinearGradient<OT::NoVariable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ColorLine<OT::NoVariable>, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::ColorLine<OT::NoVariable>, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ColorLine<OT::NoVariable> >(OT::ColorLine<OT::NoVariable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::ColorStop> >(OT::NoVariable<OT::ColorStop> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintLinearGradient<OT::Variable> > >(OT::Variable<OT::PaintLinearGradient<OT::Variable> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintLinearGradient<OT::Variable> >(OT::PaintLinearGradient<OT::Variable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ColorLine<OT::Variable>, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::ColorLine<OT::Variable>, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ColorLine<OT::Variable> >(OT::ColorLine<OT::Variable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::ColorStop> >(OT::Variable<OT::ColorStop> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintRadialGradient<OT::NoVariable> > >(OT::NoVariable<OT::PaintRadialGradient<OT::NoVariable> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintRadialGradient<OT::NoVariable> >(OT::PaintRadialGradient<OT::NoVariable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintRadialGradient<OT::Variable> > >(OT::Variable<OT::PaintRadialGradient<OT::Variable> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintRadialGradient<OT::Variable> >(OT::PaintRadialGradient<OT::Variable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintSweepGradient<OT::NoVariable> > >(OT::NoVariable<OT::PaintSweepGradient<OT::NoVariable> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintSweepGradient<OT::NoVariable> >(OT::PaintSweepGradient<OT::NoVariable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintSweepGradient<OT::Variable> > >(OT::Variable<OT::PaintSweepGradient<OT::Variable> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintSweepGradient<OT::Variable> >(OT::PaintSweepGradient<OT::Variable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintTransform<OT::NoVariable> >(OT::PaintTransform<OT::NoVariable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::NoVariable<OT::Affine2x3>, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::NoVariable<OT::Affine2x3>, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::Affine2x3> >(OT::NoVariable<OT::Affine2x3> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintTransform<OT::Variable> >(OT::PaintTransform<OT::Variable> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Variable<OT::Affine2x3>, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::Variable<OT::Affine2x3>, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::Affine2x3> >(OT::Variable<OT::Affine2x3> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintTranslate> >(OT::NoVariable<OT::PaintTranslate> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintTranslate> >(OT::Variable<OT::PaintTranslate> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintScale> >(OT::NoVariable<OT::PaintScale> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintScale> >(OT::Variable<OT::PaintScale> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintScaleAroundCenter> >(OT::NoVariable<OT::PaintScaleAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintScaleAroundCenter> >(OT::Variable<OT::PaintScaleAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintScaleUniform> >(OT::NoVariable<OT::PaintScaleUniform> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintScaleUniform> >(OT::Variable<OT::PaintScaleUniform> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintScaleUniformAroundCenter> >(OT::NoVariable<OT::PaintScaleUniformAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintScaleUniformAroundCenter> >(OT::Variable<OT::PaintScaleUniformAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintRotate> >(OT::NoVariable<OT::PaintRotate> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintRotate> >(OT::Variable<OT::PaintRotate> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintRotateAroundCenter> >(OT::NoVariable<OT::PaintRotateAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintRotateAroundCenter> >(OT::Variable<OT::PaintRotateAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintSkew> >(OT::NoVariable<OT::PaintSkew> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintSkew> >(OT::Variable<OT::PaintSkew> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NoVariable<OT::PaintSkewAroundCenter> >(OT::NoVariable<OT::PaintSkewAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::PaintSkewAroundCenter> >(OT::Variable<OT::PaintSkewAroundCenter> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintColrGlyph>(OT::PaintColrGlyph const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintTranslate>(OT::PaintTranslate const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintScale>(OT::PaintScale const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintScaleAroundCenter>(OT::PaintScaleAroundCenter const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintScaleUniform>(OT::PaintScaleUniform const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintScaleUniformAroundCenter>(OT::PaintScaleUniformAroundCenter const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintRotate>(OT::PaintRotate const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintRotateAroundCenter>(OT::PaintRotateAroundCenter const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintSkew>(OT::PaintSkew const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintSkewAroundCenter>(OT::PaintSkewAroundCenter const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::PaintComposite>(OT::PaintComposite const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ClipBoxFormat1>(OT::ClipBoxFormat1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ClipRecord>(OT::ClipRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ClipBox, OT::NumType<true, unsigned int, 3u>, void, true> >(OT::OffsetTo<OT::ClipBox, OT::NumType<true, unsigned int, 3u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Variable<OT::ClipBoxFormat1> >(OT::Variable<OT::ClipBoxFormat1> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ClipList>(OT::ClipList const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseGlyphPaintRecord>(OT::BaseGlyphPaintRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::COLR>(OT::COLR const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::BaseGlyphList, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::BaseGlyphList, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::LayerList, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::LayerList, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ClipList, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::ClipList, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::SBIXStrike>(OT::SBIXStrike const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::sbix>(OT::sbix const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::SBIXStrike, OT::NumType<true, unsigned int, 4u>, void, true> >(OT::OffsetTo<OT::SBIXStrike, OT::NumType<true, unsigned int, 4u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::SVGDocumentIndexEntry>(OT::SVGDocumentIndexEntry const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::SVG>(OT::SVG const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
6.03k
  {
401
6.03k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
6.03k
    else
404
6.03k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
6.03k
  }
bool hb_sanitize_context_t::check_struct<OT::Layout::GSUB_impl::SingleSubstFormat1_3<OT::Layout::SmallTypes> >(OT::Layout::GSUB_impl::SingleSubstFormat1_3<OT::Layout::SmallTypes> const*) const
Line
Count
Source
400
75
  {
401
75
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
75
    else
404
75
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
75
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
2.61M
  {
401
2.61M
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
2.61M
    else
404
2.61M
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
2.61M
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
255
  {
401
255
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
255
    else
404
255
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
255
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
555
  {
401
555
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
555
    else
404
555
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
555
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> >(OT::ExtensionFormat1<OT::Layout::GSUB_impl::ExtensionSubst> const*) const
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
1.89k
  {
401
1.89k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
1.89k
    else
404
1.89k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
1.89k
  }
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Line
Count
Source
400
5.98k
  {
401
5.98k
    if (sizeof (uintptr_t) == sizeof (uint32_t))
402
0
      return likely (this->check_range_fast (obj, obj->min_size));
403
5.98k
    else
404
5.98k
      return likely (this->check_point ((const char *) obj + obj->min_size));
405
5.98k
  }
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::Feature>(AAT::Feature const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ExtendedTypes, void> >(AAT::StateTable<AAT::ExtendedTypes, void> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ExtendedTypes, AAT::ContextualSubtable<AAT::ExtendedTypes>::EntryData> >(AAT::StateTable<AAT::ExtendedTypes, AAT::ContextualSubtable<AAT::ExtendedTypes>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false>, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false>, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::HBGlyphID16> >(AAT::LookupSegmentSingle<OT::HBGlyphID16> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::HBGlyphID16> >(AAT::LookupSegmentArray<OT::HBGlyphID16> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::HBGlyphID16> >(AAT::LookupSingle<OT::HBGlyphID16> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::HBGlyphID16> >(AAT::LookupFormat8<OT::HBGlyphID16> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat10<OT::HBGlyphID16> >(AAT::LookupFormat10<OT::HBGlyphID16> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LigatureSubtable<AAT::ExtendedTypes> >(AAT::LigatureSubtable<AAT::ExtendedTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ExtendedTypes, AAT::LigatureEntry<true>::EntryData> >(AAT::StateTable<AAT::ExtendedTypes, AAT::LigatureEntry<true>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::InsertionSubtable<AAT::ExtendedTypes> >(AAT::InsertionSubtable<AAT::ExtendedTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ExtendedTypes, AAT::InsertionSubtable<AAT::ExtendedTypes>::EntryData> >(AAT::StateTable<AAT::ExtendedTypes, AAT::InsertionSubtable<AAT::ExtendedTypes>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ObsoleteTypes, AAT::ContextualSubtable<AAT::ObsoleteTypes>::EntryData> >(AAT::StateTable<AAT::ObsoleteTypes, AAT::ContextualSubtable<AAT::ObsoleteTypes>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false>, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false>, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LigatureSubtable<AAT::ObsoleteTypes> >(AAT::LigatureSubtable<AAT::ObsoleteTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::InsertionSubtable<AAT::ObsoleteTypes> >(AAT::InsertionSubtable<AAT::ObsoleteTypes> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::StateTable<AAT::ObsoleteTypes, AAT::InsertionSubtable<AAT::ObsoleteTypes>::EntryData> >(AAT::StateTable<AAT::ObsoleteTypes, AAT::InsertionSubtable<AAT::ObsoleteTypes>::EntryData> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VORG>(OT::VORG const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::StatAxisRecord>(OT::StatAxisRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValueFormat1>(OT::AxisValueFormat1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValueFormat2>(OT::AxisValueFormat2 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValueFormat3>(OT::AxisValueFormat3 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValueRecord>(OT::AxisValueRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValueFormat4>(OT::AxisValueFormat4 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::AxisValue>(OT::AxisValue const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::STAT>(OT::STAT const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::AxisValueOffsetArray, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::AxisValueOffsetArray, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::VertOriginMetric>(OT::VertOriginMetric const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::GaspRange>(OT::GaspRange const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::gasp>(OT::gasp const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::SettingName>(AAT::SettingName const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::FeatureName>(AAT::FeatureName const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::feat>(AAT::feat const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::NumType<true, int, 4u> >(OT::NumType<true, int, 4u> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::trak>(AAT::trak const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::TrackData, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::TrackData, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::TrackData>(AAT::TrackData const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> >, OT::NumType<true, unsigned int, 4u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::TrackTableEntry>(AAT::TrackTableEntry const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::BaselineTableFormat0Part>(AAT::BaselineTableFormat0Part const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::BaselineTableFormat1Part>(AAT::BaselineTableFormat1Part const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::BaselineTableFormat2Part>(AAT::BaselineTableFormat2Part const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::BaselineTableFormat3Part>(AAT::BaselineTableFormat3Part const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::bsln>(AAT::bsln const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ActionSubrecordHeader>(AAT::ActionSubrecordHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::DecompositionAction>(AAT::DecompositionAction const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::UnconditionalAddGlyphAction>(AAT::UnconditionalAddGlyphAction const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ConditionalAddGlyphAction>(AAT::ConditionalAddGlyphAction const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::DuctileGlyphAction>(AAT::DuctileGlyphAction const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::RepeatedAddGlyphAction>(AAT::RepeatedAddGlyphAction const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ActionSubrecord>(AAT::ActionSubrecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::PostcompensationActionChain>(AAT::PostcompensationActionChain const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::WidthDeltaPair>(AAT::WidthDeltaPair const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::JustificationCategory>(AAT::JustificationCategory const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::JustificationHeader>(AAT::JustificationHeader const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::JustificationCategory, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::JustificationCategory, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::PostcompensationActionChain, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::PostcompensationActionChain, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupSegmentSingle<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupSegmentArray<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupSingle<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupFormat8<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::just>(AAT::just const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::JustificationHeader, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::JustificationHeader, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BASE>(OT::BASE const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Axis, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::Axis, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Axis>(OT::Axis const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::SortedArrayOf<OT::Tag, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::SortedArrayOf<OT::Tag, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::BaseScriptList, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseScriptList, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseScriptList>(OT::BaseScriptList const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseScriptRecord>(OT::BaseScriptRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::BaseScript, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseScript, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseScript>(OT::BaseScript const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::BaseValues, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseValues, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseValues>(OT::BaseValues const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::BaseCoord, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::BaseCoord, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseCoordFormat1>(OT::BaseCoordFormat1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseCoordFormat2>(OT::BaseCoordFormat2 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseCoordFormat3>(OT::BaseCoordFormat3 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MinMax, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::MinMax, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::MinMax>(OT::MinMax const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::FeatMinMaxRecord>(OT::FeatMinMaxRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::BaseLangSysRecord>(OT::BaseLangSysRecord const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::JstfPriority>(OT::JstfPriority const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::IndexArray, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::IndexArray, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::JstfPriority, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::JstfPriority, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::SortedArrayOf<OT::HBGlyphID16, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::SortedArrayOf<OT::HBGlyphID16, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::JstfLangSys, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::JstfLangSys, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Record<OT::JstfLangSys> >(OT::Record<OT::JstfLangSys> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Record<OT::JstfScript> >(OT::Record<OT::JstfScript> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::JstfScript, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<OT::JstfScript, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::OpticalBounds>(AAT::OpticalBounds const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::opbdFormat0>(AAT::opbdFormat0 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> >(OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupSegmentSingle<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupSegmentArray<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> >, OT::NumType<true, unsigned short, 2u>, void, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> >, OT::NumType<true, unsigned short, 2u>, void, false> const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupSingle<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > >(AAT::LookupFormat8<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> > const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::opbdFormat1>(AAT::opbdFormat1 const*) const
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::opbd>(AAT::opbd const*) const
406
407
  bool may_edit (const void *base, unsigned int len)
408
0
  {
409
0
    if (this->edit_count >= HB_SANITIZE_MAX_EDITS)
410
0
      return false;
411
412
0
    const char *p = (const char *) base;
413
0
    this->edit_count++;
414
415
0
    DEBUG_MSG_LEVEL (SANITIZE, p, this->debug_depth+1, 0,
416
0
       "may_edit(%u) [%p..%p] (%u bytes) in [%p..%p] -> %s",
417
0
       this->edit_count,
418
0
       p, p + len, len,
419
0
       this->start, this->end,
420
0
       this->writable ? "GRANTED" : "DENIED");
421
422
0
    return this->writable;
423
0
  }
424
425
  template <typename Type, typename ValueType>
426
  bool try_set (const Type *obj, const ValueType &v)
427
0
  {
428
0
    if (this->may_edit (obj, hb_static_size (Type)))
429
0
    {
430
0
      * const_cast<Type *> (obj) = v;
431
0
      return true;
432
0
    }
433
0
    return false;
434
0
  }
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::OpenTypeOffsetTable, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::OpenTypeOffsetTable, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::NumType<true, unsigned short, 2u>, unsigned short>(OT::NumType<true, unsigned short, 2u> const*, unsigned short const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::DefaultUVS, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::DefaultUVS, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::NonDefaultUVS, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::NonDefaultUVS, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::CmapSubtable, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::CmapSubtable, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ArrayOf<OT::NumType<true, unsigned char, 1u>, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 3u>, void, false>, int>(OT::OffsetTo<OT::ArrayOf<OT::NumType<true, unsigned char, 1u>, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 3u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::ResourceRecord>, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::ResourceRecord>, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ArrayOfM1<OT::ResourceTypeRecord, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<OT::ArrayOfM1<OT::ResourceTypeRecord, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ResourceMap, OT::NumType<true, unsigned int, 4u>, void, false>, int>(OT::OffsetTo<OT::ResourceMap, OT::NumType<true, unsigned int, 4u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::FeatureParams, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::FeatureParams, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::FeatureParams, OT::NumType<true, unsigned short, 2u>, void, true>, unsigned int>(OT::OffsetTo<OT::FeatureParams, OT::NumType<true, unsigned short, 2u>, void, true> const*, unsigned int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::LangSys, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::LangSys, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::SparseVariationRegion, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::SparseVariationRegion, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::VarRegionList, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::VarRegionList, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::VarData, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::VarData, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::SparseVarRegionList, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::SparseVarRegionList, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::MultiVarData, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::MultiVarData, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 3u>, void, true>, int>(OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 3u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::Condition, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Feature, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::Feature, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ConditionSet, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::ConditionSet, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::FeatureTableSubstitution, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::FeatureTableSubstitution, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ItemVariationStore, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::ItemVariationStore, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::DeltaSetIndexMap, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::DeltaSetIndexMap, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ItemVariationStore, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::ItemVariationStore, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >, OT::NumType<true, unsigned int, 4u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::NumType<true, short, 2u>, 14u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::AttachPoint, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Device, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Device, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::CaretValue, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::LigGlyph, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::Layout::Common::Coverage, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ClassDef, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::ClassDef, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::AttachList, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::AttachList, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::LigCaretList, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::LigCaretList, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::MarkGlyphSets, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::MarkGlyphSets, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Device, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::ValueBase, true>, int>(OT::OffsetTo<OT::Device, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::ValueBase, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::CursivePosFormat1, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::CursivePosFormat1, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, OT::Layout::GPOS_impl::AnchorMatrix, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Script, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Script, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::RecordListOfScript, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::RecordListOfScript, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Feature, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Feature, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::RecordListOf<OT::Feature>, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::RecordListOf<OT::Feature>, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::FeatureVariations, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::FeatureVariations, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::Lookup<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<AAT::Lookup<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> >, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::Lookup<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned int, 4u>, void, false>, int>(OT::OffsetTo<AAT::Lookup<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::Lookup<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 4u>, void, false>, int>(OT::OffsetTo<AAT::Lookup<OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::ClassTable<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<AAT::ClassTable<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::ClassTable<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<AAT::ClassTable<OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, unsigned char, 1u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::IndexSubtable, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::IndexSubtable, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::IndexSubtableArray, OT::NumType<true, unsigned int, 4u>, void, false>, int>(OT::OffsetTo<OT::IndexSubtableArray, OT::NumType<true, unsigned int, 4u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ColorLine<OT::NoVariable>, OT::NumType<true, unsigned int, 3u>, void, true>, int>(OT::OffsetTo<OT::ColorLine<OT::NoVariable>, OT::NumType<true, unsigned int, 3u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ColorLine<OT::Variable>, OT::NumType<true, unsigned int, 3u>, void, true>, int>(OT::OffsetTo<OT::ColorLine<OT::Variable>, OT::NumType<true, unsigned int, 3u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::NoVariable<OT::Affine2x3>, OT::NumType<true, unsigned int, 3u>, void, true>, int>(OT::OffsetTo<OT::NoVariable<OT::Affine2x3>, OT::NumType<true, unsigned int, 3u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Variable<OT::Affine2x3>, OT::NumType<true, unsigned int, 3u>, void, true>, int>(OT::OffsetTo<OT::Variable<OT::Affine2x3>, OT::NumType<true, unsigned int, 3u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 3u>, void, true>, int>(OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 3u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ClipBox, OT::NumType<true, unsigned int, 3u>, void, true>, int>(OT::OffsetTo<OT::ClipBox, OT::NumType<true, unsigned int, 3u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::Paint, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::BaseGlyphList, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::BaseGlyphList, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::LayerList, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::LayerList, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ClipList, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::ClipList, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::SBIXStrike, OT::NumType<true, unsigned int, 4u>, void, true>, int>(OT::OffsetTo<OT::SBIXStrike, OT::NumType<true, unsigned int, 4u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false>, int>(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false>, OT::NumType<true, unsigned int, 4u>, void, false>, int>(OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned int, 4u>, void, false>, OT::NumType<true, unsigned int, 4u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false>, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::NumType<true, unsigned short, 2u>, void, false>, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::NumType<true, unsigned int, 4u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::NumType<true, unsigned int, 4u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::AxisValue, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::AxisValueOffsetArray, OT::NumType<true, unsigned int, 4u>, void, false>, int>(OT::OffsetTo<OT::AxisValueOffsetArray, OT::NumType<true, unsigned int, 4u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::TrackData, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<AAT::TrackData, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::JustificationCategory, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<AAT::JustificationCategory, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::PostcompensationActionChain, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<AAT::PostcompensationActionChain, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> >, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::NumType<true, unsigned int, 4u> >, OT::NumType<true, unsigned short, 2u>, void, true> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::JustificationHeader, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<AAT::JustificationHeader, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::NumType<true, short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> >, OT::NumType<true, unsigned int, 4u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::NumType<true, int, 4u>, 16u> >, OT::NumType<true, unsigned int, 4u>, void, false> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::SortedArrayOf<OT::Tag, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::SortedArrayOf<OT::Tag, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::BaseCoord, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::BaseCoord, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::BaseValues, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::BaseValues, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::MinMax, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::MinMax, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::BaseScript, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::BaseScript, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::BaseScriptList, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::BaseScriptList, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Axis, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::Axis, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::IndexArray, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::IndexArray, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::JstfPriority, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::JstfPriority, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::SortedArrayOf<OT::HBGlyphID16, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::SortedArrayOf<OT::HBGlyphID16, OT::NumType<true, unsigned short, 2u> >, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::JstfLangSys, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::JstfLangSys, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::JstfScript, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<OT::JstfScript, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true>, int>(OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> const*, int const&)
Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> >, OT::NumType<true, unsigned short, 2u>, void, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<AAT::OpticalBounds, OT::NumType<true, unsigned short, 2u>, void, true> >, OT::NumType<true, unsigned short, 2u>, void, false> const*, int const&)
435
436
  template <typename Type>
437
  hb_blob_t *sanitize_blob (hb_blob_t *blob)
438
37.5k
  {
439
37.5k
    bool sane;
440
441
37.5k
    init (blob);
442
443
37.5k
  retry:
444
37.5k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
445
446
37.5k
    start_processing ();
447
448
37.5k
    if (unlikely (!start))
449
31.8k
    {
450
31.8k
      end_processing ();
451
31.8k
      return blob;
452
31.8k
    }
453
454
5.72k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
455
456
5.72k
    sane = t->sanitize (this);
457
5.72k
    if (sane)
458
5.72k
    {
459
5.72k
      if (edit_count)
460
0
      {
461
0
  DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count);
462
463
  /* sanitize again to ensure no toe-stepping */
464
0
  edit_count = 0;
465
0
  sane = t->sanitize (this);
466
0
  if (edit_count) {
467
0
    DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILING", edit_count);
468
0
    sane = false;
469
0
  }
470
0
      }
471
5.72k
    }
472
0
    else
473
0
    {
474
0
      if (edit_count && !writable)
475
0
      {
476
0
        unsigned length;
477
0
  start = hb_blob_get_data_writable (blob, &length);
478
0
  end = start + length;
479
480
0
  if (start)
481
0
  {
482
0
    writable = true;
483
    /* ok, we made it writable by relocating.  try again */
484
0
    DEBUG_MSG_FUNC (SANITIZE, start, "retry");
485
0
    goto retry;
486
0
  }
487
0
      }
488
0
    }
489
490
5.72k
    end_processing ();
491
492
5.72k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
493
5.72k
    if (sane)
494
5.72k
    {
495
5.72k
      hb_blob_make_immutable (blob);
496
5.72k
      return blob;
497
5.72k
    }
498
0
    else
499
0
    {
500
0
      hb_blob_destroy (blob);
501
0
      return hb_blob_get_empty ();
502
0
    }
503
5.72k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::OpenTypeFontFile>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::cmap>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::OS2>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::MVAR>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::fvar>(hb_blob_t*)
Line
Count
Source
438
10.2k
  {
439
10.2k
    bool sane;
440
441
10.2k
    init (blob);
442
443
10.2k
  retry:
444
10.2k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
445
446
10.2k
    start_processing ();
447
448
10.2k
    if (unlikely (!start))
449
10.2k
    {
450
10.2k
      end_processing ();
451
10.2k
      return blob;
452
10.2k
    }
453
454
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
455
456
0
    sane = t->sanitize (this);
457
0
    if (sane)
458
0
    {
459
0
      if (edit_count)
460
0
      {
461
0
  DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count);
462
463
  /* sanitize again to ensure no toe-stepping */
464
0
  edit_count = 0;
465
0
  sane = t->sanitize (this);
466
0
  if (edit_count) {
467
0
    DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILING", edit_count);
468
0
    sane = false;
469
0
  }
470
0
      }
471
0
    }
472
0
    else
473
0
    {
474
0
      if (edit_count && !writable)
475
0
      {
476
0
        unsigned length;
477
0
  start = hb_blob_get_data_writable (blob, &length);
478
0
  end = start + length;
479
480
0
  if (start)
481
0
  {
482
0
    writable = true;
483
    /* ok, we made it writable by relocating.  try again */
484
0
    DEBUG_MSG_FUNC (SANITIZE, start, "retry");
485
0
    goto retry;
486
0
  }
487
0
      }
488
0
    }
489
490
0
    end_processing ();
491
492
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
493
0
    if (sane)
494
0
    {
495
0
      hb_blob_make_immutable (blob);
496
0
      return blob;
497
0
    }
498
0
    else
499
0
    {
500
0
      hb_blob_destroy (blob);
501
0
      return hb_blob_get_empty ();
502
0
    }
503
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::hmtxvmtx<OT::hmtx, OT::hhea, OT::HVAR> >(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::HVAR>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::hhea>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::vhea>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::maxp>(hb_blob_t*)
Line
Count
Source
438
1.89k
  {
439
1.89k
    bool sane;
440
441
1.89k
    init (blob);
442
443
1.89k
  retry:
444
1.89k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
445
446
1.89k
    start_processing ();
447
448
1.89k
    if (unlikely (!start))
449
0
    {
450
0
      end_processing ();
451
0
      return blob;
452
0
    }
453
454
1.89k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
455
456
1.89k
    sane = t->sanitize (this);
457
1.89k
    if (sane)
458
1.89k
    {
459
1.89k
      if (edit_count)
460
0
      {
461
0
  DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count);
462
463
  /* sanitize again to ensure no toe-stepping */
464
0
  edit_count = 0;
465
0
  sane = t->sanitize (this);
466
0
  if (edit_count) {
467
0
    DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILING", edit_count);
468
0
    sane = false;
469
0
  }
470
0
      }
471
1.89k
    }
472
0
    else
473
0
    {
474
0
      if (edit_count && !writable)
475
0
      {
476
0
        unsigned length;
477
0
  start = hb_blob_get_data_writable (blob, &length);
478
0
  end = start + length;
479
480
0
  if (start)
481
0
  {
482
0
    writable = true;
483
    /* ok, we made it writable by relocating.  try again */
484
0
    DEBUG_MSG_FUNC (SANITIZE, start, "retry");
485
0
    goto retry;
486
0
  }
487
0
      }
488
0
    }
489
490
1.89k
    end_processing ();
491
492
1.89k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
493
1.89k
    if (sane)
494
1.89k
    {
495
1.89k
      hb_blob_make_immutable (blob);
496
1.89k
      return blob;
497
1.89k
    }
498
0
    else
499
0
    {
500
0
      hb_blob_destroy (blob);
501
0
      return hb_blob_get_empty ();
502
0
    }
503
1.89k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::hmtxvmtx<OT::vmtx, OT::vhea, OT::VVAR> >(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::VVAR>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::gvar_GVAR<OT::NumType<true, unsigned short, 2u>, 1735811442u> >(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::gvar_GVAR<OT::NumType<true, unsigned int, 3u>, 1196835154u> >(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::head>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::loca>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::glyf>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::cff1>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::cff2>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::GDEF>(hb_blob_t*)
Line
Count
Source
438
1.89k
  {
439
1.89k
    bool sane;
440
441
1.89k
    init (blob);
442
443
1.89k
  retry:
444
1.89k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
445
446
1.89k
    start_processing ();
447
448
1.89k
    if (unlikely (!start))
449
1.87k
    {
450
1.87k
      end_processing ();
451
1.87k
      return blob;
452
1.87k
    }
453
454
21
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
455
456
21
    sane = t->sanitize (this);
457
21
    if (sane)
458
21
    {
459
21
      if (edit_count)
460
0
      {
461
0
  DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count);
462
463
  /* sanitize again to ensure no toe-stepping */
464
0
  edit_count = 0;
465
0
  sane = t->sanitize (this);
466
0
  if (edit_count) {
467
0
    DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILING", edit_count);
468
0
    sane = false;
469
0
  }
470
0
      }
471
21
    }
472
0
    else
473
0
    {
474
0
      if (edit_count && !writable)
475
0
      {
476
0
        unsigned length;
477
0
  start = hb_blob_get_data_writable (blob, &length);
478
0
  end = start + length;
479
480
0
  if (start)
481
0
  {
482
0
    writable = true;
483
    /* ok, we made it writable by relocating.  try again */
484
0
    DEBUG_MSG_FUNC (SANITIZE, start, "retry");
485
0
    goto retry;
486
0
  }
487
0
      }
488
0
    }
489
490
21
    end_processing ();
491
492
21
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
493
21
    if (sane)
494
21
    {
495
21
      hb_blob_make_immutable (blob);
496
21
      return blob;
497
21
    }
498
0
    else
499
0
    {
500
0
      hb_blob_destroy (blob);
501
0
      return hb_blob_get_empty ();
502
0
    }
503
21
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::Layout::GPOS>(hb_blob_t*)
Line
Count
Source
438
1.89k
  {
439
1.89k
    bool sane;
440
441
1.89k
    init (blob);
442
443
1.89k
  retry:
444
1.89k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
445
446
1.89k
    start_processing ();
447
448
1.89k
    if (unlikely (!start))
449
0
    {
450
0
      end_processing ();
451
0
      return blob;
452
0
    }
453
454
1.89k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
455
456
1.89k
    sane = t->sanitize (this);
457
1.89k
    if (sane)
458
1.89k
    {
459
1.89k
      if (edit_count)
460
0
      {
461
0
  DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count);
462
463
  /* sanitize again to ensure no toe-stepping */
464
0
  edit_count = 0;
465
0
  sane = t->sanitize (this);
466
0
  if (edit_count) {
467
0
    DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILING", edit_count);
468
0
    sane = false;
469
0
  }
470
0
      }
471
1.89k
    }
472
0
    else
473
0
    {
474
0
      if (edit_count && !writable)
475
0
      {
476
0
        unsigned length;
477
0
  start = hb_blob_get_data_writable (blob, &length);
478
0
  end = start + length;
479
480
0
  if (start)
481
0
  {
482
0
    writable = true;
483
    /* ok, we made it writable by relocating.  try again */
484
0
    DEBUG_MSG_FUNC (SANITIZE, start, "retry");
485
0
    goto retry;
486
0
  }
487
0
      }
488
0
    }
489
490
1.89k
    end_processing ();
491
492
1.89k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
493
1.89k
    if (sane)
494
1.89k
    {
495
1.89k
      hb_blob_make_immutable (blob);
496
1.89k
      return blob;
497
1.89k
    }
498
0
    else
499
0
    {
500
0
      hb_blob_destroy (blob);
501
0
      return hb_blob_get_empty ();
502
0
    }
503
1.89k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::kerx>(hb_blob_t*)
Line
Count
Source
438
1.89k
  {
439
1.89k
    bool sane;
440
441
1.89k
    init (blob);
442
443
1.89k
  retry:
444
1.89k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
445
446
1.89k
    start_processing ();
447
448
1.89k
    if (unlikely (!start))
449
1.89k
    {
450
1.89k
      end_processing ();
451
1.89k
      return blob;
452
1.89k
    }
453
454
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
455
456
0
    sane = t->sanitize (this);
457
0
    if (sane)
458
0
    {
459
0
      if (edit_count)
460
0
      {
461
0
  DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count);
462
463
  /* sanitize again to ensure no toe-stepping */
464
0
  edit_count = 0;
465
0
  sane = t->sanitize (this);
466
0
  if (edit_count) {
467
0
    DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILING", edit_count);
468
0
    sane = false;
469
0
  }
470
0
      }
471
0
    }
472
0
    else
473
0
    {
474
0
      if (edit_count && !writable)
475
0
      {
476
0
        unsigned length;
477
0
  start = hb_blob_get_data_writable (blob, &length);
478
0
  end = start + length;
479
480
0
  if (start)
481
0
  {
482
0
    writable = true;
483
    /* ok, we made it writable by relocating.  try again */
484
0
    DEBUG_MSG_FUNC (SANITIZE, start, "retry");
485
0
    goto retry;
486
0
  }
487
0
      }
488
0
    }
489
490
0
    end_processing ();
491
492
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
493
0
    if (sane)
494
0
    {
495
0
      hb_blob_make_immutable (blob);
496
0
      return blob;
497
0
    }
498
0
    else
499
0
    {
500
0
      hb_blob_destroy (blob);
501
0
      return hb_blob_get_empty ();
502
0
    }
503
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::kern>(hb_blob_t*)
Line
Count
Source
438
1.89k
  {
439
1.89k
    bool sane;
440
441
1.89k
    init (blob);
442
443
1.89k
  retry:
444
1.89k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
445
446
1.89k
    start_processing ();
447
448
1.89k
    if (unlikely (!start))
449
1.87k
    {
450
1.87k
      end_processing ();
451
1.87k
      return blob;
452
1.87k
    }
453
454
21
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
455
456
21
    sane = t->sanitize (this);
457
21
    if (sane)
458
21
    {
459
21
      if (edit_count)
460
0
      {
461
0
  DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count);
462
463
  /* sanitize again to ensure no toe-stepping */
464
0
  edit_count = 0;
465
0
  sane = t->sanitize (this);
466
0
  if (edit_count) {
467
0
    DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILING", edit_count);
468
0
    sane = false;
469
0
  }
470
0
      }
471
21
    }
472
0
    else
473
0
    {
474
0
      if (edit_count && !writable)
475
0
      {
476
0
        unsigned length;
477
0
  start = hb_blob_get_data_writable (blob, &length);
478
0
  end = start + length;
479
480
0
  if (start)
481
0
  {
482
0
    writable = true;
483
    /* ok, we made it writable by relocating.  try again */
484
0
    DEBUG_MSG_FUNC (SANITIZE, start, "retry");
485
0
    goto retry;
486
0
  }
487
0
      }
488
0
    }
489
490
21
    end_processing ();
491
492
21
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
493
21
    if (sane)
494
21
    {
495
21
      hb_blob_make_immutable (blob);
496
21
      return blob;
497
21
    }
498
0
    else
499
0
    {
500
0
      hb_blob_destroy (blob);
501
0
      return hb_blob_get_empty ();
502
0
    }
503
21
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::meta>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::ltag>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::name>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::post>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::CBLC>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::CBDT>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::CPAL>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::COLR>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::sbix>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::SVG>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::Layout::GSUB>(hb_blob_t*)
Line
Count
Source
438
1.89k
  {
439
1.89k
    bool sane;
440
441
1.89k
    init (blob);
442
443
1.89k
  retry:
444
1.89k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
445
446
1.89k
    start_processing ();
447
448
1.89k
    if (unlikely (!start))
449
0
    {
450
0
      end_processing ();
451
0
      return blob;
452
0
    }
453
454
1.89k
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
455
456
1.89k
    sane = t->sanitize (this);
457
1.89k
    if (sane)
458
1.89k
    {
459
1.89k
      if (edit_count)
460
0
      {
461
0
  DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count);
462
463
  /* sanitize again to ensure no toe-stepping */
464
0
  edit_count = 0;
465
0
  sane = t->sanitize (this);
466
0
  if (edit_count) {
467
0
    DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILING", edit_count);
468
0
    sane = false;
469
0
  }
470
0
      }
471
1.89k
    }
472
0
    else
473
0
    {
474
0
      if (edit_count && !writable)
475
0
      {
476
0
        unsigned length;
477
0
  start = hb_blob_get_data_writable (blob, &length);
478
0
  end = start + length;
479
480
0
  if (start)
481
0
  {
482
0
    writable = true;
483
    /* ok, we made it writable by relocating.  try again */
484
0
    DEBUG_MSG_FUNC (SANITIZE, start, "retry");
485
0
    goto retry;
486
0
  }
487
0
      }
488
0
    }
489
490
1.89k
    end_processing ();
491
492
1.89k
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
493
1.89k
    if (sane)
494
1.89k
    {
495
1.89k
      hb_blob_make_immutable (blob);
496
1.89k
      return blob;
497
1.89k
    }
498
0
    else
499
0
    {
500
0
      hb_blob_destroy (blob);
501
0
      return hb_blob_get_empty ();
502
0
    }
503
1.89k
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::morx>(hb_blob_t*)
Line
Count
Source
438
1.89k
  {
439
1.89k
    bool sane;
440
441
1.89k
    init (blob);
442
443
1.89k
  retry:
444
1.89k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
445
446
1.89k
    start_processing ();
447
448
1.89k
    if (unlikely (!start))
449
1.89k
    {
450
1.89k
      end_processing ();
451
1.89k
      return blob;
452
1.89k
    }
453
454
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
455
456
0
    sane = t->sanitize (this);
457
0
    if (sane)
458
0
    {
459
0
      if (edit_count)
460
0
      {
461
0
  DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count);
462
463
  /* sanitize again to ensure no toe-stepping */
464
0
  edit_count = 0;
465
0
  sane = t->sanitize (this);
466
0
  if (edit_count) {
467
0
    DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILING", edit_count);
468
0
    sane = false;
469
0
  }
470
0
      }
471
0
    }
472
0
    else
473
0
    {
474
0
      if (edit_count && !writable)
475
0
      {
476
0
        unsigned length;
477
0
  start = hb_blob_get_data_writable (blob, &length);
478
0
  end = start + length;
479
480
0
  if (start)
481
0
  {
482
0
    writable = true;
483
    /* ok, we made it writable by relocating.  try again */
484
0
    DEBUG_MSG_FUNC (SANITIZE, start, "retry");
485
0
    goto retry;
486
0
  }
487
0
      }
488
0
    }
489
490
0
    end_processing ();
491
492
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
493
0
    if (sane)
494
0
    {
495
0
      hb_blob_make_immutable (blob);
496
0
      return blob;
497
0
    }
498
0
    else
499
0
    {
500
0
      hb_blob_destroy (blob);
501
0
      return hb_blob_get_empty ();
502
0
    }
503
0
  }
hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::mort>(hb_blob_t*)
Line
Count
Source
438
1.89k
  {
439
1.89k
    bool sane;
440
441
1.89k
    init (blob);
442
443
1.89k
  retry:
444
1.89k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
445
446
1.89k
    start_processing ();
447
448
1.89k
    if (unlikely (!start))
449
1.89k
    {
450
1.89k
      end_processing ();
451
1.89k
      return blob;
452
1.89k
    }
453
454
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
455
456
0
    sane = t->sanitize (this);
457
0
    if (sane)
458
0
    {
459
0
      if (edit_count)
460
0
      {
461
0
  DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count);
462
463
  /* sanitize again to ensure no toe-stepping */
464
0
  edit_count = 0;
465
0
  sane = t->sanitize (this);
466
0
  if (edit_count) {
467
0
    DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILING", edit_count);
468
0
    sane = false;
469
0
  }
470
0
      }
471
0
    }
472
0
    else
473
0
    {
474
0
      if (edit_count && !writable)
475
0
      {
476
0
        unsigned length;
477
0
  start = hb_blob_get_data_writable (blob, &length);
478
0
  end = start + length;
479
480
0
  if (start)
481
0
  {
482
0
    writable = true;
483
    /* ok, we made it writable by relocating.  try again */
484
0
    DEBUG_MSG_FUNC (SANITIZE, start, "retry");
485
0
    goto retry;
486
0
  }
487
0
      }
488
0
    }
489
490
0
    end_processing ();
491
492
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
493
0
    if (sane)
494
0
    {
495
0
      hb_blob_make_immutable (blob);
496
0
      return blob;
497
0
    }
498
0
    else
499
0
    {
500
0
      hb_blob_destroy (blob);
501
0
      return hb_blob_get_empty ();
502
0
    }
503
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::VORG>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::STAT>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::avar>(hb_blob_t*)
Line
Count
Source
438
10.2k
  {
439
10.2k
    bool sane;
440
441
10.2k
    init (blob);
442
443
10.2k
  retry:
444
10.2k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
445
446
10.2k
    start_processing ();
447
448
10.2k
    if (unlikely (!start))
449
10.2k
    {
450
10.2k
      end_processing ();
451
10.2k
      return blob;
452
10.2k
    }
453
454
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
455
456
0
    sane = t->sanitize (this);
457
0
    if (sane)
458
0
    {
459
0
      if (edit_count)
460
0
      {
461
0
  DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count);
462
463
  /* sanitize again to ensure no toe-stepping */
464
0
  edit_count = 0;
465
0
  sane = t->sanitize (this);
466
0
  if (edit_count) {
467
0
    DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILING", edit_count);
468
0
    sane = false;
469
0
  }
470
0
      }
471
0
    }
472
0
    else
473
0
    {
474
0
      if (edit_count && !writable)
475
0
      {
476
0
        unsigned length;
477
0
  start = hb_blob_get_data_writable (blob, &length);
478
0
  end = start + length;
479
480
0
  if (start)
481
0
  {
482
0
    writable = true;
483
    /* ok, we made it writable by relocating.  try again */
484
0
    DEBUG_MSG_FUNC (SANITIZE, start, "retry");
485
0
    goto retry;
486
0
  }
487
0
      }
488
0
    }
489
490
0
    end_processing ();
491
492
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
493
0
    if (sane)
494
0
    {
495
0
      hb_blob_make_immutable (blob);
496
0
      return blob;
497
0
    }
498
0
    else
499
0
    {
500
0
      hb_blob_destroy (blob);
501
0
      return hb_blob_get_empty ();
502
0
    }
503
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::ankr>(hb_blob_t*)
hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::trak>(hb_blob_t*)
Line
Count
Source
438
1.89k
  {
439
1.89k
    bool sane;
440
441
1.89k
    init (blob);
442
443
1.89k
  retry:
444
1.89k
    DEBUG_MSG_FUNC (SANITIZE, start, "start");
445
446
1.89k
    start_processing ();
447
448
1.89k
    if (unlikely (!start))
449
1.89k
    {
450
1.89k
      end_processing ();
451
1.89k
      return blob;
452
1.89k
    }
453
454
0
    Type *t = reinterpret_cast<Type *> (const_cast<char *> (start));
455
456
0
    sane = t->sanitize (this);
457
0
    if (sane)
458
0
    {
459
0
      if (edit_count)
460
0
      {
461
0
  DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count);
462
463
  /* sanitize again to ensure no toe-stepping */
464
0
  edit_count = 0;
465
0
  sane = t->sanitize (this);
466
0
  if (edit_count) {
467
0
    DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILING", edit_count);
468
0
    sane = false;
469
0
  }
470
0
      }
471
0
    }
472
0
    else
473
0
    {
474
0
      if (edit_count && !writable)
475
0
      {
476
0
        unsigned length;
477
0
  start = hb_blob_get_data_writable (blob, &length);
478
0
  end = start + length;
479
480
0
  if (start)
481
0
  {
482
0
    writable = true;
483
    /* ok, we made it writable by relocating.  try again */
484
0
    DEBUG_MSG_FUNC (SANITIZE, start, "retry");
485
0
    goto retry;
486
0
  }
487
0
      }
488
0
    }
489
490
0
    end_processing ();
491
492
0
    DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED");
493
0
    if (sane)
494
0
    {
495
0
      hb_blob_make_immutable (blob);
496
0
      return blob;
497
0
    }
498
0
    else
499
0
    {
500
0
      hb_blob_destroy (blob);
501
0
      return hb_blob_get_empty ();
502
0
    }
503
0
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::feat>(hb_blob_t*)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::BASE>(hb_blob_t*)
504
505
  template <typename Type>
506
  hb_blob_t *reference_table (const hb_face_t *face, hb_tag_t tableTag = Type::tableTag)
507
37.5k
  {
508
37.5k
    if (!num_glyphs_set)
509
15.1k
      set_num_glyphs (hb_face_get_glyph_count (face));
510
37.5k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
511
37.5k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::cmap>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::OS2>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::MVAR>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::fvar>(hb_face_t const*, unsigned int)
Line
Count
Source
507
10.2k
  {
508
10.2k
    if (!num_glyphs_set)
509
0
      set_num_glyphs (hb_face_get_glyph_count (face));
510
10.2k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
511
10.2k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::hmtxvmtx<OT::hmtx, OT::hhea, OT::HVAR> >(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::HVAR>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::hhea>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::vhea>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::maxp>(hb_face_t const*, unsigned int)
Line
Count
Source
507
1.89k
  {
508
1.89k
    if (!num_glyphs_set)
509
0
      set_num_glyphs (hb_face_get_glyph_count (face));
510
1.89k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
511
1.89k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::hmtxvmtx<OT::vmtx, OT::vhea, OT::VVAR> >(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::VVAR>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::gvar_GVAR<OT::NumType<true, unsigned short, 2u>, 1735811442u> >(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::gvar_GVAR<OT::NumType<true, unsigned int, 3u>, 1196835154u> >(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::head>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::loca>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::glyf>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::cff1>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::cff2>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::GDEF>(hb_face_t const*, unsigned int)
Line
Count
Source
507
1.89k
  {
508
1.89k
    if (!num_glyphs_set)
509
1.89k
      set_num_glyphs (hb_face_get_glyph_count (face));
510
1.89k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
511
1.89k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::Layout::GPOS>(hb_face_t const*, unsigned int)
Line
Count
Source
507
1.89k
  {
508
1.89k
    if (!num_glyphs_set)
509
1.89k
      set_num_glyphs (hb_face_get_glyph_count (face));
510
1.89k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
511
1.89k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<AAT::kerx>(hb_face_t const*, unsigned int)
Line
Count
Source
507
1.89k
  {
508
1.89k
    if (!num_glyphs_set)
509
1.89k
      set_num_glyphs (hb_face_get_glyph_count (face));
510
1.89k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
511
1.89k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<OT::kern>(hb_face_t const*, unsigned int)
Line
Count
Source
507
1.89k
  {
508
1.89k
    if (!num_glyphs_set)
509
1.89k
      set_num_glyphs (hb_face_get_glyph_count (face));
510
1.89k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
511
1.89k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::meta>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<AAT::ltag>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::name>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::post>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::CBLC>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::CBDT>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::CPAL>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::COLR>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::sbix>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::SVG>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::Layout::GSUB>(hb_face_t const*, unsigned int)
Line
Count
Source
507
1.89k
  {
508
1.89k
    if (!num_glyphs_set)
509
1.89k
      set_num_glyphs (hb_face_get_glyph_count (face));
510
1.89k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
511
1.89k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<AAT::morx>(hb_face_t const*, unsigned int)
Line
Count
Source
507
1.89k
  {
508
1.89k
    if (!num_glyphs_set)
509
1.89k
      set_num_glyphs (hb_face_get_glyph_count (face));
510
1.89k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
511
1.89k
  }
hb_blob_t* hb_sanitize_context_t::reference_table<AAT::mort>(hb_face_t const*, unsigned int)
Line
Count
Source
507
1.89k
  {
508
1.89k
    if (!num_glyphs_set)
509
1.89k
      set_num_glyphs (hb_face_get_glyph_count (face));
510
1.89k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
511
1.89k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::VORG>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::STAT>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<OT::avar>(hb_face_t const*, unsigned int)
Line
Count
Source
507
10.2k
  {
508
10.2k
    if (!num_glyphs_set)
509
0
      set_num_glyphs (hb_face_get_glyph_count (face));
510
10.2k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
511
10.2k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<AAT::ankr>(hb_face_t const*, unsigned int)
hb_blob_t* hb_sanitize_context_t::reference_table<AAT::trak>(hb_face_t const*, unsigned int)
Line
Count
Source
507
1.89k
  {
508
1.89k
    if (!num_glyphs_set)
509
1.89k
      set_num_glyphs (hb_face_get_glyph_count (face));
510
1.89k
    return sanitize_blob<Type> (hb_face_reference_table (face, tableTag));
511
1.89k
  }
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<AAT::feat>(hb_face_t const*, unsigned int)
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::BASE>(hb_face_t const*, unsigned int)
512
513
  const char *start, *end;
514
  unsigned length;
515
  mutable int max_ops, max_subtables;
516
  private:
517
  int recursion_depth;
518
  bool writable;
519
  unsigned int edit_count;
520
  hb_blob_t *blob;
521
  unsigned int num_glyphs;
522
  bool  num_glyphs_set;
523
  public:
524
  bool lazy_some_gpos;
525
};
526
527
struct hb_sanitize_with_object_t
528
{
529
  template <typename T>
530
66
  hb_sanitize_with_object_t (hb_sanitize_context_t *c, const T& obj) : c (c)
531
66
  { c->set_object (obj); }
Unexecuted instantiation: hb_sanitize_with_object_t::hb_sanitize_with_object_t<AAT::KerxSubTable const*>(hb_sanitize_context_t*, AAT::KerxSubTable const* const&)
hb_sanitize_with_object_t::hb_sanitize_with_object_t<OT::KernSubTable<OT::KernOTSubTableHeader> const*>(hb_sanitize_context_t*, OT::KernSubTable<OT::KernOTSubTableHeader> const* const&)
Line
Count
Source
530
66
  hb_sanitize_with_object_t (hb_sanitize_context_t *c, const T& obj) : c (c)
531
66
  { c->set_object (obj); }
Unexecuted instantiation: hb_sanitize_with_object_t::hb_sanitize_with_object_t<OT::KernSubTable<OT::KernAATSubTableHeader> const*>(hb_sanitize_context_t*, OT::KernSubTable<OT::KernAATSubTableHeader> const* const&)
532
  ~hb_sanitize_with_object_t ()
533
66
  { c->reset_object (); }
534
535
  private:
536
  hb_sanitize_context_t *c;
537
};
538
539
540
#endif /* HB_SANITIZE_HH */