[ Root System Explorer ]
Location:
Root
/
lib
/
python3.9
/
site-packages
/
elftools
/
elf
/
__pycache__
+ Folder
+ File
Upload
Editing: structs.cpython-39.pyc
a �#�_�M � @ s� d dl mZmZmZmZmZmZmZmZm Z m Z mZmZm Z mZmZmZmZmZmZmZmZ d dlmZ ddlT G dd� de�ZdS )� )�UBInt8�UBInt16�UBInt32�UBInt64�ULInt8�ULInt16�ULInt32�ULInt64�SBInt32�SLInt32�SBInt64�SLInt64�Struct�Array�Enum�Padding� BitStruct�BitField�Value�String�CString)�ULEB128� )�*c @ s� e Zd ZdZd5dd�Zdd� Zdd � Zd d� Zd6d d�Zdd� Z dd� Z dd� Zdd� Zdd� Z dd� Zdd� Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd7d+d,�Zd-d.� Zd/d0� Zd1d2� Zd3d4� ZdS )8� ELFStructsa Accessible attributes: Elf_{byte|half|word|word64|addr|offset|sword|xword|xsword}: Data chunks, as specified by the ELF standard, adjusted for correct endianness and word-size. Elf_Ehdr: ELF file header Elf_Phdr: Program header Elf_Shdr: Section header Elf_Sym: Symbol table entry Elf_Rel, Elf_Rela: Entries in relocation sections T� c C s6 |dks|dksJ �|| _ || _d | _d | _d | _d S )Nr �@ �� little_endian�elfclass�e_type� e_machine� e_ident_osabi)�selfr r � r$ �8/usr/lib/python3.9/site-packages/elftools/elf/structs.py�__init__* s zELFStructs.__init__c C s | j | j| j| j| jfS �Nr �r# r$ r$ r% �__getstate__2 s zELFStructs.__getstate__c C s, |\| _ | _}}}| �� | �|||� d S r'