ElfAnalyzer (version 0.0.1)
index
elfanalyzer.py

This module parses and analyzes ELF file for Forensic and
investigations.

 
Classes
       
Dynamic32(builtins.object)
Dynamic32(Dynamic32, BaseStructure)
Dynamic64(builtins.object)
Dynamic64(Dynamic64, BaseStructure)
ElfHeader32(builtins.object)
ElfHeader32(ElfHeader32, BaseStructure)
ElfHeader64(builtins.object)
ElfHeader64(ElfHeader64, BaseStructure)
ElfIdent(builtins.object)
ElfIdent(ElfIdent, BaseStructure)
Note32(builtins.object)
Note32(Note32, BaseStructure)
Note64(builtins.object)
Note64(Note64, BaseStructure)
ProgramHeader32(builtins.object)
ProgramHeader32(ProgramHeader32, BaseStructure)
ProgramHeader64(builtins.object)
ProgramHeader64(ProgramHeader64, BaseStructure)
RelocationEntries32(builtins.object)
RelocationEntries32(RelocationEntries32, BaseStructure)
RelocationEntries64(builtins.object)
RelocationEntries64(RelocationEntries64, BaseStructure)
RelocationEntriesAddend32(builtins.object)
RelocationEntriesAddend32(RelocationEntriesAddend32, BaseStructure)
RelocationEntriesAddend64(builtins.object)
RelocationEntriesAddend64(RelocationEntriesAddend64, BaseStructure)
SectionHeader32(builtins.object)
SectionHeader32(SectionHeader32, BaseStructure)
SectionHeader64(builtins.object)
SectionHeader64(SectionHeader64, BaseStructure)
SymbolTableEntry32(builtins.object)
SymbolTableEntry32(SymbolTableEntry32, BaseStructure)
SymbolTableEntry64(builtins.object)
SymbolTableEntry64(SymbolTableEntry64, BaseStructure)
builtins.bytes(builtins.object)
FileBytes
builtins.object
BaseStructure
Dynamic32(Dynamic32, BaseStructure)
Dynamic64(Dynamic64, BaseStructure)
ElfHeader32(ElfHeader32, BaseStructure)
ElfHeader64(ElfHeader64, BaseStructure)
ElfIdent(ElfIdent, BaseStructure)
Note32(Note32, BaseStructure)
Note64(Note64, BaseStructure)
ProgramHeader32(ProgramHeader32, BaseStructure)
ProgramHeader64(ProgramHeader64, BaseStructure)
RelocationEntries32(RelocationEntries32, BaseStructure)
RelocationEntries64(RelocationEntries64, BaseStructure)
RelocationEntriesAddend32(RelocationEntriesAddend32, BaseStructure)
RelocationEntriesAddend64(RelocationEntriesAddend64, BaseStructure)
SectionHeader32(SectionHeader32, BaseStructure)
SectionHeader64(SectionHeader64, BaseStructure)
SymbolTableEntry32(SymbolTableEntry32, BaseStructure)
SymbolTableEntry64(SymbolTableEntry64, BaseStructure)
Data
DataToCClass
Field
Title
builtins.str(builtins.object)
FileString
ctypes.c_long(_ctypes._SimpleCData)
Elf32_Sword
Elf64_Sword
ctypes.c_longlong(_ctypes._SimpleCData)
Elf32_Sxword
Elf64_Sxword
ctypes.c_ulong(_ctypes._SimpleCData)
Elf32_Addr
Elf32_Off
Elf32_Word
Elf64_Word
ctypes.c_ulonglong(_ctypes._SimpleCData)
Elf32_Xword
Elf64_Addr
Elf64_Off
Elf64_Xword
ctypes.c_ushort(_ctypes._SimpleCData)
Elf32_Half
Elf32_Section
Elf32_Versym
Elf64_Half
Elf64_Section
Elf64_Versym
enum.Enum(builtins.object)
DynamicFlags
DynamicType
ELfIdentClass
ELfIdentData
ELfIdentOS
ELfIdentVersion
ElfMachine
ElfType
ProgramHeaderFlags
ProgramHeaderType
SectionAttributeFlags
SectionGroupFlags
SectionHeaderType
SpecialSectionIndexes
SymbolBinding
SymbolType
SymbolVisibility

 
class BaseStructure(builtins.object)
    BaseStructure(data: Union[bytes, _io._BufferedIOBase]) -> None
 
This class implements the Structure base (methods).
 
  Methods defined here:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods defined here:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods defined here:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class Data(builtins.object)
    Data(name: str, start_position: int, end_position: int, data: bytes, information: str, format: bool = True)
 
This class helps you to print a title for a "CLI section".
 
  Methods defined here:
__init__(self, name: str, start_position: int, end_position: int, data: bytes, information: str, format: bool = True)
Initialize self.  See help(type(self)) for accurate signature.
__str__(self)
Return str(self).
print(self) -> None
This method prints the data.
vprint(self) -> None
This method prints verbose data.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
__annotations__ = {'no_color': <class 'bool'>, 'verbose': <class 'bool'>}
no_color = False
verbose = False

 
class DataToCClass(builtins.object)
    This class implements methods to get ctypes from data.
 
  Methods defined here:
data_to_bytes(type: type, data: Union[bytes, int, str]) -> _ctypes._SimpleCData
This method converts bytes, int or str to ctypes (c_char, c_char_p).
data_to_float(type: type, data: Union[bytes, float]) -> _ctypes._SimpleCData
This method converts bytes or float to ctypes
(c_float, c_double, c_longdouble).
data_to_int(type: type, data: Union[bytes, int, NoneType]) -> _ctypes._SimpleCData
This method converts bytes, int or None to ctypes
(c_bool, c_byte, c_ubyte, c_short, c_ushort, c_int,
c_uint, c_longc_ulongc_longlongc_ulonglong,
c_size_t, c_ssize_t, c_void_p, c_int8, c_int16,
c_int32, c_int64, c_uint8, c_uint16, c_uint32,
c_uint64).
data_to_str(type: type, data: Union[bytes, str], encoding: str = 'utf-8') -> _ctypes._SimpleCData
This method converts bytes or str to ctypes (c_wchar, c_wchar_p).

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
__annotations__ = {'order': <class 'str'>}
order = 'little'

 
class Dynamic32(Dynamic32, BaseStructure)
    Dynamic32(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
Dynamic32
Dynamic32
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'dynamic_tag': <class 'ElfAnalyzer.Elf32_Sword'>, 'dynamic_value': <class 'ElfAnalyzer.Elf32_Word'>}

Data descriptors inherited from Dynamic32:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class Dynamic64(Dynamic64, BaseStructure)
    Dynamic64(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
Dynamic64
Dynamic64
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'dynamic_tag': <class 'ElfAnalyzer.Elf64_Sxword'>, 'dynamic_value': <class 'ElfAnalyzer.Elf64_Xword'>}

