kernel/sched/loader/defs/error.rs
1// SPDX-License-Identifier: GPL-3.0-only
2//! Enum which describes ELF loading/parsing errors
3//!
4//! Authors: MarioS271
5
6#[derive(Debug)]
7pub enum ElfError {
8 TooSmall,
9 BadMagic,
10 Not64Bit,
11 NotLittleEndian,
12 NotExecutable,
13 WrongArch,
14 BadPhentsize,
15 PhdrsOutOfBounds,
16 MisalignedPhdrs,
17}