[subset] Restore subset to hb-subset-fuzzer.
This commit is contained in:
parent
957e775663
commit
b5c7d6cffc
|
@ -55,7 +55,7 @@ hb_subset_fuzzer_SOURCES = \
|
|||
main.cc \
|
||||
$(NULL)
|
||||
hb_subset_fuzzer_LDADD = \
|
||||
$(top_builddir)/src/libharfbuzz-fuzzing.la \
|
||||
$(top_builddir)/src/libharfbuzz-subset-fuzzing.la \
|
||||
$(NULL)
|
||||
hb_subset_fuzzer_CPPFLAGS = \
|
||||
$(AM_CPPFLAGS) \
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||||
{
|
||||
printf ("hb-subset-fuzzer: input size = %zu\n", size);
|
||||
/*
|
||||
hb_blob_t *blob = hb_blob_create ((const char *)data, size,
|
||||
HB_MEMORY_MODE_READONLY, NULL, NULL);
|
||||
hb_face_t *face = hb_face_create (blob, 0);
|
||||
|
@ -35,7 +34,6 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
|||
hb_subset_profile_destroy (profile);
|
||||
hb_face_destroy (face);
|
||||
hb_blob_destroy (blob);
|
||||
*/
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue