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) \
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);
hb_subset_profile_destroy (profile);
hb_face_destroy (face);
hb_blob_destroy (blob);
- */
return 0;
}