Sample Header Ad - 728x90

.text section not readable

3 votes
1 answer
183 views
I was looking at the /proc//maps file for an aarch64 process running on an Android (10). This section caught my interest:
72582d2000-72582f6000 --xp 00012000 07:20 93        /apex/com.android.runtime/lib64/bionic/libm.so
According to readelf, that corresponds, as expected, to the .text section. What does it mean for a memory section to be executable but not readable? I didn't think that was possible.
Asked by Daniel Walker (921 rep)
Aug 19, 2022, 01:53 PM
Last activity: Jun 25, 2025, 06:57 PM