Created
May 28, 2014 13:10
-
-
Save zats/d2e3c9caf64f671f1e92 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class mock = mockClass([NSProcessInfo class]); | |
[mock processInfo]; | |
[verify(mock) processInfo]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rbx = [[MKTClassObjectMock mockForClass:[NSProcessInfo class]] retain]; | |
[rbx release]; | |
[[[rbx processInfo] retain] release]; | |
rbx = [sub_1000019ad(rbx, rdi, "...m", 0x14) retain]; | |
[[[rbx processInfo] retain] release]; | |
// ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do you generate this intermediate code?