/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 | 171 | #define HB_SANITIZE_MAX_OPS_MIN 16384 |
112 | | #endif |
113 | | #ifndef HB_SANITIZE_MAX_OPS_MAX |
114 | 180 | #define HB_SANITIZE_MAX_OPS_MAX 0x3FFFFFFF |
115 | | #endif |
116 | | #ifndef HB_SANITIZE_MAX_SUBTABLES |
117 | 63 | #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 () : |
124 | | start (nullptr), end (nullptr), |
125 | | max_ops (0), max_subtables (0), |
126 | | recursion_depth (0), |
127 | | writable (false), edit_count (0), |
128 | | blob (nullptr), |
129 | | num_glyphs (65536), |
130 | 171 | num_glyphs_set (false) {} |
131 | | |
132 | 0 | const char *get_name () { return "SANITIZE"; } |
133 | | template <typename T, typename F> |
134 | | bool may_dispatch (const T *obj HB_UNUSED, const F *format) |
135 | 66 | { return format->sanitize (this); } Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::SinglePos, OT::IntType<unsigned short, 2u> >(OT::Layout::GPOS_impl::SinglePos const*, OT::IntType<unsigned short, 2u> const*) bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::PairPos, OT::IntType<unsigned short, 2u> >(OT::Layout::GPOS_impl::PairPos const*, OT::IntType<unsigned short, 2u> const*) Line | Count | Source | 135 | 1 | { return format->sanitize (this); } |
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::CursivePos, OT::IntType<unsigned short, 2u> >(OT::Layout::GPOS_impl::CursivePos const*, OT::IntType<unsigned short, 2u> const*) bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::MarkBasePos, OT::IntType<unsigned short, 2u> >(OT::Layout::GPOS_impl::MarkBasePos const*, OT::IntType<unsigned short, 2u> const*) Line | Count | Source | 135 | 4 | { return format->sanitize (this); } |
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::MarkLigPos, OT::IntType<unsigned short, 2u> >(OT::Layout::GPOS_impl::MarkLigPos const*, OT::IntType<unsigned short, 2u> const*) Line | Count | Source | 135 | 1 | { return format->sanitize (this); } |
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GPOS_impl::MarkMarkPos, OT::IntType<unsigned short, 2u> >(OT::Layout::GPOS_impl::MarkMarkPos const*, OT::IntType<unsigned short, 2u> const*) Line | Count | Source | 135 | 1 | { return format->sanitize (this); } |
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Context, OT::IntType<unsigned short, 2u> >(OT::Context const*, OT::IntType<unsigned short, 2u> const*) bool hb_sanitize_context_t::may_dispatch<OT::ChainContext, OT::IntType<unsigned short, 2u> >(OT::ChainContext const*, OT::IntType<unsigned short, 2u> const*) Line | Count | Source | 135 | 1 | { return format->sanitize (this); } |
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Extension<OT::Layout::GPOS_impl::ExtensionPos>, OT::IntType<unsigned short, 2u> >(OT::Extension<OT::Layout::GPOS_impl::ExtensionPos> const*, OT::IntType<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*) bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::SingleSubst, OT::IntType<unsigned short, 2u> >(OT::Layout::GSUB_impl::SingleSubst const*, OT::IntType<unsigned short, 2u> const*) Line | Count | Source | 135 | 21 | { return format->sanitize (this); } |
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::MultipleSubst, OT::IntType<unsigned short, 2u> >(OT::Layout::GSUB_impl::MultipleSubst const*, OT::IntType<unsigned short, 2u> const*) bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::AlternateSubst, OT::IntType<unsigned short, 2u> >(OT::Layout::GSUB_impl::AlternateSubst const*, OT::IntType<unsigned short, 2u> const*) Line | Count | Source | 135 | 35 | { return format->sanitize (this); } |
bool hb_sanitize_context_t::may_dispatch<OT::Layout::GSUB_impl::LigatureSubst, OT::IntType<unsigned short, 2u> >(OT::Layout::GSUB_impl::LigatureSubst const*, OT::IntType<unsigned short, 2u> const*) Line | Count | Source | 135 | 2 | { return format->sanitize (this); } |
Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Extension<OT::Layout::GSUB_impl::ExtensionSubst>, OT::IntType<unsigned short, 2u> >(OT::Extension<OT::Layout::GSUB_impl::ExtensionSubst> const*, OT::IntType<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::IntType<unsigned short, 2u> >(OT::Layout::GSUB_impl::ReverseChainSingleSubst const*, OT::IntType<unsigned short, 2u> const*) Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::Paint, OT::IntType<unsigned char, 1u> >(OT::Paint const*, OT::IntType<unsigned char, 1u> const*) Unexecuted instantiation: bool hb_sanitize_context_t::may_dispatch<OT::ClipBox, OT::IntType<unsigned char, 1u> >(OT::ClipBox const*, OT::IntType<unsigned char, 1u> const*) |
136 | 0 | static return_t default_return_value () { return true; } |
137 | 0 | static return_t no_dispatch_return_value () { return false; } |
138 | 0 | bool stop_sublookup_iteration (const return_t r) const { return !r; } |
139 | | |
140 | | bool visit_subtables (unsigned count) |
141 | 63 | { |
142 | 63 | max_subtables += count; |
143 | 63 | return max_subtables < HB_SANITIZE_MAX_SUBTABLES; |
144 | 63 | } |
145 | | |
146 | | private: |
147 | | template <typename T, typename ...Ts> auto |
148 | | _dispatch (const T &obj, hb_priority<1>, Ts&&... ds) HB_AUTO_RETURN |
149 | | ( obj.sanitize (this, std::forward<Ts> (ds)...) ) |
150 | | template <typename T, typename ...Ts> auto |
151 | | _dispatch (const T &obj, hb_priority<0>, Ts&&... ds) HB_AUTO_RETURN |
152 | | ( obj.dispatch (this, std::forward<Ts> (ds)...) ) |
153 | | public: |
154 | | template <typename T, typename ...Ts> auto |
155 | | dispatch (const T &obj, Ts&&... ds) HB_AUTO_RETURN |
156 | | ( _dispatch (obj, hb_prioritize, std::forward<Ts> (ds)...) ) |
157 | | |
158 | | |
159 | | void init (hb_blob_t *b) |
160 | 171 | { |
161 | 171 | this->blob = hb_blob_reference (b); |
162 | 171 | this->writable = false; |
163 | 171 | } |
164 | | |
165 | | void set_num_glyphs (unsigned int num_glyphs_) |
166 | 171 | { |
167 | 171 | num_glyphs = num_glyphs_; |
168 | 171 | num_glyphs_set = true; |
169 | 171 | } |
170 | 0 | unsigned int get_num_glyphs () { return num_glyphs; } |
171 | | |
172 | 9 | void set_max_ops (int max_ops_) { max_ops = max_ops_; } |
173 | | |
174 | | template <typename T> |
175 | | void set_object (const T *obj) |
176 | 40 | { |
177 | 40 | reset_object (); |
178 | | |
179 | 40 | if (!obj) return; |
180 | | |
181 | 30 | const char *obj_start = (const char *) obj; |
182 | 30 | if (unlikely (obj_start < this->start || this->end <= obj_start)) |
183 | 0 | this->start = this->end = nullptr; |
184 | 30 | else |
185 | 30 | { |
186 | 30 | this->start = obj_start; |
187 | 30 | this->end = obj_start + hb_min (size_t (this->end - obj_start), obj->get_size ()); |
188 | 30 | } |
189 | 30 | } void hb_sanitize_context_t::set_object<OT::KernSubTable<OT::KernOTSubTableHeader> >(OT::KernSubTable<OT::KernOTSubTableHeader> const*) Line | Count | Source | 176 | 40 | { | 177 | 40 | reset_object (); | 178 | | | 179 | 40 | if (!obj) return; | 180 | | | 181 | 30 | const char *obj_start = (const char *) obj; | 182 | 30 | if (unlikely (obj_start < this->start || this->end <= obj_start)) | 183 | 0 | this->start = this->end = nullptr; | 184 | 30 | else | 185 | 30 | { | 186 | 30 | this->start = obj_start; | 187 | 30 | this->end = obj_start + hb_min (size_t (this->end - obj_start), obj->get_size ()); | 188 | 30 | } | 189 | 30 | } |
Unexecuted instantiation: void hb_sanitize_context_t::set_object<OT::KernSubTable<OT::KernAATSubTableHeader> >(OT::KernSubTable<OT::KernAATSubTableHeader> const*) Unexecuted instantiation: void hb_sanitize_context_t::set_object<AAT::ChainSubtable<AAT::ExtendedTypes> >(AAT::ChainSubtable<AAT::ExtendedTypes> const*) Unexecuted instantiation: void hb_sanitize_context_t::set_object<AAT::ChainSubtable<AAT::ObsoleteTypes> >(AAT::ChainSubtable<AAT::ObsoleteTypes> const*) Unexecuted instantiation: void hb_sanitize_context_t::set_object<AAT::KerxSubTable>(AAT::KerxSubTable const*) |
190 | | |
191 | | void reset_object () |
192 | 251 | { |
193 | 251 | this->start = this->blob->data; |
194 | 251 | this->end = this->start + this->blob->length; |
195 | 251 | assert (this->start <= this->end); /* Must not overflow. */ |
196 | 251 | } |
197 | | |
198 | | void start_processing () |
199 | 171 | { |
200 | 171 | reset_object (); |
201 | 171 | unsigned m; |
202 | 171 | if (unlikely (hb_unsigned_mul_overflows (this->end - this->start, HB_SANITIZE_MAX_OPS_FACTOR, &m))) |
203 | 0 | this->max_ops = HB_SANITIZE_MAX_OPS_MAX; |
204 | 171 | else |
205 | 171 | this->max_ops = hb_clamp (m, |
206 | 171 | (unsigned) HB_SANITIZE_MAX_OPS_MIN, |
207 | 171 | (unsigned) HB_SANITIZE_MAX_OPS_MAX); |
208 | 171 | this->edit_count = 0; |
209 | 171 | this->debug_depth = 0; |
210 | 171 | this->recursion_depth = 0; |
211 | | |
212 | 171 | DEBUG_MSG_LEVEL (SANITIZE, start, 0, +1, |
213 | 171 | "start [%p..%p] (%lu bytes)", |
214 | 171 | this->start, this->end, |
215 | 171 | (unsigned long) (this->end - this->start)); |
216 | 171 | } |
217 | | |
218 | | void end_processing () |
219 | 171 | { |
220 | 171 | DEBUG_MSG_LEVEL (SANITIZE, this->start, 0, -1, |
221 | 171 | "end [%p..%p] %u edit requests", |
222 | 171 | this->start, this->end, this->edit_count); |
223 | | |
224 | 171 | hb_blob_destroy (this->blob); |
225 | 171 | this->blob = nullptr; |
226 | 171 | this->start = this->end = nullptr; |
227 | 171 | } |
228 | | |
229 | 0 | unsigned get_edit_count () { return edit_count; } |
230 | | |
231 | | |
232 | | bool check_ops(unsigned count) |
233 | 1 | { |
234 | | /* Avoid underflow */ |
235 | 1 | if (unlikely (this->max_ops < 0 || count >= (unsigned) this->max_ops)) |
236 | 0 | { |
237 | 0 | this->max_ops = -1; |
238 | 0 | return false; |
239 | 0 | } |
240 | 1 | return (this->max_ops -= (int) count) > 0; |
241 | 1 | } |
242 | | |
243 | | bool check_range (const void *base, |
244 | | unsigned int len) const |
245 | 75.4k | { |
246 | 75.4k | const char *p = (const char *) base; |
247 | 75.4k | bool ok = !len || |
248 | 75.4k | (this->start <= p && |
249 | 75.3k | p <= this->end && |
250 | 75.3k | (unsigned int) (this->end - p) >= len && |
251 | 75.3k | (this->max_ops -= len) > 0); |
252 | | |
253 | 75.4k | DEBUG_MSG_LEVEL (SANITIZE, p, this->debug_depth+1, 0, |
254 | 75.4k | "check_range [%p..%p]" |
255 | 75.4k | " (%u bytes) in [%p..%p] -> %s", |
256 | 75.4k | p, p + len, len, |
257 | 75.4k | this->start, this->end, |
258 | 75.4k | ok ? "OK" : "OUT-OF-RANGE"); |
259 | | |
260 | 75.4k | return likely (ok); |
261 | 75.4k | } |
262 | | |
263 | | template <typename T> |
264 | | bool check_range (const T *base, |
265 | | unsigned int a, |
266 | | unsigned int b) const |
267 | 24.2k | { |
268 | 24.2k | unsigned m; |
269 | 24.2k | return !hb_unsigned_mul_overflows (a, b, &m) && |
270 | 24.2k | this->check_range (base, m); |
271 | 24.2k | } Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::TableRecord>(OT::TableRecord const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::OpenTypeOffsetTable, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::OpenTypeOffsetTable, OT::IntType<unsigned int, 4u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::IntType<unsigned char, 1u> >(OT::IntType<unsigned char, 1u> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::ResourceTypeRecord>(OT::ResourceTypeRecord 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::EncodingRecord>(OT::EncodingRecord const*, unsigned int, unsigned int) const bool hb_sanitize_context_t::check_range<OT::HBGlyphID16>(OT::HBGlyphID16 const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 23.7k | { | 268 | 23.7k | unsigned m; | 269 | 23.7k | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 23.7k | this->check_range (base, m); | 271 | 23.7k | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::CmapSubtableLongGroup>(OT::CmapSubtableLongGroup const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::VariationSelectorRecord>(OT::VariationSelectorRecord const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::UnicodeValueRange>(OT::UnicodeValueRange const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::UVSMapping>(OT::UVSMapping const*, unsigned int, unsigned int) const bool hb_sanitize_context_t::check_range<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 49 | { | 268 | 49 | unsigned m; | 269 | 49 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 49 | this->check_range (base, m); | 271 | 49 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::IntType<unsigned int, 3u> >(OT::IntType<unsigned int, 3u> const*, unsigned int, unsigned int) const bool hb_sanitize_context_t::check_range<OT::Index>(OT::Index const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 113 | { | 268 | 113 | unsigned m; | 269 | 113 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 113 | this->check_range (base, m); | 271 | 113 | } |
bool hb_sanitize_context_t::check_range<OT::Record<OT::LangSys> >(OT::Record<OT::LangSys> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 42 | { | 268 | 42 | unsigned m; | 269 | 42 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 42 | this->check_range (base, m); | 271 | 42 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::VarRegionAxis>(OT::VarRegionAxis const*, unsigned int, unsigned int) const bool hb_sanitize_context_t::check_range<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 18 | { | 268 | 18 | unsigned m; | 269 | 18 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 18 | this->check_range (base, m); | 271 | 18 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::FeatureTableSubstitutionRecord>(OT::FeatureTableSubstitutionRecord const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::FeatureVariationRecord>(OT::FeatureVariationRecord 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::AxisValueMap>(OT::AxisValueMap const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::HBFixed<OT::IntType<int, 4u>, 16u> >(OT::HBFixed<OT::IntType<int, 4u>, 16u> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::HBFixed<OT::IntType<short, 2u>, 14u> >(OT::HBFixed<OT::IntType<short, 2u>, 14u> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::IntType<unsigned int, 4u> >(OT::IntType<unsigned int, 4u> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<CFF::FDSelect3_4_Range<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned char, 1u> > >(CFF::FDSelect3_4_Range<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned char, 1u> > const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<CFF::Encoding1_Range>(CFF::Encoding1_Range const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<CFF::SuppEncoding>(CFF::SuppEncoding 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<CFF::FDSelect3_4_Range<OT::IntType<unsigned int, 4u>, OT::IntType<unsigned short, 2u> > >(CFF::FDSelect3_4_Range<OT::IntType<unsigned int, 4u>, OT::IntType<unsigned short, 2u> > const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::FTStringRange>(AAT::FTStringRange const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 1 | { | 268 | 1 | unsigned m; | 269 | 1 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 1 | this->check_range (base, m); | 271 | 1 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const bool hb_sanitize_context_t::check_range<OT::LookupRecord>(OT::LookupRecord const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 6 | { | 268 | 6 | unsigned m; | 269 | 6 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 6 | this->check_range (base, m); | 271 | 6 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::Layout::GPOS_impl::EntryExitRecord>(OT::Layout::GPOS_impl::EntryExitRecord const*, unsigned int, unsigned int) const bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 6 | { | 268 | 6 | unsigned m; | 269 | 6 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 6 | this->check_range (base, m); | 271 | 6 | } |
bool hb_sanitize_context_t::check_range<OT::Layout::GPOS_impl::MarkRecord>(OT::Layout::GPOS_impl::MarkRecord const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 6 | { | 268 | 6 | unsigned m; | 269 | 6 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 6 | this->check_range (base, m); | 271 | 6 | } |
bool hb_sanitize_context_t::check_range<OT::Offset<OT::IntType<unsigned short, 2u>, true> >(OT::Offset<OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 63 | { | 268 | 63 | unsigned m; | 269 | 63 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 63 | this->check_range (base, m); | 271 | 63 | } |
bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 4 | { | 268 | 4 | unsigned m; | 269 | 4 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 4 | this->check_range (base, m); | 271 | 4 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const 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 | 267 | 1 | { | 268 | 1 | unsigned m; | 269 | 1 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 1 | this->check_range (base, m); | 271 | 1 | } |
bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 1 | { | 268 | 1 | unsigned m; | 269 | 1 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 1 | this->check_range (base, m); | 271 | 1 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 1 | { | 268 | 1 | unsigned m; | 269 | 1 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 1 | this->check_range (base, m); | 271 | 1 | } |
bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 2 | { | 268 | 2 | unsigned m; | 269 | 2 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 2 | this->check_range (base, m); | 271 | 2 | } |
bool hb_sanitize_context_t::check_range<OT::Record<OT::Script> >(OT::Record<OT::Script> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 36 | { | 268 | 36 | unsigned m; | 269 | 36 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 36 | this->check_range (base, m); | 271 | 36 | } |
bool hb_sanitize_context_t::check_range<OT::Record<OT::Feature> >(OT::Record<OT::Feature> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 36 | { | 268 | 36 | unsigned m; | 269 | 36 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 36 | this->check_range (base, m); | 271 | 36 | } |
bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 18 | { | 268 | 18 | unsigned m; | 269 | 18 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 18 | this->check_range (base, m); | 271 | 18 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::Anchor>(AAT::Anchor const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::IntType<short, 2u> >(OT::IntType<short, 2u> const*, unsigned int, unsigned int) const bool hb_sanitize_context_t::check_range<AAT::KernPair>(AAT::KernPair const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 4 | { | 268 | 4 | unsigned m; | 269 | 4 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 4 | this->check_range (base, m); | 271 | 4 | } |
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::DataMap>(OT::DataMap 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::IntType<unsigned int, 4u>, true> >(OT::Offset<OT::IntType<unsigned int, 4u>, 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::BitmapSizeTable>(OT::BitmapSizeTable const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::SBIXGlyph, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::SBIXGlyph, OT::IntType<unsigned int, 4u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::SVGDocumentIndexEntry>(OT::SVGDocumentIndexEntry const*, unsigned int, unsigned int) const bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 59 | { | 268 | 59 | unsigned m; | 269 | 59 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 59 | this->check_range (base, m); | 271 | 59 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 35 | { | 268 | 35 | unsigned m; | 269 | 35 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 35 | this->check_range (base, m); | 271 | 35 | } |
bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 2 | { | 268 | 2 | unsigned m; | 269 | 2 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 2 | this->check_range (base, m); | 271 | 2 | } |
bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 3 | { | 268 | 3 | unsigned m; | 269 | 3 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 3 | this->check_range (base, m); | 271 | 3 | } |
bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Line | Count | Source | 267 | 18 | { | 268 | 18 | unsigned m; | 269 | 18 | return !hb_unsigned_mul_overflows (a, b, &m) && | 270 | 18 | this->check_range (base, m); | 271 | 18 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::VertOriginMetric>(OT::VertOriginMetric 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::BaseGlyphPaintRecord>(OT::BaseGlyphPaintRecord const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::NoVariable<OT::ColorStop> >(OT::NoVariable<OT::ColorStop> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::Variable<OT::ColorStop> >(OT::Variable<OT::ColorStop> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::ClipRecord>(OT::ClipRecord 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::GaspRange>(OT::GaspRange 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::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::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned int, 4u>, false> 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::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned short, 2u>, 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<AAT::TrackTableEntry>(AAT::TrackTableEntry const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<AAT::WidthDeltaPair>(AAT::WidthDeltaPair const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::Tag>(OT::Tag const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::BaseScriptRecord>(OT::BaseScriptRecord const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::FeatMinMaxRecord>(OT::FeatMinMaxRecord const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::BaseLangSysRecord>(OT::BaseLangSysRecord const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<OT::JstfPriority, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::JstfPriority, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::Record<OT::JstfLangSys> >(OT::Record<OT::JstfLangSys> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::Record<OT::JstfScript> >(OT::Record<OT::JstfScript> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> const*, unsigned int, unsigned int) const |
272 | | |
273 | | template <typename T> |
274 | | bool check_range (const T *base, |
275 | | unsigned int a, |
276 | | unsigned int b, |
277 | | unsigned int c) const |
278 | 0 | { |
279 | 0 | unsigned m; |
280 | 0 | return !hb_unsigned_mul_overflows (a, b, &m) && |
281 | 0 | this->check_range (base, m, c); |
282 | 0 | } Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::IntType<unsigned char, 1u> >(OT::IntType<unsigned char, 1u> const*, unsigned int, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_range<OT::IntType<short, 2u> >(OT::IntType<short, 2u> const*, unsigned int, unsigned int, unsigned int) const |
283 | | |
284 | | template <typename T> |
285 | | bool check_array (const T *base, unsigned int len) const |
286 | 24.2k | { |
287 | 24.2k | return this->check_range (base, len, hb_static_size (T)); |
288 | 24.2k | } Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::TableRecord>(OT::TableRecord const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::OpenTypeOffsetTable, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::OpenTypeOffsetTable, OT::IntType<unsigned int, 4u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::IntType<unsigned char, 1u> >(OT::IntType<unsigned char, 1u> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::ResourceTypeRecord>(OT::ResourceTypeRecord 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::EncodingRecord>(OT::EncodingRecord const*, unsigned int) const bool hb_sanitize_context_t::check_array<OT::HBGlyphID16>(OT::HBGlyphID16 const*, unsigned int) const Line | Count | Source | 286 | 23.7k | { | 287 | 23.7k | return this->check_range (base, len, hb_static_size (T)); | 288 | 23.7k | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::CmapSubtableLongGroup>(OT::CmapSubtableLongGroup const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::VariationSelectorRecord>(OT::VariationSelectorRecord const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::UnicodeValueRange>(OT::UnicodeValueRange const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::UVSMapping>(OT::UVSMapping const*, unsigned int) const bool hb_sanitize_context_t::check_array<OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> >(OT::Layout::Common::RangeRecord<OT::Layout::SmallTypes> const*, unsigned int) const Line | Count | Source | 286 | 49 | { | 287 | 49 | return this->check_range (base, len, hb_static_size (T)); | 288 | 49 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::IntType<unsigned int, 3u> >(OT::IntType<unsigned int, 3u> const*, unsigned int) const bool hb_sanitize_context_t::check_array<OT::Index>(OT::Index const*, unsigned int) const Line | Count | Source | 286 | 113 | { | 287 | 113 | return this->check_range (base, len, hb_static_size (T)); | 288 | 113 | } |
bool hb_sanitize_context_t::check_array<OT::Record<OT::LangSys> >(OT::Record<OT::LangSys> const*, unsigned int) const Line | Count | Source | 286 | 42 | { | 287 | 42 | return this->check_range (base, len, hb_static_size (T)); | 288 | 42 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::VarRegionAxis>(OT::VarRegionAxis const*, unsigned int) const bool hb_sanitize_context_t::check_array<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u> const*, unsigned int) const Line | Count | Source | 286 | 18 | { | 287 | 18 | return this->check_range (base, len, hb_static_size (T)); | 288 | 18 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::FeatureTableSubstitutionRecord>(OT::FeatureTableSubstitutionRecord const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::FeatureVariationRecord>(OT::FeatureVariationRecord 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::AxisValueMap>(OT::AxisValueMap const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::HBFixed<OT::IntType<int, 4u>, 16u> >(OT::HBFixed<OT::IntType<int, 4u>, 16u> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::HBFixed<OT::IntType<short, 2u>, 14u> >(OT::HBFixed<OT::IntType<short, 2u>, 14u> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::IntType<unsigned int, 4u> >(OT::IntType<unsigned int, 4u> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<CFF::FDSelect3_4_Range<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned char, 1u> > >(CFF::FDSelect3_4_Range<OT::IntType<unsigned short, 2u>, OT::IntType<unsigned char, 1u> > const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<CFF::Encoding1_Range>(CFF::Encoding1_Range const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<CFF::SuppEncoding>(CFF::SuppEncoding 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<CFF::FDSelect3_4_Range<OT::IntType<unsigned int, 4u>, OT::IntType<unsigned short, 2u> > >(CFF::FDSelect3_4_Range<OT::IntType<unsigned int, 4u>, OT::IntType<unsigned short, 2u> > const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::FTStringRange>(AAT::FTStringRange const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 1 | { | 287 | 1 | return this->check_range (base, len, hb_static_size (T)); | 288 | 1 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const bool hb_sanitize_context_t::check_array<OT::LookupRecord>(OT::LookupRecord const*, unsigned int) const Line | Count | Source | 286 | 6 | { | 287 | 6 | return this->check_range (base, len, hb_static_size (T)); | 288 | 6 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::Layout::GPOS_impl::EntryExitRecord>(OT::Layout::GPOS_impl::EntryExitRecord const*, unsigned int) const bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 6 | { | 287 | 6 | return this->check_range (base, len, hb_static_size (T)); | 288 | 6 | } |
bool hb_sanitize_context_t::check_array<OT::Layout::GPOS_impl::MarkRecord>(OT::Layout::GPOS_impl::MarkRecord const*, unsigned int) const Line | Count | Source | 286 | 6 | { | 287 | 6 | return this->check_range (base, len, hb_static_size (T)); | 288 | 6 | } |
bool hb_sanitize_context_t::check_array<OT::Offset<OT::IntType<unsigned short, 2u>, true> >(OT::Offset<OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 63 | { | 287 | 63 | return this->check_range (base, len, hb_static_size (T)); | 288 | 63 | } |
bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 4 | { | 287 | 4 | return this->check_range (base, len, hb_static_size (T)); | 288 | 4 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 1 | { | 287 | 1 | return this->check_range (base, len, hb_static_size (T)); | 288 | 1 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 1 | { | 287 | 1 | return this->check_range (base, len, hb_static_size (T)); | 288 | 1 | } |
bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 2 | { | 287 | 2 | return this->check_range (base, len, hb_static_size (T)); | 288 | 2 | } |
bool hb_sanitize_context_t::check_array<OT::Record<OT::Script> >(OT::Record<OT::Script> const*, unsigned int) const Line | Count | Source | 286 | 36 | { | 287 | 36 | return this->check_range (base, len, hb_static_size (T)); | 288 | 36 | } |
bool hb_sanitize_context_t::check_array<OT::Record<OT::Feature> >(OT::Record<OT::Feature> const*, unsigned int) const Line | Count | Source | 286 | 36 | { | 287 | 36 | return this->check_range (base, len, hb_static_size (T)); | 288 | 36 | } |
bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 18 | { | 287 | 18 | return this->check_range (base, len, hb_static_size (T)); | 288 | 18 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::Anchor>(AAT::Anchor const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::IntType<short, 2u> >(OT::IntType<short, 2u> const*, unsigned int) const bool hb_sanitize_context_t::check_array<AAT::KernPair>(AAT::KernPair const*, unsigned int) const Line | Count | Source | 286 | 4 | { | 287 | 4 | return this->check_range (base, len, hb_static_size (T)); | 288 | 4 | } |
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::DataMap>(OT::DataMap 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::IntType<unsigned int, 4u>, true> >(OT::Offset<OT::IntType<unsigned int, 4u>, 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::BitmapSizeTable>(OT::BitmapSizeTable const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::SBIXGlyph, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::SBIXGlyph, OT::IntType<unsigned int, 4u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::SVGDocumentIndexEntry>(OT::SVGDocumentIndexEntry const*, unsigned int) const bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 59 | { | 287 | 59 | return this->check_range (base, len, hb_static_size (T)); | 288 | 59 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 35 | { | 287 | 35 | return this->check_range (base, len, hb_static_size (T)); | 288 | 35 | } |
bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 2 | { | 287 | 2 | return this->check_range (base, len, hb_static_size (T)); | 288 | 2 | } |
bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 3 | { | 287 | 3 | return this->check_range (base, len, hb_static_size (T)); | 288 | 3 | } |
bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Line | Count | Source | 286 | 18 | { | 287 | 18 | return this->check_range (base, len, hb_static_size (T)); | 288 | 18 | } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::VertOriginMetric>(OT::VertOriginMetric 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::BaseGlyphPaintRecord>(OT::BaseGlyphPaintRecord const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::NoVariable<OT::ColorStop> >(OT::NoVariable<OT::ColorStop> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::Variable<OT::ColorStop> >(OT::Variable<OT::ColorStop> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::ClipRecord>(OT::ClipRecord 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::GaspRange>(OT::GaspRange 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::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::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned int, 4u>, false> 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::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned short, 2u>, 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<AAT::TrackTableEntry>(AAT::TrackTableEntry const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<AAT::WidthDeltaPair>(AAT::WidthDeltaPair const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::Tag>(OT::Tag const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::BaseScriptRecord>(OT::BaseScriptRecord const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::FeatMinMaxRecord>(OT::FeatMinMaxRecord const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::BaseLangSysRecord>(OT::BaseLangSysRecord const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<OT::JstfPriority, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::JstfPriority, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::Record<OT::JstfLangSys> >(OT::Record<OT::JstfLangSys> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::Record<OT::JstfScript> >(OT::Record<OT::JstfScript> const*, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> const*, unsigned int) const |
289 | | |
290 | | template <typename T> |
291 | | bool check_array (const T *base, |
292 | | unsigned int a, |
293 | | unsigned int b) const |
294 | 0 | { |
295 | 0 | return this->check_range (base, a, b, hb_static_size (T)); |
296 | 0 | } Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::IntType<unsigned char, 1u> >(OT::IntType<unsigned char, 1u> const*, unsigned int, unsigned int) const Unexecuted instantiation: bool hb_sanitize_context_t::check_array<OT::IntType<short, 2u> >(OT::IntType<short, 2u> const*, unsigned int, unsigned int) const |
297 | | |
298 | | bool check_start_recursion (int max_depth) |
299 | 0 | { |
300 | 0 | if (unlikely (recursion_depth >= max_depth)) return false; |
301 | 0 | return ++recursion_depth; |
302 | 0 | } |
303 | | |
304 | | bool end_recursion (bool result) |
305 | 0 | { |
306 | 0 | recursion_depth--; |
307 | 0 | return result; |
308 | 0 | } |
309 | | |
310 | | template <typename Type> |
311 | | bool check_struct (const Type *obj) const |
312 | 51.1k | { return likely (this->check_range (obj, obj->min_size)); } 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::IntType<unsigned int, 4u> >(OT::IntType<unsigned int, 4u> const*) const Line | Count | Source | 312 | 1 | { return likely (this->check_range (obj, obj->min_size)); } |
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::IntType<unsigned short, 2u> > >(OT::BinSearchHeader<OT::IntType<unsigned short, 2u> > const*) const Line | Count | Source | 312 | 4 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::FixedVersion<OT::IntType<unsigned short, 2u> > >(OT::FixedVersion<OT::IntType<unsigned short, 2u> > const*) const Line | Count | Source | 312 | 38 | { return likely (this->check_range (obj, obj->min_size)); } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::OpenTypeOffsetTable, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::OpenTypeOffsetTable, OT::IntType<unsigned int, 4u>, 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::IntType<unsigned char, 1u> >, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned int, 4u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ResourceMap, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::ResourceMap, OT::IntType<unsigned int, 4u>, 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::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::ArrayOfM1<OT::ResourceTypeRecord, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, false> const*) const bool hb_sanitize_context_t::check_struct<OT::IntType<unsigned short, 2u> >(OT::IntType<unsigned short, 2u> const*) const Line | Count | Source | 312 | 25.1k | { return likely (this->check_range (obj, obj->min_size)); } |
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::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::ResourceRecord>, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned char, 1u>, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 3u>, false> >(OT::OffsetTo<OT::ArrayOf<OT::IntType<unsigned char, 1u>, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 3u>, 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::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::CmapSubtable, OT::IntType<unsigned int, 4u>, 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::IntType<unsigned short, 2u> > >(OT::CmapSubtableTrimmed<OT::IntType<unsigned short, 2u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::CmapSubtableTrimmed<OT::IntType<unsigned int, 4u> > >(OT::CmapSubtableTrimmed<OT::IntType<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::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::DefaultUVS, OT::IntType<unsigned int, 4u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::NonDefaultUVS, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::NonDefaultUVS, OT::IntType<unsigned int, 4u>, 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::IntType<unsigned char, 1u> >(OT::IntType<unsigned char, 1u> 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::IntType<unsigned int, 3u> >(OT::IntType<unsigned int, 3u> const*) const bool hb_sanitize_context_t::check_struct<OT::Feature>(OT::Feature const*) const Line | Count | Source | 312 | 60 | { return likely (this->check_range (obj, obj->min_size)); } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::FeatureParams, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::FeatureParams, OT::IntType<unsigned short, 2u>, true> const*) const bool hb_sanitize_context_t::check_struct<OT::LangSys>(OT::LangSys const*) const Line | Count | Source | 312 | 53 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::LangSys, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::LangSys, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 53 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::Record<OT::LangSys> >(OT::Record<OT::LangSys> const*) const Line | Count | Source | 312 | 11 | { return likely (this->check_range (obj, obj->min_size)); } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ClassDefFormat1_3<OT::Layout::SmallTypes> >(OT::ClassDefFormat1_3<OT::Layout::SmallTypes> const*) const 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::VarRegionList>(OT::VarRegionList 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::VariationStore>(OT::VariationStore const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::VarRegionList, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::VarRegionList, OT::IntType<unsigned int, 4u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::ConditionFormat1>(OT::ConditionFormat1 const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, 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::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Feature, OT::IntType<unsigned int, 4u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ConditionSet, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::ConditionSet, OT::IntType<unsigned int, 4u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::FeatureTableSubstitution, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::FeatureTableSubstitution, OT::IntType<unsigned int, 4u>, 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::VariationStore, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::VariationStore, OT::IntType<unsigned short, 2u>, 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::avar>(OT::avar const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::DeltaSetIndexMap, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::DeltaSetIndexMap, OT::IntType<unsigned int, 4u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> > >(OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned short, 2u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> > >(OT::DeltaSetIndexMapFormat01<OT::IntType<unsigned int, 4u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::VariationStore, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::VariationStore, OT::IntType<unsigned int, 4u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::TupleVariationData>(OT::TupleVariationData 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::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 | 312 | 18 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::maxp>(OT::maxp const*) const Line | Count | Source | 312 | 18 | { return likely (this->check_range (obj, obj->min_size)); } |
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>(OT::gvar const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::IntType<short, 2u>, 14u> >, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::IntType<short, 2u>, 14u> >, OT::IntType<unsigned int, 4u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::IntType<short, 2u> >(OT::IntType<short, 2u> 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::IntType<unsigned short, 2u>, OT::IntType<unsigned char, 1u> > >(CFF::FDSelect3_4<OT::IntType<unsigned short, 2u>, OT::IntType<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::Charset1_2<OT::IntType<unsigned char, 1u> > >(CFF::Charset1_2<OT::IntType<unsigned char, 1u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Charset_Range<OT::IntType<unsigned char, 1u> > >(CFF::Charset_Range<OT::IntType<unsigned char, 1u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Charset1_2<OT::IntType<unsigned short, 2u> > >(CFF::Charset1_2<OT::IntType<unsigned short, 2u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::Charset_Range<OT::IntType<unsigned short, 2u> > >(CFF::Charset_Range<OT::IntType<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<CFF::CFFIndex<OT::IntType<unsigned short, 2u> > >(CFF::CFFIndex<OT::IntType<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::IntType<unsigned int, 4u>, OT::IntType<unsigned short, 2u> > >(CFF::FDSelect3_4<OT::IntType<unsigned int, 4u>, OT::IntType<unsigned short, 2u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<CFF::CFF2VariationStore>(CFF::CFF2VariationStore 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<CFF::CFFIndex<OT::IntType<unsigned int, 4u> > >(CFF::CFFIndex<OT::IntType<unsigned int, 4u> > 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 Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::Entry<void> >(AAT::Entry<void> const*) const bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 73 | { return likely (this->check_range (obj, obj->min_size)); } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true> const*) const bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ClassDef, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ClassDef, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 7 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::AttachList, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::AttachList, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 1 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::LigCaretList, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::LigCaretList, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 1 | { return likely (this->check_range (obj, obj->min_size)); } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, true> 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::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 | 312 | 676 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::AnchorFormat2>(OT::Layout::GPOS_impl::AnchorFormat2 const*) const Line | Count | Source | 312 | 1 | { return likely (this->check_range (obj, obj->min_size)); } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::AnchorFormat3>(OT::Layout::GPOS_impl::AnchorFormat3 const*) const bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 677 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::AnchorMatrix>(OT::Layout::GPOS_impl::AnchorMatrix const*) const Line | Count | Source | 312 | 6 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::Layout::GPOS_impl::MarkRecord>(OT::Layout::GPOS_impl::MarkRecord const*) const Line | Count | Source | 312 | 96 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::Lookup>(OT::Lookup const*) const Line | Count | Source | 312 | 63 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 7 | { return likely (this->check_range (obj, obj->min_size)); } |
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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, 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 | 312 | 1 | { return likely (this->check_range (obj, obj->min_size)); } |
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 | 312 | 4 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 6 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 6 | { return likely (this->check_range (obj, obj->min_size)); } |
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 | 312 | 1 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 1 | { return likely (this->check_range (obj, obj->min_size)); } |
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 | 312 | 1 | { return likely (this->check_range (obj, obj->min_size)); } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*) const bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 5 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 6 | { return likely (this->check_range (obj, obj->min_size)); } |
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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::RecordListOfScript, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 36 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::Record<OT::Script> >(OT::Record<OT::Script> const*) const Line | Count | Source | 312 | 42 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Script, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Script, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 42 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::RecordListOf<OT::Feature>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::RecordListOf<OT::Feature>, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 36 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::Record<OT::Feature> >(OT::Record<OT::Feature> const*) const Line | Count | Source | 312 | 60 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Feature, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Feature, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 60 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 18 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 4 | { return likely (this->check_range (obj, obj->min_size)); } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, 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::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> >, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<AAT::Lookup<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> >, OT::IntType<unsigned int, 4u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> > >(AAT::LookupSegmentSingle<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> > >(AAT::LookupSegmentArray<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> >, OT::IntType<unsigned short, 2u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> > >(AAT::LookupSingle<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> > >(AAT::LookupFormat8<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned int, 4u> > >(OT::BinSearchHeader<OT::IntType<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::IntType<unsigned short, 2u> >, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<AAT::Lookup<OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned int, 4u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::IntType<unsigned short, 2u> > >(AAT::LookupSegmentSingle<OT::IntType<unsigned short, 2u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::IntType<unsigned short, 2u> > >(AAT::LookupSegmentArray<OT::IntType<unsigned short, 2u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::IntType<unsigned short, 2u> > >(AAT::LookupSingle<OT::IntType<unsigned short, 2u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::IntType<unsigned short, 2u> > >(AAT::LookupFormat8<OT::IntType<unsigned short, 2u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat10<OT::IntType<unsigned short, 2u> > >(AAT::LookupFormat10<OT::IntType<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::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<AAT::Lookup<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 4u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::IntType<unsigned int, 4u> > >(AAT::LookupSegmentSingle<OT::IntType<unsigned int, 4u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::IntType<unsigned int, 4u> > >(AAT::LookupSegmentArray<OT::IntType<unsigned int, 4u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::IntType<unsigned int, 4u> > >(AAT::LookupSingle<OT::IntType<unsigned int, 4u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::IntType<unsigned int, 4u> > >(AAT::LookupFormat8<OT::IntType<unsigned int, 4u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat10<OT::IntType<unsigned int, 4u> > >(AAT::LookupFormat10<OT::IntType<unsigned int, 4u> > const*) const bool hb_sanitize_context_t::check_struct<OT::KernOTSubTableHeader>(OT::KernOTSubTableHeader const*) const Line | Count | Source | 312 | 8 | { return likely (this->check_range (obj, obj->min_size)); } |
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::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<AAT::ClassTable<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ClassTable<OT::IntType<unsigned char, 1u> > >(AAT::ClassTable<OT::IntType<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::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<AAT::ClassTable<OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::ClassTable<OT::IntType<unsigned short, 2u> > >(AAT::ClassTable<OT::IntType<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::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned int, 4u> > >(OT::IndexSubtableFormat1Or3<OT::IntType<unsigned int, 4u> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::IndexSubtableFormat1Or3<OT::IntType<unsigned short, 2u> > >(OT::IndexSubtableFormat1Or3<OT::IntType<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::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::IndexSubtable, OT::IntType<unsigned int, 4u>, 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::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::IndexSubtableArray, OT::IntType<unsigned int, 4u>, 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::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::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 59 | { return likely (this->check_range (obj, obj->min_size)); } |
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 | 312 | 1 | { return likely (this->check_range (obj, obj->min_size)); } |
Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*) const bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 23.7k | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 3 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 9 | { return likely (this->check_range (obj, obj->min_size)); } |
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::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 18 | { return likely (this->check_range (obj, obj->min_size)); } |
bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true> const*) const Line | Count | Source | 312 | 59 | { return likely (this->check_range (obj, obj->min_size)); } |
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::COLR>(OT::COLR const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::BaseGlyphList, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::BaseGlyphList, OT::IntType<unsigned int, 4u>, true> 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::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true> 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::NoVariable<OT::PaintSolid> >(OT::NoVariable<OT::PaintSolid> 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::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::IntType<unsigned int, 3u>, true> >(OT::OffsetTo<OT::ColorLine<OT::NoVariable>, OT::IntType<unsigned int, 3u>, 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::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::IntType<unsigned int, 3u>, true> >(OT::OffsetTo<OT::ColorLine<OT::Variable>, OT::IntType<unsigned int, 3u>, 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::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::PaintGlyph>(OT::PaintGlyph const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 3u>, true> >(OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 3u>, true> 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::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::IntType<unsigned int, 3u>, true> >(OT::OffsetTo<OT::NoVariable<OT::Affine2x3>, OT::IntType<unsigned int, 3u>, 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::Affine2x3>(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::IntType<unsigned int, 3u>, true> >(OT::OffsetTo<OT::Variable<OT::Affine2x3>, OT::IntType<unsigned int, 3u>, 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::PaintTranslate>(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::PaintScale>(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::PaintScaleAroundCenter>(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::PaintScaleUniform>(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::PaintScaleUniformAroundCenter>(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::PaintRotate>(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::PaintRotateAroundCenter>(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::PaintSkew>(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::PaintSkewAroundCenter>(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::PaintComposite>(OT::PaintComposite const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::LayerList, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::LayerList, OT::IntType<unsigned int, 4u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ClipList, OT::IntType<unsigned int, 4u>, true> >(OT::OffsetTo<OT::ClipList, OT::IntType<unsigned int, 4u>, true> 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::ClipRecord>(OT::ClipRecord const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ClipBox, OT::IntType<unsigned int, 3u>, true> >(OT::OffsetTo<OT::ClipBox, OT::IntType<unsigned int, 3u>, true> 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::Variable<OT::ClipBoxFormat1> >(OT::Variable<OT::ClipBoxFormat1> 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::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::IntType<unsigned int, 4u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::AxisValueOffsetArray, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::AxisValueOffsetArray, OT::IntType<unsigned int, 4u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, 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::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::NoVariable<OT::ColorStop> >(OT::NoVariable<OT::ColorStop> 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::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<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::IntType<unsigned int, 4u>, false>, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned int, 4u>, false>, OT::IntType<unsigned int, 4u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned int, 4u>, false> 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::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBGlyphID16>, OT::IntType<unsigned short, 2u>, false> 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::IntType<unsigned short, 2u>, false>, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned short, 2u>, false>, OT::IntType<unsigned short, 2u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned short, 2u>, 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::IntType<int, 4u> >(OT::IntType<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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<AAT::TrackData, OT::IntType<unsigned short, 2u>, 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::IntType<int, 4u>, 16u> >, OT::IntType<unsigned int, 4u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::IntType<int, 4u>, 16u> >, OT::IntType<unsigned int, 4u>, 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::IntType<short, 2u> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<short, 2u> >, OT::IntType<unsigned short, 2u>, 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::Feature>(AAT::Feature 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::LookupSegmentSingle<OT::HBGlyphID16> >(AAT::LookupSegmentSingle<OT::HBGlyphID16> 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::JustificationHeader>(AAT::JustificationHeader const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::JustificationCategory, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<AAT::JustificationCategory, OT::IntType<unsigned short, 2u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<AAT::PostcompensationActionChain, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<AAT::PostcompensationActionChain, OT::IntType<unsigned short, 2u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> > >(AAT::LookupSegmentSingle<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> > >(AAT::LookupSegmentArray<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> >, OT::IntType<unsigned short, 2u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> > >(AAT::LookupSingle<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> > >(AAT::LookupFormat8<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<AAT::JustificationHeader, OT::IntType<unsigned short, 2u>, true> 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::CPALV1Tail>(OT::CPALV1Tail 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::Axis, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::SortedArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::BaseScriptList, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::BaseScriptList, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::BaseScript, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::BaseValues, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::MinMax, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::IndexArray, OT::IntType<unsigned short, 2u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::JstfPriority, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::JstfPriority, OT::IntType<unsigned short, 2u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::SortedArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::SortedArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::JstfLangSys, OT::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::JstfLangSys, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<OT::JstfScript, OT::IntType<unsigned short, 2u>, 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::IntType<unsigned short, 2u>, true> >(OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentSingle<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> > >(AAT::LookupSegmentSingle<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSegmentArray<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> > >(AAT::LookupSegmentArray<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> >, OT::IntType<unsigned short, 2u>, false> >(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> >, OT::IntType<unsigned short, 2u>, false> const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupSingle<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> > >(AAT::LookupSingle<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> > const*) const Unexecuted instantiation: bool hb_sanitize_context_t::check_struct<AAT::LookupFormat8<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> > >(AAT::LookupFormat8<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, 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 |
313 | | |
314 | | bool may_edit (const void *base, unsigned int len) |
315 | 0 | { |
316 | 0 | if (this->edit_count >= HB_SANITIZE_MAX_EDITS) |
317 | 0 | return false; |
318 | | |
319 | 0 | const char *p = (const char *) base; |
320 | 0 | this->edit_count++; |
321 | |
|
322 | 0 | DEBUG_MSG_LEVEL (SANITIZE, p, this->debug_depth+1, 0, |
323 | 0 | "may_edit(%u) [%p..%p] (%u bytes) in [%p..%p] -> %s", |
324 | 0 | this->edit_count, |
325 | 0 | p, p + len, len, |
326 | 0 | this->start, this->end, |
327 | 0 | this->writable ? "GRANTED" : "DENIED"); |
328 | |
|
329 | 0 | return this->writable; |
330 | 0 | } |
331 | | |
332 | | template <typename Type, typename ValueType> |
333 | | bool try_set (const Type *obj, const ValueType &v) |
334 | 0 | { |
335 | 0 | if (this->may_edit (obj, hb_static_size (Type))) |
336 | 0 | { |
337 | 0 | * const_cast<Type *> (obj) = v; |
338 | 0 | return true; |
339 | 0 | } |
340 | 0 | return false; |
341 | 0 | } Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::OpenTypeOffsetTable, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::OpenTypeOffsetTable, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::IntType<unsigned short, 2u>, unsigned short>(OT::IntType<unsigned short, 2u> const*, unsigned short const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::DefaultUVS, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::DefaultUVS, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::NonDefaultUVS, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::NonDefaultUVS, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::CmapSubtable, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::CmapSubtable, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ArrayOf<OT::IntType<unsigned char, 1u>, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 3u>, false>, int>(OT::OffsetTo<OT::ArrayOf<OT::IntType<unsigned char, 1u>, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 3u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::ResourceRecord>, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::ResourceRecord>, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ArrayOfM1<OT::ResourceTypeRecord, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<OT::ArrayOfM1<OT::ResourceTypeRecord, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned int, 4u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned int, 4u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ResourceMap, OT::IntType<unsigned int, 4u>, false>, int>(OT::OffsetTo<OT::ResourceMap, OT::IntType<unsigned int, 4u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::FeatureParams, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::FeatureParams, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::FeatureParams, OT::IntType<unsigned short, 2u>, true>, unsigned int>(OT::OffsetTo<OT::FeatureParams, OT::IntType<unsigned short, 2u>, true> const*, unsigned int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::LangSys, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::LangSys, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::VarRegionList, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::VarRegionList, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::VarData, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::Condition, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Feature, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::Feature, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ConditionSet, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::ConditionSet, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::FeatureTableSubstitution, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::FeatureTableSubstitution, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::VariationStore, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::VariationStore, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::DeltaSetIndexMap, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::DeltaSetIndexMap, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::VariationStore, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::VariationStore, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::IntType<short, 2u>, 14u> >, OT::IntType<unsigned int, 4u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::IntType<short, 2u>, 14u> >, OT::IntType<unsigned int, 4u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::AttachPoint, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Device, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::CaretValue, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::LigGlyph, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::Layout::Common::Coverage, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ClassDef, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::ClassDef, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::AttachList, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::AttachList, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::LigCaretList, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::LigCaretList, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::MarkGlyphSets, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::Anchor, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::PairSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::MarkArray, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::AnchorMatrix, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::LigatureArray, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Rule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::RuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::ChainRule<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::ChainRuleSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookupSubTable, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Script, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Script, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::RecordListOfScript, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::RecordListOfScript, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Feature, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Feature, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::RecordListOf<OT::Feature>, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::RecordListOf<OT::Feature>, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GPOS_impl::PosLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::FeatureVariations, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> >, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> >, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::Lookup<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> >, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<AAT::Lookup<OT::OffsetTo<OT::ArrayOf<AAT::Anchor, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> >, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::Lookup<OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned int, 4u>, false>, int>(OT::OffsetTo<AAT::Lookup<OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned int, 4u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::Lookup<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 4u>, false>, int>(OT::OffsetTo<AAT::Lookup<OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned int, 4u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::ClassTable<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<AAT::ClassTable<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::ClassTable<OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<AAT::ClassTable<OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<unsigned char, 1u> >, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::IndexSubtable, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::IndexSubtable, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::IndexSubtableArray, OT::IntType<unsigned int, 4u>, false>, int>(OT::OffsetTo<OT::IndexSubtableArray, OT::IntType<unsigned int, 4u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::SBIXStrike, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GSUB_impl::Sequence<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GSUB_impl::AlternateSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GSUB_impl::Ligature<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GSUB_impl::LigatureSet<OT::Layout::SmallTypes>, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookupSubTable, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::List16OfOffsetTo<OT::Layout::GSUB_impl::SubstLookup, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ColorLine<OT::NoVariable>, OT::IntType<unsigned int, 3u>, true>, int>(OT::OffsetTo<OT::ColorLine<OT::NoVariable>, OT::IntType<unsigned int, 3u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ColorLine<OT::Variable>, OT::IntType<unsigned int, 3u>, true>, int>(OT::OffsetTo<OT::ColorLine<OT::Variable>, OT::IntType<unsigned int, 3u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 3u>, true>, int>(OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 3u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::NoVariable<OT::Affine2x3>, OT::IntType<unsigned int, 3u>, true>, int>(OT::OffsetTo<OT::NoVariable<OT::Affine2x3>, OT::IntType<unsigned int, 3u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Variable<OT::Affine2x3>, OT::IntType<unsigned int, 3u>, true>, int>(OT::OffsetTo<OT::Variable<OT::Affine2x3>, OT::IntType<unsigned int, 3u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::Paint, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::BaseGlyphList, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::BaseGlyphList, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::LayerList, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::LayerList, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ClipBox, OT::IntType<unsigned int, 3u>, true>, int>(OT::OffsetTo<OT::ClipBox, OT::IntType<unsigned int, 3u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ClipList, OT::IntType<unsigned int, 4u>, true>, int>(OT::OffsetTo<OT::ClipList, OT::IntType<unsigned int, 4u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::IntType<unsigned int, 4u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::StatAxisRecord>, OT::IntType<unsigned int, 4u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::AxisValue, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::AxisValueOffsetArray, OT::IntType<unsigned int, 4u>, false>, int>(OT::OffsetTo<OT::AxisValueOffsetArray, OT::IntType<unsigned int, 4u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::TrackData, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<AAT::TrackData, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBGlyphID16>, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBGlyphID16>, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned short, 2u>, false>, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned short, 2u>, false>, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::JustificationCategory, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<AAT::JustificationCategory, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::PostcompensationActionChain, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<AAT::PostcompensationActionChain, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> >, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<OT::ArrayOf<AAT::WidthDeltaPair, OT::IntType<unsigned int, 4u> >, OT::IntType<unsigned short, 2u>, true> >, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::JustificationHeader, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<AAT::JustificationHeader, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<short, 2u> >, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::IntType<short, 2u> >, OT::IntType<unsigned short, 2u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::IntType<int, 4u>, 16u> >, OT::IntType<unsigned int, 4u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::HBFixed<OT::IntType<int, 4u>, 16u> >, OT::IntType<unsigned int, 4u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned int, 4u>, false>, int>(OT::OffsetTo<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned int, 4u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned int, 4u>, false>, OT::IntType<unsigned int, 4u>, false>, int>(OT::OffsetTo<OT::UnsizedListOfOffset16To<AAT::Lookup<OT::HBGlyphID16>, OT::IntType<unsigned int, 4u>, false>, OT::IntType<unsigned int, 4u>, false> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::SortedArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::SortedArrayOf<OT::Tag, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::BaseCoord, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::BaseValues, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::BaseValues, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::MinMax, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::MinMax, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::BaseScript, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::BaseScript, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::BaseScriptList, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::BaseScriptList, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::Axis, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::Axis, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::IndexArray, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::IndexArray, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::JstfPriority, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::JstfPriority, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::SortedArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::SortedArrayOf<OT::HBGlyphID16, OT::IntType<unsigned short, 2u> >, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::JstfLangSys, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::JstfLangSys, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::JstfScript, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<OT::JstfScript, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true>, int>(OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> const*, int const&) Unexecuted instantiation: bool hb_sanitize_context_t::try_set<OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> >, OT::IntType<unsigned short, 2u>, false>, int>(OT::OffsetTo<OT::UnsizedArrayOf<OT::OffsetTo<AAT::OpticalBounds, OT::IntType<unsigned short, 2u>, true> >, OT::IntType<unsigned short, 2u>, false> const*, int const&) |
342 | | |
343 | | template <typename Type> |
344 | | hb_blob_t *sanitize_blob (hb_blob_t *blob) |
345 | 162 | { |
346 | 162 | bool sane; |
347 | | |
348 | 162 | init (blob); |
349 | | |
350 | 162 | retry: |
351 | 162 | DEBUG_MSG_FUNC (SANITIZE, start, "start"); |
352 | | |
353 | 162 | start_processing (); |
354 | | |
355 | 162 | if (unlikely (!start)) |
356 | 106 | { |
357 | 106 | end_processing (); |
358 | 106 | return blob; |
359 | 106 | } |
360 | | |
361 | 56 | Type *t = reinterpret_cast<Type *> (const_cast<char *> (start)); |
362 | | |
363 | 56 | sane = t->sanitize (this); |
364 | 56 | if (sane) |
365 | 56 | { |
366 | 56 | if (edit_count) |
367 | 0 | { |
368 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count); |
369 | | |
370 | | /* sanitize again to ensure no toe-stepping */ |
371 | 0 | edit_count = 0; |
372 | 0 | sane = t->sanitize (this); |
373 | 0 | if (edit_count) { |
374 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILLING", edit_count); |
375 | 0 | sane = false; |
376 | 0 | } |
377 | 0 | } |
378 | 56 | } |
379 | 0 | else |
380 | 0 | { |
381 | 0 | if (edit_count && !writable) { |
382 | 0 | start = hb_blob_get_data_writable (blob, nullptr); |
383 | 0 | end = start + blob->length; |
384 | |
|
385 | 0 | if (start) |
386 | 0 | { |
387 | 0 | writable = true; |
388 | | /* ok, we made it writable by relocating. try again */ |
389 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "retry"); |
390 | 0 | goto retry; |
391 | 0 | } |
392 | 0 | } |
393 | 0 | } |
394 | | |
395 | 56 | end_processing (); |
396 | | |
397 | 56 | DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED"); |
398 | 56 | if (sane) |
399 | 56 | { |
400 | 56 | hb_blob_make_immutable (blob); |
401 | 56 | return blob; |
402 | 56 | } |
403 | 0 | else |
404 | 0 | { |
405 | 0 | hb_blob_destroy (blob); |
406 | 0 | return hb_blob_get_empty (); |
407 | 0 | } |
408 | 56 | } 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*) Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::fvar>(hb_blob_t*) Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::avar>(hb_blob_t*) 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 | 345 | 18 | { | 346 | 18 | bool sane; | 347 | | | 348 | 18 | init (blob); | 349 | | | 350 | 18 | retry: | 351 | 18 | DEBUG_MSG_FUNC (SANITIZE, start, "start"); | 352 | | | 353 | 18 | start_processing (); | 354 | | | 355 | 18 | if (unlikely (!start)) | 356 | 0 | { | 357 | 0 | end_processing (); | 358 | 0 | return blob; | 359 | 0 | } | 360 | | | 361 | 18 | Type *t = reinterpret_cast<Type *> (const_cast<char *> (start)); | 362 | | | 363 | 18 | sane = t->sanitize (this); | 364 | 18 | if (sane) | 365 | 18 | { | 366 | 18 | if (edit_count) | 367 | 0 | { | 368 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count); | 369 | | | 370 | | /* sanitize again to ensure no toe-stepping */ | 371 | 0 | edit_count = 0; | 372 | 0 | sane = t->sanitize (this); | 373 | 0 | if (edit_count) { | 374 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILLING", edit_count); | 375 | 0 | sane = false; | 376 | 0 | } | 377 | 0 | } | 378 | 18 | } | 379 | 0 | else | 380 | 0 | { | 381 | 0 | if (edit_count && !writable) { | 382 | 0 | start = hb_blob_get_data_writable (blob, nullptr); | 383 | 0 | end = start + blob->length; | 384 | |
| 385 | 0 | if (start) | 386 | 0 | { | 387 | 0 | writable = true; | 388 | | /* ok, we made it writable by relocating. try again */ | 389 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "retry"); | 390 | 0 | goto retry; | 391 | 0 | } | 392 | 0 | } | 393 | 0 | } | 394 | | | 395 | 18 | end_processing (); | 396 | | | 397 | 18 | DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED"); | 398 | 18 | if (sane) | 399 | 18 | { | 400 | 18 | hb_blob_make_immutable (blob); | 401 | 18 | return blob; | 402 | 18 | } | 403 | 0 | else | 404 | 0 | { | 405 | 0 | hb_blob_destroy (blob); | 406 | 0 | return hb_blob_get_empty (); | 407 | 0 | } | 408 | 18 | } |
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>(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 | 345 | 18 | { | 346 | 18 | bool sane; | 347 | | | 348 | 18 | init (blob); | 349 | | | 350 | 18 | retry: | 351 | 18 | DEBUG_MSG_FUNC (SANITIZE, start, "start"); | 352 | | | 353 | 18 | start_processing (); | 354 | | | 355 | 18 | if (unlikely (!start)) | 356 | 17 | { | 357 | 17 | end_processing (); | 358 | 17 | return blob; | 359 | 17 | } | 360 | | | 361 | 1 | Type *t = reinterpret_cast<Type *> (const_cast<char *> (start)); | 362 | | | 363 | 1 | sane = t->sanitize (this); | 364 | 1 | if (sane) | 365 | 1 | { | 366 | 1 | if (edit_count) | 367 | 0 | { | 368 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count); | 369 | | | 370 | | /* sanitize again to ensure no toe-stepping */ | 371 | 0 | edit_count = 0; | 372 | 0 | sane = t->sanitize (this); | 373 | 0 | if (edit_count) { | 374 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILLING", edit_count); | 375 | 0 | sane = false; | 376 | 0 | } | 377 | 0 | } | 378 | 1 | } | 379 | 0 | else | 380 | 0 | { | 381 | 0 | if (edit_count && !writable) { | 382 | 0 | start = hb_blob_get_data_writable (blob, nullptr); | 383 | 0 | end = start + blob->length; | 384 | |
| 385 | 0 | if (start) | 386 | 0 | { | 387 | 0 | writable = true; | 388 | | /* ok, we made it writable by relocating. try again */ | 389 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "retry"); | 390 | 0 | goto retry; | 391 | 0 | } | 392 | 0 | } | 393 | 0 | } | 394 | | | 395 | 1 | end_processing (); | 396 | | | 397 | 1 | DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED"); | 398 | 1 | if (sane) | 399 | 1 | { | 400 | 1 | hb_blob_make_immutable (blob); | 401 | 1 | return blob; | 402 | 1 | } | 403 | 0 | else | 404 | 0 | { | 405 | 0 | hb_blob_destroy (blob); | 406 | 0 | return hb_blob_get_empty (); | 407 | 0 | } | 408 | 1 | } |
hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::Layout::GPOS>(hb_blob_t*) Line | Count | Source | 345 | 18 | { | 346 | 18 | bool sane; | 347 | | | 348 | 18 | init (blob); | 349 | | | 350 | 18 | retry: | 351 | 18 | DEBUG_MSG_FUNC (SANITIZE, start, "start"); | 352 | | | 353 | 18 | start_processing (); | 354 | | | 355 | 18 | if (unlikely (!start)) | 356 | 0 | { | 357 | 0 | end_processing (); | 358 | 0 | return blob; | 359 | 0 | } | 360 | | | 361 | 18 | Type *t = reinterpret_cast<Type *> (const_cast<char *> (start)); | 362 | | | 363 | 18 | sane = t->sanitize (this); | 364 | 18 | if (sane) | 365 | 18 | { | 366 | 18 | if (edit_count) | 367 | 0 | { | 368 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count); | 369 | | | 370 | | /* sanitize again to ensure no toe-stepping */ | 371 | 0 | edit_count = 0; | 372 | 0 | sane = t->sanitize (this); | 373 | 0 | if (edit_count) { | 374 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILLING", edit_count); | 375 | 0 | sane = false; | 376 | 0 | } | 377 | 0 | } | 378 | 18 | } | 379 | 0 | else | 380 | 0 | { | 381 | 0 | if (edit_count && !writable) { | 382 | 0 | start = hb_blob_get_data_writable (blob, nullptr); | 383 | 0 | end = start + blob->length; | 384 | |
| 385 | 0 | if (start) | 386 | 0 | { | 387 | 0 | writable = true; | 388 | | /* ok, we made it writable by relocating. try again */ | 389 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "retry"); | 390 | 0 | goto retry; | 391 | 0 | } | 392 | 0 | } | 393 | 0 | } | 394 | | | 395 | 18 | end_processing (); | 396 | | | 397 | 18 | DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED"); | 398 | 18 | if (sane) | 399 | 18 | { | 400 | 18 | hb_blob_make_immutable (blob); | 401 | 18 | return blob; | 402 | 18 | } | 403 | 0 | else | 404 | 0 | { | 405 | 0 | hb_blob_destroy (blob); | 406 | 0 | return hb_blob_get_empty (); | 407 | 0 | } | 408 | 18 | } |
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::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 | 345 | 18 | { | 346 | 18 | bool sane; | 347 | | | 348 | 18 | init (blob); | 349 | | | 350 | 18 | retry: | 351 | 18 | DEBUG_MSG_FUNC (SANITIZE, start, "start"); | 352 | | | 353 | 18 | start_processing (); | 354 | | | 355 | 18 | if (unlikely (!start)) | 356 | 0 | { | 357 | 0 | end_processing (); | 358 | 0 | return blob; | 359 | 0 | } | 360 | | | 361 | 18 | Type *t = reinterpret_cast<Type *> (const_cast<char *> (start)); | 362 | | | 363 | 18 | sane = t->sanitize (this); | 364 | 18 | if (sane) | 365 | 18 | { | 366 | 18 | if (edit_count) | 367 | 0 | { | 368 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count); | 369 | | | 370 | | /* sanitize again to ensure no toe-stepping */ | 371 | 0 | edit_count = 0; | 372 | 0 | sane = t->sanitize (this); | 373 | 0 | if (edit_count) { | 374 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILLING", edit_count); | 375 | 0 | sane = false; | 376 | 0 | } | 377 | 0 | } | 378 | 18 | } | 379 | 0 | else | 380 | 0 | { | 381 | 0 | if (edit_count && !writable) { | 382 | 0 | start = hb_blob_get_data_writable (blob, nullptr); | 383 | 0 | end = start + blob->length; | 384 | |
| 385 | 0 | if (start) | 386 | 0 | { | 387 | 0 | writable = true; | 388 | | /* ok, we made it writable by relocating. try again */ | 389 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "retry"); | 390 | 0 | goto retry; | 391 | 0 | } | 392 | 0 | } | 393 | 0 | } | 394 | | | 395 | 18 | end_processing (); | 396 | | | 397 | 18 | DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED"); | 398 | 18 | if (sane) | 399 | 18 | { | 400 | 18 | hb_blob_make_immutable (blob); | 401 | 18 | return blob; | 402 | 18 | } | 403 | 0 | else | 404 | 0 | { | 405 | 0 | hb_blob_destroy (blob); | 406 | 0 | return hb_blob_get_empty (); | 407 | 0 | } | 408 | 18 | } |
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::COLR>(hb_blob_t*) hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::morx>(hb_blob_t*) Line | Count | Source | 345 | 18 | { | 346 | 18 | bool sane; | 347 | | | 348 | 18 | init (blob); | 349 | | | 350 | 18 | retry: | 351 | 18 | DEBUG_MSG_FUNC (SANITIZE, start, "start"); | 352 | | | 353 | 18 | start_processing (); | 354 | | | 355 | 18 | if (unlikely (!start)) | 356 | 18 | { | 357 | 18 | end_processing (); | 358 | 18 | return blob; | 359 | 18 | } | 360 | | | 361 | 0 | Type *t = reinterpret_cast<Type *> (const_cast<char *> (start)); | 362 | |
| 363 | 0 | sane = t->sanitize (this); | 364 | 0 | if (sane) | 365 | 0 | { | 366 | 0 | if (edit_count) | 367 | 0 | { | 368 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count); | 369 | | | 370 | | /* sanitize again to ensure no toe-stepping */ | 371 | 0 | edit_count = 0; | 372 | 0 | sane = t->sanitize (this); | 373 | 0 | if (edit_count) { | 374 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILLING", edit_count); | 375 | 0 | sane = false; | 376 | 0 | } | 377 | 0 | } | 378 | 0 | } | 379 | 0 | else | 380 | 0 | { | 381 | 0 | if (edit_count && !writable) { | 382 | 0 | start = hb_blob_get_data_writable (blob, nullptr); | 383 | 0 | end = start + blob->length; | 384 | |
| 385 | 0 | if (start) | 386 | 0 | { | 387 | 0 | writable = true; | 388 | | /* ok, we made it writable by relocating. try again */ | 389 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "retry"); | 390 | 0 | goto retry; | 391 | 0 | } | 392 | 0 | } | 393 | 0 | } | 394 | | | 395 | 0 | end_processing (); | 396 | |
| 397 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED"); | 398 | 0 | if (sane) | 399 | 0 | { | 400 | 0 | hb_blob_make_immutable (blob); | 401 | 0 | return blob; | 402 | 0 | } | 403 | 0 | else | 404 | 0 | { | 405 | 0 | hb_blob_destroy (blob); | 406 | 0 | return hb_blob_get_empty (); | 407 | 0 | } | 408 | 0 | } |
hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::mort>(hb_blob_t*) Line | Count | Source | 345 | 18 | { | 346 | 18 | bool sane; | 347 | | | 348 | 18 | init (blob); | 349 | | | 350 | 18 | retry: | 351 | 18 | DEBUG_MSG_FUNC (SANITIZE, start, "start"); | 352 | | | 353 | 18 | start_processing (); | 354 | | | 355 | 18 | if (unlikely (!start)) | 356 | 18 | { | 357 | 18 | end_processing (); | 358 | 18 | return blob; | 359 | 18 | } | 360 | | | 361 | 0 | Type *t = reinterpret_cast<Type *> (const_cast<char *> (start)); | 362 | |
| 363 | 0 | sane = t->sanitize (this); | 364 | 0 | if (sane) | 365 | 0 | { | 366 | 0 | if (edit_count) | 367 | 0 | { | 368 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count); | 369 | | | 370 | | /* sanitize again to ensure no toe-stepping */ | 371 | 0 | edit_count = 0; | 372 | 0 | sane = t->sanitize (this); | 373 | 0 | if (edit_count) { | 374 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILLING", edit_count); | 375 | 0 | sane = false; | 376 | 0 | } | 377 | 0 | } | 378 | 0 | } | 379 | 0 | else | 380 | 0 | { | 381 | 0 | if (edit_count && !writable) { | 382 | 0 | start = hb_blob_get_data_writable (blob, nullptr); | 383 | 0 | end = start + blob->length; | 384 | |
| 385 | 0 | if (start) | 386 | 0 | { | 387 | 0 | writable = true; | 388 | | /* ok, we made it writable by relocating. try again */ | 389 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "retry"); | 390 | 0 | goto retry; | 391 | 0 | } | 392 | 0 | } | 393 | 0 | } | 394 | | | 395 | 0 | end_processing (); | 396 | |
| 397 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED"); | 398 | 0 | if (sane) | 399 | 0 | { | 400 | 0 | hb_blob_make_immutable (blob); | 401 | 0 | return blob; | 402 | 0 | } | 403 | 0 | else | 404 | 0 | { | 405 | 0 | hb_blob_destroy (blob); | 406 | 0 | return hb_blob_get_empty (); | 407 | 0 | } | 408 | 0 | } |
hb_blob_t* hb_sanitize_context_t::sanitize_blob<AAT::kerx>(hb_blob_t*) Line | Count | Source | 345 | 18 | { | 346 | 18 | bool sane; | 347 | | | 348 | 18 | init (blob); | 349 | | | 350 | 18 | retry: | 351 | 18 | DEBUG_MSG_FUNC (SANITIZE, start, "start"); | 352 | | | 353 | 18 | start_processing (); | 354 | | | 355 | 18 | if (unlikely (!start)) | 356 | 18 | { | 357 | 18 | end_processing (); | 358 | 18 | return blob; | 359 | 18 | } | 360 | | | 361 | 0 | Type *t = reinterpret_cast<Type *> (const_cast<char *> (start)); | 362 | |
| 363 | 0 | sane = t->sanitize (this); | 364 | 0 | if (sane) | 365 | 0 | { | 366 | 0 | if (edit_count) | 367 | 0 | { | 368 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count); | 369 | | | 370 | | /* sanitize again to ensure no toe-stepping */ | 371 | 0 | edit_count = 0; | 372 | 0 | sane = t->sanitize (this); | 373 | 0 | if (edit_count) { | 374 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILLING", edit_count); | 375 | 0 | sane = false; | 376 | 0 | } | 377 | 0 | } | 378 | 0 | } | 379 | 0 | else | 380 | 0 | { | 381 | 0 | if (edit_count && !writable) { | 382 | 0 | start = hb_blob_get_data_writable (blob, nullptr); | 383 | 0 | end = start + blob->length; | 384 | |
| 385 | 0 | if (start) | 386 | 0 | { | 387 | 0 | writable = true; | 388 | | /* ok, we made it writable by relocating. try again */ | 389 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "retry"); | 390 | 0 | goto retry; | 391 | 0 | } | 392 | 0 | } | 393 | 0 | } | 394 | | | 395 | 0 | end_processing (); | 396 | |
| 397 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED"); | 398 | 0 | if (sane) | 399 | 0 | { | 400 | 0 | hb_blob_make_immutable (blob); | 401 | 0 | return blob; | 402 | 0 | } | 403 | 0 | else | 404 | 0 | { | 405 | 0 | hb_blob_destroy (blob); | 406 | 0 | return hb_blob_get_empty (); | 407 | 0 | } | 408 | 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 | 345 | 18 | { | 346 | 18 | bool sane; | 347 | | | 348 | 18 | init (blob); | 349 | | | 350 | 18 | retry: | 351 | 18 | DEBUG_MSG_FUNC (SANITIZE, start, "start"); | 352 | | | 353 | 18 | start_processing (); | 354 | | | 355 | 18 | if (unlikely (!start)) | 356 | 18 | { | 357 | 18 | end_processing (); | 358 | 18 | return blob; | 359 | 18 | } | 360 | | | 361 | 0 | Type *t = reinterpret_cast<Type *> (const_cast<char *> (start)); | 362 | |
| 363 | 0 | sane = t->sanitize (this); | 364 | 0 | if (sane) | 365 | 0 | { | 366 | 0 | if (edit_count) | 367 | 0 | { | 368 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count); | 369 | | | 370 | | /* sanitize again to ensure no toe-stepping */ | 371 | 0 | edit_count = 0; | 372 | 0 | sane = t->sanitize (this); | 373 | 0 | if (edit_count) { | 374 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILLING", edit_count); | 375 | 0 | sane = false; | 376 | 0 | } | 377 | 0 | } | 378 | 0 | } | 379 | 0 | else | 380 | 0 | { | 381 | 0 | if (edit_count && !writable) { | 382 | 0 | start = hb_blob_get_data_writable (blob, nullptr); | 383 | 0 | end = start + blob->length; | 384 | |
| 385 | 0 | if (start) | 386 | 0 | { | 387 | 0 | writable = true; | 388 | | /* ok, we made it writable by relocating. try again */ | 389 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "retry"); | 390 | 0 | goto retry; | 391 | 0 | } | 392 | 0 | } | 393 | 0 | } | 394 | | | 395 | 0 | end_processing (); | 396 | |
| 397 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED"); | 398 | 0 | if (sane) | 399 | 0 | { | 400 | 0 | hb_blob_make_immutable (blob); | 401 | 0 | return blob; | 402 | 0 | } | 403 | 0 | else | 404 | 0 | { | 405 | 0 | hb_blob_destroy (blob); | 406 | 0 | return hb_blob_get_empty (); | 407 | 0 | } | 408 | 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::CPAL>(hb_blob_t*) hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::kern>(hb_blob_t*) Line | Count | Source | 345 | 18 | { | 346 | 18 | bool sane; | 347 | | | 348 | 18 | init (blob); | 349 | | | 350 | 18 | retry: | 351 | 18 | DEBUG_MSG_FUNC (SANITIZE, start, "start"); | 352 | | | 353 | 18 | start_processing (); | 354 | | | 355 | 18 | if (unlikely (!start)) | 356 | 17 | { | 357 | 17 | end_processing (); | 358 | 17 | return blob; | 359 | 17 | } | 360 | | | 361 | 1 | Type *t = reinterpret_cast<Type *> (const_cast<char *> (start)); | 362 | | | 363 | 1 | sane = t->sanitize (this); | 364 | 1 | if (sane) | 365 | 1 | { | 366 | 1 | if (edit_count) | 367 | 0 | { | 368 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "passed first round with %u edits; going for second round", edit_count); | 369 | | | 370 | | /* sanitize again to ensure no toe-stepping */ | 371 | 0 | edit_count = 0; | 372 | 0 | sane = t->sanitize (this); | 373 | 0 | if (edit_count) { | 374 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "requested %u edits in second round; FAILLING", edit_count); | 375 | 0 | sane = false; | 376 | 0 | } | 377 | 0 | } | 378 | 1 | } | 379 | 0 | else | 380 | 0 | { | 381 | 0 | if (edit_count && !writable) { | 382 | 0 | start = hb_blob_get_data_writable (blob, nullptr); | 383 | 0 | end = start + blob->length; | 384 | |
| 385 | 0 | if (start) | 386 | 0 | { | 387 | 0 | writable = true; | 388 | | /* ok, we made it writable by relocating. try again */ | 389 | 0 | DEBUG_MSG_FUNC (SANITIZE, start, "retry"); | 390 | 0 | goto retry; | 391 | 0 | } | 392 | 0 | } | 393 | 0 | } | 394 | | | 395 | 1 | end_processing (); | 396 | | | 397 | 1 | DEBUG_MSG_FUNC (SANITIZE, start, sane ? "PASSED" : "FAILED"); | 398 | 1 | if (sane) | 399 | 1 | { | 400 | 1 | hb_blob_make_immutable (blob); | 401 | 1 | return blob; | 402 | 1 | } | 403 | 0 | else | 404 | 0 | { | 405 | 0 | hb_blob_destroy (blob); | 406 | 0 | return hb_blob_get_empty (); | 407 | 0 | } | 408 | 1 | } |
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::sanitize_blob<OT::BASE>(hb_blob_t*) |
409 | | |
410 | | template <typename Type> |
411 | | hb_blob_t *reference_table (const hb_face_t *face, hb_tag_t tableTag = Type::tableTag) |
412 | 162 | { |
413 | 162 | if (!num_glyphs_set) |
414 | 126 | set_num_glyphs (hb_face_get_glyph_count (face)); |
415 | 162 | return sanitize_blob<Type> (hb_face_reference_table (face, tableTag)); |
416 | 162 | } 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) Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::fvar>(hb_face_t const*, unsigned int) Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::avar>(hb_face_t const*, unsigned int) 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 | 412 | 18 | { | 413 | 18 | if (!num_glyphs_set) | 414 | 0 | set_num_glyphs (hb_face_get_glyph_count (face)); | 415 | 18 | return sanitize_blob<Type> (hb_face_reference_table (face, tableTag)); | 416 | 18 | } |
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>(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 | 412 | 18 | { | 413 | 18 | if (!num_glyphs_set) | 414 | 18 | set_num_glyphs (hb_face_get_glyph_count (face)); | 415 | 18 | return sanitize_blob<Type> (hb_face_reference_table (face, tableTag)); | 416 | 18 | } |
hb_blob_t* hb_sanitize_context_t::reference_table<OT::Layout::GPOS>(hb_face_t const*, unsigned int) Line | Count | Source | 412 | 18 | { | 413 | 18 | if (!num_glyphs_set) | 414 | 18 | set_num_glyphs (hb_face_get_glyph_count (face)); | 415 | 18 | return sanitize_blob<Type> (hb_face_reference_table (face, tableTag)); | 416 | 18 | } |
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::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 | 412 | 18 | { | 413 | 18 | if (!num_glyphs_set) | 414 | 18 | set_num_glyphs (hb_face_get_glyph_count (face)); | 415 | 18 | return sanitize_blob<Type> (hb_face_reference_table (face, tableTag)); | 416 | 18 | } |
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::COLR>(hb_face_t const*, unsigned int) hb_blob_t* hb_sanitize_context_t::reference_table<AAT::morx>(hb_face_t const*, unsigned int) Line | Count | Source | 412 | 18 | { | 413 | 18 | if (!num_glyphs_set) | 414 | 18 | set_num_glyphs (hb_face_get_glyph_count (face)); | 415 | 18 | return sanitize_blob<Type> (hb_face_reference_table (face, tableTag)); | 416 | 18 | } |
hb_blob_t* hb_sanitize_context_t::reference_table<AAT::mort>(hb_face_t const*, unsigned int) Line | Count | Source | 412 | 18 | { | 413 | 18 | if (!num_glyphs_set) | 414 | 18 | set_num_glyphs (hb_face_get_glyph_count (face)); | 415 | 18 | return sanitize_blob<Type> (hb_face_reference_table (face, tableTag)); | 416 | 18 | } |
hb_blob_t* hb_sanitize_context_t::reference_table<AAT::kerx>(hb_face_t const*, unsigned int) Line | Count | Source | 412 | 18 | { | 413 | 18 | if (!num_glyphs_set) | 414 | 18 | set_num_glyphs (hb_face_get_glyph_count (face)); | 415 | 18 | return sanitize_blob<Type> (hb_face_reference_table (face, tableTag)); | 416 | 18 | } |
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 | 412 | 18 | { | 413 | 18 | if (!num_glyphs_set) | 414 | 18 | set_num_glyphs (hb_face_get_glyph_count (face)); | 415 | 18 | return sanitize_blob<Type> (hb_face_reference_table (face, tableTag)); | 416 | 18 | } |
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::CPAL>(hb_face_t const*, unsigned int) hb_blob_t* hb_sanitize_context_t::reference_table<OT::kern>(hb_face_t const*, unsigned int) Line | Count | Source | 412 | 18 | { | 413 | 18 | if (!num_glyphs_set) | 414 | 0 | set_num_glyphs (hb_face_get_glyph_count (face)); | 415 | 18 | return sanitize_blob<Type> (hb_face_reference_table (face, tableTag)); | 416 | 18 | } |
Unexecuted instantiation: hb_blob_t* hb_sanitize_context_t::reference_table<OT::BASE>(hb_face_t const*, unsigned int) |
417 | | |
418 | | const char *start, *end; |
419 | | mutable int max_ops, max_subtables; |
420 | | private: |
421 | | int recursion_depth; |
422 | | bool writable; |
423 | | unsigned int edit_count; |
424 | | hb_blob_t *blob; |
425 | | unsigned int num_glyphs; |
426 | | bool num_glyphs_set; |
427 | | }; |
428 | | |
429 | | struct hb_sanitize_with_object_t |
430 | | { |
431 | | template <typename T> |
432 | | hb_sanitize_with_object_t (hb_sanitize_context_t *c, const T& obj) : c (c) |
433 | 40 | { c->set_object (obj); } Unexecuted instantiation: hb_sanitize_with_object_t::hb_sanitize_with_object_t<AAT::ChainSubtable<AAT::ExtendedTypes> const*>(hb_sanitize_context_t*, AAT::ChainSubtable<AAT::ExtendedTypes> const* const&) Unexecuted instantiation: hb_sanitize_with_object_t::hb_sanitize_with_object_t<AAT::ChainSubtable<AAT::ObsoleteTypes> const*>(hb_sanitize_context_t*, AAT::ChainSubtable<AAT::ObsoleteTypes> const* const&) 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 | 433 | 40 | { 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&) |
434 | | ~hb_sanitize_with_object_t () |
435 | 40 | { c->reset_object (); } |
436 | | |
437 | | private: |
438 | | hb_sanitize_context_t *c; |
439 | | }; |
440 | | |
441 | | |
442 | | #endif /* HB_SANITIZE_HH */ |