• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "fuzz.h"
2 
3 int
LLVMFuzzerTestOneInput(const unsigned char * data,size_t size)4 LLVMFuzzerTestOneInput (const unsigned char *data, size_t size)
5 {
6   GBookmarkFile *bookmark = NULL;
7 
8   fuzz_set_logging_func ();
9 
10   bookmark = g_bookmark_file_new ();
11   g_bookmark_file_load_from_data (bookmark, (const gchar*) data, size, NULL);
12 
13   g_bookmark_file_free (bookmark);
14   return 0;
15 }
16