[subset] Add some more logging to hb-subset-fuzzer.

This commit is contained in:
Garret Rieger 2018-03-15 16:14:01 -07:00 committed by Behdad Esfahbod
parent 64bab8b3d0
commit 318eea5853
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
{ {
printf ("hb-subset-fuzzer: input size = %d\n", size);
hb_blob_t *blob = hb_blob_create ((const char *)data, size, hb_blob_t *blob = hb_blob_create ((const char *)data, size,
HB_MEMORY_MODE_READONLY, NULL, NULL); HB_MEMORY_MODE_READONLY, NULL, NULL);
hb_face_t *face = hb_face_create (blob, 0); hb_face_t *face = hb_face_create (blob, 0);