Ebrahim Byagowi
9df2fb1611
Add API tests for hb_map_t
6 years ago
Ebrahim Byagowi
8a5eba7110
[test] cosmetic, use g_assert_cmpint
6 years ago
Ebrahim Byagowi
c6eb5e852c
Don't report deprecated symbols as unused symbols
6 years ago
Ebrahim Byagowi
34f357c78a
Add test for hb_set_del
6 years ago
Bruce Mitchener
4594730f64
Remove redundant return at end of void-returning function.
6 years ago
Ebrahim Byagowi
093c7c4a54
[ci] Run valgrind on test/api
...
run-shape-fuzzer-tests.py automatically runs valgrind if see available
but test/api runs it by request, we probably should normalize the approaches
later
6 years ago
Bruce Mitchener
8d1e479d1d
Use bool literals instead of 0/1.
6 years ago
Bruce Mitchener
257d0e5aa3
Fix typos.
6 years ago
Ebrahim Byagowi
b7cef8cb1d
Enable valgrind and dedicate a bot to it
6 years ago
Ebrahim Byagowi
bccd09d6c7
Minor, tweak spaces on hb-shape-fuzzer.cc
6 years ago
Ebrahim Byagowi
fbf665b307
[fuzz] Add more found cases ( #1275 )
6 years ago
Behdad Esfahbod
3d9a0306eb
2.0.0
6 years ago
Behdad Esfahbod
535ca678bf
[test] Don't use newer glib API
6 years ago
Ebrahim Byagowi
03e144135b
[ubsan] Use unsigned int instead enum where needed ( #1270 )
...
Actually the check is right,
On -myanmar.hh, on that particular switch, OT_C is indic_category_t
but OT_D is myanmar_category_t so we are mixing the types in one variable.
And on -arabic.cc, step can goes one number higher than step_t enum in the
loop so we are actually using it as an unsinged int.
6 years ago
Behdad Esfahbod
64df6b0b0f
[AUTHORS] Add Ebrahim and Khaled
6 years ago
Behdad Esfahbod
f1ced9be37
More warning fix
...
Okay, let's see if the gods are happy now...
6 years ago
Behdad Esfahbod
40606abd0c
Fix build
6 years ago
Behdad Esfahbod
c406aca193
Fix warning
6 years ago
Behdad Esfahbod
270a37c324
Kick bots
6 years ago
Behdad Esfahbod
6da8ef3f9f
Fix some wierdness...
6 years ago
Behdad Esfahbod
83780308b4
[aat] Fix sanitize slowdown
...
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11034
6 years ago
Behdad Esfahbod
b9478e28ac
Revert "[test] Remove not-fixed yet testcases ( #1268 )"
...
This reverts commit 191eef823f
.
6 years ago
Ebrahim Byagowi
af99b20dfd
[ci/ubsan] Disable enum sanitization
...
Behdad apparently not interested on them
6 years ago
Behdad Esfahbod
9e8a9b846e
[aat] Another try at fixing Lookup null objects...
...
Ugly as hell, and don't even understand why some bits are needed.
But the logic is sound.
6 years ago
Ebrahim Byagowi
191eef823f
[test] Remove not-fixed yet testcases ( #1268 )
...
I added them but now that I think, it is a bad idea to have them as
fuzzing bots will find good seeds to tweak in order to find easy new
testcases which causes duplicated issues.
6 years ago
Ebrahim Byagowi
392e1f4ddd
[test/shape-fuzzer] fail on timeout and ubsan errors ( #1267 )
6 years ago
Ebrahim Byagowi
eeddda3ec6
[util] Better file-not-found error from hb-shape / hb-view
...
fixes #1266
6 years ago
Ebrahim Byagowi
751c10e55e
[fuzz] Add more new testcases
6 years ago
Ebrahim Byagowi
fd282eb328
[fuzz] Add a new testcase
6 years ago
Behdad Esfahbod
9d42d70269
[trak] Fix calc
...
We were getting the first track record always. Ie. this line:
if (trackTable[i].get_track_value () == 0.f)
{
- trackTableEntry = &trackTable[0];
+ trackTableEntry = &trackTable[i];
break;
}
The rest is cleanup.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1263 for the most part.
6 years ago
Behdad Esfahbod
3341c7fbfb
[fuzzing] Move fuzzing fonts from api/ here
6 years ago
Behdad Esfahbod
2e7c716511
[buffer] Add an assert
...
See if it helps debugging https://bugs.chromium.org/p/chromium/issues/detail?id=895117
6 years ago
Behdad Esfahbod
5842756b13
[fuzzing] Delete blink fuzzed data
...
These are text, not font.
6 years ago
Behdad Esfahbod
25fe7e7e10
[aat] Comment
6 years ago
HinTak
26092bb3d1
"allow-none" annotation for "out" parameters
...
Fixes the following warnings:
hb-ot-tag.cc:330: Warning: HarfBuzz: invalid "allow-none" annotation: only valid for pointer types and out parameters
hb-ot-tag.cc:334: Warning: HarfBuzz: invalid "allow-none" annotation: only valid for pointer types and out parameters
6 years ago
Behdad Esfahbod
ba42651608
Fix indent
6 years ago
HinTak
49bdb54427
typo in gobject annotation - "in/out" should be "inout"
...
"in/out" should be "inout"
6 years ago
Behdad Esfahbod
c0c190c16a
[fuzzing] Run tests against fuzzing fonts
...
Some disable.
6 years ago
Behdad Esfahbod
7b37705fb5
[fuzzing] Rename
6 years ago
Behdad Esfahbod
3676c685d4
[fuzzing] Move rest of fuzzing tests here
6 years ago
Behdad Esfahbod
1487173dcf
[fuzzing] Delete duplicate fonts
6 years ago
Behdad Esfahbod
49c041f7c5
Minor
6 years ago
Behdad Esfahbod
36f38ea703
[gpos] Protect mark attachment against out-of-bounds
...
Not sure how can happen, but does...
6 years ago
Behdad Esfahbod
1147ce2392
[fuzzing] Add more tests
6 years ago
Behdad Esfahbod
12cbe195ae
[aat] Another non-null offset
6 years ago
Behdad Esfahbod
87205ef935
[aat] Make sure Lookup offset is never nulled
...
It has unbounded size...
Fixes https://oss-fuzz.com/v2/testcase-detail/5718889451749376
6 years ago
Behdad Esfahbod
1aa353e4fc
Fix tests
6 years ago
Behdad Esfahbod
98d4ad02b9
[fuzzing] One more
6 years ago
Behdad Esfahbod
e6f267c3df
[fuzzing] Add more clusterfuzz tests I had lying around
6 years ago
Ebrahim Byagowi
e53206271d
Add all the fonts found by fuzzers to the repo ( #1258 )
6 years ago