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

Method __init__

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

Source from the content-addressed store, hash-verified

531
532class LoadIdDylib(LoadCommand):
533 def __init__(self, data):
534 super().__init__(data)
535 self.name_offset = unpack("<L", self.FR.read(4))[0]
536 self.timestamp = unpack("<L", self.FR.read(4))[0]
537 self.current_version = unpack("<L", self.FR.read(4))[0]
538 self.compatibility_version = unpack("<L", self.FR.read(4))[0]
539 self.FR.setOffset(self.name_offset)
540 self.name = self.FR.readString(4)

Callers

nothing calls this directly

Calls 4

setOffsetMethod · 0.80
readStringMethod · 0.80
__init__Method · 0.45
readMethod · 0.45

Tested by

no test coverage detected