Skip to content

Commit 6e36332

Browse files
committed
Make asan text colours more readable.
1 parent e47a75d commit 6e36332

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

talk/tools/sanitizers.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,17 @@
117117
\scriptsize
118118
\begin{Verbatim}[commandchars=\\\{\}]
119119
\ttfamily
120-
\textcolor{green}{==34015==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffee93ed968 at pc 0x000106812df4 bp 0x7ffee93ed930 sp 0x7ffee93ed928}
120+
\textcolor{teal}{==34015==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7ffee93ed968 at pc 0x000106812df4 bp 0x7ffee93ed930 sp 0x7ffee93ed928}
121121
\textcolor{blue}{WRITE of size 1 at 0x7ffee93ed968 thread T0}
122122
#0 0x106812df3 in foo() asan.cpp:4
123123
#1 0x106812ed8 in main asan.cpp:9
124124
#2 0x7fff6d3923d4 in start (libdyld.dylib:x86_64+0x163d4)
125125
126-
\textcolor{green}{Address 0x7ffee93ed968 is located in stack of thread T0 at offset 40 in frame}
126+
\textcolor{teal}{Address 0x7ffee93ed968 is located in stack of thread T0 at offset 40 in frame}
127127
#0 0x106812cdf in foo() asan.cpp:1
128128
129129
This frame has 2 object(s):
130-
[32, 40) 'a' (line 2) \textcolor{green}{<== Memory access at offset 40 overflows this variable}
130+
[32, 40) 'a' (line 2) \textcolor{teal}{<== Memory access at offset 40 overflows this variable}
131131
[64, 72) 'b' (line 3)
132132
Shadow bytes around the buggy address:
133133
=>0x1fffdd27db20: 00 00 00 00 00 00 00 00 \textcolor{red}{f1 f1 f1 f1} 00[\textcolor{red}{f2}]\textcolor{red}{f2 f2}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy