mirror of
https://github.com/xroche/httrack.git
synced 2026-07-03 07:33:49 +03:00
MSan is the only sanitizer that catches a read of uninitialized memory -- the class of #143, where the size filter tested an uninitialized stack LLint and forbade files at random. ASan and UBSan let that through. MSan reports any byte produced by an uninstrumented library as uninitialized, so the job stays inside our own code: clang, a static link (the MSan runtime is not injected into shared objects), --disable-https to drop openssl, and only the offline 01_engine-* self-tests minus the zlib-backed cache trio. Those self-tests drive the hostile-input parsers (charset, mime, html, entities, idna, filters) straight through MSan. Signed-off-by: Xavier Roche <roche@httrack.com> Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>