[compiler-rt] [compiler-rt][rtsan] Reland "fopencookie support." (#120864) (PR #121547)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 2 22:55:28 PST 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 30b73ed7bd8934c32e4bd5430bccf52a226deabd 8bd18269dfabd6dcf096647b483cf4a96e81de9e --extensions cpp -- compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp b/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
index ca06481b92..5adbf0fb63 100644
--- a/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
+++ b/compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
@@ -353,7 +353,6 @@ TEST_F(RtsanFileTest, FopenDiesWhenRealtime) {
   ExpectNonRealtimeSurvival(Func);
 }
 
-
 #if SANITIZER_INTERCEPT_FOPENCOOKIE
 TEST_F(RtsanFileTest, FopenCookieDieWhenRealtime) {
   FILE *f = fopen(GetTemporaryFilePath(), "w");

``````````

</details>


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


More information about the llvm-commits mailing list