Linux sh52.ich-4.com 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64
LiteSpeed
Server IP : 198.143.147.58 & Your IP : 216.73.217.21
Domains :
Cant Read [ /etc/named.conf ]
User : actualbuzz
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.9 /
site-packages /
elftools /
dwarf /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-02-03 15:08
__init__.py
0
B
-rw-r--r--
2020-10-27 13:42
abbrevtable.py
2.49
KB
-rw-r--r--
2020-10-27 13:42
aranges.py
4.37
KB
-rw-r--r--
2020-10-27 13:42
callframe.py
29.41
KB
-rw-r--r--
2020-10-27 13:42
compileunit.py
8.31
KB
-rw-r--r--
2020-10-27 13:42
constants.py
4.45
KB
-rw-r--r--
2020-10-27 13:42
descriptions.py
23.65
KB
-rw-r--r--
2020-10-27 13:42
die.py
10.24
KB
-rw-r--r--
2020-10-27 13:42
dwarf_expr.py
9.51
KB
-rw-r--r--
2020-10-27 13:42
dwarfinfo.py
17.29
KB
-rw-r--r--
2020-10-27 13:42
enums.py
15.5
KB
-rw-r--r--
2020-10-27 13:42
lineprogram.py
11.76
KB
-rw-r--r--
2020-10-27 13:42
locationlists.py
5.35
KB
-rw-r--r--
2020-10-27 13:42
namelut.py
7.15
KB
-rw-r--r--
2020-10-27 13:42
ranges.py
2.21
KB
-rw-r--r--
2020-10-27 13:42
structs.py
12.58
KB
-rw-r--r--
2020-10-27 13:42
Save
Rename
#------------------------------------------------------------------------------- # elftools: dwarf/abbrevtable.py # # DWARF abbreviation table # # Eli Bendersky (eliben@gmail.com) # This code is in the public domain #------------------------------------------------------------------------------- from ..common.utils import struct_parse, dwarf_assert class AbbrevTable(object): """ Represents a DWARF abbreviation table. """ def __init__(self, structs, stream, offset): """ Create new abbreviation table. Parses the actual table from the stream and stores it internally. structs: A DWARFStructs instance for parsing the data stream, offset: The stream and offset into the stream where this abbreviation table lives. """ self.structs = structs self.stream = stream self.offset = offset self._abbrev_map = self._parse_abbrev_table() def get_abbrev(self, code): """ Get the AbbrevDecl for a given code. Raise KeyError if no declaration for this code exists. """ return self._abbrev_map[code] def _parse_abbrev_table(self): """ Parse the abbrev table from the stream """ map = {} self.stream.seek(self.offset) while True: decl_code = struct_parse( struct=self.structs.Dwarf_uleb128(''), stream=self.stream) if decl_code == 0: break declaration = struct_parse( struct=self.structs.Dwarf_abbrev_declaration, stream=self.stream) map[decl_code] = AbbrevDecl(decl_code, declaration) return map class AbbrevDecl(object): """ Wraps a parsed abbreviation declaration, exposing its fields with dict-like access, and adding some convenience methods. The abbreviation declaration represents an "entry" that points to it. """ def __init__(self, code, decl): self.code = code self.decl = decl def has_children(self): """ Does the entry have children? """ return self['children_flag'] == 'DW_CHILDREN_yes' def iter_attr_specs(self): """ Iterate over the attribute specifications for the entry. Yield (name, form) pairs. """ for attr_spec in self['attr_spec']: yield attr_spec.name, attr_spec.form def __getitem__(self, entry): return self.decl[entry]