English 中文(简体)
文书中无身份证件的C类方法
原标题:argument types of undocumented Objective-C methods in Instruments (OSX)

Is there a way to determine the argument types of Objective-C methods traced by Instruments? I created a custom DTrace Instrument that just lists all Objective-C calls in a class. I am trying to swizzle one of the methods, but only the method name is listed.

是否有办法确定论点的类型? 或者作为一种替代办法,一种在不了解论点类型的情况下淡化方法的办法?

最佳回答

如果你使用舱位,则你可以在方法定义中看到C类数据。 这应足以引起wi。 一旦例行公事zz灭,你就可以用安全记录仪打印客观C类的描述。

http://www.codethecode.com/projects/class-dump/

问题回答

利用挖尸首,对你重新感兴趣的方法设定一个断点。 如果这些论点属于反对类别,则你可使用<条码>-目标查找其类别。 关于x86,论点一般都是在争论中通过的。 关于常设仲裁委员会,你在登记名册上发现了论点。





相关问题
2 mysql instances in MAC

i recently switched to mac. first and foremost i installed xampp. then for django-python-mysql connectivity, i "somehow" ended up installing a seperate MySQL. now the seperate mysql installation is ...

Iterating over string/strlen with umlauted characters

This is a follow-up to my previous question . I succeeded in implementing the algorithm for checking umlauted characters. The next problem comes from iterating over all characters in a string. I do ...

Controlling OSX windows

I m trying to control windows of a foreign OSX applications from my application. I d like to 1. move the windows on the screen 2. resize the windows on the screen 3. change the currently active window ...

Switching J2SE versions on Mac OS (SnowLeopard)

My current JDK on Mac OS (10.6) is set to 1.6 and I d like to switch to 1.5. A listing of /System/Library/Frameworks/JavaVM.framework/Versions/ shows: lrwxr-xr-x 1 root wheel 10 Nov 3 18:34 ...

Scrolling inside Vim in Mac s Terminal

I ve been googling around trying to figure out if it s possible to use my mouse wheel to scroll while inside Vim in Mac s Terminal, with no luck. It seems as if only X11 or iTerm support this. Before ...

export to MP3 from quicktime API

A question for Apple,QT programmers. Would like to know if it s possible to export a Movie object to MP3 using the QuickTime API. Preferably the ConvertMovieToFile function. I ve looked at ...

热门标签