Created
April 2, 2015 15:19
-
-
Save NicolasT/890436bdd12e1bfed35d 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
/* Build using | |
* | |
* gcc -shared -o libcrc32.so -O2 crc32.c | |
* | |
* Then run using | |
* | |
* LD_PRELOAD=./libcrc32.so myprog | |
*/ | |
unsigned long crc32(unsigned long crc, const unsigned char *buf, unsigned int len) { | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment