Fix code block extending to end of sentence
This commit is contained in:
parent
9389810c0e
commit
8619b1a7e5
@ -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"
|
||||
"`<sanitizer/asan_interface.h> there's a brief mention for the poison\n"
|
||||
"and unpoison API respectively:`\n"
|
||||
"`<sanitizer/asan_interface.h>` 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 <c>[addr, addr+size)</c> due\n"
|
||||
"/// ... This function could unpoison a super-region of <c>[addr, addr+size)</c> due\n"
|
||||
"/// to ASan alignment restrictions.\n"
|
||||
"void __asan_unpoison_memory_region(void const volatile *addr, size_t size);\n"
|
||||
"```\n"
|
||||
|
@ -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
|
||||
`<sanitizer/asan_interface.h> there's a brief mention for the poison
|
||||
and unpoison API respectively:`
|
||||
`<sanitizer/asan_interface.h>` 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 <c>[addr, addr+size)</c> due
|
||||
/// ... This function could unpoison a super-region of <c>[addr, addr+size)</c> due
|
||||
/// to ASan alignment restrictions.
|
||||
void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user