Skip to content

Instantly share code, notes, and snippets.

@zats
Created May 28, 2014 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zats/d2e3c9caf64f671f1e92 to your computer and use it in GitHub Desktop.
Save zats/d2e3c9caf64f671f1e92 to your computer and use it in GitHub Desktop.
Class mock = mockClass([NSProcessInfo class]);
[mock processInfo];
[verify(mock) processInfo];
rbx = [[MKTClassObjectMock mockForClass:[NSProcessInfo class]] retain];
[rbx release];
[[[rbx processInfo] retain] release];
rbx = [sub_1000019ad(rbx, rdi, "...m", 0x14) retain];
[[[rbx processInfo] retain] release];
// ...
@jonreid
Copy link

jonreid commented May 28, 2014

How do you generate this intermediate code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment