Paths in pieces
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
A blog post by an author examining why grepping compiled binaries for build-machine paths can miss them. Using GCC 12+ on x86-64, the compiler splits string constants copied into buffers (such as std::string) into overlapping 16-byte or wider vector pieces, so the literal path never appears intact.