Skip to content

Instantly share code, notes, and snippets.

@bnoordhuis bnoordhuis/repret.c Secret
Created Jul 12, 2012

Embed
What would you like to do?
__asm__ (
"f:"
//"xorq %rcx, %rcx;"
"movq $1, %rcx;"
"repz;"
"retq;"
"call abort;");
int main(void)
{
void f(void);
f();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.