MCPcopy Index your code
hub / github.com/qilingframework/qiling / __init__

Method __init__

qiling/loader/macho_parser/header.py:41–49  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

39class FatHeader(Header):
40
41 def __init__(self, data):
42 super().__init__(data)
43 FR = FileReader(data)
44 FR.setOffset(4)
45 self.binarys = []
46 self.arch_num = unpack(">L", FR.read(4))[0]
47 for i in range(self.arch_num):
48 FI = FatInfo(FR.read(4 * 5))
49 self.binarys.append(FI)
50
51 def getBinary(self, arch):
52

Callers

nothing calls this directly

Calls 6

setOffsetMethod · 0.95
readMethod · 0.95
FileReaderClass · 0.85
FatInfoClass · 0.85
__init__Method · 0.45
appendMethod · 0.45

Tested by

no test coverage detected