forked from libyal/libpff
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added OSS-Fuzz target and code clean up
- Loading branch information
1 parent
63250cd
commit 8f8d020
Showing
12 changed files
with
353 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
if HAVE_LIB_FUZZING_ENGINE | ||
AM_CPPFLAGS = \ | ||
-I$(top_srcdir)/include \ | ||
-I$(top_srcdir)/common \ | ||
@LIBCERROR_CPPFLAGS@ \ | ||
@LIBCDATA_CPPFLAGS@ \ | ||
@LIBCLOCALE_CPPFLAGS@ \ | ||
@LIBCNOTIFY_CPPFLAGS@ \ | ||
@LIBUNA_CPPFLAGS@ \ | ||
@LIBCFILE_CPPFLAGS@ \ | ||
@LIBCPATH_CPPFLAGS@ \ | ||
@LIBBFIO_CPPFLAGS@ | ||
|
||
bin_PROGRAMS = \ | ||
file_fuzzer | ||
|
||
file_fuzzer_SOURCES = \ | ||
file_fuzzer.cc \ | ||
ossfuzz_libbfio.h \ | ||
ossfuzz_libpff.h | ||
|
||
file_fuzzer_LDADD = \ | ||
@LIB_FUZZING_ENGINE@ \ | ||
@LIBBFIO_LIBADD@ \ | ||
@LIBCPATH_LIBADD@ \ | ||
@LIBCFILE_LIBADD@ \ | ||
@LIBUNA_LIBADD@ \ | ||
@LIBCDATA_LIBADD@ \ | ||
../libpff/libpff.la \ | ||
@LIBCNOTIFY_LIBADD@ \ | ||
@LIBCLOCALE_LIBADD@ \ | ||
@LIBCERROR_LIBADD@ \ | ||
@LIBINTL@ | ||
endif | ||
|
||
MAINTAINERCLEANFILES = \ | ||
Makefile.in | ||
|
||
distclean: clean | ||
/bin/rm -f Makefile | ||
|
||
splint: | ||
@echo "Running splint on file_fuzzer ..." | ||
-splint -preproc -redef $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(file_fuzzer_SOURCES) | ||
|
Oops, something went wrong.