From 6cbd672a3ec6c73304adc1b6c43d47bd6262ee02 Mon Sep 17 00:00:00 2001 From: doyle Date: Mon, 28 Aug 2023 23:41:56 +1000 Subject: [PATCH] Tweak wording of readme --- asan_example.cpp | 11 +++++------ readme.md | 3 +-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/asan_example.cpp b/asan_example.cpp index 10d45d4..2a41b44 100644 --- a/asan_example.cpp +++ b/asan_example.cpp @@ -105,12 +105,11 @@ int main() "\n" "We use a stack-allocated 16 byte array and test un/poisoning\n" "various ranges of bytes from different alignments to clarify the\n" - "poisoning behaviour of the API.\n" - "\n" - "This reveals that calling the API haphazardly, unaligned or\n" - "straddling boundaries can lead to gaps in poisoned memory and hide\n" - "potential leaks (as also demonstrated in [Manual ASAN poisoning and\n" - "alignment](https://github.com/mcgov/asan_alignment_example)).\n" + "poisoning behaviour of the API. This reveals that calling the API\n" + "haphazardly, unaligned or straddling boundaries can lead to gaps in\n" + "poisoned memory and hide potential leaks (as also demonstrated in\n" + "[Manual ASAN poisoning and alignment]" + "(https://github.com/mcgov/asan_alignment_example)).\n" "\n" "## References\n" "\n" diff --git a/readme.md b/readme.md index 3af6d42..7c6c652 100644 --- a/readme.md +++ b/readme.md @@ -47,8 +47,7 @@ poisoning behaviour of the API. This reveals that calling the API haphazardly, unaligned or straddling boundaries can lead to gaps in poisoned memory and hide potential leaks (as also demonstrated in [Manual ASAN poisoning and -alignment](https://github.com/mcgov/asan_alignment_example) example -by `mcgov`. +alignment](https://github.com/mcgov/asan_alignment_example)). ## References