1 | #include "fuzz.h" |
---|---|
2 | |
3 | int |
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, data: (const gchar*) data, length: size, NULL); |
12 | |
13 | g_bookmark_file_free (bookmark); |
14 | return 0; |
15 | } |
16 |