| |
GCC optimizes string constants by splitting them into overlapping chunks that fit in CPU registers, storing them as numeric constants in the binary rather than as readable text. This means that build-time paths embedded in strings created through functions like `std::string` won't be detected by standard tools like `grep` or `strings`, potentially bypassing security audits that Linux distributions use to check for non-relocatable absolute paths in binaries.
Read Full Article →
← More Tech news