mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +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
|
@ -84,6 +84,7 @@ _woot: leave
|
|||
.globl __init_rodata_start,__init_rodata_end
|
||||
.hidden __init_rodata_start,__init_rodata_end
|
||||
.align __SIZEOF_POINTER__
|
||||
.underrun
|
||||
__init_rodata_start:
|
||||
.previous/*
|
||||
...
|
||||
|
@ -92,6 +93,7 @@ __init_rodata_start:
|
|||
*/.section .initroepilogue,"a",@progbits
|
||||
__init_rodata_end:
|
||||
.byte 0x90
|
||||
.overrun
|
||||
.previous
|
||||
|
||||
// Decentralized section for unpacked data structures.
|
||||
|
@ -107,6 +109,7 @@ __init_rodata_end:
|
|||
.globl __init_bss_start,__init_bss_end
|
||||
.hidden __init_bss_start,__init_bss_end
|
||||
.align __SIZEOF_POINTER__
|
||||
.underrun
|
||||
__init_bss_start:
|
||||
.previous/*
|
||||
...
|
||||
|
@ -115,6 +118,7 @@ __init_bss_start:
|
|||
*/.section .piro.bss.init.3,"aw",@nobits
|
||||
__init_bss_end:
|
||||
.byte 0
|
||||
.overrun
|
||||
.previous
|
||||
|
||||
// Special area for Windows NT support code.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue