Report leaks at exit with ASAN_OPTIONS=detect_leaks=1
Set ASAN_OPTIONS=detect_leaks=1 to make AddressSanitizer report leaked allocations at exit, on platforms where leak checking is not on by default.
Short posts that solve one thing: the code, the output we got, and why it works.
Set ASAN_OPTIONS=detect_leaks=1 to make AddressSanitizer report leaked allocations at exit, on platforms where leak checking is not on by default.
Tell Firecracker 1.10 which kernel to boot, and with what command line, by sending PUT /boot-source over its Unix socket before the microVM starts.
Run Vivado 2024.2 headless with vivado -mode batch -source build.tcl, using the non-project flow from synth_design to write_bitstream.
Test __BYTE_ORDER__ against __ORDER_LITTLE_ENDIAN__ in the preprocessor with GCC 4.6 or Clang, so byte order is a build-time fact instead of a runtime probe.
Test whether a descriptor is a listening socket with getsockopt(SO_ACCEPTCONN) on Linux, for example to tell an inherited listener from a client socket.
Keep temporary values in GDB convenience variables with set $var, so later commands can reuse a pointer or a computed number.
Compile with -fsanitize=thread -g and run your tests to get a ThreadSanitizer report for every unsynchronised access, using GCC 14 or Clang 19.
Rotate video 90 degrees clockwise in FFmpeg 7.1 with transpose=1, and use 2 for counter-clockwise or two filters for a half turn.
Mark rarely called Rust error handlers with the cold attribute in Rust 1.80, so the optimiser moves them off the hot path.
make clean deletes everything Buildroot built but leaves the dl/ directory and your .config, so a rebuild needs no downloads, on 2025.02.
Create a FreeRTOS binary semaphore with xSemaphoreCreateBinary to signal a task from another task, and check for a NULL handle.
Fetch exact texels with texelFetch, which takes integer coordinates and a mip level and skips filtering, in GLSL 1.30 and later.
We send one email when a new post is published. No spam.