[clang] [TySan] Add initial documentation for Type Sanitizer (PR #123595)
Florian Hahn via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 20 08:36:34 PST 2025
================
@@ -0,0 +1,153 @@
+================
+TypeSanitizer
+================
+
+.. contents::
+ :local:
+
+Introduction
+============
+
+TypeSanitizer is a detector for strict type aliasing violations. It consists of a compiler
+instrumentation module and a run-time library. The tool detects violations such as the use
+of an illegally cast pointer, or misuse of a union.
----------------
fhahn wrote:
I think this should say something about accessing memory with a different type than the dynamic type of the object or something like that?
https://github.com/llvm/llvm-project/pull/123595
More information about the cfe-commits
mailing list