From 4ffbaf815ac8c516d052d5d7f9c3c64ed050a3ba Mon Sep 17 00:00:00 2001 From: doyle Date: Mon, 28 Aug 2023 23:31:21 +1000 Subject: [PATCH] Merge header codeblock from --- asan_example.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/asan_example.cpp b/asan_example.cpp index c272c59..a2165ee 100644 --- a/asan_example.cpp +++ b/asan_example.cpp @@ -85,25 +85,21 @@ int main() "\n" "ASAN provides a way to manually markup ranges of bytes to\n" "prohibit or permit reads to those addresses. In\n" - "`` there's a brief mention for the poison\n" - "and unpoison API respectively:\n" + "`` there's a vague brief mention to\n" + "alignment requirements for the poison API:\n" "\n" "```cpp\n" "/// ... This function is not guaranteed to poison the entire region -\n" "/// it could poison only a subregion of [addr, addr+size) due to ASan\n" "/// alignment restrictions.\n" "void __asan_poison_memory_region(void const volatile *addr, size_t size);\n" - "```\n" "\n" - "and:\n" - "\n" - "```cpp\n" "/// ... This function could unpoison a super-region of [addr, addr+size) due\n" "/// to ASan alignment restrictions.\n" "void __asan_unpoison_memory_region(void const volatile *addr, size_t size);\n" "```\n" "\n" - "There's another brief foot-note in Google's " + "There's another small foot-note in Google's " "[AddressSanitizerManualPoisoning](https://github.com/google/" "sanitizers/wiki/AddressSanitizerManualPoisoning)\n" "documentation that states:\n"