source
stringlengths
23
1.83k
target
stringlengths
42
1.55k
static void main_sink(wchar_t * data){wprintf(data);}void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;{size_t data_len=wcslen(data);wchar_t * environment=GETENV(ENV_VARIABLE);if (environment!=NULL){wcsncat(data+data_len, environment, 100-data_len-1);}}main_sink(data);}
static void main_sink(wchar_t * data){wprintf(L"%s\n", data);}static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;{size_t data_len=wcslen(data);wchar_t * environment=GETENV(ENV_VARIABLE);if (environment!=NULL){wcsncat(data+data_len, environment, 100-data_len-1);}}main_sink(data);}
void b_main_sink(int * data);void _main(){int * data;{int data_buf[100];{size_t i;for (i=0;i < 100;i++){data_buf[i]=5;}}data=data_buf;}b_main_sink(data);}void c_main_sink(int * data);void b_main_sink(int * data){c_main_sink(data);}void c_main_sink(int * data){printIntLine(data[0]);free(data);}
void b_main_sink(int * data);static void main(){int * data;{int * data_buf=(int *)malloc(100*sizeof(int));{size_t i;for (i=0;i < 100;i++){data_buf[i]=5;}}data=data_buf;}b_main_sink(data);}void c_main_sink(int * data);void b_main_sink(int * data){c_main_sink(data);}void c_main_sink(int * data){printIntLine(data[0]);free(data);}
void b_main_sink(_struct_type my_struct);void _main(){wchar_t * data;_struct_type my_struct;wchar_t data_buf[100]=L"";data=data_buf;wcscpy(data, L"winsrv.dll");my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;{HMODULE hModule;hModule=LoadLibraryW(data);if (hModule!=NULL){FreeLibrary(hModule);printLine("Library loaded and freed successfully");}else{printLine("Unable to load library");}}}
void b_main_sink(_struct_type my_struct);static void main(){wchar_t * data;_struct_type my_struct;wchar_t data_buf[100]=L"";data=data_buf;wcscpy(data, L"C:\\Windows\\System32\\winsrv.dll");my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;{HMODULE hModule;hModule=LoadLibraryW(data);if (hModule!=NULL){FreeLibrary(hModule);printLine("Library loaded and freed successfully");}else{printLine("Unable to load library");}}}
void b_main_sink();void _main(){wchar_t * data;wchar_t * data_buf=(wchar_t *)ALLOCA(100*sizeof(wchar_t));data=data_buf;_main_data=data;b_main_sink();}void b_main_sink(){wchar_t * data=_main_data;{wchar_t dest[50]=L"";wcscat(dest, data);printWLine(data);}}
void b_main_sink();static void main(){wchar_t * data;wchar_t * data_buf=(wchar_t *)ALLOCA(100*sizeof(wchar_t));data=data_buf;_main_data=data;b_main_sink();}void b_main_sink(){wchar_t * data=_main_data;{wchar_t dest[50]=L"";wcscat(dest, data);printWLine(data);}}
void b_main_sink(char * * data_ptr);void _main(){char * data;char data_buf[100]="";data=data_buf;{size_t data_len=strlen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN("C:\\temp\\file.txt", "r");if (pFile!=NULL){fgets(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}b_main_sink(&data);}void b_main_sink(char * * data_ptr){char * data=*data_ptr;fprintf(stdout, data);}
static void main(){char * data;char data_buf[100]="";data=data_buf;{size_t data_len=strlen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN("C:\\temp\\file.txt", "r");if (pFile!=NULL){fgets(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}b_main_sink(&data);}void b_main_sink(char * * data_ptr){char * data=*data_ptr;fprintf(stdout, "%s\n", data);}
static void main_vasinkb(char * data, ...){{va_list args;va_start(args, data);vfprintf(stdout, data, args);va_end(args);}}static void main_vasinkg(char * data, ...){{va_list args;va_start(args, data);vfprintf(stdout, "%s", args);va_end(args);}}void _main(){char * data;char data_buf[100]="";data=data_buf;if(global_returns_t_or_f()){{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;char *replace;SOCKET connect_socket=INVALID_SOCKET;size_t data_len=strlen(data);do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;connect_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (connect_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=inet_addr("127.0.0.1");s_in.sin_port=htons(TCP_PORT);if (connect(connect_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;recv_rv=recv(connect_socket, (char *)data+data_len, (int)(100-data_len-1), 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;data[recv_rv]='\0';replace=strchr(data, '\r');if (replace) *replace='\0';replace=strchr(data, '\n');if (replace) *replace='\0';}while (0);if (connect_socket!=INVALID_SOCKET) CLOSE_SOCKET(connect_socket);if (wsa_data_init) WSACleanup();}}else{strcpy(data, "fixedstringtest");}if(global_returns_t_or_f()){main_vasinkb(data, data);}else{main_vasinkg(data, data);}}
static void main_vasinkg(char * data, ...){{va_list args;va_start(args, data);vfprintf(stdout, "%s", args);va_end(args);}}static void main_vasinkb(char * data, ...){{va_list args;va_start(args, data);vfprintf(stdout, data, args);va_end(args);}}static void main(){char * data;char data_buf[100]="";data=data_buf;if(global_returns_f()){strcpy(data, "fixedstringtest");}else{strcpy(data, "fixedstringtest");}if(global_returns_t()){main_vasinkb(data, data);}else{main_vasinkb(data, data);}}
void main(){wchar_t * data;wchar_t * &data_ref=data;{static wchar_t data_buf[100];data=data_buf;}{wchar_t * data=data_ref;printWLine(data);delete [] data;}}
static void main(){wchar_t * data;wchar_t * &data_ref=data;{wchar_t * data_buf=new wchar_t[100];data=data_buf;}{wchar_t * data=data_ref;printWLine(data);delete [] data;}}
void main(){twointsclass * data;twointsclass * *data_ptr1=&data;twointsclass * *data_ptr2=&data;data=NULL;{twointsclass * data=*data_ptr1;data=new twointsclass[100];{size_t i;for(i=0;i < 100;i++){data[i].a=1;data[i].b=2;}}delete [] data;}{twointsclass * data=*data_ptr2;printIntLine(data[0].a);}}
static void main(){twointsclass * data;twointsclass * *data_ptr1=&data;twointsclass * *data_ptr2=&data;data=NULL;{twointsclass * data=*data_ptr1;data=new twointsclass[100];{size_t i;for(i=0;i < 100;i++){data[i].a=1;data[i].b=2;}}delete [] data;}{twointsclass * data=*data_ptr2;}}
static void main_sink(){wchar_t * data=_main_data;{wchar_t dest[100];memmove(dest, data, 100*sizeof(wchar_t));dest[100-1]=L'\0';printWLine(dest);}}void _main(){wchar_t * data;wchar_t data_buf[100];wmemset(data_buf, L'A', 100-1);data_buf[100-1]=L'\0';data=data_buf-8;_main_data=data;main_sink();}
static void main_sink(){wchar_t * data=_main_data;{wchar_t dest[100];memmove(dest, data, 100*sizeof(wchar_t));dest[100-1]=L'\0';printWLine(dest);}}static void main(){wchar_t * data;wchar_t data_buf[100];wmemset(data_buf, L'A', 100-1);data_buf[100-1]=L'\0';data=data_buf;_main_data=data;main_sink();}
static wchar_t * main_source(wchar_t * data){{size_t data_len=wcslen(data);if(100-data_len > 1){fgetws(data+data_len, (int)(100-data_len), stdin);data_len=wcslen(data);if (data_len > 0){data[data_len-1]=L'\0';}}}return data;}void _main(){wchar_t * data;data=(wchar_t *)malloc(100*sizeof(wchar_t));data[0]=L'\0';data=main_source(data);for (;*data!=L'\0';data++){if (*data==SEARCH_CHAR){printLine("We have a match!");break;}}free(data);}
static wchar_t * main_source(wchar_t * data){{size_t data_len=wcslen(data);if(100-data_len > 1){fgetws(data+data_len, (int)(100-data_len), stdin);data_len=wcslen(data);if (data_len > 0){data[data_len-1]=L'\0';}}}return data;}static void main(){wchar_t * data;data=(wchar_t *)malloc(100*sizeof(wchar_t));data[0]=L'\0';data=main_source(data);{size_t i;for (i=0;i < wcslen(data);i++){if (data[i]==SEARCH_CHAR){printLine("We have a match!");break;}}free(data);}}
void main(){char * data;data=new char[100];if(global_returns_t_or_f()){}else{}{char dest[50]="";strncat(dest, data, strlen(data));printLine(data);delete [] data;}}
static void main(){char * data;data=new char[100];if(global_returns_t_or_f()){}else{}{char dest[50]="";strncat(dest, data, strlen(data));printLine(data);delete [] data;}}
static wchar_t * main_source(wchar_t * data){data=(wchar_t *)calloc(100, sizeof(wchar_t));return data;}void main(){wchar_t * data;data=NULL;data=main_source(data);delete data;}
static wchar_t * main_source(wchar_t * data){data=new wchar_t;return data;}static void main(){wchar_t * data;data=NULL;data=main_source(data);delete data;}
void b_main_sink(int data);void _main(){int data;void (*func_ptr) (int)=b_main_sink;data=-1;data=ASSERT_VALUE-1;func_ptr(data);}void b_main_sink(int data){assert(data > ASSERT_VALUE);}
void b_main_sink(int data);static void main(){int data;void (*func_ptr) (int)=b_main_sink;data=-1;data=ASSERT_VALUE+1;func_ptr(data);}void b_main_sink(int data){assert(data > ASSERT_VALUE);}
static void main_sink(twoints * data){delete [] data;}void main(){twoints * data;data=NULL;data=(twoints *)malloc(100*sizeof(twoints));main_sink(data);}
static void main_sink(twoints * data){free(data);}static void main(){twoints * data;data=NULL;data=(twoints *)malloc(100*sizeof(twoints));main_sink(data);}
void _main(){unsigned int data;_union_type my_union;data=0;fscanf (stdin, "%u", &data);my_union.a=data;{unsigned int data=my_union.b;{unsigned int result=data-1;printUnsignedLine(result);}}}
static void main(){unsigned int data;_union_type my_union;data=0;data=5;my_union.a=data;{unsigned int data=my_union.b;{unsigned int result=data-1;printUnsignedLine(result);}}}
void b_main_sink(wchar_t * data);void _main(){wchar_t * data;wchar_t * data_buf=(wchar_t *)ALLOCA(100*sizeof(wchar_t));wmemset(data_buf, L'A', 100-1);data_buf[100-1]=L'\0';data=data_buf-8;b_main_sink(data);}void c_main_sink(wchar_t * data);void b_main_sink(wchar_t * data){c_main_sink(data);}void d_main_sink(wchar_t * data);void c_main_sink(wchar_t * data){d_main_sink(data);}void d_main_sink(wchar_t * data){{wchar_t dest[100];wcscpy(dest, data);printWLine(dest);}}
void b_main_sink(wchar_t * data);static void main(){wchar_t * data;wchar_t * data_buf=(wchar_t *)ALLOCA(100*sizeof(wchar_t));wmemset(data_buf, L'A', 100-1);data_buf[100-1]=L'\0';data=data_buf;b_main_sink(data);}void c_main_sink(wchar_t * data);void b_main_sink(wchar_t * data){c_main_sink(data);}void d_main_sink(wchar_t * data);void c_main_sink(wchar_t * data){d_main_sink(data);}void d_main_sink(wchar_t * data){{wchar_t dest[100];wcscpy(dest, data);printWLine(dest);}}
void b_main_sink();void _main(){int data;data=-1;data=RAND32();_main_data=data;b_main_sink();}void b_main_sink(){int data=_main_data;{wchar_t * wchar_t_string;if (data > 0){wchar_t_string=(wchar_t *)malloc(data*sizeof(wchar_t));wcscpy(wchar_t_string, HELLO_STRING);printWLine(wchar_t_string);free(wchar_t_string);}else{printLine("Input is less than 0");}}}
static void main(){int data;data=-1;data=20;_main_data=data;b_main_sink();}void b_main_sink(){int data=_main_data;{wchar_t * wchar_t_string;if (data > 0){wchar_t_string=(wchar_t *)malloc(data*sizeof(wchar_t));wcscpy(wchar_t_string, HELLO_STRING);printWLine(wchar_t_string);free(wchar_t_string);}else{printLine("Input is less than 0");}}}
void main_source(char * &data);void main(){char * data;data=NULL;main_source(data);delete data;}void main_source(char * &data){data=(char *)malloc(100*sizeof(char));}
static void main(){char * data;data=NULL;main_source(data);free(data);}void main_source(char * &data){data=(char *)malloc(100*sizeof(char));}
void b_main_sink(long long * * data_ptr);void _main(){long long * data;{long long * data_buf=(long long *)ALLOCA(100*sizeof(long long));{size_t i;for (i=0;i < 100;i++){data_buf[i]=5L;}}data=data_buf;}b_main_sink(&data);}void b_main_sink(long long * * data_ptr){long long * data=*data_ptr;printLongLongLine(data[0]);free(data);}
void b_main_sink(long long * * data);static void main(){long long * data;{long long * data_buf=(long long *)malloc(100*sizeof(long long));{size_t i;for (i=0;i < 100;i++){data_buf[i]=5L;}}data=data_buf;}b_main_sink(&data);}void b_main_sink(long long * * data_ptr){long long * data=*data_ptr;printLongLongLine(data[0]);free(data);}
void main(){char * data;data=NULL;if(global_returns_t_or_f()){{char * data_buf=new char[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf-8;}}else{{char * data_buf=new char[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf;}}{char src[100];memmove(data, src, 100*sizeof(char));data[100-1]='\0';printLine(data);}}
static void main(){char * data;data=NULL;if(global_returns_t_or_f()){{char * data_buf=new char[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf;}}else{{char * data_buf=new char[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf;}}{char src[100];memmove(data, src, 100*sizeof(char));data[100-1]='\0';printLine(data);}}
void _main(){int data;data=-1;if(global_returns_t_or_f()){fscanf (stdin, "%d", &data);}else{data=CHAR_MAX-5;}{char c=(char)data;printHexCharLine(c);}}
static void main(){int data;data=-1;if(global_returns_t_or_f()){data=CHAR_MAX-5;}else{data=CHAR_MAX-5;}{char c=(char)data;printHexCharLine(c);}}
void b_main_sink(_struct_type my_struct);void _main(){wchar_t * data;_struct_type my_struct;wchar_t data_buf[100]=L"";data=data_buf;{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;wchar_t *replace;SOCKET connect_socket=INVALID_SOCKET;size_t data_len=wcslen(data);do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;connect_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (connect_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=inet_addr("127.0.0.1");s_in.sin_port=htons(TCP_PORT);if (connect(connect_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;recv_rv=recv(connect_socket, (char *)data+data_len, (int)(100-data_len-1), 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;data[recv_rv]=L'\0';replace=wcschr(data, L'\r');if (replace) *replace=L'\0';replace=wcschr(data, L'\n');if (replace) *replace=L'\0';}while (0);if (connect_socket!=INVALID_SOCKET) CLOSE_SOCKET(connect_socket);if (wsa_data_init) WSACleanup();}my_struct.a=data;b_main_sink(my_struct);}static void main_vasink(wchar_t * data, ...){{va_list args;va_start(args, data);vwprintf(data, args);va_end(args);}}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;main_vasink(data, data);}
static void main(){wchar_t * data;_struct_type my_struct;wchar_t data_buf[100]=L"";data=data_buf;wcscpy(data, L"fixedstringtest");my_struct.a=data;b_main_sink(my_struct);}static void main_vasink(wchar_t * data, ...){{va_list args;va_start(args, data);vwprintf(data, args);va_end(args);}}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;main_vasink(data, data);}
void _main(){char * data;char data_mainbuf[50];char data_goodbuf[100];data=data_mainbuf;{char * data_copy=data;char * data=data_copy;{char dest[100];memset(dest, 'C', 100-1);memcpy(dest, data, strlen(dest)*sizeof(char));dest[100-1]='\0';printLine(dest);}}}
static void main(){char * data;char data_badbuf[50];char data_goodbuf[100];data=data_goodbuf;{char * data_copy=data;char * data=data_copy;{char dest[100];memset(dest, 'C', 100-1);memcpy(dest, data, strlen(dest)*sizeof(char));dest[100-1]='\0';printLine(dest);}}}
void b_main_sink();void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;{size_t data_len=wcslen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN(L"C:\\temp\\file.txt", L"r");if (pFile!=NULL){fgetws(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}_main_data=data;b_main_sink();}static void main_vasink(wchar_t * data, ...){{va_list args;va_start(args, data);vfwprintf(stdout, data, args);va_end(args);}}void b_main_sink(){wchar_t * data=_main_data;main_vasink(data, data);}
static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;wcscpy(data, L"fixedstringtest");_main_data=data;b_main_sink();}static void main_vasink(wchar_t * data, ...){{va_list args;va_start(args, data);vfwprintf(stdout, data, args);va_end(args);}}void b_main_sink(){wchar_t * data=_main_data;main_vasink(data, data);}
void main_source(long long * &data);void main(){long long * data;data=NULL;main_source(data);delete [] data;}void main_source(long long * &data){data=new long long[100];delete [] data;}
static void main(){long long * data;data=NULL;main_source(data);delete [] data;}void main_source(long long * &data){data=new long long[100];}
void main(){wchar_t * data;wchar_t * *data_ptr1=&data;wchar_t * *data_ptr2=&data;data=NULL;{wchar_t * data=*data_ptr1;data=new wchar_t;delete data;}{wchar_t * data=*data_ptr2;delete data;}}
static void main(){wchar_t * data;wchar_t * *data_ptr1=&data;wchar_t * *data_ptr2=&data;data=NULL;{wchar_t * data=*data_ptr1;data=new wchar_t;}{wchar_t * data=*data_ptr2;delete data;}}
void b_main_sink();void _main(){int * data;data=NULL;data=(int *)malloc(100*sizeof(int));free(data);_main_data=data;b_main_sink();}void b_main_sink(){int * data=_main_data;free(data);}
static void main(){int * data;data=NULL;data=(int *)malloc(100*sizeof(int));_main_data=data;b_main_sink();}void b_main_sink(){int * data=_main_data;free(data);}
void b_main_sink(_struct_type my_struct);void _main(){wchar_t * data;_struct_type my_struct;wchar_t data_buf[100]=L"";data=data_buf;data=L"P";my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;if (wcsncmp(PASSWORD, data, wcslen(PASSWORD))==0) printLine("Access granted");else printLine("Access denied!");}
static void main(){wchar_t * data;_struct_type my_struct;wchar_t data_buf[100]=L"";data=data_buf;data=L"P";my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;if (wcscmp(PASSWORD, data)==0) printLine("Access granted");else printLine("Access denied!");}
void b_main_sink(char * data_array[]);void _main(){char * data;char * data_array[5];char data_buf[100]="";data=data_buf;strcpy(data, BAD_OS_COMMAND);data_array[2]=data;b_main_sink(data_array);}void b_main_sink(char * data_array[]){char * data=data_array[2];system(data);}
void b_main_sink(char * data_array[]);static void main(){char * data;char * data_array[5];char data_buf[100]="";data=data_buf;strcpy(data, GOOD_OS_COMMAND);data_array[2]=data;b_main_sink(data_array);}void b_main_sink(char * data_array[]){char * data=data_array[2];system(data);}
void b_main_sink(wchar_t * data);void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;wchar_t *replace;SOCKET listen_socket=INVALID_SOCKET;SOCKET accept_socket=INVALID_SOCKET;size_t data_len=wcslen(data);do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;listen_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (listen_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=INADDR_ANY;s_in.sin_port=htons(TCP_PORT);if (bind(listen_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;if (listen(listen_socket, LISTEN_BACKLOG)==SOCKET_ERROR) break;accept_socket=accept(listen_socket, NULL, NULL);if (accept_socket==SOCKET_ERROR) break;recv_rv=recv(accept_socket, (char *)data+data_len, (int)(100-data_len-1), 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;data[recv_rv]=L'\0';replace=wcschr(data, L'\r');if (replace) *replace=L'\0';replace=wcschr(data, L'\n');if (replace) *replace=L'\0';}while (0);if (listen_socket!=INVALID_SOCKET) CLOSE_SOCKET(listen_socket);if (accept_socket!=INVALID_SOCKET) CLOSE_SOCKET(accept_socket);if (wsa_data_init) WSACleanup();}b_main_sink(data);}void c_main_sink(wchar_t * data);void b_main_sink(wchar_t * data){c_main_sink(data);}void d_main_sink(wchar_t * data);void c_main_sink(wchar_t * data){d_main_sink(data);}void d_main_sink(wchar_t * data){{wchar_t *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};EXECVP(COMMAND_INT, args);}}
void b_main_sink(wchar_t * data);static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;wcscat(data, L"*.*");b_main_sink(data);}void c_main_sink(wchar_t * data);void b_main_sink(wchar_t * data){c_main_sink(data);}void d_main_sink(wchar_t * data);void c_main_sink(wchar_t * data){d_main_sink(data);}void d_main_sink(wchar_t * data){{wchar_t *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};EXECVP(COMMAND_INT, args);}}
void _main(){wchar_t * password;wchar_t * *password_ptr1=&password;wchar_t * *password_ptr2=&password;wchar_t password_buf[100]=L"";password=password_buf;{wchar_t * password=*password_ptr1;{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;wchar_t *replace;SOCKET connect_socket=INVALID_SOCKET;size_t password_len=wcslen(password);do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;connect_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (connect_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=inet_addr("127.0.0.1");s_in.sin_port=htons(TCP_PORT);if (connect(connect_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;recv_rv=recv(connect_socket, (char*)password+password_len, (int)(100-password_len-1), 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;password[recv_rv]=L'\0';replace=wcschr(password, L'\r');if (replace) *replace=L'\0';replace=wcschr(password, L'\n');if (replace) *replace=L'\0';}while (0);if (connect_socket!=INVALID_SOCKET) CLOSE_SOCKET(connect_socket);if (wsa_data_init) WSACleanup();}}{wchar_t * password=*password_ptr2;{HANDLE pHandle;wchar_t * username=L"User";wchar_t * domain=L"Domain";if (LogonUserW( username, domain, password, LOGON32_LOGON_NETWORK, LOGON32_PROVIDER_DEFAULT, &pHandle)!=0){printLine("User logged in successfully.");CloseHandle(pHandle);}else{printLine("Unable to login.");}}}}
static void main(){wchar_t * password;wchar_t * *password_ptr1=&password;wchar_t * *password_ptr2=&password;wchar_t password_buf[100]=L"";password=password_buf;{wchar_t * password=*password_ptr1;wcscpy(password, L"Password1234!");}{wchar_t * password=*password_ptr2;{HANDLE pHandle;wchar_t * username=L"User";wchar_t * domain=L"Domain";if (LogonUserW( username, domain, password, LOGON32_LOGON_NETWORK, LOGON32_PROVIDER_DEFAULT, &pHandle)!=0){printLine("User logged in successfully.");CloseHandle(pHandle);}else{printLine("Unable to login.");}}}}
void b_main_sink(wchar_t * data_array[]);void _main(){wchar_t * data;wchar_t * data_array[5];wchar_t data_buf[FILENAME_MAX]=BASEPATH;data=data_buf;{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;wchar_t *replace;SOCKET listen_socket=INVALID_SOCKET;SOCKET accept_socket=INVALID_SOCKET;size_t data_len=wcslen(data);do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;listen_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (listen_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=INADDR_ANY;s_in.sin_port=htons(TCP_PORT);if (bind(listen_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;if (listen(listen_socket, LISTEN_BACKLOG)==SOCKET_ERROR) break;accept_socket=accept(listen_socket, NULL, NULL);if (accept_socket==SOCKET_ERROR) break;recv_rv=recv(accept_socket, (char *)data+data_len, (int)(FILENAME_MAX-data_len-1), 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;data[recv_rv]=L'\0';replace=wcschr(data, L'\r');if (replace) *replace=L'\0';replace=wcschr(data, L'\n');if (replace) *replace=L'\0';}while (0);if (listen_socket!=INVALID_SOCKET) CLOSE_SOCKET(listen_socket);if (accept_socket!=INVALID_SOCKET) CLOSE_SOCKET(accept_socket);if (wsa_data_init) WSACleanup();}data_array[2]=data;b_main_sink(data_array);}void b_main_sink(wchar_t * data_array[]){wchar_t * data=data_array[2];{FILE *file=NULL;file=FOPEN(data, L"wb+");if (file!=NULL) fclose(file);}}
void b_main_sink(wchar_t * data_array[]);static void main(){wchar_t * data;wchar_t * data_array[5];wchar_t data_buf[FILENAME_MAX]=BASEPATH;data=data_buf;wcscat(data, L"file.txt");data_array[2]=data;b_main_sink(data_array);}void b_main_sink(wchar_t * data_array[]){wchar_t * data=data_array[2];{FILE *file=NULL;file=FOPEN(data, L"wb+");if (file!=NULL) fclose(file);}}
void b_main_vasink(wchar_t * data, ...);void _main(){wchar_t * data;void (*func_ptr) (wchar_t *, ...)=b_main_vasink;wchar_t data_buf[100]=L"";data=data_buf;{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;wchar_t *replace;SOCKET connect_socket=INVALID_SOCKET;size_t data_len=wcslen(data);do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;connect_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (connect_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=inet_addr("127.0.0.1");s_in.sin_port=htons(TCP_PORT);if (connect(connect_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;recv_rv=recv(connect_socket, (char *)data+data_len, (int)(100-data_len-1), 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;data[recv_rv]=L'\0';replace=wcschr(data, L'\r');if (replace) *replace=L'\0';replace=wcschr(data, L'\n');if (replace) *replace=L'\0';}while (0);if (connect_socket!=INVALID_SOCKET) CLOSE_SOCKET(connect_socket);if (wsa_data_init) WSACleanup();}func_ptr(data, data);}void b_main_vasink(wchar_t * data, ...){{wchar_t dest[100]=L"";va_list args;va_start(args, data);_vsnwprintf(dest, 100-1, data, args);va_end(args);printWLine(dest);}}
static void main(){wchar_t * data;void (*func_ptr) (wchar_t *, ...)=b_main_vasink;wchar_t data_buf[100]=L"";data=data_buf;wcscpy(data, L"fixedstringtest");func_ptr(data);}void b_main_vasink(wchar_t * data, ...){{wchar_t dest[100]=L"";va_list args;va_start(args, data);_vsnwprintf(dest, 100-1, data, args);va_end(args);printWLine(dest);}}
static void main_sink(){int * data=main_data;free(data);}void main(){int * data;data=NULL;data=new int;main_data=data;main_sink();}
static void main_sink(){int * data=main_data;free(data);}static void main(){int * data;data=NULL;data=(int *)malloc(100*sizeof(int));main_data=data;main_sink();}
void b_main_sink(_struct_type my_struct);void _main(){wchar_t * data;_struct_type my_struct;wchar_t data_buf[250]=L"PATH=";data=data_buf;{size_t data_len=wcslen(data);if(250-data_len > 1){fgetws(data+data_len, (int)(250-data_len), stdin);data_len=wcslen(data);if (data_len > 0){data[data_len-1]=L'\0';}}}my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;PUTENV(data);}
void b_main_sink(_struct_type my_struct);static void main(){wchar_t * data;_struct_type my_struct;wchar_t data_buf[250]=L"PATH=";data=data_buf;wcscat(data, NEW_PATH);my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;PUTENV(data);}
void b_main_sink(int * data);void _main(){int * data;void (*func_ptr) (int *)=b_main_sink;data=NULL;data=(int *)malloc(100*sizeof(int));data[0]=5;printIntLine(data[0]);func_ptr(data);}void b_main_sink(int * data){}
static void main(){int * data;void (*func_ptr) (int *)=b_main_sink;data=NULL;{int data_goodbuf[100];data=data_goodbuf;data[0]=5;printIntLine(data[0]);}func_ptr(data);}void b_main_sink(int * data){}
void main(){struct _twoints * data;data=NULL;data=new struct _twoints[100];data[0].a=0;data[0].b=0;printStructLine((twoints *)&data[0]);{struct _twoints * data_copy=data;struct _twoints * data=data_copy;}}
static void main(){struct _twoints * data;data=NULL;{struct _twoints data_goodbuf[100];data=data_goodbuf;data[0].a=0;data[0].b=0;printStructLine((twoints *)&data[0]);}{struct _twoints * data_copy=data;struct _twoints * data=data_copy;}}
static void main_sink(char * data){if (strncmp(PASSWORD, data, strlen(PASSWORD))==0) printLine("Access granted");else printLine("Access denied!");}void _main(){char * data;void (*func_ptr) (char *)=main_sink;char data_buf[100]="";data=data_buf;{size_t data_len=strlen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN("C:\\temp\\file.txt", "r");if (pFile!=NULL){fgets(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}func_ptr(data);}
static void main_sink(char * data){if (strncmp(PASSWORD, data, strlen(PASSWORD))==0) printLine("Access granted");else printLine("Access denied!");}static void main(){char * data;void (*func_ptr) (char *)=main_sink;char data_buf[100]="";data=data_buf;data=PASSWORD;func_ptr(data);}
void main_sink();void main(){twoints * data;{static twoints data_buf[100];{size_t i;for (i=0;i < 100;i++){data_buf[i].a=1;data_buf[i].b=1;}}data=data_buf;}_main_data=data;main_sink();}void main_sink(){twoints * data=_main_data;printStructLine(&data[0]);delete [] data;}
void main_sink();static void main(){twoints * data;{twoints * data_buf=new twoints[100];{size_t i;for (i=0;i < 100;i++){data_buf[i].a=1;data_buf[i].b=1;}}data=data_buf;}_main_data=data;main_sink();}void main_sink(){twoints * data=_main_data;printStructLine(&data[0]);delete [] data;}
void b_main_sink(wchar_t * data);void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;{size_t data_len=wcslen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN(L"C:\\temp\\file.txt", L"r");if (pFile!=NULL){fgetws(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}b_main_sink(data);}void c_main_sink(wchar_t * data);void b_main_sink(wchar_t * data){c_main_sink(data);}void d_main_sink(wchar_t * data);void c_main_sink(wchar_t * data){d_main_sink(data);}void d_main_sink(wchar_t * data){_wspawnlp(_P_WAIT, COMMAND_INT, COMMAND_INT, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL);}
void b_main_sink(wchar_t * data);static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;wcscat(data, L"*.*");b_main_sink(data);}void c_main_sink(wchar_t * data);void b_main_sink(wchar_t * data){c_main_sink(data);}void d_main_sink(wchar_t * data);void c_main_sink(wchar_t * data){d_main_sink(data);}void d_main_sink(wchar_t * data){_wspawnlp(_P_WAIT, COMMAND_INT, COMMAND_INT, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL);}
void b_main_sink(void * void_data_ptr);void _main(){int data;data=-1;data=0;b_main_sink(&data);}void b_main_sink(void * void_data_ptr){int * data_ptr=(int *)void_data_ptr;int data=(*data_ptr);printIntLine(100/data);}
void b_main_sink(void * void_data_ptr);static void main(){int data;data=-1;data=7;b_main_sink(&data);}void b_main_sink(void * void_data_ptr){int * data_ptr=(int *)void_data_ptr;int data=(*data_ptr);printIntLine(100/data);}
void _main(){int * data;_union_type my_union;int data_mainbuf[50];int data_goodbuf[100];data=data_mainbuf;my_union.a=data;{int * data=my_union.b;{{size_t i;for (i=0;i < 100;i++){data[i]=src[i];}printIntLine(data[0]);}}}}
static void main(){int * data;_union_type my_union;int data_badbuf[50];int data_goodbuf[100];data=data_goodbuf;my_union.a=data;{int * data=my_union.b;{{size_t i;for (i=0;i < 100;i++){data[i]=src[i];}printIntLine(data[0]);}}}}
void b_main_sink(twoints * data);void _main(){twoints * data;data=NULL;data=(twoints *)malloc(50*sizeof(twoints));b_main_sink(data);}void b_main_sink(twoints * data){{twoints src[100];{size_t i;for (i=0;i < 100;i++){src[i].a=0;src[i].b=0;}}memmove(data, src, 100*sizeof(twoints));printStructLine(&data[0]);free(data);}}
void b_main_sink(twoints * data);static void main(){twoints * data;data=NULL;data=(twoints *)malloc(100*sizeof(twoints));b_main_sink(data);}void b_main_sink(twoints * data){{twoints src[100];{size_t i;for (i=0;i < 100;i++){src[i].a=0;src[i].b=0;}}memmove(data, src, 100*sizeof(twoints));printStructLine(&data[0]);free(data);}}
void b_main_sink(int * data);void _main(){int * data;data=NULL;data=(int *)malloc(10);b_main_sink(data);}void b_main_sink(int * data){{int data_src[10]={0};size_t i;for (i=0;i < 10;i++){data[i]=data_src[i];}printIntLine(data[0]);free(data);}}
void b_main_sink(int * data);static void main(){int * data;data=NULL;data=(int *)malloc(10*sizeof(int));b_main_sink(data);}void b_main_sink(int * data){{int data_src[10]={0};size_t i;for (i=0;i < 10;i++){data[i]=data_src[i];}printIntLine(data[0]);free(data);}}
static unsigned int main_source(unsigned int data){data=0;return data;}void _main(){unsigned int data;data=0;data=main_source(data);{unsigned int result=data-1;printUnsignedLine(result);}}
static unsigned int main_source(unsigned int data){data=0;return data;}static void main(){unsigned int data;data=0;data=main_source(data);{unsigned int result=0;if (data > 0){result=data-1;printUnsignedLine(result);}else{printLine("Input value is too small to perform arithmetic safely.");}}}
void _main(){wchar_t * data;data=NULL;data=(wchar_t *)malloc(10*sizeof(wchar_t));{wchar_t * data_copy=data;wchar_t * data=data_copy;{wchar_t data_src[10+1]=SRC_STRING;memcpy(data, data_src, wcslen(data_src)*sizeof(wchar_t));printWLine(data);free(data);}}}
static void main(){wchar_t * data;data=NULL;data=(wchar_t *)malloc((10+1)*sizeof(wchar_t));{wchar_t * data_copy=data;wchar_t * data=data_copy;{wchar_t data_src[10+1]=SRC_STRING;memcpy(data, data_src, wcslen(data_src)*sizeof(wchar_t));printWLine(data);free(data);}}}
static void main_sink(char * data){{int i, n, v;if (sscanf(data, "%d", &n)==1){v=0;for (i=0;i < n;i++){}printIntLine(v);}}}void _main(){char * data;void (*func_ptr) (char *)=main_sink;char data_buf[100]="";data=data_buf;{size_t data_len=strlen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN("C:\\temp\\file.txt", "r");if (pFile!=NULL){fgets(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}func_ptr(data);}
static void main_sink(char * data){{int i, n, v;if (sscanf(data, "%d", &n)==1){v=0;for (i=0;i < n;i++){}printIntLine(v);}}}static void main(){char * data;void (*func_ptr) (char *)=main_sink;char data_buf[100]="";data=data_buf;strcpy(data, "15");func_ptr(data);}
static void main_sink(char * data){{char dest[100];strncpy(dest, data, strlen(dest));dest[100-1]='\0';printLine(dest);}}void _main(){char * data;void (*func_ptr) (char *)=main_sink;data=NULL;{char * data_buf=(char *)malloc(100*sizeof(char));memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf-8;}func_ptr(data);}
static void main_sink(char * data){{char dest[100];strncpy(dest, data, strlen(dest));dest[100-1]='\0';printLine(dest);}}static void main(){char * data;void (*func_ptr) (char *)=main_sink;data=NULL;{char * data_buf=(char *)malloc(100*sizeof(char));memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf;}func_ptr(data);}
static wchar_t * main_source(wchar_t * data){{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;wchar_t *replace;SOCKET listen_socket=INVALID_SOCKET;SOCKET accept_socket=INVALID_SOCKET;size_t data_len=wcslen(data);do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;listen_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (listen_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=INADDR_ANY;s_in.sin_port=htons(TCP_PORT);if (bind(listen_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;if (listen(listen_socket, LISTEN_BACKLOG)==SOCKET_ERROR) break;accept_socket=accept(listen_socket, NULL, NULL);if (accept_socket==SOCKET_ERROR) break;recv_rv=recv(accept_socket, (char *)data+data_len, (int)(100-data_len-1), 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;data[recv_rv]=L'\0';replace=wcschr(data, L'\r');if (replace) *replace=L'\0';replace=wcschr(data, L'\n');if (replace) *replace=L'\0';}while (0);if (listen_socket!=INVALID_SOCKET) CLOSE_SOCKET(listen_socket);if (accept_socket!=INVALID_SOCKET) CLOSE_SOCKET(accept_socket);if (wsa_data_init) WSACleanup();}return data;}void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;data=main_source(data);{HMODULE hModule;hModule=LoadLibraryW(data);if (hModule!=NULL){FreeLibrary(hModule);printLine("Library loaded and freed successfully");}else{printLine("Unable to load library");}}}
static wchar_t * main_source(wchar_t * data){wcscpy(data, L"C:\\Windows\\System32\\winsrv.dll");return data;}static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;data=main_source(data);{HMODULE hModule;hModule=LoadLibraryW(data);if (hModule!=NULL){FreeLibrary(hModule);printLine("Library loaded and freed successfully");}else{printLine("Unable to load library");}}}
void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;if(global_returns_t_or_f()){{size_t data_len=wcslen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN(L"C:\\temp\\file.txt", L"r");if (pFile!=NULL){fgetws(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}}else{wcscat(data, L"*.*");}EXECLP(COMMAND_INT, COMMAND_INT, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL);}
static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;if(global_returns_t_or_f()){wcscat(data, L"*.*");}else{wcscat(data, L"*.*");}EXECLP(COMMAND_INT, COMMAND_INT, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL);}
void b_main_sink(int data);void _main(){int data;data=RAND32();b_main_sink(data);}void b_main_sink(int data){{char data_buf[10]="AAAAAAAAA";if (data >=0){printHexCharLine(data_buf[data]);}else{printLine("ERROR: Array index is negative");}}}
static void main(){int data;data=7;b_main_sink(data);}void b_main_sink(int data){{char data_buf[10]="AAAAAAAAA";if (data >=0){printHexCharLine(data_buf[data]);}else{printLine("ERROR: Array index is negative");}}}
void _main(){unsigned char data;data=' ';data=(unsigned char)rand();{unsigned char result=data * 2;printHexUnsignedCharLine(result);}}
static void main(){unsigned char data;data=' ';data=5;{unsigned char result=data * 2;printHexUnsignedCharLine(result);}}
char * main_source(char * data);void main(){char * data;data=NULL;data=main_source(data);}char * main_source(char * data){data=new char[100];strcpy(data, "A String");printLine(data);return data;}
static void main(){char * data;data=NULL;data=main_source(data);}char * main_source(char * data){{char data_goodbuf[100];data=data_goodbuf;strcpy(data, "A String");printLine(data);}return data;}
static void main_sink(int data){printIntLine(100/data);}void _main(){int data;void (*func_ptr) (int)=main_sink;data=-1;data=RAND32();func_ptr(data);}
static void main_sink(int data){printIntLine(100/data);}static void main(){int data;void (*func_ptr) (int)=main_sink;data=-1;data=7;func_ptr(data);}
void _main(){wchar_t * data;wchar_t * data_buf=(wchar_t *)ALLOCA(100*sizeof(wchar_t));data=data_buf;{wchar_t dest[50]=L"";memmove(dest, data, wcslen(data)*sizeof(wchar_t));printWLine(data);}}
static void main(){wchar_t * data;wchar_t * data_buf=(wchar_t *)ALLOCA(100*sizeof(wchar_t));data=data_buf;{wchar_t dest[50]=L"";memmove(dest, data, wcslen(data)*sizeof(wchar_t));printWLine(data);}}
void main(){twoints * data;union_type my_union;data=NULL;data=NULL;data=(twoints *)realloc(data, 100*sizeof(twoints));my_union.a=data;{twoints * data=my_union.b;delete data;}}
static void main(){twoints * data;union_type my_union;data=NULL;data=new twoints;my_union.a=data;{twoints * data=my_union.b;delete data;}}
void _main(){int data;_union_type my_union;data=-1;data=RAND32();my_union.a=data;{int data=my_union.b;printIntLine(100 % data);}}
static void main(){int data;_union_type my_union;data=-1;data=7;my_union.a=data;{int data=my_union.b;printIntLine(100 % data);}}
void main_sink(void * void_data_ptr);void main(){char * data;data=NULL;{char * data_buf=new char[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf-8;}main_sink(&data);}void main_sink(void * void_data_ptr){char * * data_ptr=(char * *)void_data_ptr;char * data=(*data_ptr);{char src[100];memmove(data, src, 100*sizeof(char));data[100-1]='\0';printLine(data);}}
void main_sink(void * void_data_ptr);static void main(){char * data;data=NULL;{char * data_buf=new char[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf;}main_sink(&data);}void main_sink(void * void_data_ptr){char * * data_ptr=(char * *)void_data_ptr;char * data=(*data_ptr);{char src[100];memmove(data, src, 100*sizeof(char));data[100-1]='\0';printLine(data);}}
static void main_sink(){wchar_t * data=_main_data;{wchar_t dest[50]=L"";wcsncpy(dest, data, wcslen(data));printWLine(data);}}void _main(){wchar_t * data;wchar_t data_buf[100];data=data_buf;_main_data=data;main_sink();}
static void main_sink(){wchar_t * data=_main_data;{wchar_t dest[50]=L"";wcsncpy(dest, data, wcslen(data));printWLine(data);}}static void main(){wchar_t * data;wchar_t data_buf[100];data=data_buf;_main_data=data;main_sink();}
static void main_vasinkb(char * data, ...){{char dest[100]="";va_list args;va_start(args, data);vsnprintf(dest, 100-1, data, args);va_end(args);printLine(dest);}}static void main_vasinkg(char * data, ...){{char dest[100]="";va_list args;va_start(args, data);vsnprintf(dest, 100-1, "%s", args);va_end(args);printLine(dest);}}void _main(){char * data;char data_buf[100]="";data=data_buf;{size_t data_len=strlen(data);char * environment=GETENV(ENV_VARIABLE);if (environment!=NULL){strncat(data+data_len, environment, 100-data_len-1);}}main_vasinkb(data, data);}
static void main_vasinkb(char * data, ...){{char dest[100]="";va_list args;va_start(args, data);vsnprintf(dest, 100-1, data, args);va_end(args);printLine(dest);}}static void main_vasinkg(char * data, ...){{char dest[100]="";va_list args;va_start(args, data);vsnprintf(dest, 100-1, "%s", args);va_end(args);printLine(dest);}}static void main(){char * data;char data_buf[100]="";data=data_buf;{size_t data_len=strlen(data);char * environment=GETENV(ENV_VARIABLE);if (environment!=NULL){strncat(data+data_len, environment, 100-data_len-1);}}main_vasinkg(data, data);}
void _main(){int * data;_union_type my_union;data=(int *)calloc(100, sizeof(int));my_union.a=data;{int * data=my_union.b;data[0]=5;printIntLine(data[0]);free(data);}}
static void main(){int * data;_union_type my_union;data=(int *)calloc(100, sizeof(int));my_union.a=data;{int * data=my_union.b;if (data!=NULL){data[0]=5;printIntLine(data[0]);free(data);}}}
void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;{size_t data_len=wcslen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN(L"C:\\temp\\file.txt", L"r");if (pFile!=NULL){fgetws(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}if (wcsncmp(PASSWORD, data, wcslen(PASSWORD))==0) printLine("Access granted");else printLine("Access denied!");}
static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;{size_t data_len=wcslen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN(L"C:\\temp\\file.txt", L"r");if (pFile!=NULL){fgetws(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}if (wcscmp(PASSWORD, data)==0) printLine("Access granted");else printLine("Access denied!");}
void _main(){short data;data=0;{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;SOCKET connect_socket=INVALID_SOCKET;char input_buf[CHAR_ARRAY_SIZE];do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;connect_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (connect_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=inet_addr("127.0.0.1");s_in.sin_port=htons(TCP_PORT);if (connect(connect_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;recv_rv=recv(connect_socket, input_buf, CHAR_ARRAY_SIZE, 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;data=(short)atoi(input_buf);}while (0);if (connect_socket!=INVALID_SOCKET) CLOSE_SOCKET(connect_socket);if (wsa_data_init) WSACleanup();}{char src[100];char dest[100]="";memset(src, 'A', 100-1);src[100-1]='\0';if (data < 100){memmove(dest, src, data);}printLine(dest);}}
static void main(){short data;data=0;data=100-1;{char src[100];char dest[100]="";memset(src, 'A', 100-1);src[100-1]='\0';if (data < 100){memmove(dest, src, data);}printLine(dest);}}
static void main_sink(wchar_t * data){delete [] data;}void main(){wchar_t * data;void (*func_ptr) (wchar_t *)=main_sink;data=NULL;data=new wchar_t[100];delete [] data;func_ptr(data);}
static void main_sink(wchar_t * data){delete [] data;}static void main(){wchar_t * data;void (*func_ptr) (wchar_t *)=main_sink;data=NULL;data=new wchar_t[100];func_ptr(data);}
void b_main_sink(wchar_t * * data_ptr);void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;{size_t data_len=wcslen(data);if(100-data_len > 1){fgetws(data+data_len, (int)(100-data_len), stdin);data_len=wcslen(data);if (data_len > 0){data[data_len-1]=L'\0';}}}b_main_sink(&data);}void b_main_sink(wchar_t * * data_ptr){wchar_t * data=*data_ptr;if (wcsncmp(PASSWORD, data, wcslen(PASSWORD))==0) printLine("Access granted");else printLine("Access denied!");}
static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;data=PASSWORD;b_main_sink(&data);}void b_main_sink(wchar_t * * data_ptr){wchar_t * data=*data_ptr;if (wcsncmp(PASSWORD, data, wcslen(PASSWORD))==0) printLine("Access granted");else printLine("Access denied!");}
void main_sink_b(long long * data);void main(){long long * data;data=NULL;data=(long long *)malloc(100*sizeof(long long));main_sink_b(data);}void main_sink_c(long long * data);void main_sink_b(long long * data){main_sink_c(data);}void main_sink_d(long long * data);void main_sink_c(long long * data){main_sink_d(data);}void main_sink_e(long long * data);void main_sink_d(long long * data){main_sink_e(data);}void main_sink_e(long long * data){delete data;}
static void main(){long long * data;data=NULL;data=new long long;main_sink_b(data);}void main_sink_b(long long * data){main_sink_c(data);}void main_sink_c(long long * data){main_sink_d(data);}void main_sink_d(long long * data){main_sink_e(data);}void main_sink_e(long long * data){delete data;}
void b_main_sink(_struct_type my_struct);void _main(){int data;_struct_type my_struct;data=-1;data=SHRT_MAX+5;my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){int data=my_struct.a;{char c=(char)data;printHexCharLine(c);}}
void b_main_sink(_struct_type my_struct);static void main(){int data;_struct_type my_struct;data=-1;data=CHAR_MAX-5;my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){int data=my_struct.a;{char c=(char)data;printHexCharLine(c);}}
void _main(){unsigned int data;data=0;data=UINT_MAX;{unsigned int result=data * data;printUnsignedLine(result);}}
static void main(){unsigned int data;data=0;data=UINT_MAX;{unsigned int result=-1;if (data <=(unsigned int)sqrt((unsigned int)UINT_MAX)){result=data * data;printUnsignedLine(result);}else{printLine("Input value is too large to perform arithmetic safely.");}}}
void b_main_sink(int data_array[]);void _main(){int data;int data_array[5];data=-1;{char input_buf[CHAR_ARRAY_SIZE]="";fgets(input_buf, CHAR_ARRAY_SIZE, stdin);data=atoi(input_buf);}data_array[2]=data;b_main_sink(data_array);}void b_main_sink(int data_array[]){int data=data_array[2];{int result=data-1;printIntLine(result);}}
static void main(){int data;int data_array[5];data=-1;{char input_buf[CHAR_ARRAY_SIZE]="";fgets(input_buf, CHAR_ARRAY_SIZE, stdin);data=atoi(input_buf);}data_array[2]=data;b_main_sink(data_array);}void b_main_sink(int data_array[]){int data=data_array[2];{int result=0;if (data > INT_MIN){result=data-1;printIntLine(result);}else{printLine("Input value is too small to perform arithmetic safely.");}}}
wchar_t * b_main_source(wchar_t * data);void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;data=b_main_source(data);wprintf(data);}wchar_t * b_main_source(wchar_t * data){{size_t data_len=wcslen(data);if(100-data_len > 1){fgetws(data+data_len, (int)(100-data_len), stdin);data_len=wcslen(data);if (data_len > 0){data[data_len-1]=L'\0';}}}return data;}
static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;data=b_main_source(data);wprintf(L"%s\n", data);}wchar_t * b_main_source(wchar_t * data){{size_t data_len=wcslen(data);if(100-data_len > 1){fgetws(data+data_len, (int)(100-data_len), stdin);data_len=wcslen(data);if (data_len > 0){data[data_len-1]=L'\0';}}}return data;}
wchar_t * b_main_source(wchar_t * data);void _main(){wchar_t * data;data=NULL;data=b_main_source(data);free(data);}wchar_t * b_main_source(wchar_t * data){data=(wchar_t *)malloc(100*sizeof(wchar_t));free(data);return data;}
static void main(){wchar_t * data;data=NULL;data=b_main_source(data);}wchar_t * b_main_source(wchar_t * data){data=(wchar_t *)malloc(100*sizeof(wchar_t));free(data);return data;}
static void main_sink(char * data){if (strncmp(PASSWORD, data, strlen(PASSWORD))==0) printLine("Access granted");else printLine("Access denied!");}void _main(){char * data;char data_buf[100]="";data=data_buf;{size_t data_len=strlen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN("C:\\temp\\file.txt", "r");if (pFile!=NULL){fgets(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}main_sink(data);}
static void main_sink(char * data){if (strcmp(PASSWORD, data)==0) printLine("Access granted");else printLine("Access denied!");}static void main(){char * data;char data_buf[100]="";data=data_buf;{size_t data_len=strlen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN("C:\\temp\\file.txt", "r");if (pFile!=NULL){fgets(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}main_sink(data);}
static wchar_t * main_source(wchar_t * data){{size_t data_len=wcslen(data);if(100-data_len > 1){fgetws(data+data_len, (int)(100-data_len), stdin);data_len=wcslen(data);if (data_len > 0){data[data_len-1]=L'\0';}}}return data;}void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;data=main_source(data);fwprintf(stdout, data);}
static wchar_t * main_source(wchar_t * data){wcscpy(data, L"fixedstringtest");return data;}static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;data=main_source(data);fwprintf(stdout, data);}
static void main_sink(long long * data){delete [] data;}void main(){long long * data;void (*func_ptr) (long long *)=main_sink;data=NULL;data=(long long *)calloc(100, sizeof(long long));func_ptr(data);}
static void main_sink(long long * data){delete [] data;}static void main(){long long * data;void (*func_ptr) (long long *)=main_sink;data=NULL;data=new long long[100];func_ptr(data);}
static void main_vasink(char * data, ...){{va_list args;va_start(args, data);vfprintf(stdout, data, args);va_end(args);}}void _main(){char * data;char data_buf[100]="";data=data_buf;{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;char *replace;SOCKET connect_socket=INVALID_SOCKET;size_t data_len=strlen(data);do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;connect_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (connect_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=inet_addr("127.0.0.1");s_in.sin_port=htons(TCP_PORT);if (connect(connect_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;recv_rv=recv(connect_socket, (char *)data+data_len, (int)(100-data_len-1), 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;data[recv_rv]='\0';replace=strchr(data, '\r');if (replace) *replace='\0';replace=strchr(data, '\n');if (replace) *replace='\0';}while (0);if (connect_socket!=INVALID_SOCKET) CLOSE_SOCKET(connect_socket);if (wsa_data_init) WSACleanup();}main_vasink(data, data);}
static void main_vasink(char * data, ...){{va_list args;va_start(args, data);vfprintf(stdout, "%s", args);va_end(args);}}static void main(){char * data;char data_buf[100]="";data=data_buf;{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;char *replace;SOCKET connect_socket=INVALID_SOCKET;size_t data_len=strlen(data);do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;connect_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (connect_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=inet_addr("127.0.0.1");s_in.sin_port=htons(TCP_PORT);if (connect(connect_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;recv_rv=recv(connect_socket, (char *)data+data_len, (int)(100-data_len-1), 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;data[recv_rv]='\0';replace=strchr(data, '\r');if (replace) *replace='\0';replace=strchr(data, '\n');if (replace) *replace='\0';}while (0);if (connect_socket!=INVALID_SOCKET) CLOSE_SOCKET(connect_socket);if (wsa_data_init) WSACleanup();}main_vasink(data, data);}
static void main_sink(){twointsclass * data=main_data;delete [] data;}void main(){twointsclass * data;data=NULL;data=new twointsclass[100];delete [] data;main_data=data;main_sink();}
static void main_sink(){twointsclass * data=main_data;}static void main(){twointsclass * data;data=NULL;data=new twointsclass[100];delete [] data;main_data=data;main_sink();}
void b_main_sink(wchar_t * data);void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;{size_t data_len=wcslen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN(L"C:\\temp\\file.txt", L"r");if (pFile!=NULL){fgetws(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}b_main_sink(data);}void c_main_sink(wchar_t * data);void b_main_sink(wchar_t * data){c_main_sink(data);}void c_main_sink(wchar_t * data){{wchar_t *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};_wspawnvp(_P_WAIT, COMMAND_INT, args);}}
void b_main_sink(wchar_t * data);static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;wcscat(data, L"*.*");b_main_sink(data);}void c_main_sink(wchar_t * data);void b_main_sink(wchar_t * data){c_main_sink(data);}void c_main_sink(wchar_t * data){{wchar_t *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};_wspawnvp(_P_WAIT, COMMAND_INT, args);}}
void b_main_sink(twoints * * data_ptr);void _main(){twoints * data;b_main_sink(&data);}void b_main_sink(twoints * * data_ptr){twoints * data=*data_ptr;printIntLine(data->a);printIntLine(data->b);}
static void main(){twoints * data;b_main_sink(&data);}void b_main_sink(twoints * * data_ptr){twoints * data=*data_ptr;data=(twoints *)malloc(sizeof(twoints));data->a=5;data->b=6;printIntLine(data->a);printIntLine(data->b);}
void _main(){wchar_t * data;data=(wchar_t *)malloc(100);{wchar_t * data_copy=data;wchar_t * data=data_copy;wcscpy(data, L"Initialize");printWLine(data);free(data);}}
static void main(){wchar_t * data;data=(wchar_t *)malloc(100);{wchar_t * data_copy=data;wchar_t * data=data_copy;if (data!=NULL){wcscpy(data, L"Initialize");printWLine(data);free(data);}}}
void b_main_sink(int count);void _main(){int count;count=-1;{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;SOCKET listen_socket=INVALID_SOCKET;SOCKET accept_socket=INVALID_SOCKET;char input_buf[CHAR_ARRAY_SIZE];do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;listen_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (listen_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=INADDR_ANY;s_in.sin_port=htons(TCP_PORT);if (bind(listen_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;if (listen(listen_socket, LISTEN_BACKLOG)==SOCKET_ERROR) break;accept_socket=accept(listen_socket, NULL, NULL);if (accept_socket==SOCKET_ERROR) break;recv_rv=recv(accept_socket, input_buf, CHAR_ARRAY_SIZE, 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;count=atoi(input_buf);}while (0);if (listen_socket!=INVALID_SOCKET) CLOSE_SOCKET(listen_socket);if (accept_socket!=INVALID_SOCKET) CLOSE_SOCKET(accept_socket);if (wsa_data_init) WSACleanup();}b_main_sink(count);}void c_main_sink(int count);void b_main_sink(int count){c_main_sink(count);}void d_main_sink(int count);void c_main_sink(int count){d_main_sink(count);}void d_main_sink(int count){{size_t i=0;for (i=0;i < (size_t)count;i++){printLine("Hello");}}}
static void main(){int count;count=-1;count=20;b_main_sink(count);}void b_main_sink(int count){c_main_sink(count);}void c_main_sink(int count){d_main_sink(count);}void d_main_sink(int count){{size_t i=0;for (i=0;i < (size_t)count;i++){printLine("Hello");}}}
void main_sink(void * void_data_ptr);void main(){long long * data;data=NULL;data=(long long *)calloc(100, sizeof(long long));main_sink(&data);}void main_sink(void * void_data_ptr){long long * * data_ptr=(long long * *)void_data_ptr;long long * data=(*data_ptr);delete [] data;}
static void main(){long long * data;data=NULL;data=(long long *)calloc(100, sizeof(long long));main_sink(&data);}void main_sink(void * void_data_ptr){long long * * data_ptr=(long long * *)void_data_ptr;long long * data=(*data_ptr);free(data);}
void b_main_sink(_struct_type my_struct);void _main(){wchar_t * data;_struct_type my_struct;wchar_t data_mainbuf[50];wchar_t data_goodbuf[100];data=data_mainbuf;my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;{wchar_t src[100];wcscpy(data, src);printWLine(data);}}
void b_main_sink(_struct_type my_struct);static void main(){wchar_t * data;_struct_type my_struct;wchar_t data_badbuf[50];wchar_t data_goodbuf[100];data=data_goodbuf;my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;{wchar_t src[100];wcscpy(data, src);printWLine(data);}}
void main_sink_b(twoints * data);void main(){twoints * data;data=NULL;data=(twoints *)malloc(100*sizeof(twoints));main_sink_b(data);}void main_sink_c(twoints * data);void main_sink_b(twoints * data){main_sink_c(data);}void main_sink_d(twoints * data);void main_sink_c(twoints * data){main_sink_d(data);}void main_sink_e(twoints * data);void main_sink_d(twoints * data){main_sink_e(data);}void main_sink_e(twoints * data){delete data;}
static void main(){twoints * data;data=NULL;data=new twoints;main_sink_b(data);}void main_sink_b(twoints * data){main_sink_c(data);}void main_sink_c(twoints * data){main_sink_d(data);}void main_sink_d(twoints * data){main_sink_e(data);}void main_sink_e(twoints * data){delete data;}
void b_main_sink(int data);void _main(){int data;data=-1;data=0;b_main_sink(data);}void b_main_sink(int data){printIntLine(100 % data);}
void b_main_sink(int data);static void main(){int data;data=-1;data=7;b_main_sink(data);}void b_main_sink(int data){printIntLine(100 % data);}
void b_main_sink(_struct_type my_struct);void _main(){twoints * data;_struct_type my_struct;data=NULL;data=(twoints *)malloc(100*sizeof(twoints));data[0].a=0;data[0].b=0;printStructLine(&data[0]);my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){twoints * data=my_struct.a;}
static void main(){twoints * data;_struct_type my_struct;data=NULL;data=(twoints *)malloc(100*sizeof(twoints));data[0].a=0;data[0].b=0;printStructLine(&data[0]);my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){twoints * data=my_struct.a;free(data);}
void main_sink_b(char * data);void main(){char * data;{static char data_buf[100];data=data_buf;}main_sink_b(data);}void main_sink_c(char * data);void main_sink_b(char * data){main_sink_c(data);}void main_sink_d(char * data);void main_sink_c(char * data){main_sink_d(data);}void main_sink_e(char * data);void main_sink_d(char * data){main_sink_e(data);}void main_sink_e(char * data){printLine(data);delete [] data;}
void main_sink_b(char * data);static void main(){char * data;{char * data_buf=new char[100];data=data_buf;}main_sink_b(data);}void main_sink_c(char * data);void main_sink_b(char * data){main_sink_c(data);}void main_sink_d(char * data);void main_sink_c(char * data){main_sink_d(data);}void main_sink_e(char * data);void main_sink_d(char * data){main_sink_e(data);}void main_sink_e(char * data){printLine(data);delete [] data;}
void main_sink_b(char * data);void main(){char * data;data=NULL;data=(char *)malloc(100*sizeof(char));main_sink_b(data);}void main_sink_c(char * data);void main_sink_b(char * data){main_sink_c(data);}void main_sink_d(char * data);void main_sink_c(char * data){main_sink_d(data);}void main_sink_e(char * data);void main_sink_d(char * data){main_sink_e(data);}void main_sink_e(char * data){delete data;}
static void main(){char * data;data=NULL;data=new char;main_sink_b(data);}void main_sink_b(char * data){main_sink_c(data);}void main_sink_c(char * data){main_sink_d(data);}void main_sink_d(char * data){main_sink_e(data);}void main_sink_e(char * data){delete data;}
void _main_sink(char * data){{char src[100];memcpy(data, src, 100*sizeof(char));data[100-1]='\0';printLine(data);}}void _main(){char * data;char * data_buf=(char *)ALLOCA(100*sizeof(char));memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf-8;_main_sink(data);}
void _main_sink(char * data){{char src[100];memcpy(data, src, 100*sizeof(char));data[100-1]='\0';printLine(data);}}static void main(){char * data;char * data_buf=(char *)ALLOCA(100*sizeof(char));memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf;_main_sink(data);}
void b_main_sink(wchar_t * data);void _main(){wchar_t * data;wchar_t data_buf[100]=FULL_COMMAND;data=data_buf;{size_t data_len=wcslen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN(L"C:\\temp\\file.txt", L"r");if (pFile!=NULL){fgetws(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}b_main_sink(data);}void c_main_sink(wchar_t * data);void b_main_sink(wchar_t * data){c_main_sink(data);}void d_main_sink(wchar_t * data);void c_main_sink(wchar_t * data){d_main_sink(data);}void d_main_sink(wchar_t * data){{FILE *pipe;pipe=POPEN(data, L"wb");if (pipe!=NULL) PCLOSE(pipe);}}
void b_main_sink(wchar_t * data);static void main(){wchar_t * data;wchar_t data_buf[100]=FULL_COMMAND;data=data_buf;wcscat(data, L"*.*");b_main_sink(data);}void c_main_sink(wchar_t * data);void b_main_sink(wchar_t * data){c_main_sink(data);}void d_main_sink(wchar_t * data);void c_main_sink(wchar_t * data){d_main_sink(data);}void d_main_sink(wchar_t * data){{FILE *pipe;pipe=POPEN(data, L"wb");if (pipe!=NULL) PCLOSE(pipe);}}
void main(){long long * data;long long * *data_ptr1=&data;long long * *data_ptr2=&data;data=NULL;{long long * data=*data_ptr1;data=new long long[50];}{long long * data=*data_ptr2;{memcpy(data, src, 100*sizeof(long long));printLongLongLine(data[0]);delete [] data;}}}
static void main(){long long * data;long long * *data_ptr1=&data;long long * *data_ptr2=&data;data=NULL;{long long * data=*data_ptr1;data=new long long[100];}{long long * data=*data_ptr2;{memcpy(data, src, 100*sizeof(long long));printLongLongLine(data[0]);delete [] data;}}}
void b_main_sink(int data);void _main(){int data;{WSADATA wsa_data;int wsa_data_init=0;int recv_rv;struct sockaddr_in s_in;SOCKET listen_socket=INVALID_SOCKET;SOCKET accept_socket=INVALID_SOCKET;char input_buf[CHAR_ARRAY_SIZE];do{if (WSAStartup(MAKEWORD(2,2), &wsa_data)!=NO_ERROR) break;wsa_data_init=1;listen_socket=socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);if (listen_socket==INVALID_SOCKET) break;memset(&s_in, 0, sizeof(s_in));s_in.sin_family=AF_INET;s_in.sin_addr.s_addr=INADDR_ANY;s_in.sin_port=htons(TCP_PORT);if (bind(listen_socket, (struct sockaddr*)&s_in, sizeof(s_in))==SOCKET_ERROR) break;if (listen(listen_socket, LISTEN_BACKLOG)==SOCKET_ERROR) break;accept_socket=accept(listen_socket, NULL, NULL);if (accept_socket==SOCKET_ERROR) break;recv_rv=recv(accept_socket, input_buf, CHAR_ARRAY_SIZE, 0);if (recv_rv==SOCKET_ERROR || recv_rv==0) break;data=atoi(input_buf);}while (0);if (listen_socket!=INVALID_SOCKET) CLOSE_SOCKET(listen_socket);if (accept_socket!=INVALID_SOCKET) CLOSE_SOCKET(accept_socket);if (wsa_data_init) WSACleanup();}b_main_sink(data);}void b_main_sink(int data){{int data_buf[10]={0,1,2,3,4,5,6,7,8,9};if (data >=0){printIntLine(data_buf[data]);}else{printLine("ERROR: Array index is negative");}}}
static void main(){int data;data=7;b_main_sink(data);}void b_main_sink(int data){{int data_buf[10]={0,1,2,3,4,5,6,7,8,9};if (data >=0){printIntLine(data_buf[data]);}else{printLine("ERROR: Array index is negative");}}}
void b_main_sink(unsigned char data);void _main(){unsigned char data;data=' ';data=(unsigned char)rand();b_main_sink(data);}void c_main_sink(unsigned char data);void b_main_sink(unsigned char data){c_main_sink(data);}void d_main_sink(unsigned char data);void c_main_sink(unsigned char data){d_main_sink(data);}void d_main_sink(unsigned char data){{unsigned char result=data+1;printHexUnsignedCharLine(result);}}
static void main(){unsigned char data;data=' ';data=5;b_main_sink(data);}void b_main_sink(unsigned char data){c_main_sink(data);}void c_main_sink(unsigned char data){d_main_sink(data);}void d_main_sink(unsigned char data){{unsigned char result=data+1;printHexUnsignedCharLine(result);}}
void _main(){char * data;data=(char *)malloc(100*sizeof(char));data[0]='\0';strcpy(data, BAD_SRC_FIXED);if(global_returns_t_or_f()){for (;*data!='\0';data++){if (*data==SEARCH_CHAR){printLine("We have a match!");break;}}free(data);}else{{size_t i;for (i=0;i < strlen(data);i++){if (data[i]==SEARCH_CHAR){printLine("We have a match!");break;}}free(data);}}}
static void main(){char * data;data=(char *)malloc(100*sizeof(char));data[0]='\0';strcpy(data, BAD_SRC_FIXED);if(global_returns_t_or_f()){{size_t i;for (i=0;i < strlen(data);i++){if (data[i]==SEARCH_CHAR){printLine("We have a match!");break;}}free(data);}}else{{size_t i;for (i=0;i < strlen(data);i++){if (data[i]==SEARCH_CHAR){printLine("We have a match!");break;}}free(data);}}}
void main(){char * data;data=NULL;data=new char[100];{char * data_copy=data;char * data=data_copy;free(data);}}
static void main(){char * data;data=NULL;data=new char[100];{char * data_copy=data;char * data=data_copy;delete [] data;}}
void b_main_sink(int data_array[]);void _main(){int data;int data_array[5];data=-1;fscanf (stdin, "%d", &data);data_array[2]=data;b_main_sink(data_array);}void b_main_sink(int data_array[]){int data=data_array[2];{if (data < 100){char * data_buf=(char *)malloc(data);memset(data_buf, 'A', data-1);data_buf[data-1]='\0';printLine(data_buf);free(data_buf);}}}
void b_main_sink(int data_array[]);static void main(){int data;int data_array[5];data=-1;data=100-1;data_array[2]=data;b_main_sink(data_array);}void b_main_sink(int data_array[]){int data=data_array[2];{if (data < 100){char * data_buf=(char *)malloc(data);memset(data_buf, 'A', data-1);data_buf[data-1]='\0';printLine(data_buf);free(data_buf);}}}
void b_main_sink();void _main(){float data;data=0.0F;{char input_buf[CHAR_ARRAY_SIZE];fgets(input_buf, CHAR_ARRAY_SIZE, stdin);data=(float)atof(input_buf);}_main_data=data;b_main_sink();}void b_main_sink(){float data=_main_data;printDoubleLine((double)(100.0/data));}
void b_main_sink();static void main(){float data;data=0.0F;data=7.0F;_main_data=data;b_main_sink();}void b_main_sink(){float data=_main_data;printDoubleLine((double)(100.0/data));}
void _main(){char * data;char * *data_ptr1=&data;char * *data_ptr2=&data;char data_buf[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';{char * data=*data_ptr1;data=data_buf-8;}{char * data=*data_ptr2;{char dest[100];memcpy(dest, data, 100*sizeof(char));dest[100-1]='\0';printLine(dest);}}}
static void main(){char * data;char * *data_ptr1=&data;char * *data_ptr2=&data;char data_buf[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';{char * data=*data_ptr1;data=data_buf;}{char * data=*data_ptr2;{char dest[100];memcpy(dest, data, 100*sizeof(char));dest[100-1]='\0';printLine(dest);}}}
void b_main_sink(wchar_t * * data_ptr);void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;{size_t data_len=wcslen(data);wchar_t * environment=GETENV(ENV_VARIABLE);if (environment!=NULL){wcsncat(data+data_len, environment, 100-data_len-1);}}b_main_sink(&data);}void b_main_sink(wchar_t * * data_ptr){wchar_t * data=*data_ptr;fwprintf(stdout, data);}
static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;{size_t data_len=wcslen(data);wchar_t * environment=GETENV(ENV_VARIABLE);if (environment!=NULL){wcsncat(data+data_len, environment, 100-data_len-1);}}b_main_sink(&data);}void b_main_sink(wchar_t * * data_ptr){wchar_t * data=*data_ptr;fwprintf(stdout, L"%s\n", data);}
wchar_t * main_source(wchar_t * data);void main(){wchar_t * data;data=NULL;data=main_source(data);delete [] data;}wchar_t * main_source(wchar_t * data){{wchar_t mystring[]=L"mystring";data=wcsdup(mystring);}return data;}
static void main(){wchar_t * data;data=NULL;data=main_source(data);delete [] data;}wchar_t * main_source(wchar_t * data){data=new wchar_t[100];return data;}
void _main(){wchar_t * data;wchar_t * *data_ptr1=&data;wchar_t * *data_ptr2=&data;wchar_t data_buf[100]=L"";data=data_buf;{wchar_t * data=*data_ptr1;{size_t data_len=wcslen(data);FILE * pFile;if(100-data_len > 1){pFile=FOPEN(L"C:\\temp\\file.txt", L"r");if (pFile!=NULL){fgetws(data+data_len, (int)(100-data_len), pFile);fclose(pFile);}}}}{wchar_t * data=*data_ptr2;_wspawnlp(_P_WAIT, COMMAND_INT, COMMAND_INT, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL);}}
static void main(){wchar_t * data;wchar_t * *data_ptr1=&data;wchar_t * *data_ptr2=&data;wchar_t data_buf[100]=L"";data=data_buf;{wchar_t * data=*data_ptr1;wcscat(data, L"*.*");}{wchar_t * data=*data_ptr2;_wspawnlp(_P_WAIT, COMMAND_INT, COMMAND_INT, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL);}}