Enable Intel CET instrumentation with -fcf-protection=full
Build with GCC 14 and -fcf-protection=full to emit endbr64 landing pads and shadow-stack-compatible code for Intel CET on x86-64, and count the markers.
Short posts that solve one thing: the code, the output we got, and why it works.
Build with GCC 14 and -fcf-protection=full to emit endbr64 landing pads and shadow-stack-compatible code for Intel CET on x86-64, and count the markers.
Call unshare(CLONE_NEWUSER) as a normal user on Linux 6.12 to get a namespace where you hold every capability, and see why geteuid shows 65534.
Put the reset test inside the clocked always block, before the enable, so Verilog-2005 synthesises a D flip-flop with synchronous reset and clock enable.
Insert into a sorted singly linked list in C with a pointer to a pointer, so the empty list and the new head need no special case. Compiles with GCC 14.2.
Bind to port 0 so Linux picks a free port, then read the chosen number with getsockname() and ntohs() on glibc 2.39. Useful for tests.
Set a breakpoint that deletes itself after the first hit with tbreak, so a one-off stop never fires again on later passes.
Stop a selective receive from waiting forever by adding an after clause with a timeout in milliseconds, using Erlang/OTP 27.
Use -t as an output option in FFmpeg 7.1 to keep exactly the first N seconds of a stream, and know how it differs from -to.
A plain atomic load with any memory order compiles to an ordinary mov on x86-64 with GCC 14, so acquire loads are free and only seq_cst stores cost.
beginline and endline in LIC_FILES_CHKSUM checksum only part of a file, so a licence header in source code can be tracked, on Scarthgap 5.0.
Hand a configuration struct to a new FreeRTOS task through the pvParameters pointer, and keep the struct alive for the task's whole life.
Upload vertex data once with glBufferData and the GL_STATIC_DRAW usage hint, and know when GL_DYNAMIC_DRAW fits better in OpenGL 3.3 core.
We send one email when a new post is published. No spam.