[compiler-rt] [compiler-rt]: fix CodeQL format-string warnings via explicit casts (PR #153843)

Amit Kumar Pandey via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 17 22:55:58 PDT 2025


================
@@ -792,7 +792,7 @@ static void PrintNoOriginTrackingWarning() {
 
 static void PrintNoTaintWarning(const void *address) {
   Decorator d;
-  Printf("  %sDFSan: no tainted value at %x%s\n", d.Warning(), address,
+  Printf("  %sDFSan: no tainted value at %p%s\n", d.Warning(), (void*)address,
----------------
ampandey-1995 wrote:

Done. Changed the Title.

https://github.com/llvm/llvm-project/pull/153843


More information about the llvm-commits mailing list