flags for phdr.p_flags added

This commit is contained in:
Sascha Schirra 2014-09-11 12:31:44 +02:00
parent 5477d5452e
commit 88cacd000e
1 changed files with 9 additions and 0 deletions

View File

@ -214,6 +214,15 @@ class ElfBase
[ 'uint32n', 'p_align', 0 ]
)
# p_flags This member tells which permissions should have the segment
# Flags
PF_EXEC = 1
PF_WRITE = 2
PF_READ = 4
#
# p_type This member tells what kind of segment this array element
# describes or how to interpret the array element's information.