From 17def0390df92e2735ada9d9af19b192fb907cd6 Mon Sep 17 00:00:00 2001 From: Romain Malmain Date: Mon, 30 Sep 2024 13:12:23 +0200 Subject: [PATCH] fix (#2571) --- .../binary_only/qemu_cmin/corpus/not_kitty.png | Bin 0 -> 218 bytes .../qemu_cmin/corpus/not_kitty_alpha.png | Bin 0 -> 376 bytes .../qemu_cmin/corpus/not_kitty_gamma.png | Bin 0 -> 228 bytes .../qemu_cmin/corpus/not_kitty_icc.png | Bin 0 -> 427 bytes libafl_frida/src/alloc.rs | 4 ++-- 5 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 fuzzers/binary_only/qemu_cmin/corpus/not_kitty.png create mode 100644 fuzzers/binary_only/qemu_cmin/corpus/not_kitty_alpha.png create mode 100644 fuzzers/binary_only/qemu_cmin/corpus/not_kitty_gamma.png create mode 100644 fuzzers/binary_only/qemu_cmin/corpus/not_kitty_icc.png diff --git a/fuzzers/binary_only/qemu_cmin/corpus/not_kitty.png b/fuzzers/binary_only/qemu_cmin/corpus/not_kitty.png new file mode 100644 index 0000000000000000000000000000000000000000..eff7c1707b936a8f8df725814f604d454b78b5c3 GIT binary patch literal 218 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyk|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5X_yc@GT+_~+`TzevkY_wIZRYx+5&y#hyq+?%!C8<`)MX5lF!N|bSRM)^r*U&J;z}U*bz{;0L z1Vuw`eoAIqC5i?kD`P_|6GMoGiCWXn12ss3YzWRzD=AMbN@Z|N$xljE@XSq2PYp^< WOsOn9nQ8-6#Ng@b=d#Wzp$PyV*n0l} literal 0 HcmV?d00001 diff --git a/fuzzers/binary_only/qemu_cmin/corpus/not_kitty_gamma.png b/fuzzers/binary_only/qemu_cmin/corpus/not_kitty_gamma.png new file mode 100644 index 0000000000000000000000000000000000000000..939d9d29a9b9f95bac5e9a72854361ee85469921 GIT binary patch literal 228 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyEa{HEjtmTQ929t;oCfmw1AIbU z)6Sgv|NlRbXFM})=KnKxKI=t+9LW;bh?3y^w370~qErUQl>DSr1<%~X^wgl##FWay zlc_d9MbVxvjv*GO?@o5)YH;9THa`3B|5>?^8?LvjJ}xLe>!7e@k)r^sLedir0mCVe z=5sMjEm$*~tHD+}{NS_$nMdb|ABqg-@UGMMsZ=uY-X%Cq@&3vmZ%&@H{P?6&+U!yq VvuXWlo?M_c44$rjF6*2UngF4cP+$N6 literal 0 HcmV?d00001 diff --git a/fuzzers/binary_only/qemu_cmin/corpus/not_kitty_icc.png b/fuzzers/binary_only/qemu_cmin/corpus/not_kitty_icc.png new file mode 100644 index 0000000000000000000000000000000000000000..f0c7804d99829cc6307c1c6ae9915cf42d555414 GIT binary patch literal 427 zcmV;c0aX5pP)9xSWu9|B*4Isn^#g47m^r~thH)GiR<@yX0fO)OF<2Kt#qCldyUF#H?{4jV?XGw9)psxE&K1B1m^ z1_tH{2(hG@3=G>_85ksPA;eS`Ffj19FfeR8pIlm01~rBeWCZ{dbvfq;rA3DT000kA zOjJc?%*_A){{R30GnreSaefwW^{L9a%BKPWN%_+AW3auXJt}l zVPtu6$z?nM003J_L_t(I%iWVf3V=Wi12fJ3|IHp$*hSlV@t||fKp?cDK@bHXV&o_g zF_hw;3ILUGteXmeJsVfSmcVJno)^MdQwU3bFHCtNG)uY>mLcD%`0UBaIq~Fq8#dBr V12uok3~c}a002ovPDHLkV1nKBo!S5Z literal 0 HcmV?d00001 diff --git a/libafl_frida/src/alloc.rs b/libafl_frida/src/alloc.rs index 232e8d2a16..271277b963 100644 --- a/libafl_frida/src/alloc.rs +++ b/libafl_frida/src/alloc.rs @@ -619,9 +619,9 @@ impl Allocator { if info.is_submap != 0 { depth += 1; continue; - } else { - break; } + + break; } if kr != KERN_SUCCESS {