source
stringlengths
23
1.83k
target
stringlengths
42
1.55k
void main_sink_b(wchar_t * data);void main(){wchar_t * data;data=NULL;data=NULL;data=(wchar_t *)realloc(data, 100*sizeof(wchar_t));main_sink_b(data);}void main_sink_c(wchar_t * data);void main_sink_b(wchar_t * data){main_sink_c(data);}void main_sink_d(wchar_t * data);void main_sink_c(wchar_t * data){main_sink_d(data);}void main_sink_e(wchar_t * data);void main_sink_d(wchar_t * data){main_sink_e(data);}void main_sink_e(wchar_t * data){delete data;}
static void main(){wchar_t * data;data=NULL;data=NULL;data=(wchar_t *)realloc(data, 100*sizeof(wchar_t));main_sink_b(data);}void main_sink_b(wchar_t * data){main_sink_c(data);}void main_sink_c(wchar_t * data){main_sink_d(data);}void main_sink_d(wchar_t * data){main_sink_e(data);}void main_sink_e(wchar_t * data){free(data);}
void b_main_sink(int data);void _main(){int data;data=-1;data=RAND32();b_main_sink(data);}void c_main_sink(int data);void b_main_sink(int data){c_main_sink(data);}void d_main_sink(int data);void c_main_sink(int data){d_main_sink(data);}void e_main_sink(int data);void d_main_sink(int data){e_main_sink(data);}void e_main_sink(int data){{int result=data * 2;printIntLine(result);}}
static void main(){int data;data=-1;data=5;b_main_sink(data);}void b_main_sink(int data){c_main_sink(data);}void c_main_sink(int data){d_main_sink(data);}void d_main_sink(int data){e_main_sink(data);}void e_main_sink(int data){{int result=data * 2;printIntLine(result);}}
static void main_sink(unsigned char data){{unsigned char result=data+1;printHexUnsignedCharLine(result);}}void _main(){unsigned char data;data=' ';fscanf (stdin, "%hc", &data);main_sink(data);}
static void main_sink(unsigned char data){{unsigned char result=data+1;printHexUnsignedCharLine(result);}}static void main(){unsigned char data;data=' ';data=5;main_sink(data);}
void b_main_sink(char * data);void _main(){char * data;char data_buf[100]="";data=data_buf;data="P";b_main_sink(data);}void c_main_sink(char * data);void b_main_sink(char * data){c_main_sink(data);}void d_main_sink(char * data);void c_main_sink(char * data){d_main_sink(data);}void e_main_sink(char * data);void d_main_sink(char * data){e_main_sink(data);}void e_main_sink(char * data){if (strstr(PASSWORD, data)!=NULL) printLine("Access granted");else printLine("Access denied!");}
static void main(){char * data;char data_buf[100]="";data=data_buf;data="P";b_main_sink(data);}void b_main_sink(char * data){c_main_sink(data);}void c_main_sink(char * data){d_main_sink(data);}void d_main_sink(char * data){e_main_sink(data);}void e_main_sink(char * data){if (strcmp(PASSWORD, data)==0) printLine("Access granted");else printLine("Access denied!");}
static int * main_source(int * data){data=new int[100];{size_t i;for(i=0;i < 100;i++){data[i]=5;}}delete [] data;return data;}void main(){int * data;data=NULL;data=main_source(data);printIntLine(data[0]);}
static int * main_source(int * data){data=new int[100];{size_t i;for(i=0;i < 100;i++){data[i]=5;}}return data;}static void main(){int * data;data=NULL;data=main_source(data);printIntLine(data[0]);}
void b_main_sink(char * data);void _main(){char * data;char data_buf[100];data=data_buf;b_main_sink(data);}void b_main_sink(char * data){{char dest[50]="";memcpy(dest, data, strlen(data)*sizeof(char));printLine(data);}}
void b_main_sink(char * data);static void main(){char * data;char data_buf[100];data=data_buf;b_main_sink(data);}void b_main_sink(char * data){{char dest[50]="";memcpy(dest, data, strlen(data)*sizeof(char));printLine(data);}}
void main_sink(char * data){{char src[100];strcpy(data, src);printLine(data);}}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(char * data){{char src[100];strcpy(data, src);printLine(data);}}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 b_main_sink(int * data);void _main(){int * data;data=NULL;data=(int *)malloc(100*sizeof(int));free(data);b_main_sink(data);}void b_main_sink(int * data){free(data);}
static void main(){int * data;data=NULL;data=(int *)malloc(100*sizeof(int));free(data);b_main_sink(data);}void b_main_sink(int * data){}
twoints * main_source(twoints * data);void main(){twoints * data;data=NULL;data=main_source(data);delete data;}twoints * main_source(twoints * data){data=new twoints[100];return data;}
static void main(){twoints * data;data=NULL;data=main_source(data);delete [] data;}twoints * main_source(twoints * data){data=new twoints[100];return data;}
void _main(){int * data;data=NULL;data=(int *)malloc(100*sizeof(int));data[0]=5;printIntLine(data[0]);}
static void main(){int * data;data=NULL;data=(int *)malloc(100*sizeof(int));data[0]=5;printIntLine(data[0]);free(data);}
void b_main_sink(char * data);void _main(){char * data;char * data_buf=(char *)ALLOCA(100*sizeof(char));data=data_buf;b_main_sink(data);}void b_main_sink(char * data){{char dest[50]="";size_t i, data_len;data_len=strlen(data);for (i=0;i < data_len;i++){dest[i]=data[i];}printLine(data);}}
void b_main_sink(char * data);static void main(){char * data;char * data_buf=(char *)ALLOCA(100*sizeof(char));data=data_buf;b_main_sink(data);}void b_main_sink(char * data){{char dest[50]="";size_t i, data_len;data_len=strlen(data);for (i=0;i < data_len;i++){dest[i]=data[i];}printLine(data);}}
void _main(){{char data_buf[100]="";char * data=data_buf;sscanf(SRC, "%99s\0", data);}}
static void main(){{char data_buf[100]="";char * data=data_buf;if (sscanf(SRC, "%99s\0", data)==EOF){printLine("sscanf failed!");}}}
void b_main_sink(int data);void _main(){int data;void (*func_ptr) (int)=b_main_sink;data=-1;fscanf (stdin, "%d", &data);func_ptr(data);}void b_main_sink(int data){{int result=data+1;printIntLine(result);}}
static void main(){int data;void (*func_ptr) (int)=b_main_sink;data=-1;data=5;func_ptr(data);}void b_main_sink(int data){{int result=data+1;printIntLine(result);}}
void main_sink_b(twoints * data);void main(){twoints * data;data=NULL;data=new twoints;delete data;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_d(twoints * data){delete data;}
static void main(){twoints * data;data=NULL;data=new twoints;delete data;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){}
void _main(){int * data;int data_mainbuf[50];int data_goodbuf[100];data=data_mainbuf;{{size_t i;for (i=0;i < 100;i++){data[i]=src[i];}printIntLine(data[0]);}}}
static void main(){int * data;int data_badbuf[50];int data_goodbuf[100];data=data_goodbuf;{{size_t i;for (i=0;i < 100;i++){data[i]=src[i];}printIntLine(data[0]);}}}
void b_main_sink();void _main(){char * data;data=(char *)malloc(100*sizeof(char));_main_data=data;b_main_sink();}void b_main_sink(){char * data=_main_data;{char dest[50]="";strcpy(dest, data);printLine(data);free(data);}}
void b_main_sink();static void main(){char * data;data=(char *)malloc(100*sizeof(char));_main_data=data;b_main_sink();}void b_main_sink(){char * data=_main_data;{char dest[50]="";strcpy(dest, data);printLine(data);free(data);}}
void _main(){wchar_t * data;wchar_t data_buf[100]=FULL_COMMAND;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();}_wsystem(data);}
static void main(){wchar_t * data;wchar_t data_buf[100]=FULL_COMMAND;data=data_buf;wcscat(data, L"*.*");_wsystem(data);}
void _main(){wchar_t * data;_union_type my_union;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();}my_union.a=data;{wchar_t * data=my_union.b;{wchar_t dest[100]=L"";SNPRINTF(dest, 100-1, data);printWLine(dest);}}}
static void main(){wchar_t * data;_union_type my_union;wchar_t data_buf[100]=L"";data=data_buf;wcscpy(data, L"fixedstringtest");my_union.a=data;{wchar_t * data=my_union.b;{wchar_t dest[100]=L"";SNPRINTF(dest, 100-1, data);printWLine(dest);}}}
void b_main_sink(wchar_t * data_array[]);void _main(){wchar_t * data;wchar_t * data_array[5];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();}data_array[2]=data;b_main_sink(data_array);}void b_main_sink(wchar_t * data_array[]){wchar_t * data=data_array[2];_wspawnlp(_P_WAIT, COMMAND_INT, COMMAND_INT, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL);}
void b_main_sink(wchar_t * data_array[]);static void main(){wchar_t * data;wchar_t * data_array[5];wchar_t data_buf[100]=L"";data=data_buf;wcscat(data, L"*.*");data_array[2]=data;b_main_sink(data_array);}void b_main_sink(wchar_t * data_array[]){wchar_t * data=data_array[2];_wspawnlp(_P_WAIT, COMMAND_INT, COMMAND_INT, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL);}
void _main(){wchar_t * data;wchar_t * data_buf=(wchar_t *)ALLOCA(100*sizeof(wchar_t));data=data_buf;{wchar_t * data_copy=data;wchar_t * data=data_copy;{wchar_t dest[50]=L"";wcsncat(dest, data, wcslen(data));printWLine(data);}}}
static void main(){wchar_t * data;wchar_t * data_buf=(wchar_t *)ALLOCA(100*sizeof(wchar_t));data=data_buf;{wchar_t * data_copy=data;wchar_t * data=data_copy;{wchar_t dest[50]=L"";wcsncat(dest, data, wcslen(data));printWLine(data);}}}
void b_main_sink(int * data);void _main(){int * data;data=NULL;data=NULL;data=(int *)realloc(data, 100*sizeof(int));data[0]=5;printIntLine(data[0]);b_main_sink(data);}void c_main_sink(int * data);void b_main_sink(int * data){c_main_sink(data);}void d_main_sink(int * data);void c_main_sink(int * data){d_main_sink(data);}void d_main_sink(int * data){}
static void main(){int * data;data=NULL;data=NULL;data=(int *)realloc(data, 100*sizeof(int));data[0]=5;printIntLine(data[0]);b_main_sink(data);}void b_main_sink(int * data){c_main_sink(data);}void c_main_sink(int * data){d_main_sink(data);}void d_main_sink(int * data){free(data);}
void b_main_sink(_struct_type my_struct);void _main(){int * data;_struct_type my_struct;data=NULL;data=(int *)malloc(100*sizeof(int));free(data);my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){int * data=my_struct.a;free(data);}
static void main(){int * data;_struct_type my_struct;data=NULL;data=(int *)malloc(100*sizeof(int));my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){int * data=my_struct.a;free(data);}
void b_main_sink(char * data_array[]);void _main(){char * data;char * data_array[5];char data_buf[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf-8;data_array[2]=data;b_main_sink(data_array);}void b_main_sink(char * data_array[]){char * data=data_array[2];{char src[100];strcpy(data, src);printLine(data);}}
void b_main_sink(char * data_array[]);static void main(){char * data;char * data_array[5];char data_buf[100];memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf;data_array[2]=data;b_main_sink(data_array);}void b_main_sink(char * data_array[]){char * data=data_array[2];{char src[100];strcpy(data, src);printLine(data);}}
void _main(){wchar_t * data;if(global_returns_t_or_f()){}else{data=L"string";}if(global_returns_t_or_f()){printWLine(data);}else{data=L"string";printWLine(data);}}
static void main(){wchar_t * data;if(global_returns_t_or_f()){data=L"string";}else{data=L"string";}if(global_returns_t_or_f()){printWLine(data);}else{printWLine(data);}}
void b_main_sink();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_data=data;b_main_sink();}void b_main_sink(){wchar_t * data=_main_data;EXECL(COMMAND_INT_PATH, COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL);}
void b_main_sink();static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;wcscat(data, L"*.*");_main_data=data;b_main_sink();}void b_main_sink(){wchar_t * data=_main_data;EXECL(COMMAND_INT_PATH, COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL);}
static void main_sink(char * data){delete [] data;}void main(){char * data;data=NULL;{char mystring[]="mystring";data=strdup(mystring);}main_sink(data);}
static void main_sink(char * data){delete [] data;}static void main(){char * data;data=NULL;data=new char[100];main_sink(data);}
twoints * main_source(twoints * data);void main(){twoints * data;data=NULL;data=main_source(data);delete [] data;}twoints * main_source(twoints * data){data=new twoints;return data;}
static void main(){twoints * data;data=NULL;data=main_source(data);delete data;}twoints * main_source(twoints * data){data=new twoints;return data;}
void b_main_sink(void * void_data_ptr);void _main(){twoints * data;data=(twoints *)calloc(100, sizeof(twoints));b_main_sink(&data);}void b_main_sink(void * void_data_ptr){twoints * * data_ptr=(twoints * *)void_data_ptr;twoints * data=(*data_ptr);data[0].a=1;data[0].b=1;printStructLine(&data[0]);free(data);}
void b_main_sink(void * void_data_ptr);static void main(){twoints * data;data=(twoints *)calloc(100, sizeof(twoints));b_main_sink(&data);}void b_main_sink(void * void_data_ptr){twoints * * data_ptr=(twoints * *)void_data_ptr;twoints * data=(*data_ptr);if (data!=NULL){data[0].a=1;data[0].b=1;printStructLine(&data[0]);free(data);}}
void b_main_sink(_struct_type my_struct);void _main(){char * data;_struct_type my_struct;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);}}}my_struct.a=data;b_main_sink(my_struct);}static void main_vasink(char * data, ...){{char dest[100]="";va_list args;va_start(args, data);vsnprintf(dest, 100-1, data, args);va_end(args);printLine(dest);}}void b_main_sink(_struct_type my_struct){char * data=my_struct.a;main_vasink(data, data);}
static void main(){char * data;_struct_type my_struct;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);}}}my_struct.a=data;b_main_sink(my_struct);}static void main_vasink(char * data, ...){{char dest[100]="";va_list args;va_start(args, data);vsnprintf(dest, 100-1, "%s", args);va_end(args);printLine(dest);}}void b_main_sink(_struct_type my_struct){char * data=my_struct.a;main_vasink(data, data);}
static void main_sink(){wchar_t * data=main_data;delete data;}void main(){wchar_t * data;data=NULL;data=new wchar_t;delete data;main_data=data;main_sink();}
static void main_sink(){wchar_t * data=main_data;}static void main(){wchar_t * data;data=NULL;data=new wchar_t;delete data;main_data=data;main_sink();}
void b_main_sink(long long * data);void _main(){long long * data;data=NULL;data=(long long *)malloc(100*sizeof(long long));free(data);b_main_sink(data);}void c_main_sink(long long * data);void b_main_sink(long long * data){c_main_sink(data);}void d_main_sink(long long * data);void c_main_sink(long long * data){d_main_sink(data);}void d_main_sink(long long * data){free(data);}
static void main(){long long * data;data=NULL;data=(long long *)malloc(100*sizeof(long long));free(data);b_main_sink(data);}void b_main_sink(long long * data){c_main_sink(data);}void c_main_sink(long long * data){d_main_sink(data);}void d_main_sink(long long * 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 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();}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){{int i, n, v;if (swscanf(data, L"%d", &n)==1){v=0;for (i=0;i < n;i++){}printIntLine(v);}}}
static 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 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();}b_main_sink(data);}void b_main_sink(wchar_t * data){c_main_sink(data);}void c_main_sink(wchar_t * data){d_main_sink(data);}void d_main_sink(wchar_t * data){{int i, n, v;if (swscanf(data, L"%d", &n)==1){if (n < MAX_LOOP){v=0;for (i=0;i < n;i++){}printIntLine(v);}}}}
void main_source(twointsclass * &data){for(int i=0;i<(10/2);i++){data[i].a=i;data[i].b=i;}}void main(){twointsclass * data;data=new twointsclass[10];main_source(data);for(int i=0;i<10;i++){printIntLine(data[i].a);printIntLine(data[i].b);}}
static void main_source(twointsclass * &data){for(int i=0;i<10;i++){data[i].a=i;data[i].b=i;}}static void main(){twointsclass * data;data=new twointsclass[10];main_source(data);for(int i=0;i<10;i++){printIntLine(data[i].a);printIntLine(data[i].b);}}
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;{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';}}}my_struct.a=data;b_main_sink(my_struct);}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(_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);vfwprintf(stdout, data, args);va_end(args);}}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;main_vasink(data, data);}
void b_main_sink(char * data);void _main(){char * data;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;}b_main_sink(data);}void c_main_sink(char * data);void b_main_sink(char * data){c_main_sink(data);}void d_main_sink(char * data);void c_main_sink(char * data){d_main_sink(data);}void d_main_sink(char * data){{char src[100];strcpy(data, src);printLine(data);}}
void b_main_sink(char * data);static void main(){char * data;data=NULL;{char * data_buf=(char *)malloc(100*sizeof(char));memset(data_buf, 'A', 100-1);data_buf[100-1]='\0';data=data_buf;}b_main_sink(data);}void c_main_sink(char * data);void b_main_sink(char * data){c_main_sink(data);}void d_main_sink(char * data);void c_main_sink(char * data){d_main_sink(data);}void d_main_sink(char * data){{char src[100];strcpy(data, src);printLine(data);}}
void main_sink(struct_type my_struct);void main(){twointsclass * data;struct_type my_struct;data=NULL;data=new twointsclass[50];my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){twointsclass * data=my_struct.a;{twointsclass src[100];{size_t i;for (i=0;i < 100;i++){src[i].a=0;src[i].b=0;}}{size_t i;for (i=0;i < 100;i++){data[i]=src[i];}printIntLine(data[0].a);delete [] data;}}}
void main_sink(struct_type my_struct);static void main(){twointsclass * data;struct_type my_struct;data=NULL;data=new twointsclass[100];my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){twointsclass * data=my_struct.a;{twointsclass src[100];{size_t i;for (i=0;i < 100;i++){src[i].a=0;src[i].b=0;}}{size_t i;for (i=0;i < 100;i++){data[i]=src[i];}printIntLine(data[0].a);delete [] data;}}}
void b_main_sink(char * data);void _main(){char * data;char data_buf[100]="";data=data_buf;{size_t data_len=strlen(data);if(100-data_len > 1){fgets(data+data_len, (int)(100-data_len), stdin);data_len=strlen(data);if (data_len > 0){data[data_len-1]='\0';}}}b_main_sink(data);}void b_main_sink(char * data){{char *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};EXECV(COMMAND_INT_PATH, args);}}
void b_main_sink(char * data);static void main(){char * data;char data_buf[100]="";data=data_buf;strcat(data, "*.*");b_main_sink(data);}void b_main_sink(char * data){{char *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};EXECV(COMMAND_INT_PATH, args);}}
void b_main_sink();void _main(){char * data;char data_buf[100]="";data=data_buf;{size_t data_len=strlen(data);if(100-data_len > 1){fgets(data+data_len, (int)(100-data_len), stdin);data_len=strlen(data);if (data_len > 0){data[data_len-1]='\0';}}}_main_data=data;b_main_sink();}void b_main_sink(){char * data=_main_data;printf(data);}
static void main(){char * data;char data_buf[100]="";data=data_buf;strcpy(data, "fixedstringtest");_main_data=data;b_main_sink();}void b_main_sink(){char * data=_main_data;printf(data);}
char * b_main_source(char * data);void _main(){char * data;char data_buf[FILENAME_MAX]="";data=data_buf;data=b_main_source(data);{int fd;fd=OPEN(data, O_RDWR|O_CREAT, S_IREAD|S_IWRITE);if (fd!=-1){CLOSE(fd);}}}char * b_main_source(char * data){{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)(FILENAME_MAX-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();}return data;}
char * b_main_source(char * data);static void main(){char * data;char data_buf[FILENAME_MAX]="";data=data_buf;data=b_main_source(data);{int fd;fd=OPEN(data, O_RDWR|O_CREAT, S_IREAD|S_IWRITE);if (fd!=-1){CLOSE(fd);}}}char * b_main_source(char * data){strcpy(data, "c:\\temp\\file.txt");strcpy(data, "/tmp/file.txt");return data;}
void main_sink(long long * * data_ptr);void main(){long long * data;data=NULL;data=new long long[100];{size_t i;for(i=0;i < 100;i++){data[i]=5L;}}delete [] data;main_sink(&data);}void main_sink(long long * * data_ptr){long long * data=*data_ptr;printLongLongLine(data[0]);}
static void main(){long long * data;data=NULL;data=new long long[100];{size_t i;for(i=0;i < 100;i++){data[i]=5L;}}delete [] data;main_sink(&data);}void main_sink(long long * * data_ptr){long long * data=*data_ptr;}
void b_main_sink(char * 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;b_main_sink(data);}void c_main_sink(char * data);void b_main_sink(char * data){c_main_sink(data);}void d_main_sink(char * data);void c_main_sink(char * data){d_main_sink(data);}void e_main_sink(char * data);void d_main_sink(char * data){e_main_sink(data);}void e_main_sink(char * data){{char dest[100];memmove(dest, data, 100*sizeof(char));dest[100-1]='\0';printLine(dest);}}
void b_main_sink(char * 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;b_main_sink(data);}void c_main_sink(char * data);void b_main_sink(char * data){c_main_sink(data);}void d_main_sink(char * data);void c_main_sink(char * data){d_main_sink(data);}void e_main_sink(char * data);void d_main_sink(char * data){e_main_sink(data);}void e_main_sink(char * data){{char dest[100];memmove(dest, data, 100*sizeof(char));dest[100-1]='\0';printLine(dest);}}
void main(){wchar_t * data;data=NULL;data=new wchar_t;printHexCharLine((char)*data);{wchar_t * data_copy=data;wchar_t * data=data_copy;}}
static void main(){wchar_t * data;data=NULL;wchar_t data_good;data=&data_good;printHexCharLine((char)*data);{wchar_t * data_copy=data;wchar_t * data=data_copy;}}
void b_main_sink();void _main(){unsigned int data;data=0;data=UINT_MAX;_main_data=data;b_main_sink();}void b_main_sink(){unsigned int data=_main_data;{unsigned int result=data * 2;printUnsignedLine(result);}}
static void main(){unsigned int data;data=0;data=5;_main_data=data;b_main_sink();}void b_main_sink(){unsigned int data=_main_data;{unsigned int result=data * 2;printUnsignedLine(result);}}
void _main(){unsigned int data;data=0;if(global_returns_t_or_f()){data=UINT_MAX;}else{data=5;}if(global_returns_t_or_f()){{unsigned int result=data * data;printUnsignedLine(result);}}else{{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.");}}}}
static void main(){unsigned int data;data=0;if(global_returns_t_or_f()){data=5;}else{data=5;}if(global_returns_t_or_f()){{unsigned int result=data * data;printUnsignedLine(result);}}else{{unsigned int result=data * data;printUnsignedLine(result);}}}
void main(){char * data;char * *data_ptr1=&data;char * *data_ptr2=&data;data=NULL;{char * data=*data_ptr1;data=new char;delete data;}{char * data=*data_ptr2;printf("%c\n", *data);}}
static void main(){char * data;char * *data_ptr1=&data;char * *data_ptr2=&data;data=NULL;{char * data=*data_ptr1;data=new char;delete data;}{char * data=*data_ptr2;}}
void _main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;if(global_returns_t_or_f()){data=L"P";}else{data=PASSWORD;}if(global_returns_t_or_f()){if (wcsncmp(PASSWORD, data, wcslen(PASSWORD))==0) printLine("Access granted");else printLine("Access denied!");}else{if (wcscmp(PASSWORD, data)==0) printLine("Access granted");else printLine("Access denied!");}}
static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;if(global_returns_t_or_f()){data=L"P";}else{data=L"P";}if(global_returns_t_or_f()){if (wcscmp(PASSWORD, data)==0) printLine("Access granted");else printLine("Access denied!");}else{if (wcscmp(PASSWORD, data)==0) printLine("Access granted");else printLine("Access denied!");}}
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);{wchar_t *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};EXECV(COMMAND_INT_PATH, args);}}wchar_t * b_main_source(wchar_t * data){{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);}}}return data;}
wchar_t * b_main_source(wchar_t * data);static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;data=b_main_source(data);{wchar_t *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};EXECV(COMMAND_INT_PATH, args);}}wchar_t * b_main_source(wchar_t * data){wcscat(data, L"*.*");return data;}
void main_sink(twointsclass * * data_ptr);void main(){twointsclass * data;data=NULL;data=new twointsclass[100];delete [] data;main_sink(&data);}void main_sink(twointsclass * * data_ptr){twointsclass * data=*data_ptr;delete [] data;}
static void main(){twointsclass * data;data=NULL;data=new twointsclass[100];main_sink(&data);}void main_sink(twointsclass * * data_ptr){twointsclass * data=*data_ptr;delete [] data;}
void b_main_sink(wchar_t * password);void _main(){wchar_t * password;wchar_t password_buf[100]=L"";password=password_buf;{FILE *password_file;password_file=fopen("passwords.txt", "r");fgetws(password, 100, password_file);fclose(password_file);}b_main_sink(password);}void c_main_sink(wchar_t * password);void b_main_sink(wchar_t * password){c_main_sink(password);}void d_main_sink(wchar_t * password);void c_main_sink(wchar_t * password){d_main_sink(password);}void d_main_sink(wchar_t * password){{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 * password);static void main(){wchar_t * password;wchar_t password_buf[100]=L"";password=password_buf;{size_t password_len=0;fgetws(password, 100, stdin);password_len=wcslen(password);if (password_len > 0){password[password_len-1]=L'\0';}}b_main_sink(password);}void c_main_sink(wchar_t * password);void b_main_sink(wchar_t * password){c_main_sink(password);}void d_main_sink(wchar_t * password);void c_main_sink(wchar_t * password){d_main_sink(password);}void d_main_sink(wchar_t * password){{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 main(){wchar_t * data;data=NULL;data=(wchar_t *)calloc(100, sizeof(wchar_t));delete data;}
static void main(){wchar_t * data;data=NULL;data=(wchar_t *)calloc(100, sizeof(wchar_t));free(data);}
static void main_sink(char * data){{size_t i, dest_sz;char dest[100];memset(dest, 'C', 100-1);dest_sz=strlen(dest);for (i=0;i < dest_sz;i++){dest[i]=data[i];}dest[100-1]='\0';printLine(dest);free(data);}}void _main(){char * data;void (*func_ptr) (char *)=main_sink;data=NULL;data=(char *)malloc(50*sizeof(char));func_ptr(data);}
static void main_sink(char * data){{size_t i, dest_sz;char dest[100];memset(dest, 'C', 100-1);dest_sz=strlen(dest);for (i=0;i < dest_sz;i++){dest[i]=data[i];}dest[100-1]='\0';printLine(dest);free(data);}}static void main(){char * data;void (*func_ptr) (char *)=main_sink;data=NULL;data=(char *)malloc(100*sizeof(char));func_ptr(data);}
void b_main_sink(int data);void _main(){int data;data=-1;{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=atoi(input_buf);}while (0);if (connect_socket!=INVALID_SOCKET) CLOSE_SOCKET(connect_socket);if (wsa_data_init) WSACleanup();}b_main_sink(data);}void b_main_sink(int data){{char * char_string;if (data > 0){char_string=(char *)malloc(data*sizeof(char));strcpy(char_string, HELLO_STRING);printLine(char_string);free(char_string);}else{printLine("Input is less than 0");}}}
static void main(){int data;data=-1;{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=atoi(input_buf);}while (0);if (connect_socket!=INVALID_SOCKET) CLOSE_SOCKET(connect_socket);if (wsa_data_init) WSACleanup();}b_main_sink(data);}void b_main_sink(int data){{char * char_string;if ((size_t)data > strlen(HELLO_STRING) && data < 100){char_string=(char *)malloc(data*sizeof(char));strcpy(char_string, HELLO_STRING);printLine(char_string);free(char_string);}else{printLine("Input is less than the length of the source string or too large");}}}
void b_main_sink(_struct_type my_struct);void _main(){char * data;_struct_type my_struct;data=NULL;data=NULL;my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){char * data=my_struct.a;printf("%s\n", data);}
void b_main_sink(_struct_type my_struct);static void main(){char * data;_struct_type my_struct;data=NULL;data="Good";my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){char * data=my_struct.a;printf("%s\n", data);}
void main_sink();void main(){int data;data=-1;{char input_buf[CHAR_ARRAY_SIZE]="";fgets(input_buf, CHAR_ARRAY_SIZE, stdin);data=atoi(input_buf);}_main_data=data;main_sink();}void main_sink(){int data=_main_data;{size_t a,i;int *b;b=(int*)new char[a];for (i=0;i < (size_t)data;i++){}printIntLine(b[0]);delete [] b;}}
void main_sink();static void main(){int data;data=-1;data=20;_main_data=data;main_sink();}void main_sink(){int data=_main_data;{size_t a,i;int *b;b=(int*)new char[a];for (i=0;i < (size_t)data;i++){}printIntLine(b[0]);delete [] b;}}
void main_sink(struct _twoints * * data_ptr);void main(){struct _twoints * data;data=NULL;data=new struct _twoints[100];data[0].a=0;data[0].b=0;printStructLine((twoints *)&data[0]);main_sink(&data);}void main_sink(struct _twoints * * data_ptr){struct _twoints * data=*data_ptr;}
static void main(){struct _twoints * data;data=NULL;data=new struct _twoints[100];data[0].a=0;data[0].b=0;printStructLine((twoints *)&data[0]);main_sink(&data);}void main_sink(struct _twoints * * data_ptr){struct _twoints * data=*data_ptr;delete[] data;}
void b_main_sink(char data);void _main(){char data;data=' ';data=CHAR_MAX;b_main_sink(data);}void c_main_sink(char data);void b_main_sink(char data){c_main_sink(data);}void c_main_sink(char data){{char result=data * 2;printHexCharLine(result);}}
static void main(){char data;data=' ';data=5;b_main_sink(data);}void b_main_sink(char data){c_main_sink(data);}void c_main_sink(char data){{char result=data * 2;printHexCharLine(result);}}
static wchar_t * main_source(wchar_t * data){{wchar_t * data_buf=new wchar_t[100];wmemset(data_buf, L'A', 100-1);data_buf[100-1]=L'\0';data=data_buf-8;}return data;}void main(){wchar_t * data;data=NULL;data=main_source(data);{wchar_t dest[100];wcsncpy(dest, data, wcslen(dest));dest[100-1]=L'\0';printWLine(dest);}}
static wchar_t * main_source(wchar_t * data){{wchar_t * data_buf=new wchar_t[100];wmemset(data_buf, L'A', 100-1);data_buf[100-1]=L'\0';data=data_buf;}return data;}static void main(){wchar_t * data;data=NULL;data=main_source(data);{wchar_t dest[100];wcsncpy(dest, data, wcslen(dest));dest[100-1]=L'\0';printWLine(dest);}}
void main_sink(wchar_t * data);void main(){wchar_t * data;data=NULL;data=(wchar_t *)malloc(100*sizeof(wchar_t));main_sink(data);}void main_sink(wchar_t * data){delete [] data;}
static void main(){wchar_t * data;data=NULL;data=(wchar_t *)malloc(100*sizeof(wchar_t));main_sink(data);}void main_sink(wchar_t * data){free(data);}
void b_main_sink();void _main(){char data;data=' ';{char ch;ch=(char)getc(stdin);data=(char)atoi(&ch);}_main_data=data;b_main_sink();}void b_main_sink(){char data=_main_data;{char char_array[4];char_array[0]='x';char_array[1]=data;char_array[2]='z';char_array[3]='\0';printLine(char_array);}}
void b_main_sink();static void main(){char data;data=' ';data='a';_main_data=data;b_main_sink();}void b_main_sink(){char data=_main_data;{char char_array[4];char_array[0]='x';char_array[1]=data;char_array[2]='z';char_array[3]='\0';printLine(char_array);}}
void main(){int * data;data=NULL;if(global_returns_t_or_f()){data=NULL;data=(int *)realloc(data, 100*sizeof(int));}else{data=new int[100];}if(global_returns_t_or_f()){delete [] data;}else{free(data);}}
static void main(){int * data;data=NULL;if(global_returns_t_or_f()){data=new int[100];}else{data=new int[100];}if(global_returns_t_or_f()){delete [] data;}else{delete [] data;}}
void main_sink_b(wchar_t * data);void main(){wchar_t * data;data=NULL;data=new wchar_t[100];main_sink_b(data);}void main_sink_c(wchar_t * data);void main_sink_b(wchar_t * data){main_sink_c(data);}void main_sink_c(wchar_t * data){delete data;}
static void main(){wchar_t * data;data=NULL;data=new wchar_t;main_sink_b(data);}void main_sink_b(wchar_t * data){main_sink_c(data);}void main_sink_c(wchar_t * data){delete data;}
void _main(){wchar_t * data;wchar_t data_buf[100]=FULL_COMMAND;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();}_wsystem(data);}
static void main(){wchar_t * data;wchar_t data_buf[100]=FULL_COMMAND;data=data_buf;wcscat(data, L"*.*");_wsystem(data);}
void b_main_sink(wchar_t * * data_ptr);void _main(){wchar_t * data;data=(wchar_t *)calloc(100, sizeof(wchar_t));b_main_sink(&data);}void b_main_sink(wchar_t * * data_ptr){wchar_t * data=*data_ptr;wcscpy(data, L"Initialize");printWLine(data);free(data);}
void b_main_sink(wchar_t * * data);static void main(){wchar_t * data;data=(wchar_t *)calloc(100, sizeof(wchar_t));b_main_sink(&data);}void b_main_sink(wchar_t * * data_ptr){wchar_t * data=*data_ptr;if (data!=NULL){wcscpy(data, L"Initialize");printWLine(data);free(data);}}
static int main_source(int data){{char input_buf[CHAR_ARRAY_SIZE]="";fgets(input_buf, CHAR_ARRAY_SIZE, stdin);data=atoi(input_buf);}return data;}void _main(){int data;data=-1;data=main_source(data);{char c=(char)data;printHexCharLine(c);}}
static int main_source(int data){data=CHAR_MAX-5;return data;}static void main(){int data;data=-1;data=main_source(data);{char c=(char)data;printHexCharLine(c);}}
void b_main_sink();void _main(){wchar_t * data;wchar_t * data_mainbuf=(wchar_t *)ALLOCA(50*sizeof(wchar_t));wchar_t * data_goodbuf=(wchar_t *)ALLOCA(100*sizeof(wchar_t));data=data_mainbuf;_main_data=data;b_main_sink();}void b_main_sink(){wchar_t * data=_main_data;{size_t i, dest_sz;wchar_t dest[100];wmemset(dest, L'C', 100-1);dest_sz=wcslen(dest);for (i=0;i < dest_sz;i++){dest[i]=data[i];}dest[100-1]=L'\0';printWLine(dest);}}
void b_main_sink();static void main(){wchar_t * data;wchar_t * data_badbuf=(wchar_t *)ALLOCA(50*sizeof(wchar_t));wchar_t * data_goodbuf=(wchar_t *)ALLOCA(100*sizeof(wchar_t));data=data_goodbuf;_main_data=data;b_main_sink();}void b_main_sink(){wchar_t * data=_main_data;{size_t i, dest_sz;wchar_t dest[100];wmemset(dest, L'C', 100-1);dest_sz=wcslen(dest);for (i=0;i < dest_sz;i++){dest[i]=data[i];}dest[100-1]=L'\0';printWLine(dest);}}
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);}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;{wchar_t *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};EXECV(COMMAND_INT_PATH, args);}}
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;wcscat(data, L"*.*");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 *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};EXECV(COMMAND_INT_PATH, args);}}
void _main(){int * data;int * *data_ptr1=&data;int * *data_ptr2=&data;{int * data=*data_ptr1;{int data_buf[100];{size_t i;for (i=0;i < 100;i++){data_buf[i]=5;}}data=data_buf;}}{int * data=*data_ptr2;printIntLine(data[0]);free(data);}}
static void main(){int * data;int * *data_ptr1=&data;int * *data_ptr2=&data;{int * data=*data_ptr1;{int * data_buf=(int *)malloc(100*sizeof(int));{size_t i;for (i=0;i < 100;i++){data_buf[i]=5;}}data=data_buf;}}{int * data=*data_ptr2;printIntLine(data[0]);free(data);}}
void main_sink(struct_type my_struct);void main(){long long * data;struct_type my_struct;data=NULL;data=NULL;data=(long long *)realloc(data, 100*sizeof(long long));my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){long long * data=my_struct.a;delete [] data;}
static void main(){long long * data;struct_type my_struct;data=NULL;data=NULL;data=(long long *)realloc(data, 100*sizeof(long long));my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){long long * data=my_struct.a;free(data);}
void _main(){char * data;char * *data_ptr1=&data;char * *data_ptr2=&data;{char * data=*data_ptr1;{char data_buf[100];data=data_buf;}}{char * data=*data_ptr2;printLine(data);free(data);}}
static void main(){char * data;char * *data_ptr1=&data;char * *data_ptr2=&data;{char * data=*data_ptr1;{char * data_buf=(char *)malloc(100*sizeof(char));data=data_buf;}}{char * data=*data_ptr2;printLine(data);free(data);}}
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();}if (strncmp(PASSWORD, data, strlen(data))==0) printLine("Access granted");else printLine("Access denied!");}
static void main(){char * data;char data_buf[100]="";data=data_buf;data=PASSWORD;if (strncmp(PASSWORD, data, strlen(data))==0) printLine("Access granted");else printLine("Access denied!");}
unsigned int b_main_source(unsigned int data);void _main(){unsigned int data;data=0;data=b_main_source(data);{unsigned int result=data * 2;printUnsignedLine(result);}}unsigned int b_main_source(unsigned int data){data=(unsigned int)RAND32();return data;}
static void main(){unsigned int data;data=0;data=b_main_source(data);{unsigned int result=-1;if (data <=(UINT_MAX/2)){result=data * 2;printUnsignedLine(result);}else{printLine("Input value is too large to perform arithmetic safely.");}}}unsigned int b_main_source(unsigned int data){data=(unsigned int)RAND32();return data;}
void b_main_sink(wchar_t * * data_ptr);void _main(){wchar_t * data;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 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)(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 (connect_socket!=INVALID_SOCKET) CLOSE_SOCKET(connect_socket);if (wsa_data_init) WSACleanup();}b_main_sink(&data);}void b_main_sink(wchar_t * * data_ptr){wchar_t * data=*data_ptr;{FILE *file=NULL;file=FOPEN(data, L"wb+");if (file!=NULL) fclose(file);}}
void b_main_sink(wchar_t * * data);static void main(){wchar_t * data;wchar_t data_buf[FILENAME_MAX]=BASEPATH;data=data_buf;wcscat(data, L"file.txt");b_main_sink(&data);}void b_main_sink(wchar_t * * data_ptr){wchar_t * data=*data_ptr;{FILE *file=NULL;file=FOPEN(data, L"wb+");if (file!=NULL) fclose(file);}}
void b_main_sink();void _main(){wchar_t * data;data=NULL;{wchar_t * data_buf=(wchar_t *)malloc(100*sizeof(wchar_t));wmemset(data_buf, L'A', 100-1);data_buf[100-1]=L'\0';data=data_buf-8;}_main_data=data;b_main_sink();}void b_main_sink(){wchar_t * data=_main_data;{wchar_t src[100];memcpy(data, src, 100*sizeof(wchar_t));data[100-1]=L'\0';printWLine(data);}}
void b_main_sink();static void main(){wchar_t * data;data=NULL;{wchar_t * data_buf=(wchar_t *)malloc(100*sizeof(wchar_t));wmemset(data_buf, L'A', 100-1);data_buf[100-1]=L'\0';data=data_buf;}_main_data=data;b_main_sink();}void b_main_sink(){wchar_t * data=_main_data;{wchar_t src[100];memcpy(data, src, 100*sizeof(wchar_t));data[100-1]=L'\0';printWLine(data);}}
void main_sink(struct_type my_struct);void main(){int * data;struct_type my_struct;data=NULL;data=(int *)calloc(100, sizeof(int));my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){int * data=my_struct.a;delete data;}
static void main(){int * data;struct_type my_struct;data=NULL;data=(int *)calloc(100, sizeof(int));my_struct.a=data;main_sink(my_struct);}void main_sink(struct_type my_struct){int * data=my_struct.a;free(data);}
void main(){wchar_t * data;data=NULL;if(global_returns_t_or_f()){data=new wchar_t[100];wcscpy(data, L"A String");printWLine(data);}else{{wchar_t data_goodbuf[100];data=data_goodbuf;wcscpy(data, L"A String");printWLine(data);}}if(global_returns_t_or_f()){}else{delete[] data;}}
static void main(){wchar_t * data;data=NULL;if(global_returns_t_or_f()){data=new wchar_t[100];wcscpy(data, L"A String");printWLine(data);}else{data=new wchar_t[100];wcscpy(data, L"A String");printWLine(data);}if(global_returns_t_or_f()){delete[] data;}else{delete[] data;}}
void b_main_sink(void * void_data_ptr);void _main(){long long * data;long long data_mainbuf[50];long long data_goodbuf[100];data=data_mainbuf;b_main_sink(&data);}void b_main_sink(void * void_data_ptr){long long * * data_ptr=(long long * *)void_data_ptr;long long * data=(*data_ptr);{{size_t i;for (i=0;i < 100;i++){data[i]=src[i];}printLongLongLine(data[0]);}}}
void b_main_sink(void * void_data_ptr);static void main(){long long * data;long long data_badbuf[50];long long data_goodbuf[100];data=data_goodbuf;b_main_sink(&data);}void b_main_sink(void * void_data_ptr){long long * * data_ptr=(long long * *)void_data_ptr;long long * data=(*data_ptr);{{size_t i;for (i=0;i < 100;i++){data[i]=src[i];}printLongLongLine(data[0]);}}}
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);}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;wprintf(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);}void b_main_sink(_struct_type my_struct){wchar_t * data=my_struct.a;wprintf(data);}
void b_main_sink(short data);void _main(){short data;data=0;{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=(short)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(short data){{char src[100];char dest[100]="";memset(src, 'A', 100-1);src[100-1]='\0';if (data < 100){strncpy(dest, src, data);}printLine(dest);}}
void b_main_sink(short data);static void main(){short data;data=0;data=100-1;b_main_sink(data);}void b_main_sink(short data){{char src[100];char dest[100]="";memset(src, 'A', 100-1);src[100-1]='\0';if (data < 100){strncpy(dest, src, data);}printLine(dest);}}
void b_main_sink(int data);void _main(){int data;data=-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;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 c_main_sink(int data);void b_main_sink(int data){c_main_sink(data);}void d_main_sink(int data);void c_main_sink(int data){d_main_sink(data);}void d_main_sink(int data){{int result=data+1;printIntLine(result);}}
static void main(){int data;data=-1;data=5;b_main_sink(data);}void b_main_sink(int data){c_main_sink(data);}void c_main_sink(int data){d_main_sink(data);}void d_main_sink(int data){{int result=data+1;printIntLine(result);}}
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 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();}fwprintf(stdout, data);}
static void main(){wchar_t * data;wchar_t data_buf[100]=L"";data=data_buf;wcscpy(data, L"fixedstringtest");fwprintf(stdout, data);}
void b_main_sink();void _main(){char * data;char data_buf[100]="";data=data_buf;{size_t data_len=strlen(data);if(100-data_len > 1){fgets(data+data_len, (int)(100-data_len), stdin);data_len=strlen(data);if (data_len > 0){data[data_len-1]='\0';}}}_main_data=data;b_main_sink();}void b_main_sink(){char * data=_main_data;{char *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};EXECV(COMMAND_INT_PATH, args);}}
void b_main_sink();static void main(){char * data;char data_buf[100]="";data=data_buf;strcat(data, "*.*");_main_data=data;b_main_sink();}void b_main_sink(){char * data=_main_data;{char *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};EXECV(COMMAND_INT_PATH, args);}}
void _main(){wchar_t * data;wchar_t * *data_ptr1=&data;wchar_t * *data_ptr2=&data;wchar_t data_buf[100];wmemset(data_buf, L'A', 100-1);data_buf[100-1]=L'\0';{wchar_t * data=*data_ptr1;data=data_buf-8;}{wchar_t * data=*data_ptr2;{wchar_t src[100];memcpy(data, src, 100*sizeof(wchar_t));data[100-1]=L'\0';printWLine(data);}}}
static void main(){wchar_t * data;wchar_t * *data_ptr1=&data;wchar_t * *data_ptr2=&data;wchar_t data_buf[100];wmemset(data_buf, L'A', 100-1);data_buf[100-1]=L'\0';{wchar_t * data=*data_ptr1;data=data_buf;}{wchar_t * data=*data_ptr2;{wchar_t src[100];memcpy(data, src, 100*sizeof(wchar_t));data[100-1]=L'\0';printWLine(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;{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);}}}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 *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};_wspawnvp(_P_WAIT, COMMAND_INT, args);}}
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;wcscat(data, L"*.*");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 *args[]={COMMAND_INT_PATH, COMMAND_ARG1, COMMAND_ARG2, COMMAND_ARG3, NULL};_wspawnvp(_P_WAIT, COMMAND_INT, args);}}
static void main_sink(){wchar_t * data=_main_data;fwprintf(stdout, data);}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';}}}_main_data=data;main_sink();}
static void main_sink(){wchar_t * data=_main_data;fwprintf(stdout, 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);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';}}}_main_data=data;main_sink();}
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_ptr1=&data;char * *data_ptr2=&data;char data_buf[100]="";data=data_buf;{char * data=*data_ptr1;{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);}}}}{char * data=*data_ptr2;main_vasink(data, data);}}
static void main_vasink(char * data, ...){{va_list args;va_start(args, data);vfprintf(stdout, data, args);va_end(args);}}static void main(){char * data;char * *data_ptr1=&data;char * *data_ptr2=&data;char data_buf[100]="";data=data_buf;{char * data=*data_ptr1;strcpy(data, "fixedstringtest");}{char * data=*data_ptr2;main_vasink(data, data);}}
void main_source(wchar_t * &data){data=new wchar_t;printHexCharLine((char)*data);}void main(){wchar_t * data;data=NULL;main_source(data);}
static void main_source(wchar_t * &data){data=new wchar_t;printHexCharLine((char)*data);}static void main(){wchar_t * data;data=NULL;main_source(data);delete data;}
void b_main_sink(short data_array[]);void _main(){short data;short data_array[5];data=-1;data=CHAR_MAX+1;data_array[2]=data;b_main_sink(data_array);}void b_main_sink(short data_array[]){short data=data_array[2];{char c=(char)data;printHexCharLine(c);}}
void b_main_sink(short data_array[]);static void main(){short data;short data_array[5];data=-1;data=CHAR_MAX-5;data_array[2]=data;b_main_sink(data_array);}void b_main_sink(short data_array[]){short data=data_array[2];{char c=(char)data;printHexCharLine(c);}}
void main_sink(char * data);void main(){char * data;data=new char[100];main_sink(data);}void main_sink(char * data){{char dest[50]="";_snprintf(dest, strlen(data), "%s", data);printLine(data);delete [] data;}}
void main_sink(char * data);static void main(){char * data;data=new char[100];main_sink(data);}void main_sink(char * data){{char dest[50]="";_snprintf(dest, strlen(data), "%s", data);printLine(data);delete [] data;}}
void b_main_sink();void _main(){int data;data=-1;{char input_buf[CHAR_ARRAY_SIZE]="";fgets(input_buf, CHAR_ARRAY_SIZE, stdin);data=atoi(input_buf);}_main_data=data;b_main_sink();}void b_main_sink(){int data=_main_data;{int result=data * data;printIntLine(result);}}
static void main(){int data;data=-1;data=5;_main_data=data;b_main_sink();}void b_main_sink(){int data=_main_data;{int result=data * data;printIntLine(result);}}
void _main(){short data;data=0;data=(short)RAND32();{char src[100];char dest[100]="";memset(src, 'A', 100-1);src[100-1]='\0';if (data < 100){strncpy(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){strncpy(dest, src, data);}printLine(dest);}}
void main(){twoints * data;data=NULL;data=new twoints[100];delete data;}
static void main(){twoints * data;data=NULL;data=new twoints;delete data;}
static void main_sink(){twoints * data=main_data;}void main(){twoints * data;data=NULL;data=new twoints[100];data[0].a=0;data[0].b=0;printStructLine(&data[0]);main_data=data;main_sink();}
static void main_sink(){twoints * data=main_data;}static void main(){twoints * data;data=NULL;{twoints data_goodbuf[100];data=data_goodbuf;data[0].a=0;data[0].b=0;printStructLine(&data[0]);}main_data=data;main_sink();}
void main_sink(twoints * data);void main(){twoints * data;data=NULL;data=new twoints[100];main_sink(data);}void main_sink(twoints * data){delete data;}
static void main(){twoints * data;data=NULL;data=new twoints[100];main_sink(data);}void main_sink(twoints * data){delete [] data;}
void _main(){int data;fscanf (stdin, "%d", &data);{int data_copy=data;int data=data_copy;{wchar_t data_buf[10]=L"AAAAAAAAA";if (data >=0){printWcharLine(data_buf[data]);}else{printLine("ERROR: Array index is negative");}}}}
static void main(){int data;fscanf (stdin, "%d", &data);{int data_copy=data;int data=data_copy;{wchar_t data_buf[10]=L"AAAAAAAAA";{printWcharLine(data_buf[data]);}else{printLine("ERROR: Array index is out-of-bounds");}}}}
void b_main_sink(char * * data_ptr);void _main(){char * data;data=NULL;data=(char *)calloc(100, sizeof(char));strcpy(data, "A String");printLine(data);b_main_sink(&data);}void b_main_sink(char * * data_ptr){char * data=*data_ptr;}
static void main(){char * data;data=NULL;{char data_goodbuf[100];data=data_goodbuf;strcpy(data, "A String");printLine(data);}b_main_sink(&data);}void b_main_sink(char * * data_ptr){char * data=*data_ptr;}
void main_sink_b(char * data);void main(){char * data;data=NULL;data=new char[50];main_sink_b(data);}void main_sink_c(char * data);void main_sink_b(char * data){main_sink_c(data);}void main_sink_c(char * data){{char src[100];memmove(data, src, 100*sizeof(char));printLine(data);delete [] data;}}
void main_sink_b(char * data);static void main(){char * data;data=NULL;data=new char[100];main_sink_b(data);}void main_sink_c(char * data);void main_sink_b(char * data){main_sink_c(data);}void main_sink_c(char * data){{char src[100];memmove(data, src, 100*sizeof(char));printLine(data);delete [] data;}}
void _main(){char * data;char data_buf[FILENAME_MAX]="";data=data_buf;if(global_returns_t_or_f()){{size_t data_len=strlen(data);if(FILENAME_MAX-data_len > 1){fgets(data+data_len, (int)(FILENAME_MAX-data_len), stdin);data_len=strlen(data);if (data_len > 0){data[data_len-1]='\0';}}}}else{strcpy(data, "c:\\temp\\file.txt");strcpy(data, "/tmp/file.txt");}{int fd;fd=OPEN(data, O_RDWR|O_CREAT, S_IREAD|S_IWRITE);if (fd!=-1){CLOSE(fd);}}}
static void main(){char * data;char data_buf[FILENAME_MAX]="";data=data_buf;if(global_returns_t_or_f()){strcpy(data, "c:\\temp\\file.txt");strcpy(data, "/tmp/file.txt");}else{strcpy(data, "c:\\temp\\file.txt");strcpy(data, "/tmp/file.txt");}{int fd;fd=OPEN(data, O_RDWR|O_CREAT, S_IREAD|S_IWRITE);if (fd!=-1){CLOSE(fd);}}}
static void main_vasinkb(wchar_t * data, ...){{va_list args;va_start(args, data);vfwprintf(stdout, data, args);va_end(args);}}static void main_vasinkg(wchar_t * data, ...){{va_list args;va_start(args, data);vfwprintf(stdout, L"%s", args);va_end(args);}}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_vasinkb(data, data);}
static void main_vasinkb(wchar_t * data, ...){{va_list args;va_start(args, data);vfwprintf(stdout, data, args);va_end(args);}}static void main_vasinkg(wchar_t * data, ...){{va_list args;va_start(args, data);vfwprintf(stdout, L"%s", args);va_end(args);}}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);}}}main_vasinkg(data, data);}
void b_main_sink(twoints * data);void _main(){twoints * data;void (*func_ptr) (twoints *)=b_main_sink;twoints * data_mainbuf=(twoints *)ALLOCA(50*sizeof(twoints));twoints * data_goodbuf=(twoints *)ALLOCA(100*sizeof(twoints));data=data_mainbuf;func_ptr(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]);}}
void b_main_sink(twoints * data);static void main(){twoints * data;void (*func_ptr) (twoints *)=b_main_sink;twoints * data_badbuf=(twoints *)ALLOCA(50*sizeof(twoints));twoints * data_goodbuf=(twoints *)ALLOCA(100*sizeof(twoints));data=data_goodbuf;func_ptr(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]);}}
void b_main_sink(int data_array[]);void _main(){int data;int data_array[5];data=-1;data=RAND32();data_array[2]=data;b_main_sink(data_array);}void b_main_sink(int data_array[]){int data=data_array[2];{int result=data * data;printIntLine(result);}}
static void main(){int data;int data_array[5];data=-1;data=5;data_array[2]=data;b_main_sink(data_array);}void b_main_sink(int data_array[]){int data=data_array[2];{int result=data * data;printIntLine(result);}}