Fix code block extending to end of sentence
This commit is contained in:
parent
a450f820d9
commit
1aa3728a55
@ -85,8 +85,8 @@ int main()
|
|||||||
"\n"
|
"\n"
|
||||||
"ASAN provides a way to manually markup ranges of bytes to\n"
|
"ASAN provides a way to manually markup ranges of bytes to\n"
|
||||||
"prohibit or permit reads to those addresses. In\n"
|
"prohibit or permit reads to those addresses. In\n"
|
||||||
"`<sanitizer/asan_interface.h> there's a brief mention for the poison\n"
|
"`<sanitizer/asan_interface.h>` there's a brief mention for the poison\n"
|
||||||
"and unpoison API respectively:`\n"
|
"and unpoison API respectively:\n"
|
||||||
"\n"
|
"\n"
|
||||||
"```cpp\n"
|
"```cpp\n"
|
||||||
"/// ... This function is not guaranteed to poison the entire region -\n"
|
"/// ... This function is not guaranteed to poison the entire region -\n"
|
||||||
@ -98,7 +98,7 @@ int main()
|
|||||||
"and:\n"
|
"and:\n"
|
||||||
"\n"
|
"\n"
|
||||||
"```cpp\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"
|
"/// to ASan alignment restrictions.\n"
|
||||||
"void __asan_unpoison_memory_region(void const volatile *addr, size_t size);\n"
|
"void __asan_unpoison_memory_region(void const volatile *addr, size_t size);\n"
|
||||||
"```\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
|
ASAN provides a way to manually markup ranges of bytes to
|
||||||
prohibit or permit reads to those addresses. In
|
prohibit or permit reads to those addresses. In
|
||||||
`<sanitizer/asan_interface.h> there's a brief mention for the poison
|
`<sanitizer/asan_interface.h>` there's a brief mention for the poison
|
||||||
and unpoison API respectively:`
|
and unpoison API respectively:
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
/// ... This function is not guaranteed to poison the entire region -
|
/// ... 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:
|
and:
|
||||||
|
|
||||||
```cpp
|
```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.
|
/// to ASan alignment restrictions.
|
||||||
void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
|
void __asan_unpoison_memory_region(void const volatile *addr, size_t size);
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user