Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
/*
Tested with: gcc (GCC) 6.1.1 20160501
Compile with `gcc -m32 magic.c -o magic`
*/
#include <string.h>
#define ABRACADABRA "wut>\xf6\x86\x04\x08\xb0\x04\x31\xdb\xb9\xe0\x86\x04\x08\x31\xd2\xb2\x0e\xcd\x80\xb0\x01\xcd\x80"
char hello[] = "Hello World!\n\0" ABRACADABRA;
int main(int argc, char *argv[]) {
char magic_stdout[14];
memcpy(&magic_stdout, &hello, sizeof hello);
}