Data descriptors inherited from Dynamic64:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class DynamicFlags(enum.Enum)
    DynamicFlags(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
DynamicFlags
enum.Enum
builtins.object

Data and other attributes defined here:
DF_BIND_NOW = <DynamicFlags.DF_BIND_NOW: 8>
DF_ORIGIN = <DynamicFlags.DF_ORIGIN: 1>
DF_STATIC_TLS = <DynamicFlags.DF_STATIC_TLS: 16>
DF_SYMBOLIC = <DynamicFlags.DF_SYMBOLIC: 2>
DF_TEXTREL = <DynamicFlags.DF_TEXTREL: 4>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class DynamicType(enum.Enum)
    DynamicType(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
DynamicType
enum.Enum
builtins.object

Data and other attributes defined here:
DT_BIND_NOW = <DynamicType.DT_BIND_NOW: 24>
DT_DEBUG = <DynamicType.DT_DEBUG: 21>
DT_ENCODING = <DynamicType.DT_ENCODING: 32>
DT_FINI = <DynamicType.DT_FINI: 13>
DT_FINI_ARRAY = <DynamicType.DT_FINI_ARRAY: 26>
DT_FINI_ARRAYSZ = <DynamicType.DT_FINI_ARRAYSZ: 28>
DT_FLAGS = <DynamicType.DT_FLAGS: 30>
DT_HASH = <DynamicType.DT_HASH: 4>
DT_HIOS = <DynamicType.DT_HIOS: 1879044096>
DT_HIPROC = <DynamicType.DT_HIPROC: 2147483647>
DT_INIT = <DynamicType.DT_INIT: 12>
DT_INIT_ARRAY = <DynamicType.DT_INIT_ARRAY: 25>
DT_INIT_ARRAYSZ = <DynamicType.DT_INIT_ARRAYSZ: 27>
DT_JMPREL = <DynamicType.DT_JMPREL: 23>
DT_LOOS = <DynamicType.DT_LOOS: 1610612749>
DT_LOPROC = <DynamicType.DT_LOPROC: 1879048192>
DT_NEEDED = <DynamicType.DT_NEEDED: 1>
DT_NULL = <DynamicType.DT_NULL: 0>
DT_PLTGOT = <DynamicType.DT_PLTGOT: 3>
DT_PLTREL = <DynamicType.DT_PLTREL: 20>
DT_PLTRELSZ = <DynamicType.DT_PLTRELSZ: 2>
DT_PREINIT_ARRAYSZ = <DynamicType.DT_PREINIT_ARRAYSZ: 33>
DT_REL = <DynamicType.DT_REL: 17>
DT_RELA = <DynamicType.DT_RELA: 7>
DT_RELAENT = <DynamicType.DT_RELAENT: 9>
DT_RELASZ = <DynamicType.DT_RELASZ: 8>
DT_RELENT = <DynamicType.DT_RELENT: 19>
DT_RELSZ = <DynamicType.DT_RELSZ: 18>
DT_RPATH = <DynamicType.DT_RPATH: 15>
DT_RUNPATH = <DynamicType.DT_RUNPATH: 29>
DT_SONAME = <DynamicType.DT_SONAME: 14>
DT_STRSZ = <DynamicType.DT_STRSZ: 10>
DT_STRTAB = <DynamicType.DT_STRTAB: 5>
DT_SYMBOLIC = <DynamicType.DT_SYMBOLIC: 16>
DT_SYMENT = <DynamicType.DT_SYMENT: 11>
DT_SYMTAB = <DynamicType.DT_SYMTAB: 6>
DT_TEXTREL = <DynamicType.DT_TEXTREL: 22>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class ELfIdentClass(enum.Enum)
    ELfIdentClass(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
ELfIdentClass
enum.Enum
builtins.object

Data and other attributes defined here:
INVALID = <ELfIdentClass.INVALID: 0>
OBJECT_32_BITS = <ELfIdentClass.OBJECT_32_BITS: 1>
OBJECT_64_BITS = <ELfIdentClass.OBJECT_64_BITS: 2>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class ELfIdentData(enum.Enum)
    ELfIdentData(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
ELfIdentData
enum.Enum
builtins.object

Data and other attributes defined here:
BIG_ENDIAN = <ELfIdentData.BIG_ENDIAN: 2>
INVALID = <ELfIdentData.INVALID: 0>
LITTLE_ENDIAN = <ELfIdentData.LITTLE_ENDIAN: 1>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class ELfIdentOS(enum.Enum)
    ELfIdentOS(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
ELfIdentOS
enum.Enum
builtins.object

Data and other attributes defined here:
AIX = <ELfIdentOS.AIX: 7>
ARM = <ELfIdentOS.ARM: 97>
AROS = <ELfIdentOS.AROS: 15>
FREEBSD = <ELfIdentOS.FREEBSD: 9>
HPUX = <ELfIdentOS.HPUX: 1>
IRIX = <ELfIdentOS.IRIX: 8>
LINUX = <ELfIdentOS.LINUX: 3>
MODESTO = <ELfIdentOS.MODESTO: 11>
MSP = <ELfIdentOS.MSP: 255>
NETBSD = <ELfIdentOS.NETBSD: 2>
NSK = <ELfIdentOS.NSK: 14>
OPENBSD = <ELfIdentOS.OPENBSD: 12>
OPENVMS = <ELfIdentOS.OPENVMS: 13>
SOLARIS = <ELfIdentOS.SOLARIS: 6>
SYSV = <ELfIdentOS.SYSV: 0>
TRU64 = <ELfIdentOS.TRU64: 10>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class ELfIdentVersion(enum.Enum)
    ELfIdentVersion(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
ELfIdentVersion
enum.Enum
builtins.object

Data and other attributes defined here:
CURRENT = <ELfIdentVersion.CURRENT: 1>
INVALID = <ELfIdentVersion.INVALID: 0>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class Elf32_Addr(ctypes.c_ulong)
    
Method resolution order:
Elf32_Addr
ctypes.c_ulong
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf32_Addr'>
__ctype_le__ = <class 'ElfAnalyzer.Elf32_Addr'>

Data descriptors inherited from ctypes.c_ulong:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf32_Half(ctypes.c_ushort)
    
Method resolution order:
Elf32_Half
ctypes.c_ushort
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf32_Half'>
__ctype_le__ = <class 'ElfAnalyzer.Elf32_Half'>

Data descriptors inherited from ctypes.c_ushort:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf32_Off(ctypes.c_ulong)
    
Method resolution order:
Elf32_Off
ctypes.c_ulong
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf32_Off'>
__ctype_le__ = <class 'ElfAnalyzer.Elf32_Off'>

Data descriptors inherited from ctypes.c_ulong:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf32_Section(ctypes.c_ushort)
    
Method resolution order:
Elf32_Section
ctypes.c_ushort
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf32_Section'>
__ctype_le__ = <class 'ElfAnalyzer.Elf32_Section'>

Data descriptors inherited from ctypes.c_ushort:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf32_Sword(ctypes.c_long)
    
Method resolution order:
Elf32_Sword
ctypes.c_long
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf32_Sword'>
__ctype_le__ = <class 'ElfAnalyzer.Elf32_Sword'>

Data descriptors inherited from ctypes.c_long:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf32_Sxword(ctypes.c_longlong)
    
Method resolution order:
Elf32_Sxword
ctypes.c_longlong
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf32_Sxword'>
__ctype_le__ = <class 'ElfAnalyzer.Elf32_Sxword'>

Data descriptors inherited from ctypes.c_longlong:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf32_Versym(ctypes.c_ushort)
    
Method resolution order:
Elf32_Versym
ctypes.c_ushort
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf32_Versym'>
__ctype_le__ = <class 'ElfAnalyzer.Elf32_Versym'>

Data descriptors inherited from ctypes.c_ushort:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf32_Word(ctypes.c_ulong)
    
Method resolution order:
Elf32_Word
ctypes.c_ulong
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf32_Word'>
__ctype_le__ = <class 'ElfAnalyzer.Elf32_Word'>

Data descriptors inherited from ctypes.c_ulong:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf32_Xword(ctypes.c_ulonglong)
    
Method resolution order:
Elf32_Xword
ctypes.c_ulonglong
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf32_Xword'>
__ctype_le__ = <class 'ElfAnalyzer.Elf32_Xword'>

Data descriptors inherited from ctypes.c_ulonglong:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf64_Addr(ctypes.c_ulonglong)
    
Method resolution order:
Elf64_Addr
ctypes.c_ulonglong
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf64_Addr'>
__ctype_le__ = <class 'ElfAnalyzer.Elf64_Addr'>

Data descriptors inherited from ctypes.c_ulonglong:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf64_Half(ctypes.c_ushort)
    
Method resolution order:
Elf64_Half
ctypes.c_ushort
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf64_Half'>
__ctype_le__ = <class 'ElfAnalyzer.Elf64_Half'>

Data descriptors inherited from ctypes.c_ushort:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf64_Off(ctypes.c_ulonglong)
    
Method resolution order:
Elf64_Off
ctypes.c_ulonglong
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf64_Off'>
__ctype_le__ = <class 'ElfAnalyzer.Elf64_Off'>

Data descriptors inherited from ctypes.c_ulonglong:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf64_Section(ctypes.c_ushort)
    
Method resolution order:
Elf64_Section
ctypes.c_ushort
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf64_Section'>
__ctype_le__ = <class 'ElfAnalyzer.Elf64_Section'>

Data descriptors inherited from ctypes.c_ushort:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf64_Sword(ctypes.c_long)
    
Method resolution order:
Elf64_Sword
ctypes.c_long
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf64_Sword'>
__ctype_le__ = <class 'ElfAnalyzer.Elf64_Sword'>

Data descriptors inherited from ctypes.c_long:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf64_Sxword(ctypes.c_longlong)
    
Method resolution order:
Elf64_Sxword
ctypes.c_longlong
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf64_Sxword'>
__ctype_le__ = <class 'ElfAnalyzer.Elf64_Sxword'>

Data descriptors inherited from ctypes.c_longlong:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf64_Versym(ctypes.c_ushort)
    
Method resolution order:
Elf64_Versym
ctypes.c_ushort
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf64_Versym'>
__ctype_le__ = <class 'ElfAnalyzer.Elf64_Versym'>

Data descriptors inherited from ctypes.c_ushort:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf64_Word(ctypes.c_ulong)
    
Method resolution order:
Elf64_Word
ctypes.c_ulong
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf64_Word'>
__ctype_le__ = <class 'ElfAnalyzer.Elf64_Word'>

Data descriptors inherited from ctypes.c_ulong:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class Elf64_Xword(ctypes.c_ulonglong)
    
Method resolution order:
Elf64_Xword
ctypes.c_ulonglong
_ctypes._SimpleCData
_ctypes._CData
builtins.object

Data and other attributes defined here:
__ctype_be__ = <class 'ElfAnalyzer.Elf64_Xword'>
__ctype_le__ = <class 'ElfAnalyzer.Elf64_Xword'>

Data descriptors inherited from ctypes.c_ulonglong:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from _ctypes._SimpleCData:
__bool__(self, /)
True if self else False
__ctypes_from_outparam__(...)
__init__(self, /, *args, **kwargs)
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self, /)
Return repr(self).

Static methods inherited from _ctypes._SimpleCData:
__new__(*args, **kwargs) from _ctypes.PyCSimpleType
Create and return a new object.  See help(type) for accurate signature.

Data descriptors inherited from _ctypes._SimpleCData:
value
current value

Methods inherited from _ctypes._CData:
__hash__(self, /)
Return hash(self).
__reduce__(...)
Helper for pickle.
__setstate__(...)

 
class ElfHeader32(ElfHeader32, BaseStructure)
    ElfHeader32(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
ElfHeader32
ElfHeader32
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'e_ehsize': <class 'ElfAnalyzer.Elf32_Half'>, 'e_entry': <class 'ElfAnalyzer.Elf32_Addr'>, 'e_flags': <class 'ElfAnalyzer.Elf32_Word'>, 'e_ident': <class 'ElfAnalyzer.ElfIdent'>, 'e_machine': <class 'ElfAnalyzer.Elf32_Half'>, 'e_phentsize': <class 'ElfAnalyzer.Elf32_Half'>, 'e_phnum': <class 'ElfAnalyzer.Elf32_Half'>, 'e_phoff': <class 'ElfAnalyzer.Elf32_Off'>, 'e_shentsize': <class 'ElfAnalyzer.Elf32_Half'>, 'e_shnum': <class 'ElfAnalyzer.Elf32_Half'>, ...}

Data descriptors inherited from ElfHeader32:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class ElfHeader64(ElfHeader64, BaseStructure)
    ElfHeader64(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
ElfHeader64
ElfHeader64
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'e_ehsize': <class 'ElfAnalyzer.Elf64_Half'>, 'e_entry': <class 'ElfAnalyzer.Elf64_Addr'>, 'e_flags': <class 'ElfAnalyzer.Elf64_Word'>, 'e_ident': <class 'ElfAnalyzer.ElfIdent'>, 'e_machine': <class 'ElfAnalyzer.Elf64_Half'>, 'e_phentsize': <class 'ElfAnalyzer.Elf64_Half'>, 'e_phnum': <class 'ElfAnalyzer.Elf64_Half'>, 'e_phoff': <class 'ElfAnalyzer.Elf64_Off'>, 'e_shentsize': <class 'ElfAnalyzer.Elf64_Half'>, 'e_shnum': <class 'ElfAnalyzer.Elf64_Half'>, ...}

Data descriptors inherited from ElfHeader64:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class ElfIdent(ElfIdent, BaseStructure)
    ElfIdent(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
ElfIdent
ElfIdent
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'ei_abiversion': <class 'ctypes.c_ubyte'>, 'ei_class': <class 'ctypes.c_ubyte'>, 'ei_data': <class 'ctypes.c_ubyte'>, 'ei_mag': <class 'ElfAnalyzer.c_char_Array_4'>, 'ei_nident': <class 'ElfAnalyzer.c_char_Array_6'>, 'ei_osabi': <class 'ctypes.c_ubyte'>, 'ei_pad': <class 'ctypes.c_char'>, 'ei_version': <class 'ctypes.c_ubyte'>}

Data descriptors inherited from ElfIdent:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class ElfMachine(enum.Enum)
    ElfMachine(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
ElfMachine
enum.Enum
builtins.object

Data and other attributes defined here:
ALPHAMOSAIC_VIDEOCORE = <ElfMachine.ALPHAMOSAIC_VIDEOCORE: 95>
AMD_X86_64 = <ElfMachine.AMD_X86_64: 62>
ARC = <ElfMachine.ARC: 45>
ARC_A5 = <ElfMachine.ARC_A5: 93>
ARM = <ElfMachine.ARM: 40>
ATAT_WE_32100 = <ElfMachine.ATAT_WE_32100: 1>
ATMEL_AVR = <ElfMachine.ATMEL_AVR: 83>
AXIS_CRIS = <ElfMachine.AXIS_CRIS: 76>
DENSO_NDR1 = <ElfMachine.DENSO_NDR1: 57>
DIGITAL_ALPHA = <ElfMachine.DIGITAL_ALPHA: 41>
DIGITAL_VAX = <ElfMachine.DIGITAL_VAX: 75>
DONALD_KNUTH_MMIX = <ElfMachine.DONALD_KNUTH_MMIX: 80>
FUJITSU_FR20 = <ElfMachine.FUJITSU_FR20: 37>
FUJITSU_FR30 = <ElfMachine.FUJITSU_FR30: 84>
FUJITSU_MMA = <ElfMachine.FUJITSU_MMA: 54>
FUJITSU_VPP500 = <ElfMachine.FUJITSU_VPP500: 17>
HARVARD_HUANY = <ElfMachine.HARVARD_HUANY: 81>
HITACHI_H8S = <ElfMachine.HITACHI_H8S: 48>
HITACHI_H8_300 = <ElfMachine.HITACHI_H8_300: 46>
HITACHI_H8_300H = <ElfMachine.HITACHI_H8_300H: 47>
HITACHI_H8_500 = <ElfMachine.HITACHI_H8_500: 49>
HITACHI_SH = <ElfMachine.HITACHI_SH: 42>
IBM_SYSTEM370 = <ElfMachine.IBM_SYSTEM370: 9>
IBM_SYSTEM390 = <ElfMachine.IBM_SYSTEM390: 22>
INFINEON_JAVELIN = <ElfMachine.INFINEON_JAVELIN: 77>
INTEL_80386 = <ElfMachine.INTEL_80386: 3>
INTEL_80860 = <ElfMachine.INTEL_80860: 7>
INTEL_80960 = <ElfMachine.INTEL_80960: 19>
INTEL_IA_64 = <ElfMachine.INTEL_IA_64: 50>
LSI_DSP16_ZSP = <ElfMachine.LSI_DSP16_ZSP: 79>
LSI_DSP64_FIREPATH = <ElfMachine.LSI_DSP64_FIREPATH: 78>
MATSUSHITA_MN10200 = <ElfMachine.MATSUSHITA_MN10200: 90>
MATSUSHITA_MN10300 = <ElfMachine.MATSUSHITA_MN10300: 89>
MIPS_I = <ElfMachine.MIPS_I: 8>
MIPS_RS3000 = <ElfMachine.MIPS_RS3000: 10>
MITSUBISHI_D10V = <ElfMachine.MITSUBISHI_D10V: 85>
MITSUBISHI_D30V = <ElfMachine.MITSUBISHI_D30V: 86>
MITSUBISHI_M32R = <ElfMachine.MITSUBISHI_M32R: 88>
MOTOROLA_68000 = <ElfMachine.MOTOROLA_68000: 4>
MOTOROLA_68HC05 = <ElfMachine.MOTOROLA_68HC05: 72>
MOTOROLA_68HC08 = <ElfMachine.MOTOROLA_68HC08: 71>
MOTOROLA_68HC11 = <ElfMachine.MOTOROLA_68HC11: 70>
MOTOROLA_68HC12 = <ElfMachine.MOTOROLA_68HC12: 53>
MOTOROLA_68HC16 = <ElfMachine.MOTOROLA_68HC16: 69>
MOTOROLA_88000 = <ElfMachine.MOTOROLA_88000: 5>
MOTOROLA_COLDFIRE = <ElfMachine.MOTOROLA_COLDFIRE: 52>
MOTOROLA_RCE = <ElfMachine.MOTOROLA_RCE: 39>
MOTOROLA_STARCORE = <ElfMachine.MOTOROLA_STARCORE: 58>
NEC_V800 = <ElfMachine.NEC_V800: 36>
NEC_V850 = <ElfMachine.NEC_V850: 87>
NO_MACHINE = <ElfMachine.NO_MACHINE: 0>
NS32K = <ElfMachine.NS32K: 97>
OPENRISC = <ElfMachine.OPENRISC: 92>
PA_RISC = <ElfMachine.PA_RISC: 15>
PDP10 = <ElfMachine.PDP10: 64>
PDP11 = <ElfMachine.PDP11: 65>
PICOJAVA = <ElfMachine.PICOJAVA: 91>
POWERPC = <ElfMachine.POWERPC: 20>
POWERPC64 = <ElfMachine.POWERPC64: 21>
SIEMENS_FX66 = <ElfMachine.SIEMENS_FX66: 66>
SIEMENS_PCP = <ElfMachine.SIEMENS_PCP: 55>
SIEMENS_TRICORE = <ElfMachine.SIEMENS_TRICORE: 44>
SILICON_SVX = <ElfMachine.SILICON_SVX: 73>
SITERA_PRISM = <ElfMachine.SITERA_PRISM: 82>
SONY_NCPU_RISC = <ElfMachine.SONY_NCPU_RISC: 56>
SONY_PDSP = <ElfMachine.SONY_PDSP: 63>
SPARC = <ElfMachine.SPARC: 2>
SPARC32PLUS = <ElfMachine.SPARC32PLUS: 18>
SPARC_V9 = <ElfMachine.SPARC_V9: 43>
ST100 = <ElfMachine.ST100: 60>
ST19 = <ElfMachine.ST19: 74>
ST200 = <ElfMachine.ST200: 100>
ST7 = <ElfMachine.ST7: 68>
ST9PLUS = <ElfMachine.ST9PLUS: 67>
STANFORD_MIPS_X = <ElfMachine.STANFORD_MIPS_X: 51>
TENSILICA_XTENSA = <ElfMachine.TENSILICA_XTENSA: 94>
TINYJ = <ElfMachine.TINYJ: 61>
TMM_GPP = <ElfMachine.TMM_GPP: 96>
TOYOTA_ME16 = <ElfMachine.TOYOTA_ME16: 59>
TPC = <ElfMachine.TPC: 98>
TREBIA_SNP1K = <ElfMachine.TREBIA_SNP1K: 99>
TRW_RH32 = <ElfMachine.TRW_RH32: 38>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class ElfType(enum.Enum)
    ElfType(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
ElfType
enum.Enum
builtins.object

Data and other attributes defined here:
CORE = <ElfType.CORE: 4>
EXECUTABLE = <ElfType.EXECUTABLE: 2>
NO_FILE_TYPE = <ElfType.NO_FILE_TYPE: 0>
OS_SPECIFIC_HIOS = <ElfType.OS_SPECIFIC_HIOS: 65279>
OS_SPECIFIC_LOOS = <ElfType.OS_SPECIFIC_LOOS: 65024>
PROCESSOR_SPECIFIC_HIPROC = <ElfType.PROCESSOR_SPECIFIC_HIPROC: 65535>
PROCESSOR_SPECIFIC_LOPROC = <ElfType.PROCESSOR_SPECIFIC_LOPROC: 65280>
RELOCATABLE = <ElfType.RELOCATABLE: 1>
SHARED_OBJECT = <ElfType.SHARED_OBJECT: 3>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
ElfVersion = class ELfIdentVersion(enum.Enum)
    ElfVersion(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
ELfIdentVersion
enum.Enum
builtins.object

Data and other attributes defined here:
CURRENT = <ELfIdentVersion.CURRENT: 1>
INVALID = <ELfIdentVersion.INVALID: 0>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class Field(builtins.object)
    Field(value: Any, information: str, usage: str = None, description: str = None) -&gt; None
 
This class implements
 
  Methods defined here:
__eq__(self, other)
Return self==value.
__init__(self, value: Any, information: str, usage: str = None, description: str = None) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
__annotations__ = {'description': <class 'str'>, 'information': <class 'str'>, 'usage': <class 'str'>, 'value': typing.Any}
__dataclass_fields__ = {'description': Field(name='description',type=<class 'str'>,defa...appingproxy({}),kw_only=False,_field_type=_FIELD), 'information': Field(name='information',type=<class 'str'>,defa...appingproxy({}),kw_only=False,_field_type=_FIELD), 'usage': Field(name='usage',type=<class 'str'>,default=No...appingproxy({}),kw_only=False,_field_type=_FIELD), 'value': Field(name='value',type=typing.Any,default=<data...appingproxy({}),kw_only=False,_field_type=_FIELD)}
__dataclass_params__ = _DataclassParams(init=True,repr=True,eq=True,order=False,unsafe_hash=False,frozen=False)
__hash__ = None
__match_args__ = ('value', 'information', 'usage', 'description')
description = None
usage = None

 
class FileBytes(builtins.bytes)
    This class implements bytes with positions
(_start_position_ and _end_position_ attributes).
 
 
Method resolution order:
FileBytes
builtins.bytes
builtins.object

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)

Methods inherited from builtins.bytes:
__add__(self, value, /)
Return self+value.
__contains__(self, key, /)
Return key in self.
__eq__(self, value, /)
Return self==value.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getitem__(self, key, /)
Return self[key].
__getnewargs__(...)
__gt__(self, value, /)
Return self>value.
__hash__(self, /)
Return hash(self).
__iter__(self, /)
Implement iter(self).
__le__(self, value, /)
Return self<=value.
__len__(self, /)
Return len(self).
__lt__(self, value, /)
Return self<value.
__mod__(self, value, /)
Return self%value.
__mul__(self, value, /)
Return self*value.
__ne__(self, value, /)
Return self!=value.
__repr__(self, /)
Return repr(self).
__rmod__(self, value, /)
Return value%self.
__rmul__(self, value, /)
Return value*self.
__str__(self, /)
Return str(self).
capitalize(...)
B.capitalize() -> copy of B
 
Return a copy of B with only its first character capitalized (ASCII)
and the rest lower-cased.
center(self, width, fillchar=b' ', /)
Return a centered string of length width.
 
Padding is done using the specified fill character.
count(...)
B.count(sub[, start[, end]]) -> int
 
Return the number of non-overlapping occurrences of subsection sub in
bytes B[start:end].  Optional arguments start and end are interpreted
as in slice notation.
decode(self, /, encoding='utf-8', errors='strict')
Decode the bytes using the codec registered for encoding.
 
encoding
  The encoding with which to decode the bytes.
errors
  The error handling scheme to use for the handling of decoding errors.
  The default is 'strict' meaning that decoding errors raise a
  UnicodeDecodeError. Other possible values are 'ignore' and 'replace'
  as well as any other name registered with codecs.register_error that
  can handle UnicodeDecodeErrors.
endswith(...)
B.endswith(suffix[, start[, end]]) -> bool
 
Return True if B ends with the specified suffix, False otherwise.
With optional start, test B beginning at that position.
With optional end, stop comparing B at that position.
suffix can also be a tuple of bytes to try.
expandtabs(self, /, tabsize=8)
Return a copy where all tab characters are expanded using spaces.
 
If tabsize is not given, a tab size of 8 characters is assumed.
find(...)
B.find(sub[, start[, end]]) -> int
 
Return the lowest index in B where subsection sub is found,
such that sub is contained within B[start,end].  Optional
arguments start and end are interpreted as in slice notation.
 
Return -1 on failure.
hex(...)
Create a string of hexadecimal numbers from a bytes object.
 
  sep
    An optional single character or byte to separate hex bytes.
  bytes_per_sep
    How many bytes between separators.  Positive values count from the
    right, negative values count from the left.
 
Example:
>>> value = b'\xb9\x01\xef'
>>> value.hex()
'b901ef'
>>> value.hex(':')
'b9:01:ef'
>>> value.hex(':', 2)
'b9:01ef'
>>> value.hex(':', -2)
'b901:ef'
index(...)
B.index(sub[, start[, end]]) -> int
 
Return the lowest index in B where subsection sub is found,
such that sub is contained within B[start,end].  Optional
arguments start and end are interpreted as in slice notation.
 
Raises ValueError when the subsection is not found.
isalnum(...)
B.isalnum() -> bool
 
Return True if all characters in B are alphanumeric
and there is at least one character in B, False otherwise.
isalpha(...)
B.isalpha() -> bool
 
Return True if all characters in B are alphabetic
and there is at least one character in B, False otherwise.
isascii(...)
B.isascii() -> bool
 
Return True if B is empty or all characters in B are ASCII,
False otherwise.
isdigit(...)
B.isdigit() -> bool
 
Return True if all characters in B are digits
and there is at least one character in B, False otherwise.
islower(...)
B.islower() -> bool
 
Return True if all cased characters in B are lowercase and there is
at least one cased character in B, False otherwise.
isspace(...)
B.isspace() -> bool
 
Return True if all characters in B are whitespace
and there is at least one character in B, False otherwise.
istitle(...)
B.istitle() -> bool
 
Return True if B is a titlecased string and there is at least one
character in B, i.e. uppercase characters may only follow uncased
characters and lowercase characters only cased ones. Return False
otherwise.
isupper(...)
B.isupper() -> bool
 
Return True if all cased characters in B are uppercase and there is
at least one cased character in B, False otherwise.
join(self, iterable_of_bytes, /)
Concatenate any number of bytes objects.
 
The bytes whose method is called is inserted in between each pair.
 
The result is returned as a new bytes object.
 
Example: b'.'.join([b'ab', b'pq', b'rs']) -> b'ab.pq.rs'.
ljust(self, width, fillchar=b' ', /)
Return a left-justified string of length width.
 
Padding is done using the specified fill character.
lower(...)
B.lower() -> copy of B
 
Return a copy of B with all ASCII characters converted to lowercase.
lstrip(self, bytes=None, /)
Strip leading bytes contained in the argument.
 
If the argument is omitted or None, strip leading  ASCII whitespace.
partition(self, sep, /)
Partition the bytes into three parts using the given separator.
 
This will search for the separator sep in the bytes. If the separator is found,
returns a 3-tuple containing the part before the separator, the separator
itself, and the part after it.
 
If the separator is not found, returns a 3-tuple containing the original bytes
object and two empty bytes objects.
removeprefix(self, prefix, /)
Return a bytes object with the given prefix string removed if present.
 
If the bytes starts with the prefix string, return bytes[len(prefix):].
Otherwise, return a copy of the original bytes.
removesuffix(self, suffix, /)
Return a bytes object with the given suffix string removed if present.
 
If the bytes ends with the suffix string and that suffix is not empty,
return bytes[:-len(prefix)].  Otherwise, return a copy of the original
bytes.
replace(self, old, new, count=-1, /)
Return a copy with all occurrences of substring old replaced by new.
 
  count
    Maximum number of occurrences to replace.
    -1 (the default value) means replace all occurrences.
 
If the optional argument count is given, only the first count occurrences are
replaced.
rfind(...)
B.rfind(sub[, start[, end]]) -> int
 
Return the highest index in B where subsection sub is found,
such that sub is contained within B[start,end].  Optional
arguments start and end are interpreted as in slice notation.
 
Return -1 on failure.
rindex(...)
B.rindex(sub[, start[, end]]) -> int
 
Return the highest index in B where subsection sub is found,
such that sub is contained within B[start,end].  Optional
arguments start and end are interpreted as in slice notation.
 
Raise ValueError when the subsection is not found.
rjust(self, width, fillchar=b' ', /)
Return a right-justified string of length width.
 
Padding is done using the specified fill character.
rpartition(self, sep, /)
Partition the bytes into three parts using the given separator.
 
This will search for the separator sep in the bytes, starting at the end. If
the separator is found, returns a 3-tuple containing the part before the
separator, the separator itself, and the part after it.
 
If the separator is not found, returns a 3-tuple containing two empty bytes
objects and the original bytes object.
rsplit(self, /, sep=None, maxsplit=-1)
Return a list of the sections in the bytes, using sep as the delimiter.
 
  sep
    The delimiter according which to split the bytes.
    None (the default value) means split on ASCII whitespace characters
    (space, tab, return, newline, formfeed, vertical tab).
  maxsplit
    Maximum number of splits to do.
    -1 (the default value) means no limit.
 
Splitting is done starting at the end of the bytes and working to the front.
rstrip(self, bytes=None, /)
Strip trailing bytes contained in the argument.
 
If the argument is omitted or None, strip trailing ASCII whitespace.
split(self, /, sep=None, maxsplit=-1)
Return a list of the sections in the bytes, using sep as the delimiter.
 
sep
  The delimiter according which to split the bytes.
  None (the default value) means split on ASCII whitespace characters
  (space, tab, return, newline, formfeed, vertical tab).
maxsplit
  Maximum number of splits to do.
  -1 (the default value) means no limit.
splitlines(self, /, keepends=False)
Return a list of the lines in the bytes, breaking at line boundaries.
 
Line breaks are not included in the resulting list unless keepends is given and
true.
startswith(...)
B.startswith(prefix[, start[, end]]) -> bool
 
Return True if B starts with the specified prefix, False otherwise.
With optional start, test B beginning at that position.
With optional end, stop comparing B at that position.
prefix can also be a tuple of bytes to try.
strip(self, bytes=None, /)
Strip leading and trailing bytes contained in the argument.
 
If the argument is omitted or None, strip leading and trailing ASCII whitespace.
swapcase(...)
B.swapcase() -> copy of B
 
Return a copy of B with uppercase ASCII characters converted
to lowercase ASCII and vice versa.
title(...)
B.title() -> copy of B
 
Return a titlecased version of B, i.e. ASCII words start with uppercase
characters, all remaining cased characters have lowercase.
translate(self, table, /, delete=b'')
Return a copy with each character mapped by the given translation table.
 
  table
    Translation table, which must be a bytes object of length 256.
 
All characters occurring in the optional argument delete are removed.
The remaining characters are mapped through the given translation table.
upper(...)
B.upper() -> copy of B
 
Return a copy of B with all ASCII characters converted to uppercase.
zfill(self, width, /)
Pad a numeric string with zeros on the left, to fill a field of the given width.
 
The original string is never truncated.

Class methods inherited from builtins.bytes:
fromhex(string, /) from builtins.type
Create a bytes object from a string of hexadecimal numbers.
 
Spaces between two numbers are accepted.
Example: bytes.fromhex('B9 01EF') -> b'\\xb9\\x01\\xef'.

Static methods inherited from builtins.bytes:
__new__(*args, **kwargs) from builtins.type
Create and return a new object.  See help(type) for accurate signature.
maketrans(frm, to, /)
Return a translation table useable for the bytes or bytearray translate method.
 
The returned table will be one where each byte in frm is mapped to the byte at
the same position in to.
 
The bytes objects frm and to must be of the same length.

 
class FileString(builtins.str)
    This class implements strings with positions
(_start_position_ and _end_position_ attributes).
 
 
Method resolution order:
FileString
builtins.str
builtins.object

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from builtins.str:
__add__(self, value, /)
Return self+value.
__contains__(self, key, /)
Return key in self.
__eq__(self, value, /)
Return self==value.
__format__(self, format_spec, /)
Return a formatted version of the string as described by format_spec.
__ge__(self, value, /)
Return self>=value.
__getattribute__(self, name, /)
Return getattr(self, name).
__getitem__(self, key, /)
Return self[key].
__getnewargs__(...)
__gt__(self, value, /)
Return self>value.
__hash__(self, /)
Return hash(self).
__iter__(self, /)
Implement iter(self).
__le__(self, value, /)
Return self<=value.
__len__(self, /)
Return len(self).
__lt__(self, value, /)
Return self<value.
__mod__(self, value, /)
Return self%value.
__mul__(self, value, /)
Return self*value.
__ne__(self, value, /)
Return self!=value.
__repr__(self, /)
Return repr(self).
__rmod__(self, value, /)
Return value%self.
__rmul__(self, value, /)
Return value*self.
__sizeof__(self, /)
Return the size of the string in memory, in bytes.
__str__(self, /)
Return str(self).
capitalize(self, /)
Return a capitalized version of the string.
 
More specifically, make the first character have upper case and the rest lower
case.
casefold(self, /)
Return a version of the string suitable for caseless comparisons.
center(self, width, fillchar=' ', /)
Return a centered string of length width.
 
Padding is done using the specified fill character (default is a space).
count(...)
S.count(sub[, start[, end]]) -> int
 
Return the number of non-overlapping occurrences of substring sub in
string S[start:end].  Optional arguments start and end are
interpreted as in slice notation.
encode(self, /, encoding='utf-8', errors='strict')
Encode the string using the codec registered for encoding.
 
encoding
  The encoding in which to encode the string.
errors
  The error handling scheme to use for encoding errors.
  The default is 'strict' meaning that encoding errors raise a
  UnicodeEncodeError.  Other possible values are 'ignore', 'replace' and
  'xmlcharrefreplace' as well as any other name registered with
  codecs.register_error that can handle UnicodeEncodeErrors.
endswith(...)
S.endswith(suffix[, start[, end]]) -> bool
 
Return True if S ends with the specified suffix, False otherwise.
With optional start, test S beginning at that position.
With optional end, stop comparing S at that position.
suffix can also be a tuple of strings to try.
expandtabs(self, /, tabsize=8)
Return a copy where all tab characters are expanded using spaces.
 
If tabsize is not given, a tab size of 8 characters is assumed.
find(...)
S.find(sub[, start[, end]]) -> int
 
Return the lowest index in S where substring sub is found,
such that sub is contained within S[start:end].  Optional
arguments start and end are interpreted as in slice notation.
 
Return -1 on failure.
format(...)
S.format(*args, **kwargs) -> str
 
Return a formatted version of S, using substitutions from args and kwargs.
The substitutions are identified by braces ('{' and '}').
format_map(...)
S.format_map(mapping) -> str
 
Return a formatted version of S, using substitutions from mapping.
The substitutions are identified by braces ('{' and '}').
index(...)
S.index(sub[, start[, end]]) -> int
 
Return the lowest index in S where substring sub is found,
such that sub is contained within S[start:end].  Optional
arguments start and end are interpreted as in slice notation.
 
Raises ValueError when the substring is not found.
isalnum(self, /)
Return True if the string is an alpha-numeric string, False otherwise.
 
A string is alpha-numeric if all characters in the string are alpha-numeric and
there is at least one character in the string.
isalpha(self, /)
Return True if the string is an alphabetic string, False otherwise.
 
A string is alphabetic if all characters in the string are alphabetic and there
is at least one character in the string.
isascii(self, /)
Return True if all characters in the string are ASCII, False otherwise.
 
ASCII characters have code points in the range U+0000-U+007F.
Empty string is ASCII too.
isdecimal(self, /)
Return True if the string is a decimal string, False otherwise.
 
A string is a decimal string if all characters in the string are decimal and
there is at least one character in the string.
isdigit(self, /)
Return True if the string is a digit string, False otherwise.
 
A string is a digit string if all characters in the string are digits and there
is at least one character in the string.
isidentifier(self, /)
Return True if the string is a valid Python identifier, False otherwise.
 
Call keyword.iskeyword(s) to test whether string s is a reserved identifier,
such as "def" or "class".
islower(self, /)
Return True if the string is a lowercase string, False otherwise.
 
A string is lowercase if all cased characters in the string are lowercase and
there is at least one cased character in the string.
isnumeric(self, /)
Return True if the string is a numeric string, False otherwise.
 
A string is numeric if all characters in the string are numeric and there is at
least one character in the string.
isprintable(self, /)
Return True if the string is printable, False otherwise.
 
A string is printable if all of its characters are considered printable in
repr() or if it is empty.
isspace(self, /)
Return True if the string is a whitespace string, False otherwise.
 
A string is whitespace if all characters in the string are whitespace and there
is at least one character in the string.
istitle(self, /)
Return True if the string is a title-cased string, False otherwise.
 
In a title-cased string, upper- and title-case characters may only
follow uncased characters and lowercase characters only cased ones.
isupper(self, /)
Return True if the string is an uppercase string, False otherwise.
 
A string is uppercase if all cased characters in the string are uppercase and
there is at least one cased character in the string.
join(self, iterable, /)
Concatenate any number of strings.
 
The string whose method is called is inserted in between each given string.
The result is returned as a new string.
 
Example: '.'.join(['ab', 'pq', 'rs']) -> 'ab.pq.rs'
ljust(self, width, fillchar=' ', /)
Return a left-justified string of length width.
 
Padding is done using the specified fill character (default is a space).
lower(self, /)
Return a copy of the string converted to lowercase.
lstrip(self, chars=None, /)
Return a copy of the string with leading whitespace removed.
 
If chars is given and not None, remove characters in chars instead.
partition(self, sep, /)
Partition the string into three parts using the given separator.
 
This will search for the separator in the string.  If the separator is found,
returns a 3-tuple containing the part before the separator, the separator
itself, and the part after it.
 
If the separator is not found, returns a 3-tuple containing the original string
and two empty strings.
removeprefix(self, prefix, /)
Return a str with the given prefix string removed if present.
 
If the string starts with the prefix string, return string[len(prefix):].
Otherwise, return a copy of the original string.
removesuffix(self, suffix, /)
Return a str with the given suffix string removed if present.
 
If the string ends with the suffix string and that suffix is not empty,
return string[:-len(suffix)]. Otherwise, return a copy of the original
string.
replace(self, old, new, count=-1, /)
Return a copy with all occurrences of substring old replaced by new.
 
  count
    Maximum number of occurrences to replace.
    -1 (the default value) means replace all occurrences.
 
If the optional argument count is given, only the first count occurrences are
replaced.
rfind(...)
S.rfind(sub[, start[, end]]) -> int
 
Return the highest index in S where substring sub is found,
such that sub is contained within S[start:end].  Optional
arguments start and end are interpreted as in slice notation.
 
Return -1 on failure.
rindex(...)
S.rindex(sub[, start[, end]]) -> int
 
Return the highest index in S where substring sub is found,
such that sub is contained within S[start:end].  Optional
arguments start and end are interpreted as in slice notation.
 
Raises ValueError when the substring is not found.
rjust(self, width, fillchar=' ', /)
Return a right-justified string of length width.
 
Padding is done using the specified fill character (default is a space).
rpartition(self, sep, /)
Partition the string into three parts using the given separator.
 
This will search for the separator in the string, starting at the end. If
the separator is found, returns a 3-tuple containing the part before the
separator, the separator itself, and the part after it.
 
If the separator is not found, returns a 3-tuple containing two empty strings
and the original string.
rsplit(self, /, sep=None, maxsplit=-1)
Return a list of the substrings in the string, using sep as the separator string.
 
  sep
    The separator used to split the string.
 
    When set to None (the default value), will split on any whitespace
    character (including \\n \\r \\t \\f and spaces) and will discard
    empty strings from the result.
  maxsplit
    Maximum number of splits (starting from the left).
    -1 (the default value) means no limit.
 
Splitting starts at the end of the string and works to the front.
rstrip(self, chars=None, /)
Return a copy of the string with trailing whitespace removed.
 
If chars is given and not None, remove characters in chars instead.
split(self, /, sep=None, maxsplit=-1)
Return a list of the substrings in the string, using sep as the separator string.
 
  sep
    The separator used to split the string.
 
    When set to None (the default value), will split on any whitespace
    character (including \\n \\r \\t \\f and spaces) and will discard
    empty strings from the result.
  maxsplit
    Maximum number of splits (starting from the left).
    -1 (the default value) means no limit.
 
Note, str.split() is mainly useful for data that has been intentionally
delimited.  With natural text that includes punctuation, consider using
the regular expression module.
splitlines(self, /, keepends=False)
Return a list of the lines in the string, breaking at line boundaries.
 
Line breaks are not included in the resulting list unless keepends is given and
true.
startswith(...)
S.startswith(prefix[, start[, end]]) -> bool
 
Return True if S starts with the specified prefix, False otherwise.
With optional start, test S beginning at that position.
With optional end, stop comparing S at that position.
prefix can also be a tuple of strings to try.
strip(self, chars=None, /)
Return a copy of the string with leading and trailing whitespace removed.
 
If chars is given and not None, remove characters in chars instead.
swapcase(self, /)
Convert uppercase characters to lowercase and lowercase characters to uppercase.
title(self, /)
Return a version of the string where each word is titlecased.
 
More specifically, words start with uppercased characters and all remaining
cased characters have lower case.
translate(self, table, /)
Replace each character in the string using the given translation table.
 
  table
    Translation table, which must be a mapping of Unicode ordinals to
    Unicode ordinals, strings, or None.
 
The table must implement lookup/indexing via __getitem__, for instance a
dictionary or list.  If this operation raises LookupError, the character is
left untouched.  Characters mapped to None are deleted.
upper(self, /)
Return a copy of the string converted to uppercase.
zfill(self, width, /)
Pad a numeric string with zeros on the left, to fill a field of the given width.
 
The string is never truncated.

Static methods inherited from builtins.str:
__new__(*args, **kwargs) from builtins.type
Create and return a new object.  See help(type) for accurate signature.
maketrans(...)
Return a translation table usable for str.translate().
 
If there is only one argument, it must be a dictionary mapping Unicode
ordinals (integers) or characters to Unicode ordinals, strings or None.
Character keys will be then converted to ordinals.
If there are two arguments, they must be strings of equal length, and
in the resulting dictionary, each character in x will be mapped to the
character at the same position in y. If there is a third argument, it
must be a string, whose characters will be mapped to None in the result.

 
class Note32(Note32, BaseStructure)
    Note32(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
Note32
Note32
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'descriptor_size': <class 'ElfAnalyzer.Elf32_Word'>, 'name_size': <class 'ElfAnalyzer.Elf32_Word'>, 'type': <class 'ElfAnalyzer.Elf32_Word'>}

Data descriptors inherited from Note32:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class Note64(Note64, BaseStructure)
    Note64(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
Note64
Note64
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'descriptor_size': <class 'ElfAnalyzer.Elf64_Word'>, 'name_size': <class 'ElfAnalyzer.Elf64_Word'>, 'type': <class 'ElfAnalyzer.Elf64_Word'>}

Data descriptors inherited from Note64:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class ProgramHeader32(ProgramHeader32, BaseStructure)
    ProgramHeader32(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
ProgramHeader32
ProgramHeader32
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'p_align': <class 'ElfAnalyzer.Elf32_Word'>, 'p_filesz': <class 'ElfAnalyzer.Elf32_Word'>, 'p_flags': <class 'ElfAnalyzer.Elf32_Word'>, 'p_memsz': <class 'ElfAnalyzer.Elf32_Word'>, 'p_offset': <class 'ElfAnalyzer.Elf32_Off'>, 'p_paddr': <class 'ElfAnalyzer.Elf32_Addr'>, 'p_type': <class 'ElfAnalyzer.Elf32_Word'>, 'p_vaddr': <class 'ElfAnalyzer.Elf32_Addr'>}

Data descriptors inherited from ProgramHeader32:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class ProgramHeader64(ProgramHeader64, BaseStructure)
    ProgramHeader64(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
ProgramHeader64
ProgramHeader64
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'p_align': <class 'ElfAnalyzer.Elf64_Xword'>, 'p_filesz': <class 'ElfAnalyzer.Elf64_Xword'>, 'p_flags': <class 'ElfAnalyzer.Elf64_Word'>, 'p_memsz': <class 'ElfAnalyzer.Elf64_Xword'>, 'p_offset': <class 'ElfAnalyzer.Elf64_Off'>, 'p_paddr': <class 'ElfAnalyzer.Elf64_Addr'>, 'p_type': <class 'ElfAnalyzer.Elf64_Word'>, 'p_vaddr': <class 'ElfAnalyzer.Elf64_Addr'>}

Data descriptors inherited from ProgramHeader64:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class ProgramHeaderFlags(enum.Enum)
    ProgramHeaderFlags(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
ProgramHeaderFlags
enum.Enum
builtins.object

Data and other attributes defined here:
PF_EXECUTE = <ProgramHeaderFlags.PF_EXECUTE: 1>
PF_MASKOS = <ProgramHeaderFlags.PF_MASKOS: 267386880>
PF_MASKPROC = <ProgramHeaderFlags.PF_MASKPROC: 4026531840>
PF_READ = <ProgramHeaderFlags.PF_READ: 3>
PF_WRITE = <ProgramHeaderFlags.PF_WRITE: 2>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class ProgramHeaderType(enum.Enum)
    ProgramHeaderType(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
ProgramHeaderType
enum.Enum
builtins.object

Data and other attributes defined here:
PT_DYNAMIC = <ProgramHeaderType.PT_DYNAMIC: 2>
PT_GNU_EH_FRAME = <ProgramHeaderType.PT_GNU_EH_FRAME: 1685382480>
PT_GNU_RELRO = <ProgramHeaderType.PT_GNU_RELRO: 1685382482>
PT_GNU_STACK = <ProgramHeaderType.PT_GNU_STACK: 1685382481>
PT_HIOS = <ProgramHeaderType.PT_HIOS: 1879048191>
PT_HIPROC = <ProgramHeaderType.PT_HIPROC: 2147483647>
PT_INTERP = <ProgramHeaderType.PT_INTERP: 3>
PT_LOAD = <ProgramHeaderType.PT_LOAD: 1>
PT_LOOS = <ProgramHeaderType.PT_LOOS: 1610612736>
PT_LOPROC = <ProgramHeaderType.PT_LOPROC: 1879048192>
PT_NOTE = <ProgramHeaderType.PT_NOTE: 4>
PT_NULL = <ProgramHeaderType.PT_NULL: 0>
PT_NUM = <ProgramHeaderType.PT_NUM: 8>
PT_PHDR = <ProgramHeaderType.PT_PHDR: 6>
PT_SHLIB = <ProgramHeaderType.PT_SHLIB: 5>
PT_TLS = <ProgramHeaderType.PT_TLS: 7>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class RelocationEntries32(RelocationEntries32, BaseStructure)
    RelocationEntries32(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
RelocationEntries32
RelocationEntries32
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'r_info': <class 'ElfAnalyzer.Elf32_Word'>, 'r_offset': <class 'ElfAnalyzer.Elf32_Addr'>}

Data descriptors inherited from RelocationEntries32:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class RelocationEntries64(RelocationEntries64, BaseStructure)
    RelocationEntries64(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
RelocationEntries64
RelocationEntries64
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'r_info': <class 'ElfAnalyzer.Elf64_Xword'>, 'r_offset': <class 'ElfAnalyzer.Elf64_Addr'>}

Data descriptors inherited from RelocationEntries64:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class RelocationEntriesAddend32(RelocationEntriesAddend32, BaseStructure)
    RelocationEntriesAddend32(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
RelocationEntriesAddend32
RelocationEntriesAddend32
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'r_addend': <class 'ElfAnalyzer.Elf32_Sword'>, 'r_info': <class 'ElfAnalyzer.Elf32_Word'>, 'r_offset': <class 'ElfAnalyzer.Elf32_Addr'>}

Data descriptors inherited from RelocationEntriesAddend32:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class RelocationEntriesAddend64(RelocationEntriesAddend64, BaseStructure)
    RelocationEntriesAddend64(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
RelocationEntriesAddend64
RelocationEntriesAddend64
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'r_addend': <class 'ElfAnalyzer.Elf32_Sxword'>, 'r_info': <class 'ElfAnalyzer.Elf64_Xword'>, 'r_offset': <class 'ElfAnalyzer.Elf64_Addr'>}

Data descriptors inherited from RelocationEntriesAddend64:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class SectionAttributeFlags(enum.Enum)
    SectionAttributeFlags(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
SectionAttributeFlags
enum.Enum
builtins.object

Data and other attributes defined here:
SHF_ALLOC = <SectionAttributeFlags.SHF_ALLOC: 2>
SHF_EXECINSTR = <SectionAttributeFlags.SHF_EXECINSTR: 4>
SHF_GROUP = <SectionAttributeFlags.SHF_GROUP: 512>
SHF_INFO_LINK = <SectionAttributeFlags.SHF_INFO_LINK: 64>
SHF_LINK_ORDER = <SectionAttributeFlags.SHF_LINK_ORDER: 128>
SHF_MASKOS = <SectionAttributeFlags.SHF_MASKOS: 267386880>
SHF_MASKPROC = <SectionAttributeFlags.SHF_MASKPROC: 4026531840>
SHF_MERGE = <SectionAttributeFlags.SHF_MERGE: 16>
SHF_OS_NONCONFORMING = <SectionAttributeFlags.SHF_OS_NONCONFORMING: 256>
SHF_STRINGS = <SectionAttributeFlags.SHF_STRINGS: 32>
SHF_TLS = <SectionAttributeFlags.SHF_TLS: 1024>
SHF_WRITE = <SectionAttributeFlags.SHF_WRITE: 1>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class SectionGroupFlags(enum.Enum)
    SectionGroupFlags(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
SectionGroupFlags
enum.Enum
builtins.object

Data and other attributes defined here:
GRP_COMDAT = <SectionGroupFlags.GRP_COMDAT: 1>
GRP_MASKOS = <SectionGroupFlags.GRP_MASKOS: 267386880>
GRP_MASKPROC = <SectionGroupFlags.GRP_MASKPROC: 4026531840>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class SectionHeader32(SectionHeader32, BaseStructure)
    SectionHeader32(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
SectionHeader32
SectionHeader32
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'sh_addr': <class 'ElfAnalyzer.Elf32_Addr'>, 'sh_addralign': <class 'ElfAnalyzer.Elf32_Word'>, 'sh_entsize': <class 'ElfAnalyzer.Elf32_Word'>, 'sh_flags': <class 'ElfAnalyzer.Elf32_Word'>, 'sh_info': <class 'ElfAnalyzer.Elf32_Word'>, 'sh_link': <class 'ElfAnalyzer.Elf32_Word'>, 'sh_name': <class 'ElfAnalyzer.Elf32_Word'>, 'sh_offset': <class 'ElfAnalyzer.Elf32_Off'>, 'sh_size': <class 'ElfAnalyzer.Elf32_Word'>, 'sh_type': <class 'ElfAnalyzer.Elf32_Word'>}

Data descriptors inherited from SectionHeader32:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class SectionHeader64(SectionHeader64, BaseStructure)
    SectionHeader64(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
SectionHeader64
SectionHeader64
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'sh_addr': <class 'ElfAnalyzer.Elf64_Addr'>, 'sh_addralign': <class 'ElfAnalyzer.Elf64_Xword'>, 'sh_entsize': <class 'ElfAnalyzer.Elf64_Xword'>, 'sh_flags': <class 'ElfAnalyzer.Elf64_Xword'>, 'sh_info': <class 'ElfAnalyzer.Elf64_Word'>, 'sh_link': <class 'ElfAnalyzer.Elf64_Word'>, 'sh_name': <class 'ElfAnalyzer.Elf64_Word'>, 'sh_offset': <class 'ElfAnalyzer.Elf64_Off'>, 'sh_size': <class 'ElfAnalyzer.Elf64_Xword'>, 'sh_type': <class 'ElfAnalyzer.Elf64_Word'>}

Data descriptors inherited from SectionHeader64:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class SectionHeaderType(enum.Enum)
    SectionHeaderType(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
SectionHeaderType
enum.Enum
builtins.object

Data and other attributes defined here:
SHT_AUXILIARY = <SectionHeaderType.SHT_AUXILIARY: 2147483645>
SHT_CHECKSUM = <SectionHeaderType.SHT_CHECKSUM: 1879048184>
SHT_DYNAMIC = <SectionHeaderType.SHT_DYNAMIC: 6>
SHT_DYNSYM = <SectionHeaderType.SHT_DYNSYM: 11>
SHT_FILTER = <SectionHeaderType.SHT_FILTER: 134217727>
SHT_FINI_ARRAY = <SectionHeaderType.SHT_FINI_ARRAY: 15>
SHT_GNU_ATTRIBUTES = <SectionHeaderType.SHT_GNU_ATTRIBUTES: 1879048181>
SHT_GNU_HASH = <SectionHeaderType.SHT_GNU_HASH: 1879048182>
SHT_GNU_LIBLIST = <SectionHeaderType.SHT_GNU_LIBLIST: 1879048183>
SHT_GROUP = <SectionHeaderType.SHT_GROUP: 17>
SHT_HASH = <SectionHeaderType.SHT_HASH: 5>
SHT_HIOS = <SectionHeaderType.SHT_HIOS: 1879048191>
SHT_HIPROC = <SectionHeaderType.SHT_HIPROC: 2147483647>
SHT_HIUSER = <SectionHeaderType.SHT_HIUSER: 4294967295>
SHT_INIT_ARRAY = <SectionHeaderType.SHT_INIT_ARRAY: 14>
SHT_LOOS = <SectionHeaderType.SHT_LOOS: 1610612736>
SHT_LOPROC = <SectionHeaderType.SHT_LOPROC: 1879048192>
SHT_LOUSER = <SectionHeaderType.SHT_LOUSER: 2147483648>
SHT_NOBITS = <SectionHeaderType.SHT_NOBITS: 8>
SHT_NOTE = <SectionHeaderType.SHT_NOTE: 7>
SHT_NULL = <SectionHeaderType.SHT_NULL: 0>
SHT_NUM = <SectionHeaderType.SHT_NUM: 19>
SHT_PREINIT_ARRAY = <SectionHeaderType.SHT_PREINIT_ARRAY: 16>
SHT_PROGBITS = <SectionHeaderType.SHT_PROGBITS: 1>
SHT_REL = <SectionHeaderType.SHT_REL: 9>
SHT_RELA = <SectionHeaderType.SHT_RELA: 4>
SHT_SHLIB = <SectionHeaderType.SHT_SHLIB: 10>
SHT_STRTAB = <SectionHeaderType.SHT_STRTAB: 3>
SHT_SYMTAB = <SectionHeaderType.SHT_SYMTAB: 2>
SHT_SYMTAB_SHNDX = <SectionHeaderType.SHT_SYMTAB_SHNDX: 18>
SHT_VERDEF = <SectionHeaderType.SHT_VERDEF: 1879048189>
SHT_VERNEED = <SectionHeaderType.SHT_VERNEED: 1879048190>
SHT_VERSYM2 = <SectionHeaderType.SHT_VERSYM2: 1879048176>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class SpecialSectionIndexes(enum.Enum)
    SpecialSectionIndexes(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
SpecialSectionIndexes
enum.Enum
builtins.object

Data and other attributes defined here:
SHN_ABS = <SpecialSectionIndexes.SHN_ABS: 65521>
SHN_COMMON = <SpecialSectionIndexes.SHN_COMMON: 65522>
SHN_HIOS = <SpecialSectionIndexes.SHN_HIOS: 65343>
SHN_HIPROC = <SpecialSectionIndexes.SHN_HIPROC: 65311>
SHN_HIRESERVE = <SpecialSectionIndexes.SHN_HIRESERVE: 65535>
SHN_LOOS = <SpecialSectionIndexes.SHN_LOOS: 65312>
SHN_LOPROC = <SpecialSectionIndexes.SHN_LOPROC: 65280>
SHN_UNDEF = <SpecialSectionIndexes.SHN_UNDEF: 0>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class SymbolBinding(enum.Enum)
    SymbolBinding(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
SymbolBinding
enum.Enum
builtins.object

Data and other attributes defined here:
STB_GLOBAL = <SymbolBinding.STB_GLOBAL: 1>
STB_HIOS = <SymbolBinding.STB_HIOS: 12>
STB_HIPROC = <SymbolBinding.STB_HIPROC: 15>
STB_LOCAL = <SymbolBinding.STB_LOCAL: 0>
STB_LOOS = <SymbolBinding.STB_LOOS: 10>
STB_LOPROC = <SymbolBinding.STB_LOPROC: 13>
STB_WEAK = <SymbolBinding.STB_WEAK: 2>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class SymbolTableEntry32(SymbolTableEntry32, BaseStructure)
    SymbolTableEntry32(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
SymbolTableEntry32
SymbolTableEntry32
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'st_info': <class 'ctypes.c_byte'>, 'st_name': <class 'ElfAnalyzer.Elf32_Word'>, 'st_other': <class 'ctypes.c_byte'>, 'st_shndx': <class 'ElfAnalyzer.Elf32_Half'>, 'st_size': <class 'ElfAnalyzer.Elf32_Word'>, 'st_value': <class 'ElfAnalyzer.Elf32_Addr'>}

Data descriptors inherited from SymbolTableEntry32:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class SymbolTableEntry64(SymbolTableEntry64, BaseStructure)
    SymbolTableEntry64(data: Union[bytes, _io._BufferedIOBase]) -&gt; None
 

 
 
Method resolution order:
SymbolTableEntry64
SymbolTableEntry64
BaseStructure
builtins.object

Data and other attributes defined here:
__annotations__ = {'st_info': <class 'ctypes.c_byte'>, 'st_name': <class 'ElfAnalyzer.Elf64_Word'>, 'st_other': <class 'ctypes.c_byte'>, 'st_shndx': <class 'ElfAnalyzer.Elf64_Half'>, 'st_size': <class 'ElfAnalyzer.Elf32_Xword'>, 'st_value': <class 'ElfAnalyzer.Elf64_Addr'>}

Data descriptors inherited from SymbolTableEntry64:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from BaseStructure:
__init__(self, data: Union[bytes, _io._BufferedIOBase]) -> None
Initialize self.  See help(type(self)) for accurate signature.
__repr__(self)
Return repr(self).
__str__(self)
Return str(self).

Class methods inherited from BaseStructure:
__sizeof__() -> int from builtins.type
This method returns the octet size to build the instance.
array_to_cclass(array: _ctypes.Array) -> type from builtins.type
This method returns the inherited ctype.

Static methods inherited from BaseStructure:
class_to_cclass(cls: type) -> type
This method returns the inherited ctype.

 
class SymbolType(enum.Enum)
    SymbolType(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
SymbolType
enum.Enum
builtins.object

Data and other attributes defined here:
STT_COMMON = <SymbolType.STT_COMMON: 5>
STT_FILE = <SymbolType.STT_FILE: 4>
STT_FUNC = <SymbolType.STT_FUNC: 2>
STT_HIOS = <SymbolType.STT_HIOS: 12>
STT_HIPROC = <SymbolType.STT_HIPROC: 15>
STT_LOOS = <SymbolType.STT_LOOS: 10>
STT_LOPROC = <SymbolType.STT_LOPROC: 13>
STT_NOTYPE = <SymbolType.STT_NOTYPE: 0>
STT_OBJECT = <SymbolType.STT_OBJECT: 1>
STT_RELC = <SymbolType.STT_RELC: 8>
STT_SECTION = <SymbolType.STT_SECTION: 3>
STT_SRELC = <SymbolType.STT_SRELC: 9>
STT_TLS = <SymbolType.STT_TLS: 6>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class SymbolVisibility(enum.Enum)
    SymbolVisibility(value, names=None, *, module=None, qualname=None, type=None, start=1)
 
An enumeration.
 
 
Method resolution order:
SymbolVisibility
enum.Enum
builtins.object

Data and other attributes defined here:
STV_DEFAULT = <SymbolVisibility.STV_DEFAULT: 0>
STV_HIDDEN = <SymbolVisibility.STV_HIDDEN: 2>
STV_INTERNAL = <SymbolVisibility.STV_INTERNAL: 1>
STV_PROTECTED = <SymbolVisibility.STV_PROTECTED: 3>

Data descriptors inherited from enum.Enum:
name
The name of the Enum member.
value
The value of the Enum member.

Readonly properties inherited from enum.EnumMeta:
__members__
Returns a mapping of member name->value.
 
This mapping lists all enum members, including aliases. Note that this
is a read-only view of the internal mapping.

 
class Title(builtins.object)
    Title(value: str)
 
This class helps you to print a title for a "CLI section".
 
  Methods defined here:
__init__(self, value: str)
Initialize self.  See help(type(self)) for accurate signature.
__str__(self)
Return str(self).
print(self) -> None
This method prints the title.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
cli(elf_ident: ElfAnalyzer.ElfIdent, elf_header: Union[ElfAnalyzer.ElfHeader32, ElfAnalyzer.ElfHeader64], elf_tables: List[Union[ElfAnalyzer.ProgramHeader32, ElfAnalyzer.ProgramHeader64]], elf_sections: List[Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64]], symbols: List[Tuple[str, Union[ElfAnalyzer.SymbolTableEntry32, ElfAnalyzer.SymbolTableEntry64]]], comments: List[bytes], note_sections: List[Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64]], dynamicStructures: List[Union[ElfAnalyzer.Dynamic32, ElfAnalyzer.Dynamic64]], sections: List[~Section]) -> None
This function prints results in CLI.
enum_from_flags(value: _ctypes._CData, enum_class: enum.Enum) -> Iterable[ElfAnalyzer.Field]
This function yields Fields with Enum name and value.
enum_from_value(value: _ctypes._CData, enum_class: enum.Enum) -> ElfAnalyzer.Field
This function returns a Field with Enum name and value.
exit(status=None, /)
Exit the interpreter by raising SystemExit(status).
 
If the status is omitted or None, it defaults to zero (i.e., success).
If the status is an integer, it will be used as the system exit status.
If it is another kind of object, it will be printed and the system
exit status will be one (i.e., failure).
get_padding_length(data_size: int, padding_to: int) -> int
This function returns the padding length for this field.
issubclass(test: Any, *args)
This function checks if the tested elements is a
subclass of comparator.
main() -> int
This function runs the script from the command line.
parse_elfcomment(file: _io._BufferedIOBase, comment_section: Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64]) -> Iterable[bytes]
This function parses ELF comment section.
parse_elfdynamic(file: _io._BufferedIOBase, dynamic_section: Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64, NoneType], elf_classe: str) -> Iterable[Union[ElfAnalyzer.Dynamic32, ElfAnalyzer.Dynamic64]]
This function parses ELF dynamic section.
parse_elffile(file: _io._BufferedIOBase) -> Tuple[ElfAnalyzer.ElfIdent, Union[ElfAnalyzer.ElfHeader32, ElfAnalyzer.ElfHeader64], List[Union[ElfAnalyzer.ProgramHeader32, ElfAnalyzer.ProgramHeader64]], List[Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64]], List[Tuple[str, Union[ElfAnalyzer.SymbolTableEntry32, ElfAnalyzer.SymbolTableEntry64]]], List[bytes], List[Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64]], List[Union[ElfAnalyzer.Note32, ElfAnalyzer.Note64]], List[Union[ElfAnalyzer.Dynamic32, ElfAnalyzer.Dynamic64]], List[~Section]]
This function parses ELF file.
parse_elfheaders(file: _io._BufferedIOBase, elf_classe: str) -> Union[ElfAnalyzer.ElfHeader32, ElfAnalyzer.ElfHeader64]
This function parses ELF headers.
parse_elfidentification(file: _io._BufferedIOBase) -> Tuple[ElfAnalyzer.ElfIdent, str]
This function parses ELF identification headers.
parse_elfnote(file: _io._BufferedIOBase, note_sections: List[Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64]], elf_classe: str) -> Iterable[Union[ElfAnalyzer.Note32, ElfAnalyzer.Note64]]
This function parses ELF note sections.
parse_elfsections(file: _io._BufferedIOBase, elf_header: Union[ElfAnalyzer.ElfHeader32, ElfAnalyzer.ElfHeader64], elf_classe: str) -> Tuple[List[Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64]], Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64, NoneType], Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64, NoneType], Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64, NoneType], Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64, NoneType], Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64, NoneType], Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64, NoneType], List[Union[ElfAnalyzer.SectionHeader32, ElfAnalyzer.SectionHeader64]], List[~Section]]
This function parses ELK sections.
parse_elfsymbolstable(file: _io._BufferedIOBase, dynsym_section: Union[ElfAnalyzer.ElfHeader32, ElfAnalyzer.ElfHeader64, NoneType], dynstr_section: Union[ElfAnalyzer.ElfHeader32, ElfAnalyzer.ElfHeader64, NoneType], symtab_section: Union[ElfAnalyzer.ElfHeader32, ElfAnalyzer.ElfHeader64, NoneType], strtab_section: Union[ElfAnalyzer.ElfHeader32, ElfAnalyzer.ElfHeader64, NoneType], elf_classe: str) -> Iterable[Tuple[str, Union[ElfAnalyzer.SymbolTableEntry32, ElfAnalyzer.SymbolTableEntry64]]]
This function parses ELF symbols table.
parse_from_structure(file: _io._BufferedIOBase, structure: type) -> ~Structure
This function reads file and parse readed data
to Structure and returns it.
parse_programheaders(file: _io._BufferedIOBase, elf_header: Union[ElfAnalyzer.ElfHeader32, ElfAnalyzer.ElfHeader64], elf_classe: str) -> Iterable[Union[ElfAnalyzer.ProgramHeader32, ElfAnalyzer.ProgramHeader64]]
This function parses program headers.
read_string(file: _io._BufferedIOBase) -> ctypes.c_char_p
This function reads file a NULL terminating string from file position.
read_until(file: _io._BufferedIOBase, end_data: bytes) -> bytes
This function reads file until data end doesn't match the end_data params.
sizeof(object: Union[_ctypes._CData, type]) -> int
This function returns the size of this object.
start_printable() -> None
This function starts printing.
structure(cls: type) -> type
This decorator helps to build C Structures.

 
Data
        Any = typing.Any
Iterable = typing.Iterable
List = typing.List
Section = ~Section
Structure = ~Structure
Tuple = typing.Tuple
Union = typing.Union
__author_email__ = 'mauricelambert434@gmail.com'
__copyright__ = '\nElfAnalyzer Copyright (C) 2023 Maurice Lamber...ome to redistribute it\nunder certain conditions.\n'
__description__ = '\nThis module parses and analyzes ELF file for Forensic and\ninvestigations.\n'
__license__ = 'GPL-3.0 License'
__maintainer__ = 'Maurice Lambert'
__maintainer_email__ = 'mauricelambert434@gmail.com'
__url__ = 'https://github.com/mauricelambert/ElfAnalyzer'
argv = [r'', '', r'']
copyright = '\nElfAnalyzer Copyright (C) 2023 Maurice Lamber...ome to redistribute it\nunder certain conditions.\n'
data_to_ctypes = {<class 'ctypes.c_bool'>: functools.partial(<function DataToCClass.data_to... at 0x000001337D27A7A0>, <class 'ctypes.c_bool'>), <class 'ctypes.c_char'>: functools.partial(<function DataToCClass.data_to... at 0x000001337D27A710>, <class 'ctypes.c_char'>), <class 'ctypes.c_wchar'>: functools.partial(<function DataToCClass.data_to...at 0x000001337D27A830>, <class 'ctypes.c_wchar'>), <class 'ctypes.c_byte'>: functools.partial(<function DataToCClass.data_to... at 0x000001337D27A7A0>, <class 'ctypes.c_byte'>), <class 'ctypes.c_ubyte'>: functools.partial(<function DataToCClass.data_to...at 0x000001337D27A7A0>, <class 'ctypes.c_ubyte'>), <class 'ctypes.c_short'>: functools.partial(<function DataToCClass.data_to...at 0x000001337D27A7A0>, <class 'ctypes.c_short'>), <class 'ctypes.c_ushort'>: functools.partial(<function DataToCClass.data_to...t 0x000001337D27A7A0>, <class 'ctypes.c_ushort'>), <class 'ctypes.c_long'>: functools.partial(<function DataToCClass.data_to... at 0x000001337D27A7A0>, <class 'ctypes.c_long'>), <class 'ctypes.c_ulong'>: functools.partial(<function DataToCClass.data_to...at 0x000001337D27A7A0>, <class 'ctypes.c_ulong'>), <class 'ctypes.c_longlong'>: functools.partial(<function DataToCClass.data_to...0x000001337D27A7A0>, <class 'ctypes.c_longlong'>), ...}
entropy_charts_import = False
executable = r''
license = 'GPL-3.0 License'
printable = b'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~ '
sections_description = {'.bss': 'Uninitialized data', '.comment': 'Version control information', '.data': 'Initialized data', '.data1': 'Initialized data', '.debug': 'Symbolic debugging information', '.dynamic': 'Dynamic linking information', '.dynstr': 'Dynamic linking strings', '.dynsym': 'Dynamic linking symbol table', '.fini': 'Process termination code', '.fini_array': 'Termination function pointers', ...}
stderr = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>

 
Author
        Maurice Lambert