MCPcopy Create free account
hub / github.com/qilingframework/qiling / __init__

Method __init__

qiling/loader/macho_parser/loadcommand.py:244–250  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

242class LoadDyLib(LoadCommand):
243
244 def __init__(self, data):
245 super().__init__(data)
246 self.str_offset = unpack("<L", self.FR.read(4))[0]
247 self.time_stamp = unpack("<L", self.FR.read(4))[0]
248 self.current_version = unpack("<L", self.FR.read(4))[0]
249 self.compatibility_version = unpack("<L", self.FR.read(4))[0]
250 self.name = self.FR.readString(4)
251
252 # def __str__(self):
253 # return (" Dylib: name %s" % self.name)

Callers

nothing calls this directly

Calls 3

readStringMethod · 0.80
__init__Method · 0.45
readMethod · 0.45

Tested by

no test coverage detected