This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <limits.h> | |
/* prints each character representation of the byte one at a time. | |
* no memory management required; slower, than using a buffer. | |
*/ | |
#define printBitRepresentationEach(a) \ | |
({ \ | |
for (size_t _i = (sizeof(a) * CHAR_BIT); _i; _i--) { \ |
This file contains 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
/* InspectiveC by DavidGoldman | |
* Place this file in `/usr/lib/cycript0.9/com/golddavid/inspectivec.cy` | |
* Run `@import com.golddavid.inspectivec` in cycript to use. | |
* | |
* This file has been adapted from | |
* https://github.com/DavidGoldman/InspectiveC/blob/master/cycript/InspectiveC.cy | |
* to use new cycript module features. | |
* | |
* This module is based on | |
* https://github.com/limneos/classdump-dyld/blob/master/classdumpdyldlib/classdumpdyld.cy |
NewerOlder