Behdad Esfahbod
b8c7c0a0e6
[fuzzer] In 50% of runs don't fail the allocator
3 years ago
Garret Rieger
f9d8e4a976
[subset] switch ..._set_flags to not take a mask.
4 years ago
Garret Rieger
3d534b146c
[subset] convert subset input flags into bit flags.
...
Store the flags in a bit set. Updates the public api to work with the bit set directly.
4 years ago
Garret Rieger
9ab751ac9f
[subset] Remove hb_subset(). Leaving just hb_subset_or_fail().
4 years ago
Garret Rieger
942636ae13
[subset] Remove hb_subset_input_get/set_retain_gids.
4 years ago
Garret Rieger
8bf5d4d4f7
[subset] Remove hb_subset_input_get/set_drop_hints.
4 years ago
Khaled Hosny
5091ea7e24
Merge pull request #2733 from astiob/buffer-context-doc
...
[docs] Describe buffer context applicability more explicitly
4 years ago
Ebrahim Byagowi
057769b1a3
[fuzzer] minor
5 years ago
Ebrahim Byagowi
c33e8006fd
[fuzz] Implement failing allocator
5 years ago
Ebrahim Byagowi
945bcd7230
minor
5 years ago
Ebrahim Byagowi
fa0436ddd1
[ENOMEM][fuzzer/subset] early return if the result is null
...
I don't see _or_fail APIs idiomatic for the project but since it is there, let's have this
5 years ago
Ebrahim Byagowi
b65bad18aa
[fuzz] Don't fail when blob is empty
...
And enable more tests able to trig the issue.
6 years ago
Ebrahim Byagowi
c85f624b51
Force blob generation and memory check in hb-subset-fuzzer
6 years ago
Bruce Mitchener
5846884f86
test: Use nullptr in C++ code. ( #1744 )
6 years ago
Garret Rieger
0ff3618c2d
[subset] Use hb_subset_input_t inside of subset_options_t so that input defaults are shared between the library and cli.
6 years ago
Garret Rieger
dc04261a5b
[subset] Update the subset fuzzer to determine which options to use based on data in the fuzzing test case.
...
Add support for toggling retain_gids.
6 years ago
Behdad Esfahbod
120ed02725
[fuzzing] Fold get-codepoints-fuzzer into subset-fuzzer
6 years ago
Ebrahim Byagowi
6353cc1f83
[circleci] Fix some of warnings from clang-everything bot ( #1211 )
...
* -Wshift-sign-overflow
* -Wmissing-prototypes
6 years ago
Behdad Esfahbod
93fe0faaee
[subset] Clean up hb_subset_input_t API
7 years ago
Behdad Esfahbod
f39166f0c0
[subset] Remove unused hb_subset_profile_t
...
We might reintroduce it later, but for now remove, as it was unused.
Some things that should have been in this object (drop_hints, etc)
are already in hb_subset_input_t. So, for now, keep everything there.
7 years ago
Garret Rieger
37eab27be3
[subset] Add fuzzing of gsub closure to hb-subset-fuzzer.
7 years ago
Garret Rieger
a070dfd333
[subset] Have the subset fuzzer pull the text string to subset to from the end of the fuzzer provided data.
7 years ago
Garret Rieger
3c97614598
[subset] In subset fuzzer run through drop hints and keep hints pathways.
7 years ago
Garret Rieger
1a309dcd72
[subset] Remove printf's from fuzzing targets.
7 years ago
Garret Rieger
b5c7d6cffc
[subset] Restore subset to hb-subset-fuzzer.
7 years ago
Garret Rieger
584693e0cb
[subset] Test not linking libharfbuzz-subset-fuzzing into hb-subset-fuzzer.
7 years ago
Garret Rieger
85a57029cd
[subset] %d -> %zu
7 years ago
Garret Rieger
318eea5853
[subset] Add some more logging to hb-subset-fuzzer.
7 years ago
Garret Rieger
b674fc1f9f
[subset] Add missing destroy of subsetting result in subset fuzzer.
7 years ago
Garret Rieger
1beb08862e
[subset] First pass at setting up a fuzzing program for hb-subset.
7 years ago