From d01a1ff0348174f91bb2d3ba53145cc2c9f50a7f Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Mon, 19 Jun 2023 13:02:44 +0200 Subject: Turn liberty-tui into a terminal/X11 hybrid Importing code from nncmpp, adjusting it to work with hex as well. --- tests/fuzz.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'tests') diff --git a/tests/fuzz.c b/tests/fuzz.c index 74db020..1e3c995 100644 --- a/tests/fuzz.c +++ b/tests/fuzz.c @@ -32,13 +32,6 @@ #define LIBERTY_WANT_PROTO_MPD #include "../liberty.c" -#include "../liberty-tui.c" - -static bool -app_is_character_in_locale (ucs4_t ch) -{ - return ch < 128; -} // --- UTF-8 ------------------------------------------------------------------- @@ -211,19 +204,6 @@ test_config_item_parse (const uint8_t *data, size_t size) config_item_destroy (item); } -// --- TUI --------------------------------------------------------------------- - -static void -test_attrs_decode (const uint8_t *data, size_t size) -{ - struct str wrap = str_make (); - str_append_data (&wrap, data, size); - - attrs_decode (wrap.str); - - str_free (&wrap); -} - // --- MPD --------------------------------------------------------------------- static void @@ -266,7 +246,6 @@ LLVMFuzzerInitialize (int *argcp, char ***argvp) REGISTER (fcgi_parser_push) REGISTER (fcgi_nv_parser_push) REGISTER (config_item_parse) - REGISTER (attrs_decode) REGISTER (mpd_client_process_input) char **argv = *argvp, *option = "-test=", *name = NULL; -- cgit v1.2.3-70-g09d2