1 #include "gif_lib.h" 2 #include <stdint.h> 3 #include <stdlib.h> 4 #include <string.h> 5 6 #define ARGB_TO_COLOR8888(a, r, g, b) \ 7 ((a) << 24 | (b) << 16 | (g) << 8 | (r)) 8 9 typedef uint32_t Color8888; 10 11 struct gifUserData 12 { 13 size_t gifLen; 14 uint8_t *gifData; 15 }; 16 17 int stub_input_reader(GifFileType *gifFileType, GifByteType *gifByteType, int len); 18 int fuzz_dgif(const uint8_t *Data, size_t Size); 19 int fuzz_dgif_extended(const uint8_t *Data, size_t Size); 20 int fuzz_dgif_ala_android(const uint8_t *Data, size_t Size);