mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Add ASAN guards to some asm data structures
This commit is contained in:
parent
6c2fd9ecc6
commit
390e22a8c6
15 changed files with 31 additions and 4 deletions
|
@ -11,6 +11,7 @@
|
|||
|
||||
// extern const char kMonthName[12][10];
|
||||
.section .rodata,"a",@progbits
|
||||
.underrun
|
||||
kMonthName:
|
||||
.ascin "January",10
|
||||
.ascin "February",10
|
||||
|
@ -25,4 +26,5 @@ kMonthName:
|
|||
.ascin "November",10
|
||||
.ascin "December",10
|
||||
.endobj kMonthName,globl
|
||||
.overrun
|
||||
.previous
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
// - Double-NUL Terminated String
|
||||
// - extern const char kMonthNameShort[];
|
||||
.section .rodata,"a",@progbits
|
||||
.underrun
|
||||
kMonthNameShort:
|
||||
.ascin "Jan",4
|
||||
.ascin "Feb",4
|
||||
|
@ -31,4 +32,5 @@ kMonthNameShort:
|
|||
.ascin "Dec",4
|
||||
.byte 0
|
||||
.endobj kMonthNameShort,globl
|
||||
.overrun
|
||||
.previous
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
// extern const char kWeekdayName[7][10];
|
||||
.section .rodata,"a",@progbits
|
||||
.underrun
|
||||
kWeekdayName:
|
||||
.ascin "Sunday",10
|
||||
.ascin "Monday",10
|
||||
|
@ -20,4 +21,5 @@ kWeekdayName:
|
|||
.ascin "Friday",10
|
||||
.ascin "Saturday",10
|
||||
.endobj kWeekdayName,globl
|
||||
.overrun
|
||||
.previous
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
// - Double-NUL Terminated String
|
||||
// - extern const char kWeekdayNameShort[];
|
||||
.section .rodata,"a",@progbits
|
||||
.underrun
|
||||
kWeekdayNameShort:
|
||||
.asciz "Sun"
|
||||
.asciz "Mon"
|
||||
|
@ -26,4 +27,5 @@ kWeekdayNameShort:
|
|||
.asciz "Sat"
|
||||
.byte 0
|
||||
.endobj kWeekdayNameShort,globl
|
||||
.overrun
|
||||
.previous
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue