Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/qilingframework/qiling
/ getMagic
Method
getMagic
qiling/loader/macho_parser/parser.py:146–147 ·
view source on GitHub ↗
(binary)
Source
from the content-addressed store, hash-verified
144
145
@staticmethod
146
def
getMagic(binary):
147
return
unpack(
"<L"
, binary[:4])[0]
148
149
def
get_segment(self, name):
150
for
seg in self.segments:
Callers
1
parseHeader
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected