unicornafl icon indicating copy to clipboard operation
unicornafl copied to clipboard

cmplog fail

Open vanhauser-thc opened this issue 3 months ago • 8 comments

the AFL++ CI Fails regularly because the unicorn cmplog test fails, e.g. https://github.com/AFLplusplus/AFLplusplus/actions/runs/19428825811/job/55597697673

afl-fuzz -V15 -U -i in -o out -d -c 0 -- unicorn_mode/samples/compcov_x64/compcov_test_harness.py @@

can you make it easier to solve?

vanhauser-thc avatar Nov 17 '25 14:11 vanhauser-thc

@wtdcode

vanhauser-thc avatar Nov 17 '25 14:11 vanhauser-thc

A bit weird, I seldom see this failing. Will check tomorrow.

wtdcode avatar Nov 17 '25 15:11 wtdcode

How frequest does this fail? Maybe a longer timeout or more tries for that?

wtdcode avatar Nov 17 '25 15:11 wtdcode

it fails multiple time each run. (we test every llvm version von 15 to 22, plus two full checks, so it runs multiple time per CI event.) just increasing for some seconds will not solve it. we can increase it for a few seconds but the real issue is that it must be easier to solve. the CI CPUs are rather slow and unicorn doesnt execute very fast. a single test for a u32 would be enough IMHO to test if cmplog works. and/or a string compare test.

vanhauser-thc avatar Nov 17 '25 15:11 vanhauser-thc

make sense. will fix tomorrow or so.

wtdcode avatar Nov 17 '25 15:11 wtdcode

or a fixed seed could help, i will investigate both ways

wtdcode avatar Nov 17 '25 15:11 wtdcode

please don't forget

vanhauser-thc avatar Nov 21 '25 09:11 vanhauser-thc

Here you go =).

wtdcode avatar Nov 21 '25 09:11 wtdcode