Deutsch English Français Italiano |
<UBSan-20240528143651@ram.dialup.fu-berlin.de> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: ram@zedat.fu-berlin.de (Stefan Ram) Newsgroups: comp.lang.c Subject: A glimpse of sanity Date: 28 May 2024 14:49:33 GMT Organization: Stefan Ram Lines: 20 Expires: 1 Feb 2025 11:59:58 GMT Message-ID: <UBSan-20240528143651@ram.dialup.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de RZwMte+Kh7+anFjQ+qdghwufnFofBd1XGSFKqTPQk7kfFu Cancel-Lock: sha1:/CxL7/MT6PC7OD7jp0DGJL1eY88= sha256:pBXc2F3TczKqzrJnvBDmmsXZv33UuwJ7jlnpuj7KNXs= X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved. Distribution through any means other than regular usenet channels is forbidden. It is forbidden to publish this article in the Web, to change URIs of this article into links, and to transfer the body without this notice, but quotations of parts in other Usenet posts are allowed. X-No-Archive: Yes Archive: no X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some services to mirror the article in the web. But the article may be kept on a Usenet archive server with only NNTP access. X-No-Html: yes Content-Language: en-US Bytes: 2170 LLVM-MinGW is a toolchain built with Clang, LLD, libc++, targeting i686, x86_64, arm and aarch64 (ARM64) running on Windows. They say it supports Address Sanitizer und Undefined Behaviour Sanitizer. Whenever I add "-fsanitize=address" or "-fsanitize=undefined" on Windows, the executables will run, but not do anything, just return immediately. Neither is normal output printed nor are diagnostics when trying to trigger the sanitizers. Without those options, the programs will run fine. It tried adding "-lclang_rt.asan-x86_64", but then it complains about duplicate symbols, so I guess that this is not needed. I also made sure the directory containing "libclang_rt.asan_dynamic-x86_64.dll" is in the PATH. So, I can't get the sanitizers to work here! I'll just try downloading another version in a few months . . .