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

Method getBinary

qiling/loader/macho_parser/header.py:51–58  ·  view source on GitHub ↗
(self, arch)

Source from the content-addressed store, hash-verified

49 self.binarys.append(FI)
50
51 def getBinary(self, arch):
52
53 for item in self.binarys:
54 if item.cpu_type == CPU_TYPE_X8664:
55 return item
56 elif item.cpu_type == CPU_TYPE_ARM64:
57 return item
58 return None
59
60class FatInfo:
61 def __init__(self, data):

Callers 1

parseHeaderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected