Protections numbers meaning in Mach-O
mustaphaezzali opened this issue · comments
Mustapha EZZALI commented
Describe the bug
I could not find the meaning of protections numbers (0,1,3,5,7) of Mach-O segments in lief documentation.
Environment (please complete the following information):
- System and Version : Ubuntu 16.04 , version = 0.12.3
- Target format : Mach-O
Romain Thomas commented
These numbers represent the classical protection flags:
X
= 1W
= 2R
= 4
Thus, 7
is R | W | X