mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
Add frontend for fuzzing
Use the following configure command:
$ ./configure --with-fuzzer --with-fuzzer-lib=/path/to/libFuzzer.a \
CC=clang CXX=clang++
Places an irssi-fuzz in src/fe-fuzz/ after build.
Also can specify SANFLAGS to override the chosen sanitizer flags
(defaults to "-g -fsanitize=address -fsanitize-coverage=trace-pc-guard").
This commit is contained in:
parent
7c09b72a26
commit
cf46907256
8 changed files with 415 additions and 1 deletions
|
|
@ -6,6 +6,10 @@ if BUILD_IRSSIBOT
|
|||
BOTUI=fe-none
|
||||
endif
|
||||
|
||||
if BUILD_IRSSIFUZZER
|
||||
FUZZERUI=fe-fuzz
|
||||
endif
|
||||
|
||||
if HAVE_PERL
|
||||
PERLDIR=perl
|
||||
endif
|
||||
|
|
@ -14,4 +18,4 @@ pkginc_srcdir=$(pkgincludedir)/src
|
|||
pkginc_src_HEADERS = \
|
||||
common.h
|
||||
|
||||
SUBDIRS = lib-config core irc fe-common $(PERLDIR) $(TEXTUI) $(BOTUI)
|
||||
SUBDIRS = lib-config core irc fe-common $(PERLDIR) $(TEXTUI) $(BOTUI) $(FUZZERUI)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue