mirror of
https://github.com/Noratrieb/elven-forest.git
synced 2026-01-17 19:55:01 +01:00
write me
This commit is contained in:
parent
31fe171557
commit
6ae845a9b3
8 changed files with 448 additions and 82 deletions
|
|
@ -124,14 +124,18 @@ pub const EI_PAD: usize = 9; /* Byte index of padding bytes */
|
|||
|
||||
pub const EI_NIDENT: usize = 16;
|
||||
|
||||
pub const ET_NONE: u16 = 0;
|
||||
pub const ET_REL: u16 = 1;
|
||||
pub const ET_EXEC: u16 = 2;
|
||||
pub const ET_DYN: u16 = 3;
|
||||
pub const ET_CORE: u16 = 4;
|
||||
const_group_with_fmt! {
|
||||
pub struct Type(u16): "type"
|
||||
|
||||
pub const ET_NONE = 0;
|
||||
pub const ET_REL = 1;
|
||||
pub const ET_EXEC = 2;
|
||||
pub const ET_DYN = 3;
|
||||
pub const ET_CORE = 4;
|
||||
}
|
||||
|
||||
const_group_with_fmt! {
|
||||
pub struct Machine(u16): "Machine"
|
||||
pub struct Machine(u16): "machine"
|
||||
|
||||
pub const EM_NONE = 0; /* No machine */
|
||||
pub const EM_X86_64 = 62; /* AMD x86-64 architecture */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue