Example 3: .so file without a RELRO segment (Compliant)
In plain words
A .so file with no GNU_RELRO segment is compliant, because RELRO page-boundary issues don't apply to it, though enabling RELRO is still recommended for security.
- The sample llvm-readelf output shows two LOAD segments, both with 0x4000 alignment, and no GNU_RELRO segment.
- Enabling RELRO is still recommended for security.
From the official text
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align LOAD 0x000000 0x0000000000000000 0x0000000000000000 0x000680 0x000680 R E 0x4000 LOAD 0x000680 0x0000000000004680 0x0000000000004680 0x0001d8 0x0001d8 RW 0x4000 This .so file has no GNURELRO segment, so RELRO page-boundary issues don't apply (though enabling RELRO …
Read the full official text ↗ Open in the StoreRules library Ask whether your app complies
Change history
- · added
Developers' cases about this clause
No cases yet.