a0bi S r SSKrSSKrSSKrSSKJrJrJr " S S\5 r " S S\R 5 r " S S \R 5 r " S
S\R 5 r
" S S
5 rg)a;
ELF file parser.
This provides a class ``ELFFile`` that parses an ELF executable in a similar
interface to ``ZipFile``. Only the read interface is implemented.
Based on: https://gist.github.com/lyssdod/f51579ae8d93c8657a5564aefc2ffbca
ELF header: https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html
N)IOOptionalTuplec \ rS rSrSrg)
ELFInvalid N)__name__
__module____qualname____firstlineno____static_attributes__r ڞ/builddir/build/BUILDROOT/alt-python313-setuptools-69.0.2-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/setuptools/_vendor/packaging/_elffile.pyr r s r r c \ rS rSrSrSrSrg)EIClass r N)r
r r r
C32C64r r r r r r
C
Cr r c \ rS rSrSrSrSrg)EIData r r r N)r
r r r
LsbMsbr r r r r r r r r c ( \ rS rSrSrSrSrSrSrSr g) EMachine ( > r N)
r
r r r
I386S390ArmX8664AArc64r r r r r r s D
D
CE
Fr r c j \ rS rSrSrS\\ SS4S jrS\S\ \
S4 4S jr\S\
\ 4S
j5 rSrg)ELFFile' z&
Representation of an ELF executable.
freturnNc
h Xl U R S5 n[ US S 5 nUS:w a [ SU< 35 eUS U l US U l SSS S
S.U R U R 4 u o@l U l U R U5 u
nU l nnU l nU l
nU l U l g ! [ R a [ S5 ef = f! [ a' [ SU R S
U R S35 ef = f! [ R a n[ S5 UeS nAff = f)N16Bzunable to parse identification s ELFzinvalid magic: )z