Tech News
← Home  ·  All topics

Binutils

1 GoKawiil brief on this topic · RSS for binutils

GCC optimization can hide file paths from binary security scans

A technical analysis shows that GCC 12 and later, when targeting x86-64, can split string constants like embedded file paths into overlapping 16-byte chunks to use vectorized SIMD move instructions when constructing a std::string. As a result, tools like grep or GNU binutils' strings, which look for contiguous byte sequences, fail to detect the original path even though it is reconstructed and printed correctly at runtime.