mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-11-23 01:53:47 +08:00
2869485be9
The fuzzers from oss-fuzz in projects/e2fsprogs/fuzz (as of commit 78ecd3f07fca with some slight modifications for better error reporting) have been placed in the tests/fuzz directory and the configure script now supports a new option --enable-fuzzing which will build these fuzzers using clang's -fsanitize=fuzzer command line option. In general, some sanitizer such as --enable-addrsan or --enable-ubsan (to enable ASAN or UBSAN, respectively) should be enabled alongside --enable-fuzzing. A typical configure command to build the fuzzers might be: configure CC=clang CXX=clang++ CFLAGS=-g --enable-fuzzing --enable-addrsan Signed-off-by: Theodore Ts'o <tytso@mit.edu>
36 lines
457 B
Sed
36 lines
457 B
Sed
#
|
|
# Insert the header.....
|
|
#
|
|
1i\
|
|
# +++ Dependency line eater +++\
|
|
# \
|
|
# Makefile dependencies follow. This must be the last section in\
|
|
# the Makefile.in file\
|
|
#
|
|
|
|
#
|
|
# Remove line continuations....
|
|
#
|
|
:FIRST
|
|
y/ / /
|
|
s/^ *//
|
|
/\\$/{
|
|
N
|
|
y/ / /
|
|
s/\\\n */ /
|
|
bFIRST
|
|
}
|
|
s/ */ /g
|
|
|
|
s;/usr/include/[^ ]* *;;g
|
|
s;/usr/lib/[^ ]* *;;g
|
|
s;/bin/[^ ]* *;;g
|
|
s;\.\./[^ ]*lib/blkid/blkid[^ ]* *;;g
|
|
s;\.\./[^ ]*lib/uuid/uuid.h[^ ]* *;;g
|
|
|
|
#
|
|
# Now insert a trailing newline...
|
|
#
|
|
$a\
|
|
|