Split fuzz input into typed values with FuzzedDataProvider
Turn a raw fuzzer byte buffer into integers, ranges and strings with FuzzedDataProvider from LLVM's libFuzzer headers instead of parsing by hand.
Short posts that solve one thing: the code, the output we got, and why it works.
Turn a raw fuzzer byte buffer into integers, ranges and strings with FuzzedDataProvider from LLVM's libFuzzer headers instead of parsing by hand.
Pass console=ttyS0 in -append so a Linux 6.12 guest prints boot messages to QEMU's serial port, which -nographic wires to your terminal.
Break on every function whose name matches a regular expression in LLDB with breakpoint set -r, abbreviated br s -r.
Set ASAN_OPTIONS=detect_leaks=1 to make AddressSanitizer report leaked allocations at exit, on platforms where leak checking is not on by default.
Keep temporary values in GDB convenience variables with set $var, so later commands can reuse a pointer or a computed number.
Give each thread a readable name with pthread_setname_np so GDB's info threads shows it, within the 15 character limit.
Set a breakpoint that deletes itself after the first hit with tbreak, so a one-off stop never fires again on later passes.
Stop GDB the moment a variable's value changes with watch, which uses a hardware watchpoint and reports the old and new value.
We send one email when a new post is published. No spam.