进入框架

huangapple go评论77阅读模式
英文:

Step into framework

问题

我想查看 [VZVirtualMachine isSupported] 的实现。我创建了一个控制台项目,以调试模式运行它,进入了这个方法,但它只是在 objc_msgSend 的实现中徘徊,至少我的耐心不够等待它找到实际的实现。有没有办法在更接近实际代码的地方设置断点?

英文:

For example I want to look at [VZVirtualMachine isSupported] implementation. I created a console project, run it with debug, stepped into this method but all it does is wander around objc_msgSend implementation, at least my patience was not enough to wait until it finds the actual implementation. Is there some way to set a breakpoint closer to the actual code?

答案1

得分: 0

VZVirtualMachine是苹果的专有类。它的实现源代码未提供。您所拥有的是经过优化的汇编语言。如果您希望从中生成伪-ObjC或伪-C,有一些工具可以帮助,比如HopperIDA Pro,但它们不会提供类似原始源代码的内容,如果这是您想要的。要获得原始源代码,您需要访问苹果的源代码。

英文:

VZVirtualMachine is an Apple proprietary class. Its implementation source code is not shipped. What you have is optimized assembly language. If you want something that can generate pseudo-ObjC or pseudo-C from it, there are tools like Hopper and IDA Pro that can help, but they're not going to give you anything like the original source code if that's what you're looking for. To get that, you'd need access to Apple's source.

huangapple
  • 本文由 发表于 2023年6月13日 00:54:32
  • 转载请务必保留本文链接:https://go.coder-hub.com/76458782.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定