Fuzzing C Parsers in 1.7 GB RAM on ARM64 PRoot with wrfuzz
Source repository by Mr.Cupcake ( mscupcakegkill ): https://gitlab.com/mscupcakegkill/wrfuzz Running an in-process coverage-guided C/C++ fuzzer inside an Android ARM64 PRoot container with 1.7 GB of RAM rules out standard AddressSanitizer builds immediately because shadow memory reservation fails under constrained virtual address spaces. Over the past few updates to wrfuzz , I reworked the…
Wrfuzz, an in-process coverage-guided C/C++ fuzzer, was recently updated to run efficiently on an Android ARM64 PRoot container with 1.7 GB of RAM. This eliminates the need for standard AddressSanitizer builds that fail under constrained virtual address spaces. The most significant changes in wrfuzz 8 include logarithmic loop-depth buckets for coverage tracking, a gated 128-slot I2S ring buffer and linker --wrap hooks, trap-mode UBSan with a zero-syscall guard-page heap pool, periodic ITIMER_REAL timeout, 8-guard recent-path crash deduplication and delta-debugging minimizer, corpus persistence and AFL dictionary support, and micro-targets.
These enhancements allow wrfuzz to sustainably execute around 24k-55k instructions per second, synthesizing JSON object/array syntax, escape sequences, comments, null/false literals, and micro-targets at 500k-620k executions per second in-process. The full source code and build flags, along with Windows SEH/Linux POSIX runner code, are available on GitLab.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to