Skip to content

Instantly share code, notes, and snippets.

@vault
Created March 27, 2013 16:54
Show Gist options
  • Save vault/5255969 to your computer and use it in GitHub Desktop.
Save vault/5255969 to your computer and use it in GitHub Desktop.
#include <stdio.h>
void *label_value(int really)
{
if (really)
return &&LABEL;
else {
LABEL:
printf("WHY!!!\n");
}
}
void jump(void *LABEL)
{
goto *LABEL;
}
int main()
{
jump(label_value(1));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment