如何获取 .swift 文件的十六进制文件签名?
我需要获取 macOS Xcode .swift
文件的十六进制文件签名(和偏移量)。如何解决这个问题呢?
I need to get the hexadecimal file signature (and offset) of a macOS Xcode .swift
file. How does one go about this?
Reference: https://www.garykessler.net/library/file_sigs.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过查看十六进制转储的头部来查看幻数:
xxd prog.swift | xxd prog.swift |头
You can view the magic numbers by looking at the head of a hex dump:
xxd prog.swift | head