From 9fc724de5a6539b84dfbec5d0d0fff68dc5676de Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Wed, 25 Jan 2023 11:44:59 +0100 Subject: Add some fuzzers to test other data structures. (#1870) Start using a dictionary for fuzzing (see: https://llvm.org/docs/LibFuzzer.html#dictionaries). Remove some dead code. Fuzzing with debug enabled is not usually a great idea (from performance POV). Keep the code since it might be useful while debugging. --- .../1c058ffec9481e8cdfda408b9fa7085e12993f63 | 1 + .../2a141aaf9ea071fd3b4e3d281c50a6374da29f3e | 1 + .../2aa3f89375e3ecbd22b1170a9066db2dbfca94b5 | 1 + .../3c722a326b6cee579b995354d0275c86f1c8410c | 1 + .../45e29e99716f52af087b34c1f09c253210172e16 | 1 + .../46dead9096cafd6fb8fa4f2c60012f3d041a20bd | 1 + .../4a8f2a58a6a4cbfc71faa980308fb7cc5ee1f4f0 | 1 + .../58e6b3a414a1e090dfc6029add0f3555ccba127f | 1 + .../63ca47311f24473a100f131ad9ae08128b169022 | 1 + .../753c246d759eb3bd906f929b77d86c8915a655f7 | 1 + .../82d71306d4eddb7279da80cd7c1be092b642eca8 | 1 + .../a478a85347f063f3f854f5d976c0196171270242 | 1 + .../acb348360f8e8b083fec3515d39f58e4cabecee7 | Bin 0 -> 15 bytes .../bb8face00f6b5c75a869f51b660c0f4995b36231 | 1 + .../c88c17fdae9667e8785ea750a50a5d7f3ca5b465 | 1 + .../ca4497abb2cc0324de9f909323ceffcb76f38fa3 | 1 + .../f8695f500111093908125cd6fdb13fed4eb33c6a | 1 + 17 files changed, 16 insertions(+) create mode 100644 fuzz/corpus/fuzz_community_id/1c058ffec9481e8cdfda408b9fa7085e12993f63 create mode 100644 fuzz/corpus/fuzz_community_id/2a141aaf9ea071fd3b4e3d281c50a6374da29f3e create mode 100644 fuzz/corpus/fuzz_community_id/2aa3f89375e3ecbd22b1170a9066db2dbfca94b5 create mode 100644 fuzz/corpus/fuzz_community_id/3c722a326b6cee579b995354d0275c86f1c8410c create mode 100644 fuzz/corpus/fuzz_community_id/45e29e99716f52af087b34c1f09c253210172e16 create mode 100644 fuzz/corpus/fuzz_community_id/46dead9096cafd6fb8fa4f2c60012f3d041a20bd create mode 100644 fuzz/corpus/fuzz_community_id/4a8f2a58a6a4cbfc71faa980308fb7cc5ee1f4f0 create mode 100644 fuzz/corpus/fuzz_community_id/58e6b3a414a1e090dfc6029add0f3555ccba127f create mode 100644 fuzz/corpus/fuzz_community_id/63ca47311f24473a100f131ad9ae08128b169022 create mode 100644 fuzz/corpus/fuzz_community_id/753c246d759eb3bd906f929b77d86c8915a655f7 create mode 100644 fuzz/corpus/fuzz_community_id/82d71306d4eddb7279da80cd7c1be092b642eca8 create mode 100644 fuzz/corpus/fuzz_community_id/a478a85347f063f3f854f5d976c0196171270242 create mode 100644 fuzz/corpus/fuzz_community_id/acb348360f8e8b083fec3515d39f58e4cabecee7 create mode 100644 fuzz/corpus/fuzz_community_id/bb8face00f6b5c75a869f51b660c0f4995b36231 create mode 100644 fuzz/corpus/fuzz_community_id/c88c17fdae9667e8785ea750a50a5d7f3ca5b465 create mode 100644 fuzz/corpus/fuzz_community_id/ca4497abb2cc0324de9f909323ceffcb76f38fa3 create mode 100644 fuzz/corpus/fuzz_community_id/f8695f500111093908125cd6fdb13fed4eb33c6a (limited to 'fuzz/corpus/fuzz_community_id') diff --git a/fuzz/corpus/fuzz_community_id/1c058ffec9481e8cdfda408b9fa7085e12993f63 b/fuzz/corpus/fuzz_community_id/1c058ffec9481e8cdfda408b9fa7085e12993f63 new file mode 100644 index 000000000..ab20ba6e9 --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/1c058ffec9481e8cdfda408b9fa7085e12993f63 @@ -0,0 +1 @@ +šññšš \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/2a141aaf9ea071fd3b4e3d281c50a6374da29f3e b/fuzz/corpus/fuzz_community_id/2a141aaf9ea071fd3b4e3d281c50a6374da29f3e new file mode 100644 index 000000000..377d6f0f9 --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/2a141aaf9ea071fd3b4e3d281c50a6374da29f3e @@ -0,0 +1 @@ +wwwwwwwš \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/2aa3f89375e3ecbd22b1170a9066db2dbfca94b5 b/fuzz/corpus/fuzz_community_id/2aa3f89375e3ecbd22b1170a9066db2dbfca94b5 new file mode 100644 index 000000000..406a91228 --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/2aa3f89375e3ecbd22b1170a9066db2dbfca94b5 @@ -0,0 +1 @@ +š¦ˆˆˆˆˆññšš \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/3c722a326b6cee579b995354d0275c86f1c8410c b/fuzz/corpus/fuzz_community_id/3c722a326b6cee579b995354d0275c86f1c8410c new file mode 100644 index 000000000..ea472b385 --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/3c722a326b6cee579b995354d0275c86f1c8410c @@ -0,0 +1 @@ +@š \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/45e29e99716f52af087b34c1f09c253210172e16 b/fuzz/corpus/fuzz_community_id/45e29e99716f52af087b34c1f09c253210172e16 new file mode 100644 index 000000000..fcee7b2a2 --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/45e29e99716f52af087b34c1f09c253210172e16 @@ -0,0 +1 @@ +šñš \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/46dead9096cafd6fb8fa4f2c60012f3d041a20bd b/fuzz/corpus/fuzz_community_id/46dead9096cafd6fb8fa4f2c60012f3d041a20bd new file mode 100644 index 000000000..1975e92d9 --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/46dead9096cafd6fb8fa4f2c60012f3d041a20bd @@ -0,0 +1 @@ +š'$š \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/4a8f2a58a6a4cbfc71faa980308fb7cc5ee1f4f0 b/fuzz/corpus/fuzz_community_id/4a8f2a58a6a4cbfc71faa980308fb7cc5ee1f4f0 new file mode 100644 index 000000000..8b13124d1 --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/4a8f2a58a6a4cbfc71faa980308fb7cc5ee1f4f0 @@ -0,0 +1 @@ +fbå๹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹ \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/58e6b3a414a1e090dfc6029add0f3555ccba127f b/fuzz/corpus/fuzz_community_id/58e6b3a414a1e090dfc6029add0f3555ccba127f new file mode 100644 index 000000000..9cbe6ea56 --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/58e6b3a414a1e090dfc6029add0f3555ccba127f @@ -0,0 +1 @@ +e \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/63ca47311f24473a100f131ad9ae08128b169022 b/fuzz/corpus/fuzz_community_id/63ca47311f24473a100f131ad9ae08128b169022 new file mode 100644 index 000000000..471fd986e --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/63ca47311f24473a100f131ad9ae08128b169022 @@ -0,0 +1 @@ +šññ&šš \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/753c246d759eb3bd906f929b77d86c8915a655f7 b/fuzz/corpus/fuzz_community_id/753c246d759eb3bd906f929b77d86c8915a655f7 new file mode 100644 index 000000000..a85ba65c9 --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/753c246d759eb3bd906f929b77d86c8915a655f7 @@ -0,0 +1 @@ +w*6666 \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/82d71306d4eddb7279da80cd7c1be092b642eca8 b/fuzz/corpus/fuzz_community_id/82d71306d4eddb7279da80cd7c1be092b642eca8 new file mode 100644 index 000000000..42017154c --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/82d71306d4eddb7279da80cd7c1be092b642eca8 @@ -0,0 +1 @@ +6wwwww‚wš \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/a478a85347f063f3f854f5d976c0196171270242 b/fuzz/corpus/fuzz_community_id/a478a85347f063f3f854f5d976c0196171270242 new file mode 100644 index 000000000..afd26a70c --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/a478a85347f063f3f854f5d976c0196171270242 @@ -0,0 +1 @@ +ÿÿÿÿÿÿQ \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/acb348360f8e8b083fec3515d39f58e4cabecee7 b/fuzz/corpus/fuzz_community_id/acb348360f8e8b083fec3515d39f58e4cabecee7 new file mode 100644 index 000000000..538f1e344 Binary files /dev/null and b/fuzz/corpus/fuzz_community_id/acb348360f8e8b083fec3515d39f58e4cabecee7 differ diff --git a/fuzz/corpus/fuzz_community_id/bb8face00f6b5c75a869f51b660c0f4995b36231 b/fuzz/corpus/fuzz_community_id/bb8face00f6b5c75a869f51b660c0f4995b36231 new file mode 100644 index 000000000..07e3211b0 --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/bb8face00f6b5c75a869f51b660c0f4995b36231 @@ -0,0 +1 @@ +ž'$š¦ˆˆšˆˆxbb \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/c88c17fdae9667e8785ea750a50a5d7f3ca5b465 b/fuzz/corpus/fuzz_community_id/c88c17fdae9667e8785ea750a50a5d7f3ca5b465 new file mode 100644 index 000000000..64d4d01c7 --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/c88c17fdae9667e8785ea750a50a5d7f3ca5b465 @@ -0,0 +1 @@ +š \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/ca4497abb2cc0324de9f909323ceffcb76f38fa3 b/fuzz/corpus/fuzz_community_id/ca4497abb2cc0324de9f909323ceffcb76f38fa3 new file mode 100644 index 000000000..adfae8dc1 --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/ca4497abb2cc0324de9f909323ceffcb76f38fa3 @@ -0,0 +1 @@ +š \ No newline at end of file diff --git a/fuzz/corpus/fuzz_community_id/f8695f500111093908125cd6fdb13fed4eb33c6a b/fuzz/corpus/fuzz_community_id/f8695f500111093908125cd6fdb13fed4eb33c6a new file mode 100644 index 000000000..ed59e749d --- /dev/null +++ b/fuzz/corpus/fuzz_community_id/f8695f500111093908125cd6fdb13fed4eb33c6a @@ -0,0 +1 @@ +ÿÿÿÿÿÿÿÿÿÿš \ No newline at end of file -- cgit v1.2.3