AFLplusplus: afl-cmin tests fail on NetBSD/FreeBSD/OpenBSD
Thanks to our new tests, a misfunction of afl-cmin is revealed on NetBSD (and probably other BSDs as well).
First issue is that afl-cmin is unnecessarily bound to bash instead of the more common bourne shell. (This is more complicated than I thought). The script relies on associative arrays later on.
Second issue is a failure of afl-showmap that I have not yet further debugged. Manually running
AFL_CMIN_ALLOW_ANY=1 ../afl-showmap -m 100 -t none -o in2/.traces/.run_test -- ./test-instr.plain <in/in
gives
afl-showmap++2.60d by Michal Zalewski
[*] Executing './test-instr.plain'...
-- Program output begins --
Cannot map anonymous memoryCannot allocate memory: Cannot allocate memory
-- Program output ends --
[-] PROGRAM ABORT : No instrumentation detected
Location : main(), src/afl-showmap.c:729
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 23 (16 by maintainers)
Commits related to this issue
- awk version for portability, tested on linux and FreeBSD so far — committed to AFLplusplus/AFLplusplus by hexcoder- 4 years ago
- Add repo git hash to report. (#172) * Add repo git hash to report. Fixes #163. — committed to mattweingarten/AFLplusplus by inferno-chromium 4 years ago
Why not python3? We already use it for many things here. (I’m a late millenial guys, for me perl is just an obfuscated version of python)
perl is only in pkgsrc, not in the base system it just a matter of fact.
perl’s market share is shrinking and there is nothing substantial in base that would require it nowadays. I don’t recall anybody over years (since 6.1) even evaluating inclusion of Perl.