http://www.linker-aliens.org/blogs/ali/entry/gnu_hash_elf_sections/
https://docs.oracle.com/cd/E23824_01/html/819-0690/chapter6-48031.html
- property buckets → list[int]
Buckets values
- property chains → list[int]
Chains values
- property nbucket → int
Return the number of buckets
- property nchain → int
Return the number of chains (symbol table index)
Note
- class lief.ELF.Note
Bases: Object
Class which represents an ELF note.
- class TYPE
Bases: object
- ANDROID_IDENT = lief._lief.ELF.TYPE.ANDROID_IDENT
- ANDROID_KUSER = lief._lief.ELF.TYPE.ANDROID_KUSER
- ANDROID_MEMTAG = lief._lief.ELF.TYPE.ANDROID_MEMTAG
- CORE_ARM_HW_BREAK = lief._lief.ELF.TYPE.CORE_ARM_HW_BREAK
- CORE_ARM_HW_WATCH = lief._lief.ELF.TYPE.CORE_ARM_HW_WATCH
- CORE_ARM_PACA_KEYS = lief._lief.ELF.TYPE.CORE_ARM_PACA_KEYS
- CORE_ARM_PACG_KEYS = lief._lief.ELF.TYPE.CORE_ARM_PACG_KEYS
- CORE_ARM_PAC_MASK = lief._lief.ELF.TYPE.CORE_ARM_PAC_MASK
- CORE_ARM_SVE = lief._lief.ELF.TYPE.CORE_ARM_SVE
- CORE_ARM_SYSTEM_CALL = lief._lief.ELF.TYPE.CORE_ARM_SYSTEM_CALL
- CORE_ARM_TLS = lief._lief.ELF.TYPE.CORE_ARM_TLS
- CORE_ARM_VFP = lief._lief.ELF.TYPE.CORE_ARM_VFP
- CORE_AUXV = lief._lief.ELF.TYPE.CORE_AUXV
- CORE_FILE = lief._lief.ELF.TYPE.CORE_FILE
- CORE_FPREGS = lief._lief.ELF.TYPE.CORE_FPREGS
- CORE_FPREGSET = lief._lief.ELF.TYPE.CORE_FPREGSET
- CORE_LWPSINFO = lief._lief.ELF.TYPE.CORE_LWPSINFO
- CORE_LWPSTATUS = lief._lief.ELF.TYPE.CORE_LWPSTATUS
- CORE_PAC_ENABLED_KEYS = lief._lief.ELF.TYPE.CORE_PAC_ENABLED_KEYS
- CORE_PRPSINFO = lief._lief.ELF.TYPE.CORE_PRPSINFO
- CORE_PRSTATUS = lief._lief.ELF.TYPE.CORE_PRSTATUS
- CORE_PRXFPREG = lief._lief.ELF.TYPE.CORE_PRXFPREG
- CORE_PSINFO = lief._lief.ELF.TYPE.CORE_PSINFO
- CORE_PSTATUS = lief._lief.ELF.TYPE.CORE_PSTATUS
- CORE_SIGINFO = lief._lief.ELF.TYPE.CORE_SIGINFO
- CORE_TAGGED_ADDR_CTRL = lief._lief.ELF.TYPE.CORE_TAGGED_ADDR_CTRL
- CORE_TASKSTRUCT = lief._lief.ELF.TYPE.CORE_TASKSTRUCT
- CORE_WIN32PSTATUS = lief._lief.ELF.TYPE.CORE_WIN32PSTATUS
- CORE_X86_CET = lief._lief.ELF.TYPE.CORE_X86_CET
- CORE_X86_IOPERM = lief._lief.ELF.TYPE.CORE_X86_IOPERM
- CORE_X86_TLS = lief._lief.ELF.TYPE.CORE_X86_TLS
- CORE_X86_XSTATE = lief._lief.ELF.TYPE.CORE_X86_XSTATE
- CRASHPAD = lief._lief.ELF.TYPE.CRASHPAD
- GNU_ABI_TAG = lief._lief.ELF.TYPE.GNU_ABI_TAG
- GNU_BUILD_ATTRIBUTE_FUNC = lief._lief.ELF.TYPE.GNU_BUILD_ATTRIBUTE_FUNC
- GNU_BUILD_ATTRIBUTE_OPEN = lief._lief.ELF.TYPE.GNU_BUILD_ATTRIBUTE_OPEN
- GNU_BUILD_ID = lief._lief.ELF.TYPE.GNU_BUILD_ID
- GNU_GOLD_VERSION = lief._lief.ELF.TYPE.GNU_GOLD_VERSION
- GNU_HWCAP = lief._lief.ELF.TYPE.GNU_HWCAP
- GNU_PROPERTY_TYPE_0 = lief._lief.ELF.TYPE.GNU_PROPERTY_TYPE_0
- GO_BUILDID = lief._lief.ELF.TYPE.GO_BUILDID
- QNX_STACK = lief._lief.ELF.TYPE.QNX_STACK
- STAPSDT = lief._lief.ELF.TYPE.STAPSDT
- UNKNOWN = lief._lief.ELF.TYPE.UNKNOWN
- from_value(arg: int) → lief.ELF.Note.TYPE = <nanobind.nb_func object>
- property value → int
The underlying integer value
- copy(self) → lief.ELF.Note | None
Duplicate the current instance of this object
- create(*args) → lief.ELF.Note | None = <nanobind.nb_func object>
- property description → memoryview
Return the description associated with the note
- property name → str
Return the name of the note also known as the owner.
- property original_type → int
Return the original NT_ value of the note.
This value should be interpreted according the name
of the note.
- property size → int
Size of the raw note
- property type → lief.ELF.Note.TYPE
Return the LIEF type representation of the note.
Core PrPsInfo
- class lief.ELF.CorePrPsInfo
Bases: Note
- property info → lief.ELF.CorePrPsInfo.info_t | None
- class info_t
Bases: object
- property args → str
- property args_stripped → str
- property filename → str
- property filename_stripped → str
- property flag → int
- property gid → int
- property nice → int
- property pgrp → int
- property pid → int
- property ppid → int
- property sid → int
- property sname → str
- property state → int
- property uid → int
- property zombie → bool
Core PrStatus
- class lief.ELF.CorePrStatus
Bases: Note
- class Registers
Bases: object
- class AARCH64
Bases: object
- PC = lief._lief.ELF.AARCH64.PC
- PSTATE = lief._lief.ELF.AARCH64.PSTATE
- X0 = lief._lief.ELF.AARCH64.X0
- X1 = lief._lief.ELF.AARCH64.X1
- X10 = lief._lief.ELF.AARCH64.X10
- X11 = lief._lief.ELF.AARCH64.X11
- X12 = lief._lief.ELF.AARCH64.X12
- X13 = lief._lief.ELF.AARCH64.X13
- X14 = lief._lief.ELF.AARCH64.X14
- X15 = lief._lief.ELF.AARCH64.X15
- X16 = lief._lief.ELF.AARCH64.X16
- X17 = lief._lief.ELF.AARCH64.X17
- X18 = lief._lief.ELF.AARCH64.X18
- X19 = lief._lief.ELF.AARCH64.X19
- X2 = lief._lief.ELF.AARCH64.X2
- X20 = lief._lief.ELF.AARCH64.X20
- X21 = lief._lief.ELF.AARCH64.X21
- X22 = lief._lief.ELF.AARCH64.X22
- X23 = lief._lief.ELF.AARCH64.X23
- X24 = lief._lief.ELF.AARCH64.X24
- X25 = lief._lief.ELF.AARCH64.X25
- X26 = lief._lief.ELF.AARCH64.X26
- X27 = lief._lief.ELF.AARCH64.X27
- X28 = lief._lief.ELF.AARCH64.X28
- X29 = lief._lief.ELF.AARCH64.X29
- X3 = lief._lief.ELF.AARCH64.X3
- X30 = lief._lief.ELF.AARCH64.X30
- X31 = lief._lief.ELF.AARCH64.X31
- X4 = lief._lief.ELF.AARCH64.X4
- X5 = lief._lief.ELF.AARCH64.X5
- X6 = lief._lief.ELF.AARCH64.X6
- X7 = lief._lief.ELF.AARCH64.X7
- X8 = lief._lief.ELF.AARCH64.X8
- X9 = lief._lief.ELF.AARCH64.X9
- from_value(arg: int) → lief.ELF.CorePrStatus.Registers.AARCH64 = <nanobind.nb_func object>
- property value → int
The underlying integer value
- class ARM
Bases: object
- CPSR = lief._lief.ELF.ARM.CPSR
- R0 = lief._lief.ELF.ARM.R0
- R1 = lief._lief.ELF.ARM.R1
- R10 = lief._lief.ELF.ARM.R10
- R11 = lief._lief.ELF.ARM.R11
- R12 = lief._lief.ELF.ARM.R12
- R13 = lief._lief.ELF.ARM.R13
- R14 = lief._lief.ELF.ARM.R14
- R15 = lief._lief.ELF.ARM.R15
- R2 = lief._lief.ELF.ARM.R2
- R3 = lief._lief.ELF.ARM.R3
- R4 = lief._lief.ELF.ARM.R4
- R5 = lief._lief.ELF.ARM.R5
- R6 = lief._lief.ELF.ARM.R6
- R7 = lief._lief.ELF.ARM.R7
- R8 = lief._lief.ELF.ARM.R8
- R9 = lief._lief.ELF.ARM.R9
- from_value(arg: int) → lief.ELF.CorePrStatus.Registers.ARM = <nanobind.nb_func object>
- property value → int
The underlying integer value
- class X86
Bases: object
- CS = lief._lief.ELF.X86.CS
- DS = lief._lief.ELF.X86.DS
- EAX = lief._lief.ELF.X86.EAX
- EBP = lief._lief.ELF.X86.EBP
- EBX = lief._lief.ELF.X86.EBX
- ECX = lief._lief.ELF.X86.ECX
- EDI = lief._lief.ELF.X86.EDI
- EDX = lief._lief.ELF.X86.EDX
- EFLAGS = lief._lief.ELF.X86.EFLAGS
- EIP = lief._lief.ELF.X86.EIP
- ES = lief._lief.ELF.X86.ES
- ESI = lief._lief.ELF.X86.ESI
- ESP = lief._lief.ELF.X86.ESP
- FS = lief._lief.ELF.X86.FS
- GS = lief._lief.ELF.X86.GS
- ORIG_EAX = lief._lief.ELF.X86.ORIG_EAX
- SS = lief._lief.ELF.X86.SS
- from_value(arg: int) → lief.ELF.CorePrStatus.Registers.X86 = <nanobind.nb_func object>
- property value → int
The underlying integer value
- class X86_64
Bases: object
- CS = lief._lief.ELF.X86_64.CS
- EFLAGS = lief._lief.ELF.X86_64.EFLAGS
- ORIG_RAX = lief._lief.ELF.X86_64.ORIG_RAX
- R10 = lief._lief.ELF.X86_64.R10
- R11 = lief._lief.ELF.X86_64.R11
- R12 = lief._lief.ELF.X86_64.R12
- R13 = lief._lief.ELF.X86_64.R13
- R14 = lief._lief.ELF.X86_64.R14
- R15 = lief._lief.ELF.X86_64.R15
- R8 = lief._lief.ELF.X86_64.R8
- R9 = lief._lief.ELF.X86_64.R9
- RAX = lief._lief.ELF.X86_64.RAX
- RBP = lief._lief.ELF.X86_64.RBP
- RBX = lief._lief.ELF.X86_64.RBX
- RCX = lief._lief.ELF.X86_64.RCX
- RDI = lief._lief.ELF.X86_64.RDI
- RDX = lief._lief.ELF.X86_64.RDX
- RIP = lief._lief.ELF.X86_64.RIP
- RSI = lief._lief.ELF.X86_64.RSI
- RSP = lief._lief.ELF.X86_64.RSP
- SS = lief._lief.ELF.X86_64.SS
- from_value(arg: int) → lief.ELF.CorePrStatus.Registers.X86_64 = <nanobind.nb_func object>
- property value → int
The underlying integer value
- property architecture → lief.ELF.ARCH
Original target architecture.
- get(*args) → int | None
Overloaded function.
get(self, reg: lief._lief.ELF.CorePrStatus.Registers.X86) -> Optional[int]
Get the register value or non if it is not present
get(self, reg: lief._lief.ELF.CorePrStatus.Registers.X86_64) -> Optional[int]
Get the register value or non if it is not present
get(self, reg: lief._lief.ELF.CorePrStatus.Registers.ARM) -> Optional[int]
Get the register value or non if it is not present
get(self, reg: lief._lief.ELF.CorePrStatus.Registers.AARCH64) -> Optional[int]
Get the register value or non if it is not present
- property pc → int | None
Return the program counter value (rip, pc, eip etc)
- class pr_status_t
Bases: object
- property cstime → lief.ELF.CorePrStatus.timeval_t
- property cursig → int
- property cutime → lief.ELF.CorePrStatus.timeval_t
- property info → lief.ELF.CorePrStatus.siginfo_t
- property pgrp → int
- property pid → int
- property ppid → int
- property reserved → int
- property sid → int
- property sighold → int
- property sigpend → int
- property stime → lief.ELF.CorePrStatus.timeval_t
- property utime → lief.ELF.CorePrStatus.timeval_t
- property register_values → list[int]
List of the register values. This list is guarantee to be as long as the number of registers defined in the Registers
or empty if it can’t be resolved.
Thus, one can access a specific register through:
reg_vals: list[int] = note.register_values()
x20 = reg_vals[CorePrStatus.Registesr.AARCH64.X20.value]
- property return_value → int | None
The value of the register that holds the return value according to the calling convention.
- set(*args) → lief.ok_error_t
Overloaded function.
set(self, reg: lief._lief.ELF.CorePrStatus.Registers.X86, value: int) -> lief._lief.ok_error_t
Change the register value
set(self, reg: lief._lief.ELF.CorePrStatus.Registers.X86_64, value: int) -> lief._lief.ok_error_t
Change the register value
set(self, reg: lief._lief.ELF.CorePrStatus.Registers.ARM, value: int) -> lief._lief.ok_error_t
Change the register value
set(self, reg: lief._lief.ELF.CorePrStatus.Registers.AARCH64, value: int) -> lief._lief.ok_error_t
Change the register value
- class siginfo_t
Bases: object
- property errno → int
- property sicode → int
- property signo → int
- property sp → int | None
Return the stack pointer value
- property status → lief.ELF.CorePrStatus.pr_status_t
Info associated with the signal
- class timeval_t
Bases: object
- property sec → int
- property usec → int
Core File
- class lief.ELF.CoreFile
Bases: Note
- class entry_t
Bases: object
- property end → int
End address of mapped file
- property file_ofs → int
Offset (in core) of mapped file
- property path → str
Path of mapped file
- property start → int
Start address of mapped file
- property files → lief.ELF.CoreFile.files_t
List of files mapped in core. (list of CoreFileEntry
)
- class files_t(self)
- class files_t(self, arg: lief._lief.ELF.CoreFile.files_t)
- class files_t(self, arg: Iterable[lief._lief.ELF.CoreFile.entry_t], /)
Bases: object
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: lief._lief.ELF.CoreFile.files_t) -> None
Copy constructor
__init__(self, arg: Iterable[lief._lief.ELF.CoreFile.entry_t], /) -> None
Construct from an iterable object
- append(self, arg: lief.ELF.CoreFile.entry_t) → None
Append arg to the end of the list.
- clear(self) → None
Remove all items from list.
- extend(self, arg: lief.ELF.CoreFile.files_t) → None
Extend self by appending elements from arg.
- insert(self, arg0: int, arg1: lief.ELF.CoreFile.entry_t) → None
Insert object arg1 before index arg0.
- pop(self, index: int) → lief.ELF.CoreFile.entry_t
Remove and return item at index (default last).
Core Siginfo
- class lief.ELF.CoreSigInfo
Bases: Note
- property sigcode → int | None
Signal code
- property sigerrno → int | None
If non-zero, an errno value associated with this signal
- property signo → int | None
Signal number
Core Auxiliary Vector
- class lief.ELF.CoreAuxv
Bases: Note
- class TYPE
Bases: object
- BASE = lief._lief.ELF.TYPE.BASE
- BASE_PLATFORM = lief._lief.ELF.TYPE.BASE_PLATFORM
- CLKTCK = lief._lief.ELF.TYPE.CLKTCK
- DCACHEBSIZE = lief._lief.ELF.TYPE.DCACHEBSIZE
- EGID = lief._lief.ELF.TYPE.EGID
- END = lief._lief.ELF.TYPE.END
- ENTRY = lief._lief.ELF.TYPE.ENTRY
- EUID = lief._lief.ELF.TYPE.EUID
- EXECFD = lief._lief.ELF.TYPE.EXECFD
- EXECFN = lief._lief.ELF.TYPE.EXECFN
- FLAGS = lief._lief.ELF.TYPE.FLAGS
- FPUCW = lief._lief.ELF.TYPE.FPUCW
- GID = lief._lief.ELF.TYPE.GID
- HWCAP = lief._lief.ELF.TYPE.HWCAP
- HWCAP2 = lief._lief.ELF.TYPE.HWCAP2
- ICACHEBSIZE = lief._lief.ELF.TYPE.ICACHEBSIZE
- IGNORE = lief._lief.ELF.TYPE.IGNORE
- IGNOREPPC = lief._lief.ELF.TYPE.IGNOREPPC
- NOTELF = lief._lief.ELF.TYPE.NOTELF
- PAGESZ = lief._lief.ELF.TYPE.PAGESZ
- PHDR = lief._lief.ELF.TYPE.PHDR
- PHENT = lief._lief.ELF.TYPE.PHENT
- PHNUM = lief._lief.ELF.TYPE.PHNUM
- RANDOM = lief._lief.ELF.TYPE.RANDOM
- SECURE = lief._lief.ELF.TYPE.SECURE
- SYSINFO = lief._lief.ELF.TYPE.SYSINFO
- SYSINFO_EHDR = lief._lief.ELF.TYPE.SYSINFO_EHDR
- TGT_PLATFORM = lief._lief.ELF.TYPE.TGT_PLATFORM
- UCACHEBSIZE = lief._lief.ELF.TYPE.UCACHEBSIZE
- UID = lief._lief.ELF.TYPE.UID
- from_value(arg: int) → lief.ELF.CoreAuxv.TYPE = <nanobind.nb_func object>
- property value → int
The underlying integer value
- get(self, type: lief.ELF.CoreAuxv.TYPE) → int | None
Get the auxv value from the provided type. Return None if it is not present.
- set(*args) → bool
Overloaded function.
set(self, type: lief._lief.ELF.CoreAuxv.TYPE, value: int) -> bool
Change the value for the given type.
set(self, arg: dict[lief._lief.ELF.CoreAuxv.TYPE, int], /) -> bool
Replace all the values by the given dictionary.
- property values → dict[lief.ELF.CoreAuxv.TYPE, int]
Return the auxiliary vector as a dictionary of TYPE
/ int
Android Ident
- class lief.ELF.AndroidIdent
Bases: Note
- property ndk_build_number → str
Android NDK build number
- property ndk_version → str
Android NDK version used to build the current binary
- property sdk_version → int
Target SDK platform
QNX Stack
- class lief.ELF.QNXStack
Bases: Note
- property is_executable → bool
Whether the stack is executable
- property stack_allocated → int
Size of the stack pre-allocated (upfront)
- property stack_size → int
Size of the stack
Note ABI
- class lief.ELF.NoteAbi
Bases: Note
Class that wraps the NT_GNU_ABI_TAG note
- class ABI
Bases: object
- FREEBSD = lief._lief.ELF.ABI.FREEBSD
- GNU = lief._lief.ELF.ABI.GNU
- LINUX = lief._lief.ELF.ABI.LINUX
- NACL = lief._lief.ELF.ABI.NACL
- NETBSD = lief._lief.ELF.ABI.NETBSD
- SOLARIS2 = lief._lief.ELF.ABI.SOLARIS2
- SYLLABLE = lief._lief.ELF.ABI.SYLLABLE
- from_value(arg: int) → lief.ELF.NoteAbi.ABI = <nanobind.nb_func object>
- property value → int
The underlying integer value
- property abi → lief.ELF.NoteAbi.ABI | None
Return the target ABI
- property version → list[int] | None
Return the target version as (Major, Minor, Patch)
Note Gnu Property
- class lief.ELF.NoteGnuProperty
Bases: Note
This object represents the NT_GNU_PROPERTY_TYPE_0 note.
- class Property
Bases: object
This class wraps the different properties that can be used in a NT_GNU_PROPERTY_TYPE_0 note
- class TYPE
Bases: object
- AARCH64_FEATURES = lief._lief.ELF.TYPE.AARCH64_FEATURES
- AARCH64_PAUTH = lief._lief.ELF.TYPE.AARCH64_PAUTH
- GENERIC = lief._lief.ELF.TYPE.GENERIC
- NEEDED = lief._lief.ELF.TYPE.NEEDED
- NO_COPY_ON_PROTECTED = lief._lief.ELF.TYPE.NO_COPY_ON_PROTECTED
- STACK_SIZE = lief._lief.ELF.TYPE.STACK_SIZE
- UNKNOWN = lief._lief.ELF.TYPE.UNKNOWN
- X86_FEATURE = lief._lief.ELF.TYPE.X86_FEATURE
- X86_ISA = lief._lief.ELF.TYPE.X86_ISA
- from_value(arg: int) → lief.ELF.NoteGnuProperty.Property.TYPE = <nanobind.nb_func object>
- property value → int
The underlying integer value
- property type → lief.ELF.NoteGnuProperty.Property.TYPE
- find(self, arg: lief.ELF.NoteGnuProperty.Property.TYPE) → lief.ELF.NoteGnuProperty.Property | None
Find the property with the given type or return None
- property properties → list[lief.ELF.NoteGnuProperty.Property | None]
Return the properties as a list of Property
Generic
- class lief.ELF.Generic
Bases: Property
This class represents a property which doesn’t have a concrete LIEF implementation.
- property raw_type → int
The original raw type as an integer. This value might depends on the architecture and/or the file type.
AArch64 Feature
- class lief.ELF.AArch64Feature
Bases: Property
This class represents the GNU_PROPERTY_AARCH64_FEATURE_1_AND
note.
- class FEATURE
Bases: object
- BTI = lief._lief.ELF.FEATURE.BTI
- PAC = lief._lief.ELF.FEATURE.PAC
- UNKNOWN = lief._lief.ELF.FEATURE.UNKNOWN
- from_value(arg: int) → lief.ELF.AArch64Feature.FEATURE = <nanobind.nb_func object>
- property value → int
The underlying integer value
- property features → list[lief.ELF.AArch64Feature.FEATURE]
Return the list of the supported features.
AArch64 PAuth
- class lief.ELF.AArch64PAuth
Bases: Property
This class represents the GNU_PROPERTY_AARCH64_FEATURE_PAUTH
note.
- property platform → int
64-bit value that specifies the platform vendor.
A 0
value is associated with an invalid platform while the value 1
is associated with a baremetal platform.
- property version → int
64-bit value that identifies the signing schema used by the ELF file.
No Copy on Protected
- class lief.ELF.NoteNoCopyOnProtected
Bases: Property
This class provides an interface over the GNU_PROPERTY_NO_COPY_ON_PROTECTED
property. This property indicates that the linker shouldn’t copy relocations against protected symbols.
Stack Size
- class lief.ELF.StackSize
Bases: Property
This class provides an interface over the GNU_PROPERTY_STACK_SIZE
property This property can be used by the loader to raise the stack limit.
- property stack_size → int
X86 Feature
- class lief.ELF.X86Features
Bases: Property
This class interfaces the different GNU_PROPERTY_X86_FEATURE_*
properties which includes:
GNU_PROPERTY_X86_FEATURE_1_AND
GNU_PROPERTY_X86_FEATURE_2_USED
GNU_PROPERTY_X86_FEATURE_2_NEEDED
- class FEATURE
Bases: object
- FXSR = lief._lief.ELF.FEATURE.FXSR
- IBT = lief._lief.ELF.FEATURE.IBT
- LAM_U48 = lief._lief.ELF.FEATURE.LAM_U48
- LAM_U57 = lief._lief.ELF.FEATURE.LAM_U57
- MASK = lief._lief.ELF.FEATURE.MASK
- MMX = lief._lief.ELF.FEATURE.MMX
- SHSTK = lief._lief.ELF.FEATURE.SHSTK
- TMM = lief._lief.ELF.FEATURE.TMM
- UNKNOWN = lief._lief.ELF.FEATURE.UNKNOWN
- X86 = lief._lief.ELF.FEATURE.X86
- X87 = lief._lief.ELF.FEATURE.X87
- XMM = lief._lief.ELF.FEATURE.XMM
- XSAVE = lief._lief.ELF.FEATURE.XSAVE
- XSAVEC = lief._lief.ELF.FEATURE.XSAVEC
- XSAVEOPT = lief._lief.ELF.FEATURE.XSAVEOPT
- YMM = lief._lief.ELF.FEATURE.YMM
- ZMM = lief._lief.ELF.FEATURE.ZMM
- from_value(arg: int) → lief.ELF.X86Features.FEATURE = <nanobind.nb_func object>
- property value → int
The underlying integer value
- class FLAG
Bases: object
- NEEDED = lief._lief.ELF.FLAG.NEEDED
- NONE = lief._lief.ELF.FLAG.NONE
- USED = lief._lief.ELF.FLAG.USED
- from_value(arg: int) → lief.ELF.X86Features.FLAG = <nanobind.nb_func object>
- property value → int
The underlying integer value
- property features → list[tuple[lief.ELF.X86Features.FLAG, lief.ELF.X86Features.FEATURE]]
List of the features as a pair of (FLAG
, FEATURE
).
X86 ISA
- class lief.ELF.X86ISA
Bases: Property
This class interfaces the different GNU_PROPERTY_X86_ISA_*
properties which includes:
GNU_PROPERTY_X86_ISA_1_USED
GNU_PROPERTY_X86_ISA_1_NEEDED
GNU_PROPERTY_X86_COMPAT_ISA_1_USED
GNU_PROPERTY_X86_COMPAT_ISA_1_NEEDED
GNU_PROPERTY_X86_COMPAT_2_ISA_1_USED
GNU_PROPERTY_X86_COMPAT_2_ISA_1_NEEDED
- class FLAG
Bases: object
- NEEDED = lief._lief.ELF.FLAG.NEEDED
- NONE = lief._lief.ELF.FLAG.NONE
- USED = lief._lief.ELF.FLAG.USED
- from_value(arg: int) → lief.ELF.X86ISA.FLAG = <nanobind.nb_func object>
- property value → int
The underlying integer value
- class ISA
Bases: object
- AVX = lief._lief.ELF.ISA.AVX
- AVX2 = lief._lief.ELF.ISA.AVX2
- AVX512BW = lief._lief.ELF.ISA.AVX512BW
- AVX512CD = lief._lief.ELF.ISA.AVX512CD
- AVX512DQ = lief._lief.ELF.ISA.AVX512DQ
- AVX512ER = lief._lief.ELF.ISA.AVX512ER
- AVX512F = lief._lief.ELF.ISA.AVX512F
- AVX512PF = lief._lief.ELF.ISA.AVX512PF
- AVX512VL = lief._lief.ELF.ISA.AVX512VL
- AVX512_4FMAPS = lief._lief.ELF.ISA.AVX512_4FMAPS
- AVX512_4VNNIW = lief._lief.ELF.ISA.AVX512_4VNNIW
- AVX512_BF16 = lief._lief.ELF.ISA.AVX512_BF16
- AVX512_BITALG = lief._lief.ELF.ISA.AVX512_BITALG
- AVX512_IFMA = lief._lief.ELF.ISA.AVX512_IFMA
- AVX512_VBMI = lief._lief.ELF.ISA.AVX512_VBMI
- AVX512_VBMI2 = lief._lief.ELF.ISA.AVX512_VBMI2
- AVX512_VNNI = lief._lief.ELF.ISA.AVX512_VNNI
- BASELINE = lief._lief.ELF.ISA.BASELINE
- CMOV = lief._lief.ELF.ISA.CMOV
- FMA = lief._lief.ELF.ISA.FMA
- I486 = lief._lief.ELF.ISA.I486
- I586 = lief._lief.ELF.ISA.I586
- I686 = lief._lief.ELF.ISA.I686
- SSE = lief._lief.ELF.ISA.SSE
- SSE2 = lief._lief.ELF.ISA.SSE2
- SSE3 = lief._lief.ELF.ISA.SSE3
- SSE4_1 = lief._lief.ELF.ISA.SSE4_1
- SSE4_2 = lief._lief.ELF.ISA.SSE4_2
- SSSE3 = lief._lief.ELF.ISA.SSSE3
- UNKNOWN = lief._lief.ELF.ISA.UNKNOWN
- V2 = lief._lief.ELF.ISA.V2
- V3 = lief._lief.ELF.ISA.V3
- V4 = lief._lief.ELF.ISA.V4
- from_value(arg: int) → lief.ELF.X86ISA.ISA = <nanobind.nb_func object>
- property value → int
The underlying integer value
- property values → list[tuple[lief.ELF.X86ISA.FLAG, lief.ELF.X86ISA.ISA]]
List of the ISA values in this property
Builder
- class lief.ELF.Builder(self, elf_binary: lief._lief.ELF.Binary)
Bases: object
Class which takes an lief.ELF.Binary
object and reconstructs a valid binary
Constructor that takes a Binary
- build(self) → None
Perform the build of the provided ELF binary
- property config → lief.ELF.Builder.config_t
Tweak the ELF builder with the provided config parameter
- class config_t(self)
Bases: object
Interface to tweak the Builder
- property android_rela → bool
Rebuild ANDROID_RELA
- property coredump_notes → bool
Rebuild the Coredump notes
- property dt_hash → bool
Rebuild HASH
- property dyn_str → bool
Rebuild STRTAB
- property dynamic_section → bool
Rebuild the PT_DYNAMIC segment
- property fini_array → bool
Rebuild FINI_ARRAY
- property force_relocate → bool
Force to relocate all the ELF structures that can be relocated (mostly for testing)
- property init_array → bool
Rebuild INIT_ARRAY
- property interpreter → bool
Rebuild the PT_INTERP segment
- property jmprel → bool
Rebuild JMPREL
- property notes → bool
Rebuild PT_NOTES segment(s)
- property preinit_array → bool
Rebuild PREINIT_ARRAY
- property rela → bool
Rebuild RELA
- property relr → bool
Rebuild RELR
- property static_symtab → bool
Rebuild .symtab section
- property sym_verdef → bool
Rebuild VERDEF
- property sym_verneed → bool
Rebuild VERNEED
- property sym_versym → bool
Rebuild VERSYM
- property symtab → bool
Rebuild SYMTAB
- get_build(self) → list[int]
Return the build result as a list
of bytes
- write(self, output: str) → None
Write the build result into the output
file
Enums
Architectures
- class lief.ELF.ARCH
Bases: object
- AARCH64 = lief._lief.ELF.ARCH.AARCH64
- ALPHA = lief._lief.ELF.ARCH.ALPHA
- ALTERA_NIOS2 = lief._lief.ELF.ARCH.ALTERA_NIOS2
- AMDGPU = lief._lief.ELF.ARCH.AMDGPU
- ARC = lief._lief.ELF.ARCH.ARC
- ARCA = lief._lief.ELF.ARCH.ARCA
- ARC_COMPACT = lief._lief.ELF.ARCH.ARC_COMPACT
- ARC_COMPACT2 = lief._lief.ELF.ARCH.ARC_COMPACT2
- ARM = lief._lief.ELF.ARCH.ARM
- AVR = lief._lief.ELF.ARCH.AVR
- AVR32 = lief._lief.ELF.ARCH.AVR32
- BA1 = lief._lief.ELF.ARCH.BA1
- BA2 = lief._lief.ELF.ARCH.BA2
- BLACKFIN = lief._lief.ELF.ARCH.BLACKFIN
- BPF = lief._lief.ELF.ARCH.BPF
- C166 = lief._lief.ELF.ARCH.C166
- CDP = lief._lief.ELF.ARCH.CDP
- CE = lief._lief.ELF.ARCH.CE
- CLOUDSHIELD = lief._lief.ELF.ARCH.CLOUDSHIELD
- COGE = lief._lief.ELF.ARCH.COGE
- COLDFIRE = lief._lief.ELF.ARCH.COLDFIRE
- COOL = lief._lief.ELF.ARCH.COOL
- COREA_1ST = lief._lief.ELF.ARCH.COREA_1ST
- COREA_2ND = lief._lief.ELF.ARCH.COREA_2ND
- CR = lief._lief.ELF.ARCH.CR
- CR16 = lief._lief.ELF.ARCH.CR16
- CRAYNV2 = lief._lief.ELF.ARCH.CRAYNV2
- CRIS = lief._lief.ELF.ARCH.CRIS
- CRX = lief._lief.ELF.ARCH.CRX
- CSKY = lief._lief.ELF.ARCH.CSKY
- CSR_KALIMBA = lief._lief.ELF.ARCH.CSR_KALIMBA
- CUDA = lief._lief.ELF.ARCH.CUDA
- CYPRESS_M8C = lief._lief.ELF.ARCH.CYPRESS_M8C
- D10V = lief._lief.ELF.ARCH.D10V
- D30V = lief._lief.ELF.ARCH.D30V
- DSP24 = lief._lief.ELF.ARCH.DSP24
- DSPIC30F = lief._lief.ELF.ARCH.DSPIC30F
- DXP = lief._lief.ELF.ARCH.DXP
- ECOG16 = lief._lief.ELF.ARCH.ECOG16
- ECOG1X = lief._lief.ELF.ARCH.ECOG1X
- ECOG2 = lief._lief.ELF.ARCH.ECOG2
- ETPU = lief._lief.ELF.ARCH.ETPU
- EXCESS = lief._lief.ELF.ARCH.EXCESS
- F2MC16 = lief._lief.ELF.ARCH.F2MC16
- FIREPATH = lief._lief.ELF.ARCH.FIREPATH
- FR20 = lief._lief.ELF.ARCH.FR20
- FR30 = lief._lief.ELF.ARCH.FR30
- FX66 = lief._lief.ELF.ARCH.FX66
- H8S = lief._lief.ELF.ARCH.H8S
- H8_300 = lief._lief.ELF.ARCH.H8_300
- H8_300H = lief._lief.ELF.ARCH.H8_300H
- H8_500 = lief._lief.ELF.ARCH.H8_500
- HEXAGON = lief._lief.ELF.ARCH.HEXAGON
- HUANY = lief._lief.ELF.ARCH.HUANY
- I386 = lief._lief.ELF.ARCH.I386
- I60 = lief._lief.ELF.ARCH.I60
- I860 = lief._lief.ELF.ARCH.I860
- IAMCU = lief._lief.ELF.ARCH.IAMCU
- IA_64 = lief._lief.ELF.ARCH.IA_64
- INTEL205 = lief._lief.ELF.ARCH.INTEL205
- INTEL206 = lief._lief.ELF.ARCH.INTEL206
- INTEL207 = lief._lief.ELF.ARCH.INTEL207
- INTEL208 = lief._lief.ELF.ARCH.INTEL208
- INTEL209 = lief._lief.ELF.ARCH.INTEL209
- IP2K = lief._lief.ELF.ARCH.IP2K
- JAVELIN = lief._lief.ELF.ARCH.JAVELIN
- K10M = lief._lief.ELF.ARCH.K10M
- KM32 = lief._lief.ELF.ARCH.KM32
- KMX16 = lief._lief.ELF.ARCH.KMX16
- KMX32 = lief._lief.ELF.ARCH.KMX32
- KMX8 = lief._lief.ELF.ARCH.KMX8
- KVARC = lief._lief.ELF.ARCH.KVARC
- L10M = lief._lief.ELF.ARCH.L10M
- LATTICEMICO32 = lief._lief.ELF.ARCH.LATTICEMICO32
- LOONGARCH = lief._lief.ELF.ARCH.LOONGARCH
- M16C = lief._lief.ELF.ARCH.M16C
- M32 = lief._lief.ELF.ARCH.M32
- M32C = lief._lief.ELF.ARCH.M32C
- M32R = lief._lief.ELF.ARCH.M32R
- M56800EX = lief._lief.ELF.ARCH.M56800EX
- M68HC05 = lief._lief.ELF.ARCH.M68HC05
- M68HC08 = lief._lief.ELF.ARCH.M68HC08
- M68HC11 = lief._lief.ELF.ARCH.M68HC11
- M68HC12 = lief._lief.ELF.ARCH.M68HC12
- M68HC16 = lief._lief.ELF.ARCH.M68HC16
- M68K = lief._lief.ELF.ARCH.M68K
- M78KOR = lief._lief.ELF.ARCH.M78KOR
- M8051 = lief._lief.ELF.ARCH.M8051
- M88K = lief._lief.ELF.ARCH.M88K
- MANIK = lief._lief.ELF.ARCH.MANIK
- MAX = lief._lief.ELF.ARCH.MAX
- MAXQ30 = lief._lief.ELF.ARCH.MAXQ30
- MCHP_PIC = lief._lief.ELF.ARCH.MCHP_PIC
- MCST_ELBRUS = lief._lief.ELF.ARCH.MCST_ELBRUS
- ME16 = lief._lief.ELF.ARCH.ME16
- METAG = lief._lief.ELF.ARCH.METAG
- MIPS = lief._lief.ELF.ARCH.MIPS
- MIPS_RS3_LE = lief._lief.ELF.ARCH.MIPS_RS3_LE
- MIPS_X = lief._lief.ELF.ARCH.MIPS_X
- MMA = lief._lief.ELF.ARCH.MMA
- MMDSP_PLUS = lief._lief.ELF.ARCH.MMDSP_PLUS
- MMIX = lief._lief.ELF.ARCH.MMIX
- MN10200 = lief._lief.ELF.ARCH.MN10200
- MN10300 = lief._lief.ELF.ARCH.MN10300
- MSP430 = lief._lief.ELF.ARCH.MSP430
- NCPU = lief._lief.ELF.ARCH.NCPU
- NDR1 = lief._lief.ELF.ARCH.NDR1
- NDS32 = lief._lief.ELF.ARCH.NDS32
- NONE = lief._lief.ELF.ARCH.NONE
- NORC = lief._lief.ELF.ARCH.NORC
- NS32K = lief._lief.ELF.ARCH.NS32K
- OPEN8 = lief._lief.ELF.ARCH.OPEN8
- OPENRISC = lief._lief.ELF.ARCH.OPENRISC
- PARISC = lief._lief.ELF.ARCH.PARISC
- PCP = lief._lief.ELF.ARCH.PCP
- PDP10 = lief._lief.ELF.ARCH.PDP10
- PDP11 = lief._lief.ELF.ARCH.PDP11
- PDSP = lief._lief.ELF.ARCH.PDSP
- PJ = lief._lief.ELF.ARCH.PJ
- PPC = lief._lief.ELF.ARCH.PPC
- PPC64 = lief._lief.ELF.ARCH.PPC64
- PRISM = lief._lief.ELF.ARCH.PRISM
- R32C = lief._lief.ELF.ARCH.R32C
- RCE = lief._lief.ELF.ARCH.RCE
- RH32 = lief._lief.ELF.ARCH.RH32
- RISCV = lief._lief.ELF.ARCH.RISCV
- RL78 = lief._lief.ELF.ARCH.RL78
- RS08 = lief._lief.ELF.ARCH.RS08
- RX = lief._lief.ELF.ARCH.RX
- S370 = lief._lief.ELF.ARCH.S370
- S390 = lief._lief.ELF.ARCH.S390
- SCORE7 = lief._lief.ELF.ARCH.SCORE7
- SEP = lief._lief.ELF.ARCH.SEP
- SE_C17 = lief._lief.ELF.ARCH.SE_C17
- SE_C33 = lief._lief.ELF.ARCH.SE_C33
- SH = lief._lief.ELF.ARCH.SH
- SHARC = lief._lief.ELF.ARCH.SHARC
- SLE9X = lief._lief.ELF.ARCH.SLE9X
- SNP1K = lief._lief.ELF.ARCH.SNP1K
- SPARC = lief._lief.ELF.ARCH.SPARC
- SPARC32PLUS = lief._lief.ELF.ARCH.SPARC32PLUS
- SPARCV9 = lief._lief.ELF.ARCH.SPARCV9
- SPU = lief._lief.ELF.ARCH.SPU
- ST100 = lief._lief.ELF.ARCH.ST100
- ST19 = lief._lief.ELF.ARCH.ST19
- ST200 = lief._lief.ELF.ARCH.ST200
- ST7 = lief._lief.ELF.ARCH.ST7
- ST9PLUS = lief._lief.ELF.ARCH.ST9PLUS
- STARCORE = lief._lief.ELF.ARCH.STARCORE
- STM8 = lief._lief.ELF.ARCH.STM8
- STXP7X = lief._lief.ELF.ARCH.STXP7X
- SVX = lief._lief.ELF.ARCH.SVX
- TILE64 = lief._lief.ELF.ARCH.TILE64
- TILEGX = lief._lief.ELF.ARCH.TILEGX
- TILEPRO = lief._lief.ELF.ARCH.TILEPRO
- TINYJ = lief._lief.ELF.ARCH.TINYJ
- TI_C2000 = lief._lief.ELF.ARCH.TI_C2000
- TI_C5500 = lief._lief.ELF.ARCH.TI_C5500
- TI_C6000 = lief._lief.ELF.ARCH.TI_C6000
- TMM_GPP = lief._lief.ELF.ARCH.TMM_GPP
- TPC = lief._lief.ELF.ARCH.TPC
- TRICORE = lief._lief.ELF.ARCH.TRICORE
- TRIMEDIA = lief._lief.ELF.ARCH.TRIMEDIA
- TSK3000 = lief._lief.ELF.ARCH.TSK3000
- UNICORE = lief._lief.ELF.ARCH.UNICORE
- V800 = lief._lief.ELF.ARCH.V800
- V850 = lief._lief.ELF.ARCH.V850
- VAX = lief._lief.ELF.ARCH.VAX
- VIDEOCORE = lief._lief.ELF.ARCH.VIDEOCORE
- VIDEOCORE3 = lief._lief.ELF.ARCH.VIDEOCORE3
- VIDEOCORE5 = lief._lief.ELF.ARCH.VIDEOCORE5
- VPP500 = lief._lief.ELF.ARCH.VPP500
- X86_64 = lief._lief.ELF.ARCH.X86_64
- XCORE = lief._lief.ELF.ARCH.XCORE
- XGATE = lief._lief.ELF.ARCH.XGATE
- XIMO16 = lief._lief.ELF.ARCH.XIMO16
- XTENSA = lief._lief.ELF.ARCH.XTENSA
- ZSP = lief._lief.ELF.ARCH.ZSP
- from_value(arg: int) → lief.ELF.ARCH = <nanobind.nb_func object>
- property value → int
The underlying integer value
Processor Flags
- class lief.ELF.PROCESSOR_FLAGS
Bases: object
- ARM_EABI_UNKNOWN = lief._lief.ELF.PROCESSOR_FLAGS.ARM_EABI_UNKNOWN
- ARM_EABI_VER1 = lief._lief.ELF.PROCESSOR_FLAGS.ARM_EABI_VER1
- ARM_EABI_VER2 = lief._lief.ELF.PROCESSOR_FLAGS.ARM_EABI_VER2
- ARM_EABI_VER3 = lief._lief.ELF.PROCESSOR_FLAGS.ARM_EABI_VER3
- ARM_EABI_VER4 = lief._lief.ELF.PROCESSOR_FLAGS.ARM_EABI_VER4
- ARM_EABI_VER5 = lief._lief.ELF.PROCESSOR_FLAGS.ARM_EABI_VER5
- ARM_SOFT_FLOAT = lief._lief.ELF.PROCESSOR_FLAGS.ARM_SOFT_FLOAT
- ARM_VFP_FLOAT = lief._lief.ELF.PROCESSOR_FLAGS.ARM_VFP_FLOAT
- HEXAGON_ISA_V2 = lief._lief.ELF.PROCESSOR_FLAGS.HEXAGON_ISA_V2
- HEXAGON_ISA_V3 = lief._lief.ELF.PROCESSOR_FLAGS.HEXAGON_ISA_V3
- HEXAGON_ISA_V4 = lief._lief.ELF.PROCESSOR_FLAGS.HEXAGON_ISA_V4
- HEXAGON_ISA_V5 = lief._lief.ELF.PROCESSOR_FLAGS.HEXAGON_ISA_V5
- HEXAGON_MACH_V2 = lief._lief.ELF.PROCESSOR_FLAGS.HEXAGON_MACH_V2
- HEXAGON_MACH_V3 = lief._lief.ELF.PROCESSOR_FLAGS.HEXAGON_MACH_V3
- HEXAGON_MACH_V4 = lief._lief.ELF.PROCESSOR_FLAGS.HEXAGON_MACH_V4
- HEXAGON_MACH_V5 = lief._lief.ELF.PROCESSOR_FLAGS.HEXAGON_MACH_V5
- LOONGARCH_ABI_DOUBLE_FLOAT = lief._lief.ELF.PROCESSOR_FLAGS.LOONGARCH_ABI_DOUBLE_FLOAT
- LOONGARCH_ABI_SINGLE_FLOAT = lief._lief.ELF.PROCESSOR_FLAGS.LOONGARCH_ABI_SINGLE_FLOAT
- LOONGARCH_ABI_SOFT_FLOAT = lief._lief.ELF.PROCESSOR_FLAGS.LOONGARCH_ABI_SOFT_FLOAT
- MIPS_32BITMODE = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_32BITMODE
- MIPS_ABI2 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ABI2
- MIPS_ABI_EABI32 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ABI_EABI32
- MIPS_ABI_EABI64 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ABI_EABI64
- MIPS_ABI_O32 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ABI_O32
- MIPS_ABI_O64 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ABI_O64
- MIPS_ARCH_1 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_1
- MIPS_ARCH_2 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_2
- MIPS_ARCH_3 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_3
- MIPS_ARCH_32 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_32
- MIPS_ARCH_32R2 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_32R2
- MIPS_ARCH_32R6 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_32R6
- MIPS_ARCH_4 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_4
- MIPS_ARCH_5 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_5
- MIPS_ARCH_64 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_64
- MIPS_ARCH_64R2 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_64R2
- MIPS_ARCH_64R6 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_64R6
- MIPS_ARCH_ASE_M16 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_ASE_M16
- MIPS_ARCH_ASE_MDMX = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_ARCH_ASE_MDMX
- MIPS_CPIC = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_CPIC
- MIPS_FP64 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_FP64
- MIPS_MACH_3900 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_3900
- MIPS_MACH_4010 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_4010
- MIPS_MACH_4100 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_4100
- MIPS_MACH_4111 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_4111
- MIPS_MACH_4120 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_4120
- MIPS_MACH_4650 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_4650
- MIPS_MACH_5400 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_5400
- MIPS_MACH_5500 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_5500
- MIPS_MACH_5900 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_5900
- MIPS_MACH_9000 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_9000
- MIPS_MACH_LS2E = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_LS2E
- MIPS_MACH_LS2F = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_LS2F
- MIPS_MACH_LS3A = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_LS3A
- MIPS_MACH_OCTEON = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_OCTEON
- MIPS_MACH_OCTEON2 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_OCTEON2
- MIPS_MACH_OCTEON3 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_OCTEON3
- MIPS_MACH_SB1 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_SB1
- MIPS_MACH_XLR = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MACH_XLR
- MIPS_MICROMIPS = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_MICROMIPS
- MIPS_NAN2008 = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_NAN2008
- MIPS_NOREORDER = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_NOREORDER
- MIPS_PIC = lief._lief.ELF.PROCESSOR_FLAGS.MIPS_PIC
- RISCV_FLOAT_ABI_DOUBLE = lief._lief.ELF.PROCESSOR_FLAGS.RISCV_FLOAT_ABI_DOUBLE
- RISCV_FLOAT_ABI_QUAD = lief._lief.ELF.PROCESSOR_FLAGS.RISCV_FLOAT_ABI_QUAD
- RISCV_FLOAT_ABI_RVE = lief._lief.ELF.PROCESSOR_FLAGS.RISCV_FLOAT_ABI_RVE
- RISCV_FLOAT_ABI_SINGLE = lief._lief.ELF.PROCESSOR_FLAGS.RISCV_FLOAT_ABI_SINGLE
- RISCV_FLOAT_ABI_SOFT = lief._lief.ELF.PROCESSOR_FLAGS.RISCV_FLOAT_ABI_SOFT
- RISCV_FLOAT_ABI_TSO = lief._lief.ELF.PROCESSOR_FLAGS.RISCV_FLOAT_ABI_TSO
- RISCV_RVC = lief._lief.ELF.PROCESSOR_FLAGS.RISCV_RVC
- from_value(arg: int) → lief.ELF.PROCESSOR_FLAGS = <nanobind.nb_func object>
- property value → int
The underlying integer value