All non-executable sections used to be mapped as RW- causing read-only
sections such as .rodata to be writable.
Note that this patch doesn't include a test case since it's not entirely
clear to me if it's possible to test MemProt flags.
Differential D147442
[JITLink][ELF] Only make sections with SHF_WRITE writable jobnoorman on Apr 3 2023, 7:01 AM. Authored by
Details All non-executable sections used to be mapped as RW- causing read-only Note that this patch doesn't include a test case since it's not entirely
Diff Detail
|