From 1aa3728a55aebe260f4b4bf4d80900a242d6d134 Mon Sep 17 00:00:00 2001 From: doyle Date: Mon, 28 Aug 2023 23:29:24 +1000 Subject: [PATCH] Fix code block extending to end of sentence --- asan_example.cpp | 6 +++--- readme.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/asan_example.cpp b/asan_example.cpp index 0a9822d..c272c59 100644 --- a/asan_example.cpp +++ b/asan_example.cpp @@ -85,8 +85,8 @@ 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 brief mention for the poison\n" + "and unpoison API respectively:\n" "\n" "```cpp\n" "/// ... This function is not guaranteed to poison the entire region -\n" @@ -98,7 +98,7 @@ int main() "and:\n" "\n" "```cpp\n" - "/// This function could unpoison a super-region of [addr, addr+size) due\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" diff --git a/readme.md b/readme.md index 92cd084..f2bdbbc 100644 --- a/readme.md +++ b/readme.md @@ -26,8 +26,8 @@ marked-up memory that may lead to undetected read/writes. ASAN provides a way to manually markup ranges of bytes to prohibit or permit reads to those addresses. In -` there's a brief mention for the poison -and unpoison API respectively:` +`` there's a brief mention for the poison +and unpoison API respectively: ```cpp /// ... This function is not guaranteed to poison the entire region - @@ -39,7 +39,7 @@ void __asan_poison_memory_region(void const volatile *addr, size_t size); and: ```cpp -/// This function could unpoison a super-region of [addr, addr+size) due +/// ... This function could unpoison a super-region of [addr, addr+size) due /// to ASan alignment restrictions. void __asan_unpoison_memory_region(void const volatile *addr, size_t size); ```