Skip to content

Commit 2d6badf

Browse files
Merge pull request #6076 from 39otsu/dev/mcodilla/print-stats-legend
Add print_legend and print_stats to AddressSanitizer runtime options page
2 parents 378d317 + 9050e03 commit 2d6badf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/sanitizers/asan-flags.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ The following table lists the options for the AddressSanitizer. Enable them via
4545
|`poison_heap` | `true` | If `true`, poison the heap memory on allocation and deallocation. `false` is useful for benchmarking the allocator or instrumentator.|
4646
|`poison_partial` | `true` | If `true`, poison partially addressable 8-byte aligned words. This flag affects heap and global buffers, but not stack buffers.|
4747
|`print_cmdline` | `false` | Print the command line on crash. With `continue_on_error` set >= 1, prints the current working directory and is `UTF-16` aware.|
48+
|`print_legend` | `true` | If `true`, print the shadow memory map legend to accompany the ASan report. |
49+
|`print_stats`| `false` | If `true`, print allocator stats after printing ASan report. |
4850
|`print_summary` | `true` | If `false`, disables showing error summaries that accompany error reports.|
4951
|`quarantine_size_mb` | -1 | Size (in Mb) of quarantine used to detect `use-after-free` errors. A lower value may increase the chance of false negatives.|
5052
|`redzone` | 16 | Minimum size (in bytes) of redzones around heap objects. Requirement: `redzone >= 16` and must be a power of two.|

0 commit comments

Comments
 (0)