peachelf 0.1.1

A simple ELF library for parsing/generating
Documentation
1
2
3
4
5
6
7
8
use crate::types;

/// A segment flag that means the segment is executable
pub const PF_X: types::Elf64Word = 0b0000_0001;
/// A segment flag that means the segment is writable
pub const PF_W: types::Elf64Word = 0b0000_0010;
/// A segment flag that means the segment is readable
pub const PF_R: types::Elf64Word = 0b0000_0100;