Skip to content

Instantly share code, notes, and snippets.

@Cee
Created July 31, 2014 07:50
Show Gist options
  • Save Cee/e5d4d5c91d87d91a058f to your computer and use it in GitHub Desktop.
Save Cee/e5d4d5c91d87d91a058f to your computer and use it in GitHub Desktop.
Fizz
void fizz(int arg1, char arg2, long arg3,
char* arg4, short arg5, short arg6, unsigned long long val)
{
entry_check(1); /* Make sure entered this function properly */
if (val == cookie)
{
printf("Fizz!: You called fizz(0x%llx)\n", val);
validate(1);
}
else {
printf("Misfire: You called fizz(0x%llx)\n", val);
}
exit(0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment