[Git][slirp/libslirp][master] fuzz: Drop debugging

Samuel Thibault (@sthibaul) gitlab at gitlab.freedesktop.org
Fri Apr 26 00:59:07 UTC 2024



Samuel Thibault pushed to branch master at slirp / libslirp


Commits:
9d171be3 by Samuel Thibault at 2024-04-26T02:58:54+02:00
fuzz: Drop debugging

- - - - -


2 changed files:

- fuzzing/slirp_fuzz_tcp6_data.c
- fuzzing/slirp_fuzz_tcp6_header.c


Changes:

=====================================
fuzzing/slirp_fuzz_tcp6_data.c
=====================================
@@ -65,10 +65,7 @@ extern size_t LLVMFuzzerCustomMutator(uint8_t *Data, size_t Size,
 
         // Exclude packets that are not TCP from the mutation strategy
         if (ip_data[6] != IPPROTO_TCP)
-        {
-            fprintf(stderr,"wat\n");
             continue;
-        }
 
         // Allocate a bit more than needed, this is useful for
         // checksum calculation.


=====================================
fuzzing/slirp_fuzz_tcp6_header.c
=====================================
@@ -65,10 +65,7 @@ extern size_t LLVMFuzzerCustomMutator(uint8_t *Data, size_t Size,
 
         // Exclude packets that are not TCP from the mutation strategy
         if (ip_data[6] != IPPROTO_TCP)
-        {
-            fprintf(stderr,"wat\n");
             continue;
-        }
 
         // Allocate a bit more than needed, this is useful for
         // checksum calculation.



View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/9d171be3899e4e94e418a2975fdec41da194e986

-- 
View it on GitLab: https://gitlab.freedesktop.org/slirp/libslirp/-/commit/9d171be3899e4e94e418a2975fdec41da194e986
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/slirp/attachments/20240426/2aa4956d/attachment-0001.htm>


More information about the Slirp mailing list