input
stringlengths 144
489k
| output
stringlengths 45
339k
| shard
stringclasses 16
values | filename
stringlengths 135
135
| line_num
int64 0
2.62k
| context
sequence |
---|---|---|---|---|---|
{"name": "monocle", "code": "__int64 __fastcall monocle ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; unsigned int @@v4@@ ; @@v4@@ = Number ; for ( i = * ( _QWORD * ) ( @@a1@@ + Number ) ; i ; i = * ( _QWORD * ) ( i + Number ) ) { if ( ( * ( _DWORD * ) ( i + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( i + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( i + Number ) + Number L ) + Number L ) + Number ) ) != Number ) ++ @@v4@@ ; } if ( @@v4@@ ) snprintf ( ( char * ) @@a1@@ , Number , String , @@v4@@ ) ; @@result@@ = nexttiled ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; for ( j = @@result@@ ; j ; j = @@result@@ ) { resize ( j , * ( unsigned int * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) , ( unsigned int ) ( * ( _DWORD * ) ( @@a1@@ + Number ) - Number * * ( _DWORD * ) ( j + Number ) ) , ( unsigned int ) ( * ( _DWORD * ) ( @@a1@@ + Number ) - Number * * ( _DWORD * ) ( j + Number ) ) , Number L ) ; @@result@@ = nexttiled ( * ( _QWORD * ) ( j + Number ) ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]} | [{"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "n", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 39 | [
"{\"name\": \"nexttiled\", \"code\": \"__int64 __fastcall nexttiled ( __int64 @@a1@@ ) { while ( @@a1@@ && ( * ( _DWORD * ) ( @@a1@@ + Number ) || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) ) @@a1@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; return @@a1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}]}",
"{\"name\": \"resize\", \"code\": \"__int64 __fastcall resize ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ , unsigned int @@a5@@ , int @@a6@@ ) { __int64 @@result@@ ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; __int64 @@v11@@ ; @@v11@@ = @@a1@@ ; @@v10@@ = @@a2@@ ; @@v9@@ = @@a3@@ ; @@v8@@ = @@a4@@ ; @@v7@@ = @@a5@@ ; @@result@@ = applysizehints ( @@a1@@ , & @@v10@@ , & @@v9@@ , ( int * ) & @@v8@@ , ( int * ) & @@v7@@ , @@a6@@ ) ; if ( ( _DWORD ) @@result@@ ) @@result@@ = resizeclient ( @@v11@@ , @@v10@@ , @@v9@@ , @@v8@@ , @@v7@@ ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"a5\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r72\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"a6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r80\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s24\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"tile\", \"code\": \"__int64 __fastcall tile ( __int64 @@a1@@ ) { __int64 result ; int v2 ; unsigned int v3 ; __int64 v4 ; __int64 v5 ; int @@v6@@ ; int @@v7@@ ; int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; @@v9@@ = Number ; result = nexttiled ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; v4 = result ; while ( v4 ) { result = nexttiled ( * ( _QWORD * ) ( v4 + Number ) ) ; v4 = result ; ++ @@v9@@ ; } if ( @@v9@@ ) { if ( @@v9@@ <= * ( _DWORD * ) ( @@a1@@ + Number ) ) { @@v8@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; } else { if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) v2 = ( int ) ( float ) ( * ( float * ) ( @@a1@@ + Number ) * ( float ) * ( int * ) ( @@a1@@ + Number ) ) ; else v2 = Number ; @@v8@@ = v2 ; } @@v6@@ = Number ; @@v7@@ = Number ; @@v10@@ = Number ; result = nexttiled ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; v5 = result ; while ( v5 ) { if ( @@v10@@ >= * ( _DWORD * ) ( @@a1@@ + Number ) ) { resize ( v5 , * ( _DWORD * ) ( @@a1@@ + Number ) + @@v8@@ , * ( _DWORD * ) ( @@a1@@ + Number ) + @@v6@@ , * ( _DWORD * ) ( @@a1@@ + Number ) - @@v8@@ - Number * * ( _DWORD * ) ( v5 + Number ) , ( * ( _DWORD * ) ( @@a1@@ + Number ) - @@v6@@ ) / ( @@v9@@ - @@v10@@ ) - Number * * ( _DWORD * ) ( v5 + Number ) , Number ) ; @@v6@@ += * ( _DWORD * ) ( v5 + Number ) + Number * * ( _DWORD * ) ( v5 + Number ) ; } else { v3 = * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( @@v9@@ <= v3 ) v3 = @@v9@@ ; resize ( v5 , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) + @@v7@@ , @@v8@@ - Number * * ( _DWORD * ) ( v5 + Number ) , ( * ( _DWORD * ) ( @@a1@@ + Number ) - @@v7@@ ) / ( v3 - @@v10@@ ) - Number * * ( _DWORD * ) ( v5 + Number ) , Number ) ; @@v7@@ += * ( _DWORD * ) ( v5 + Number ) + Number * * ( _DWORD * ) ( v5 + Number ) ; } result = nexttiled ( * ( _QWORD * ) ( v5 + Number ) ) ; v5 = result ; ++ @@v10@@ ; } } return result ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s4\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s8\"}]}"
] |
{"name": "motionnotify", "code": "Window __fastcall motionnotify ( __int64 @@a1@@ ) { Window @@result@@ ; char * @@v2@@ ; @@result@@ = root ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) == root ) { @@v2@@ = ( char * ) recttomon ( * ( unsigned int * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) , Number L , Number L ) ; if ( @@v2@@ != ( char * ) mon_12100 ) { if ( mon_12100 ) { unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; selmon = @@v2@@ ; focus ( Number L ) ; } } @@result@@ = ( Window ) @@v2@@ ; mon_12100 = ( __int64 ) @@v2@@ ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "Window", "s": 8}, "location": "r8"}, {"n": "v2", "t": {"T": 3, "t": "char"}, "location": "s16"}]} | [{"n": "e", "t": {"T": 3, "t": "XEvent"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "s16"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 40 | [
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"recttomon\", \"code\": \"char * __fastcall recttomon ( int @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ ) { int v4 ; int v5 ; int v6 ; int v7 ; int v8 ; int v9 ; int v10 ; int @@v14@@ ; char * @@v15@@ ; __int64 @@i@@ ; @@v15@@ = selmon ; @@v14@@ = Number ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { v4 = * ( _DWORD * ) ( @@i@@ + Number ) + * ( _DWORD * ) ( @@i@@ + Number ) ; if ( v4 > @@a1@@ + @@a3@@ ) v4 = @@a1@@ + @@a3@@ ; v5 = * ( _DWORD * ) ( @@i@@ + Number ) ; if ( @@a1@@ >= v5 ) v5 = @@a1@@ ; v6 = v4 - v5 ; v7 = Number ; if ( v6 >= Number ) v7 = v6 ; v8 = * ( _DWORD * ) ( @@i@@ + Number ) + * ( _DWORD * ) ( @@i@@ + Number ) ; if ( v8 > @@a2@@ + @@a4@@ ) v8 = @@a2@@ + @@a4@@ ; v9 = * ( _DWORD * ) ( @@i@@ + Number ) ; if ( @@a2@@ >= v9 ) v9 = @@a2@@ ; v10 = v8 - v9 ; if ( v10 < Number ) v10 = Number ; if ( v7 * v10 > @@v14@@ ) { @@v14@@ = v7 * v10 ; @@v15@@ = ( char * ) @@i@@ ; } } return @@v15@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"v15\", \"t\": {\"T\": 3, \"t\": \"char\"}, \"location\": \"s16\"}, {\"n\": \"v14\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"unfocus\", \"code\": \"int __fastcall unfocus ( __int64 @@a1@@ , int @@a2@@ ) { int @@result@@ ; if ( @@a1@@ ) { grabbuttons ( @@a1@@ , Number ) ; @@result@@ = XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) scheme + Number L ) ) ; if ( @@a2@@ ) { XSetInputFocus ( dpy , root , Number , Number L ) ; @@result@@ = XDeleteProperty ( dpy , root , qword_7DE8 ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r8\"}]}"
] |
{"name": "movemouse", "code": "int movemouse ( ) { _DWORD * @@v0@@ ; __int64 @@v1@@ ; __int64 @@v2@@ ; XEvent @@v4@@ ; int @@v5@@ ; int @@v6@@ ; char * @@v7@@ ; int @@v8@@ ; int @@v9@@ ; _DWORD * @@v10@@ ; __int64 @@v11@@ ; unsigned int @@v12@@ ; unsigned int @@v13@@ ; @@v11@@ = Number L ; @@v0@@ = ( _DWORD * ) * ( ( _QWORD * ) selmon + Number ) ; @@v10@@ = @@v0@@ ; if ( ! @@v0@@ ) return ( int ) @@v0@@ ; LODWORD ( @@v0@@ ) = @@v10@@ [ Number ] ; if ( ( _DWORD ) @@v0@@ ) return ( int ) @@v0@@ ; restack ( selmon ) ; @@v9@@ = @@v10@@ [ Number ] ; @@v8@@ = @@v10@@ [ Number ] ; LODWORD ( @@v0@@ ) = XGrabPointer ( dpy , root , Number , Number , Number , Number , Number L , * ( _QWORD * ) qword_7E20 , Number L ) ; if ( ( _DWORD ) @@v0@@ ) return ( int ) @@v0@@ ; LODWORD ( @@v0@@ ) = getrootptr ( & @@v6@@ , & @@v5@@ ) ; if ( ! ( _DWORD ) @@v0@@ ) return ( int ) @@v0@@ ; do { XMaskEvent ( dpy , Number L , & @@v4@@ ) ; if ( @@v4@@ . type == Number ) goto LABEL_11 ; if ( @@v4@@ . type > Number ) continue ; if ( @@v4@@ . type == Number ) goto LABEL_11 ; if ( @@v4@@ . type > Number ) continue ; if ( @@v4@@ . type != Number ) { if ( @@v4@@ . type != Number ) continue ; LABEL_11 : ( ( void ( __fastcall * ) ( XEvent * ) ) handler [ @@v4@@ . type ] ) ( & @@v4@@ ) ; continue ; } if ( @@v4@@ . xkey . time - @@v11@@ > Number ) { @@v11@@ = @@v4@@ . xclient . data . l [ Number ] ; @@v13@@ = @@v4@@ . xkey . x - @@v6@@ + @@v9@@ ; @@v12@@ = @@v4@@ . xkey . y - @@v5@@ + @@v8@@ ; if ( abs32 ( * ( ( _DWORD * ) selmon + Number ) - @@v13@@ ) >= Number ) { @@v1@@ = ( int ) ( * ( ( _DWORD * ) selmon + Number ) + * ( ( _DWORD * ) selmon + Number ) - ( Number * @@v10@@ [ Number ] + @@v10@@ [ Number ] + @@v13@@ ) ) ; if ( ( HIDWORD ( @@v1@@ ) ^ ( unsigned int ) @@v1@@ ) - HIDWORD ( @@v1@@ ) < Number ) @@v13@@ = * ( ( _DWORD * ) selmon + Number ) + * ( ( _DWORD * ) selmon + Number ) - ( @@v10@@ [ Number ] + Number * @@v10@@ [ Number ] ) ; } else { @@v13@@ = * ( ( _DWORD * ) selmon + Number ) ; } if ( abs32 ( * ( ( _DWORD * ) selmon + Number ) - @@v12@@ ) >= Number ) { @@v2@@ = ( int ) ( * ( ( _DWORD * ) selmon + Number ) + * ( ( _DWORD * ) selmon + Number ) - ( Number * @@v10@@ [ Number ] + @@v10@@ [ Number ] + @@v12@@ ) ) ; if ( ( HIDWORD ( @@v2@@ ) ^ ( unsigned int ) @@v2@@ ) - HIDWORD ( @@v2@@ ) < Number ) @@v12@@ = * ( ( _DWORD * ) selmon + Number ) + * ( ( _DWORD * ) selmon + Number ) - ( @@v10@@ [ Number ] + Number * @@v10@@ [ Number ] ) ; } else { @@v12@@ = * ( ( _DWORD * ) selmon + Number ) ; } if ( ! @@v10@@ [ Number ] && * ( _QWORD * ) ( * ( _QWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] + Number L ) && ( abs32 ( @@v13@@ - @@v10@@ [ Number ] ) > Number || abs32 ( @@v12@@ - @@v10@@ [ Number ] ) > Number ) ) { togglefloating ( Number L ) ; } if ( ! * ( _QWORD * ) ( * ( _QWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] + Number L ) || @@v10@@ [ Number ] ) resize ( @@v10@@ , @@v13@@ , @@v12@@ , ( unsigned int ) @@v10@@ [ Number ] , ( unsigned int ) @@v10@@ [ Number ] , Number L ) ; } } while ( @@v4@@ . type != Number ) ; XUngrabPointer ( dpy , Number L ) ; @@v7@@ = ( char * ) recttomon ( ( unsigned int ) @@v10@@ [ Number ] , ( unsigned int ) @@v10@@ [ Number ] , ( unsigned int ) @@v10@@ [ Number ] , ( unsigned int ) @@v10@@ [ Number ] ) ; LODWORD ( @@v0@@ ) = ( _DWORD ) selmon ; if ( @@v7@@ != selmon ) { sendmon ( @@v10@@ , @@v7@@ ) ; selmon = @@v7@@ ; LODWORD ( @@v0@@ ) = focus ( Number L ) ; } return ( int ) @@v0@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r1280"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r1288"}, {"n": "v0", "t": {"T": 3, "t": "_DWORD"}, "location": "r8"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v10", "t": {"T": 3, "t": "_DWORD"}, "location": "s24"}, {"n": "v4", "t": {"T": 8}, "location": "s240"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "v13", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v7", "t": {"T": 3, "t": "char"}, "location": "s40"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s48"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} | [{"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r1280"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r1288"}, {"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "lasttime", "t": {"T": 1, "n": "Time", "s": 8}, "location": "s16"}, {"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "s24"}, {"n": "ev", "t": {"T": 8}, "location": "s240"}, {"n": "ocx", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "ocy", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "nx", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "s40"}, {"n": "x", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}, {"n": "y", "t": {"T": 1, "n": "int", "s": 4}, "location": "s48"}, {"n": "ny", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 41 | [
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"getrootptr\", \"code\": \"int __fastcall getrootptr ( int * @@a1@@ , int * @@a2@@ ) { Window @@v3@@ ; unsigned int @@v4@@ ; int @@v5@@ ; return XQueryPointer ( dpy , root , & @@v3@@ , & @@v3@@ , @@a1@@ , @@a2@@ , & @@v5@@ , & @@v5@@ , & @@v4@@ ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"int\"}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"int\"}, \"location\": \"r64\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"Window\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"v5\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s4\"}, {\"n\": \"v4\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s8\"}]}",
"{\"name\": \"recttomon\", \"code\": \"char * __fastcall recttomon ( int @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ ) { int v4 ; int v5 ; int v6 ; int v7 ; int v8 ; int v9 ; int v10 ; int @@v14@@ ; char * @@v15@@ ; __int64 @@i@@ ; @@v15@@ = selmon ; @@v14@@ = Number ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { v4 = * ( _DWORD * ) ( @@i@@ + Number ) + * ( _DWORD * ) ( @@i@@ + Number ) ; if ( v4 > @@a1@@ + @@a3@@ ) v4 = @@a1@@ + @@a3@@ ; v5 = * ( _DWORD * ) ( @@i@@ + Number ) ; if ( @@a1@@ >= v5 ) v5 = @@a1@@ ; v6 = v4 - v5 ; v7 = Number ; if ( v6 >= Number ) v7 = v6 ; v8 = * ( _DWORD * ) ( @@i@@ + Number ) + * ( _DWORD * ) ( @@i@@ + Number ) ; if ( v8 > @@a2@@ + @@a4@@ ) v8 = @@a2@@ + @@a4@@ ; v9 = * ( _DWORD * ) ( @@i@@ + Number ) ; if ( @@a2@@ >= v9 ) v9 = @@a2@@ ; v10 = v8 - v9 ; if ( v10 < Number ) v10 = Number ; if ( v7 * v10 > @@v14@@ ) { @@v14@@ = v7 * v10 ; @@v15@@ = ( char * ) @@i@@ ; } } return @@v15@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"v15\", \"t\": {\"T\": 3, \"t\": \"char\"}, \"location\": \"s16\"}, {\"n\": \"v14\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"resize\", \"code\": \"__int64 __fastcall resize ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ , unsigned int @@a5@@ , int @@a6@@ ) { __int64 @@result@@ ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; __int64 @@v11@@ ; @@v11@@ = @@a1@@ ; @@v10@@ = @@a2@@ ; @@v9@@ = @@a3@@ ; @@v8@@ = @@a4@@ ; @@v7@@ = @@a5@@ ; @@result@@ = applysizehints ( @@a1@@ , & @@v10@@ , & @@v9@@ , ( int * ) & @@v8@@ , ( int * ) & @@v7@@ , @@a6@@ ) ; if ( ( _DWORD ) @@result@@ ) @@result@@ = resizeclient ( @@v11@@ , @@v10@@ , @@v9@@ , @@v8@@ , @@v7@@ ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"a5\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r72\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"a6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r80\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s24\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"restack\", \"code\": \"int __fastcall restack ( __int64 @@a1@@ ) { __int64 @@v1@@ ; XWindowChanges @@v3@@ ; XEvent @@v4@@ ; __int64 @@i@@ ; drawbar ( @@a1@@ ) ; @@v1@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@v1@@ ) { if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) || ! * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number * ( * ( unsigned int * ) ( @@a1@@ + Number ) + Number L ) ) + Number L ) ) { XRaiseWindow ( dpy , * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; } if ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number * ( * ( unsigned int * ) ( @@a1@@ + Number ) + Number L ) ) + Number L ) ) { @@v3@@ . stack_mode = Number ; @@v3@@ . sibling = * ( _QWORD * ) ( @@a1@@ + Number ) ; for ( @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { if ( ! * ( _DWORD * ) ( @@i@@ + Number ) && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) != Number ) { XConfigureWindow ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , Number , & @@v3@@ ) ; @@v3@@ . sibling = * ( _QWORD * ) ( @@i@@ + Number ) ; } } } XSync ( dpy , Number ) ; do LODWORD ( @@v1@@ ) = XCheckMaskEvent ( dpy , Number L , & @@v4@@ ) ; while ( ( _DWORD ) @@v1@@ ) ; } return @@v1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"v4\", \"t\": {\"T\": 8}, \"location\": \"s208\"}, {\"n\": \"v3\", \"t\": {\"T\": 6, \"n\": \"XWindowChanges\", \"l\": [{\"T\": 4, \"n\": \"x\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"y\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"border_width\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"sibling\", \"t\": \"Window\", \"s\": 8}, {\"T\": 4, \"n\": \"stack_mode\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}]}, \"location\": \"s256\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"sendmon\", \"code\": \"__int64 __fastcall sendmon ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@a2@@ != @@result@@ ) { unfocus ( @@a1@@ , Number L ) ; detach ( @@a1@@ ) ; detachstack ( @@a1@@ ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a2@@ + Number * ( * ( unsigned int * ) ( @@a2@@ + Number ) + Number L ) + Number ) ; attach ( @@a1@@ ) ; attachstack ( @@a1@@ ) ; focus ( Number L ) ; @@result@@ = arrange ( Number L ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"togglefloating\", \"code\": \"__int64 togglefloating ( ) { __int64 @@result@@ ; _BOOL4 @@v1@@ ; @@result@@ = * ( ( _QWORD * ) selmon + Number ) ; if ( @@result@@ ) { @@result@@ = * ( unsigned int * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) ; if ( ! ( _DWORD ) @@result@@ ) { @@v1@@ = ! * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) || * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) ; * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) = @@v1@@ ; if ( * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) ) resize ( * ( ( _QWORD * ) selmon + Number ) , * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , Number ) ; @@result@@ = arrange ( ( __int64 ) selmon ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"v1\", \"t\": {\"T\": 1, \"n\": \"_BOOL4\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}"
] |
{"name": "nexttiled", "code": "__int64 __fastcall nexttiled ( __int64 @@a1@@ ) { while ( @@a1@@ && ( * ( _DWORD * ) ( @@a1@@ + Number ) || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) ) @@a1@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 42 | [
"{\"name\": \"tile\", \"code\": \"__int64 __fastcall tile ( __int64 @@a1@@ ) { __int64 result ; int v2 ; unsigned int v3 ; __int64 v4 ; __int64 v5 ; int @@v6@@ ; int @@v7@@ ; int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; @@v9@@ = Number ; result = nexttiled ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; v4 = result ; while ( v4 ) { result = nexttiled ( * ( _QWORD * ) ( v4 + Number ) ) ; v4 = result ; ++ @@v9@@ ; } if ( @@v9@@ ) { if ( @@v9@@ <= * ( _DWORD * ) ( @@a1@@ + Number ) ) { @@v8@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; } else { if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) v2 = ( int ) ( float ) ( * ( float * ) ( @@a1@@ + Number ) * ( float ) * ( int * ) ( @@a1@@ + Number ) ) ; else v2 = Number ; @@v8@@ = v2 ; } @@v6@@ = Number ; @@v7@@ = Number ; @@v10@@ = Number ; result = nexttiled ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; v5 = result ; while ( v5 ) { if ( @@v10@@ >= * ( _DWORD * ) ( @@a1@@ + Number ) ) { resize ( v5 , * ( _DWORD * ) ( @@a1@@ + Number ) + @@v8@@ , * ( _DWORD * ) ( @@a1@@ + Number ) + @@v6@@ , * ( _DWORD * ) ( @@a1@@ + Number ) - @@v8@@ - Number * * ( _DWORD * ) ( v5 + Number ) , ( * ( _DWORD * ) ( @@a1@@ + Number ) - @@v6@@ ) / ( @@v9@@ - @@v10@@ ) - Number * * ( _DWORD * ) ( v5 + Number ) , Number ) ; @@v6@@ += * ( _DWORD * ) ( v5 + Number ) + Number * * ( _DWORD * ) ( v5 + Number ) ; } else { v3 = * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( @@v9@@ <= v3 ) v3 = @@v9@@ ; resize ( v5 , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) + @@v7@@ , @@v8@@ - Number * * ( _DWORD * ) ( v5 + Number ) , ( * ( _DWORD * ) ( @@a1@@ + Number ) - @@v7@@ ) / ( v3 - @@v10@@ ) - Number * * ( _DWORD * ) ( v5 + Number ) , Number ) ; @@v7@@ += * ( _DWORD * ) ( v5 + Number ) + Number * * ( _DWORD * ) ( v5 + Number ) ; } result = nexttiled ( * ( _QWORD * ) ( v5 + Number ) ) ; v5 = result ; ++ @@v10@@ ; } } return result ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s4\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s8\"}]}"
] |
{"name": "pop", "code": "__int64 __fastcall pop ( __int64 @@a1@@ ) { detach ( @@a1@@ ) ; attach ( @@a1@@ ) ; focus ( @@a1@@ ) ; return arrange ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 43 | [
"{\"name\": \"arrange\", \"code\": \"__int64 __fastcall arrange ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; i = @@a1@@ ; if ( @@a1@@ ) { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { for ( i = mons ; i ; i = * ( _QWORD * ) ( i + Number ) ) showhide ( * ( _QWORD * ) ( i + Number ) ) ; } if ( i ) { arrangemon ( i ) ; @@result@@ = restack ( i ) ; } else { @@result@@ = mons ; for ( j = mons ; j ; j = @@result@@ ) { arrangemon ( j ) ; @@result@@ = * ( _QWORD * ) ( j + Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"attach\", \"code\": \"__int64 __fastcall attach ( __int64 @@a1@@ ) { __int64 @@result@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@result@@ + Number ) = @@a1@@ ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"detach\", \"code\": \"_QWORD * __fastcall detach ( __int64 @@a1@@ ) { _QWORD * @@result@@ ; _QWORD * @@i@@ ; for ( @@i@@ = ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; * @@i@@ && @@a1@@ != * @@i@@ ; @@i@@ = ( _QWORD * ) ( * @@i@@ + Number L ) ) ; @@result@@ = @@i@@ ; * @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"r8\"}, {\"n\": \"i\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"s8\"}]}",
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "propertynotify", "code": "__int64 __fastcall propertynotify ( __int64 @@a1@@ ) { __int64 result ; unsigned __int64 v2 ; __int64 v3 ; Window @@v4@@ ; __int64 @@v5@@ ; __int64 @@v6@@ ; @@v6@@ = @@a1@@ ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) == root && * ( _QWORD * ) ( @@v6@@ + Number ) == Number L ) return updatestatus ( ) ; result = * ( unsigned int * ) ( @@v6@@ + Number ) ; if ( ( _DWORD ) result != Number ) { result = wintoclient ( * ( _QWORD * ) ( @@v6@@ + Number ) ) ; @@v5@@ = result ; if ( result ) { v2 = * ( _QWORD * ) ( @@v6@@ + Number ) ; if ( v2 == Number ) { if ( ! * ( _DWORD * ) ( @@v5@@ + Number ) ) { if ( XGetTransientForHint ( dpy , * ( _QWORD * ) ( @@v5@@ + Number ) , & @@v4@@ ) ) { v3 = wintoclient ( @@v4@@ ) ; * ( _DWORD * ) ( @@v5@@ + Number ) = v3 != Number ; if ( * ( _DWORD * ) ( @@v5@@ + Number ) ) arrange ( * ( _QWORD * ) ( @@v5@@ + Number ) ) ; } } } else if ( v2 <= Number ) { if ( v2 == Number ) { updatewmhints ( @@v5@@ ) ; drawbars ( ) ; } else if ( v2 == Number ) { updatesizehints ( @@v5@@ ) ; } } if ( * ( _QWORD * ) ( @@v6@@ + Number ) == Number L || * ( _QWORD * ) ( @@v6@@ + Number ) == qword_7DC8 ) { updatetitle ( @@v5@@ ) ; if ( @@v5@@ == * ( _QWORD * ) ( * ( _QWORD * ) ( @@v5@@ + Number ) + Number L ) ) drawbar ( * ( _QWORD * ) ( @@v5@@ + Number ) ) ; } result = qword_7DF0 ; if ( * ( _QWORD * ) ( @@v6@@ + Number ) == qword_7DF0 ) result = updatewindowtype ( @@v5@@ ) ; } } return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "Window", "s": 8}, "location": "s24"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "e", "t": {"T": 3, "t": "XEvent"}, "location": "r56"}, {"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "s16"}, {"n": "trans", "t": {"T": 1, "n": "Window", "s": 8}, "location": "s24"}, {"n": "ev", "t": {"T": 3, "t": "XPropertyEvent"}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 44 | [
"{\"name\": \"arrange\", \"code\": \"__int64 __fastcall arrange ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; i = @@a1@@ ; if ( @@a1@@ ) { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { for ( i = mons ; i ; i = * ( _QWORD * ) ( i + Number ) ) showhide ( * ( _QWORD * ) ( i + Number ) ) ; } if ( i ) { arrangemon ( i ) ; @@result@@ = restack ( i ) ; } else { @@result@@ = mons ; for ( j = mons ; j ; j = @@result@@ ) { arrangemon ( j ) ; @@result@@ = * ( _QWORD * ) ( j + Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"drawbar\", \"code\": \"__int64 __fastcall drawbar ( __int64 @@a1@@ ) { __int64 v1 ; _BOOL8 @@v2@@ ; __int64 v3 ; unsigned int v5 ; unsigned int v6 ; unsigned int v7 ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; __int64 @@i@@ ; int @@v11@@ ; int @@v12@@ ; unsigned int @@j@@ ; unsigned int @@v14@@ ; unsigned int v15 ; unsigned int v16 ; @@v14@@ = Number ; @@v9@@ = * ( _DWORD * ) ( * ( _QWORD * ) ( drw + Number ) + Number L ) / Number ; @@v8@@ = * ( _DWORD * ) ( * ( _QWORD * ) ( drw + Number ) + Number L ) / Number + Number ; @@v12@@ = Number ; @@v11@@ = Number ; if ( ( char * ) @@a1@@ == selmon ) { drw_setscheme ( drw , * ( _QWORD * ) scheme ) ; @@v14@@ = drw_fontset_getwidth ( drw , & stext ) + Number ; drw_text ( drw , * ( _DWORD * ) ( @@a1@@ + Number ) - @@v14@@ , Number L , @@v14@@ , dword_7D6C , Number L , & stext , Number L ) ; } for ( @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { @@v12@@ |= * ( _DWORD * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) @@v11@@ |= * ( _DWORD * ) ( @@i@@ + Number ) ; } v15 = Number ; for ( @@j@@ = Number ; @@j@@ <= Number ; ++ @@j@@ ) { v5 = lrpad + drw_fontset_getwidth ( drw , tags [ @@j@@ ] ) ; if ( ( * ( _DWORD * ) ( @@a1@@ + Number * ( * ( unsigned int * ) ( @@a1@@ + Number ) + Number L ) + Number ) & ( Number << @@j@@ ) ) != Number ) v1 = Number L ; else v1 = Number L ; drw_setscheme ( drw , * ( _QWORD * ) ( scheme + v1 ) ) ; drw_text ( drw , v15 , Number L , v5 , dword_7D6C , ( unsigned int ) ( lrpad / Number ) , tags [ @@j@@ ] , @@v11@@ & ( unsigned int ) ( Number << @@j@@ ) ) ; if ( ( @@v12@@ & ( Number << @@j@@ ) ) != Number ) { @@v2@@ = ( char * ) @@a1@@ == selmon && * ( ( _QWORD * ) selmon + Number ) && ( * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) & ( Number << @@j@@ ) ) != Number ; drw_rect ( drw , v15 + @@v9@@ , @@v9@@ , @@v8@@ , @@v8@@ , @@v2@@ , @@v11@@ & ( unsigned int ) ( Number << @@j@@ ) ) ; } v15 += v5 ; } blw = lrpad + drw_fontset_getwidth ( drw , @@a1@@ ) ; v6 = blw ; drw_setscheme ( drw , * ( _QWORD * ) scheme ) ; v16 = drw_text ( drw , v15 , Number L , v6 , dword_7D6C , ( unsigned int ) ( lrpad / Number ) , @@a1@@ , Number L ) ; v7 = * ( _DWORD * ) ( @@a1@@ + Number ) - @@v14@@ - v16 ; if ( ( int ) v7 > ( int ) dword_7D6C ) { if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { if ( ( char * ) @@a1@@ == selmon ) v3 = Number L ; else v3 = Number L ; drw_setscheme ( drw , * ( _QWORD * ) ( scheme + v3 ) ) ; drw_text ( drw , v16 , Number L , v7 , dword_7D6C , ( unsigned int ) ( lrpad / Number ) , * ( _QWORD * ) ( @@a1@@ + Number ) , Number L ) ; if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) drw_rect ( drw , v16 + @@v9@@ , @@v9@@ , @@v8@@ , @@v8@@ , * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , Number L ) ; } else { drw_setscheme ( drw , * ( _QWORD * ) scheme ) ; drw_rect ( drw , v16 , Number L , v7 , dword_7D6C , Number L , Number L ) ; } } return drw_map ( drw , * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , Number L , * ( unsigned int * ) ( @@a1@@ + Number ) , dword_7D6C ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"_BOOL8\", \"s\": 8}, \"location\": \"r80\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v12\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s32\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s36\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s40\"}, {\"n\": \"v14\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s8\"}]}",
"{\"name\": \"drawbars\", \"code\": \"__int64 drawbars ( ) { __int64 @@result@@ ; __int64 @@i@@ ; @@result@@ = mons ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = @@result@@ ) { drawbar ( @@i@@ ) ; @@result@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"updatesizehints\", \"code\": \"__int64 __fastcall updatesizehints ( __int64 @@a1@@ ) { float @@v1@@ ; _BOOL4 @@v2@@ ; __int64 @@result@@ ; XSizeHints @@v4@@ ; __int64 @@v5@@ ; if ( ! XGetWMNormalHints ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , & @@v4@@ , & @@v5@@ ) ) @@v4@@ . flags = Number L ; if ( ( @@v4@@ . flags & Number ) != Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . base_width ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . base_height ; } else if ( ( @@v4@@ . flags & Number ) != Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . min_width ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . min_height ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; } if ( ( @@v4@@ . flags & Number ) != Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . width_inc ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . height_inc ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; } if ( ( @@v4@@ . flags & Number ) != Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . max_width ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . max_height ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; } if ( ( @@v4@@ . flags & Number ) != Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . min_width ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . min_height ; } else if ( ( @@v4@@ . flags & Number ) != Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . base_width ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . base_height ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; } if ( ( @@v4@@ . flags & Number ) != Number ) { * ( float * ) ( @@a1@@ + Number ) = ( float ) @@v4@@ . min_aspect . y / ( float ) @@v4@@ . min_aspect . x ; @@v1@@ = ( float ) @@v4@@ . max_aspect . x / ( float ) @@v4@@ . max_aspect . y ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; @@v1@@ = * ( float * ) ( @@a1@@ + Number ) ; } * ( float * ) ( @@a1@@ + Number ) = @@v1@@ ; @@v2@@ = * ( _DWORD * ) ( @@a1@@ + Number ) && * ( _DWORD * ) ( @@a1@@ + Number ) && * ( _DWORD * ) ( @@a1@@ + Number ) == * ( _DWORD * ) ( @@a1@@ + Number ) && * ( _DWORD * ) ( @@a1@@ + Number ) == * ( _DWORD * ) ( @@a1@@ + Number ) ; @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v2@@ ; return @@result@@ ; }\", \"source\": [{\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"_BOOL4\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"v1\", \"t\": {\"T\": 1, \"n\": \"float\", \"s\": 4}, \"location\": \"r496\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"v5\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}, {\"n\": \"v4\", \"t\": {\"T\": 6, \"n\": \"XSizeHints\", \"l\": [{\"T\": 4, \"n\": \"flags\", \"t\": \"__int64\", \"s\": 8}, {\"T\": 4, \"n\": \"x\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"y\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"min_width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"min_height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"max_width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"max_height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"width_inc\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"height_inc\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"min_aspect\", \"t\": \"$095E04B97CE84C59083222C7D172F70D::$CDF557A927ED2BFF93B09908D4EFCA76\", \"s\": 8}, {\"T\": 4, \"n\": \"max_aspect\", \"t\": \"$095E04B97CE84C59083222C7D172F70D::$CDF557A927ED2BFF93B09908D4EFCA76\", \"s\": 8}, {\"T\": 4, \"n\": \"base_width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"base_height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"win_gravity\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}]}, \"location\": \"s96\"}]}",
"{\"name\": \"updatetitle\", \"code\": \"unsigned __int8 * __fastcall updatetitle ( unsigned __int8 * @@a1@@ ) { unsigned __int8 * @@result@@ ; if ( ! ( unsigned int ) gettextprop ( * ( ( _QWORD * ) @@a1@@ + Number ) , qword_7DC8 , ( char * ) @@a1@@ , Number ) ) gettextprop ( * ( ( _QWORD * ) @@a1@@ + Number ) , Number , ( char * ) @@a1@@ , Number ) ; @@result@@ = ( unsigned __int8 * ) * @@a1@@ ; if ( ! ( _BYTE ) @@result@@ ) { @@result@@ = @@a1@@ ; strcpy ( ( char * ) @@a1@@ , String ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"unsigned __int8\"}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 3, \"t\": \"unsigned __int8\"}, \"location\": \"r8\"}]}",
"{\"name\": \"updatewindowtype\", \"code\": \"__int64 __fastcall updatewindowtype ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 @@v2@@ ; __int64 @@v3@@ ; @@v3@@ = getatomprop ( @@a1@@ , qword_7DD0 ) ; @@v2@@ = getatomprop ( @@a1@@ , qword_7DF0 ) ; if ( @@v3@@ == * ( _QWORD * ) & qword_7DE0 ) setfullscreen ( @@a1@@ , Number ) ; @@result@@ = qword_7DF8 ; if ( @@v2@@ == qword_7DF8 ) { @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"updatewmhints\", \"code\": \"int __fastcall updatewmhints ( __int64 @@a1@@ ) { XWMHints * v1 ; __int64 v2 ; XWMHints * @@v4@@ ; v1 = XGetWMHints ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; @@v4@@ = v1 ; if ( v1 ) { if ( @@a1@@ == * ( ( _QWORD * ) selmon + Number ) && ( v1 -> flags & Number ) != Number ) { v2 = v1 -> flags ; BYTE1 ( v2 ) = BYTE1 ( @@v4@@ -> flags ) & Number ; @@v4@@ -> flags = v2 ; XSetWMHints ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , @@v4@@ ) ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = ( v1 -> flags >> Number ) & Number ; } if ( ( @@v4@@ -> flags & Number ) != Number ) * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ -> input == Number ; else * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; LODWORD ( v1 ) = XFree ( @@v4@@ ) ; } return ( int ) v1 ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v4\", \"t\": {\"T\": 3, \"t\": \"XWMHints\"}, \"location\": \"s8\"}]}",
"{\"name\": \"wintoclient\", \"code\": \"__int64 __fastcall wintoclient ( __int64 @@a1@@ ) { __int64 @@i@@ ; __int64 @@j@@ ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { for ( @@j@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; @@j@@ ; @@j@@ = * ( _QWORD * ) ( @@j@@ + Number ) ) { if ( @@a1@@ == * ( _QWORD * ) ( @@j@@ + Number ) ) return @@j@@ ; } } return Number L ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "recttomon", "code": "char * __fastcall recttomon ( int @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ ) { int v4 ; int v5 ; int v6 ; int v7 ; int v8 ; int v9 ; int v10 ; int @@v14@@ ; char * @@v15@@ ; __int64 @@i@@ ; @@v15@@ = selmon ; @@v14@@ = Number ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { v4 = * ( _DWORD * ) ( @@i@@ + Number ) + * ( _DWORD * ) ( @@i@@ + Number ) ; if ( v4 > @@a1@@ + @@a3@@ ) v4 = @@a1@@ + @@a3@@ ; v5 = * ( _DWORD * ) ( @@i@@ + Number ) ; if ( @@a1@@ >= v5 ) v5 = @@a1@@ ; v6 = v4 - v5 ; v7 = Number ; if ( v6 >= Number ) v7 = v6 ; v8 = * ( _DWORD * ) ( @@i@@ + Number ) + * ( _DWORD * ) ( @@i@@ + Number ) ; if ( v8 > @@a2@@ + @@a4@@ ) v8 = @@a2@@ + @@a4@@ ; v9 = * ( _DWORD * ) ( @@i@@ + Number ) ; if ( @@a2@@ >= v9 ) v9 = @@a2@@ ; v10 = v8 - v9 ; if ( v10 < Number ) v10 = Number ; if ( v7 * v10 > @@v14@@ ) { @@v14@@ = v7 * v10 ; @@v15@@ = ( char * ) @@i@@ ; } } return @@v15@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v15", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "w", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "h", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "x", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "y", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "r", "t": {"T": 3, "t": "Monitor_0"}, "location": "s16"}, {"n": "area", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 45 | [] |
{"name": "resize", "code": "__int64 __fastcall resize ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ , unsigned int @@a5@@ , int @@a6@@ ) { __int64 @@result@@ ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; __int64 @@v11@@ ; @@v11@@ = @@a1@@ ; @@v10@@ = @@a2@@ ; @@v9@@ = @@a3@@ ; @@v8@@ = @@a4@@ ; @@v7@@ = @@a5@@ ; @@result@@ = applysizehints ( @@a1@@ , & @@v10@@ , & @@v9@@ , ( int * ) & @@v8@@ , ( int * ) & @@v7@@ , @@a6@@ ) ; if ( ( _DWORD ) @@result@@ ) @@result@@ = resizeclient ( @@v11@@ , @@v10@@ , @@v9@@ , @@v8@@ , @@v7@@ ) ; return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r72"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "a6", "t": {"T": 1, "n": "int", "s": 4}, "location": "r80"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "y", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "w", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "x", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "h", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "interact", "t": {"T": 1, "n": "int", "s": 4}, "location": "r80"}, {"n": "xa", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "ya", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "wa", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "ha", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "ca", "t": {"T": 3, "t": "Client_0"}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 46 | [
"{\"name\": \"applysizehints\", \"code\": \"_BOOL8 __fastcall applysizehints ( __int64 @@a1@@ , _DWORD * @@a2@@ , _DWORD * @@a3@@ , int * @@a4@@ , int * @@a5@@ , int @@a6@@ ) { int v6 ; int v7 ; _BOOL4 @@v8@@ ; int v9 ; int v10 ; int v11 ; int v12 ; _DWORD * @@v15@@ ; @@v15@@ = * ( _DWORD * * ) ( @@a1@@ + Number ) ; v6 = Number ; if ( * @@a4@@ > Number ) v6 = * @@a4@@ ; * @@a4@@ = v6 ; v7 = Number ; if ( * @@a5@@ > Number ) v7 = * @@a5@@ ; * @@a5@@ = v7 ; if ( @@a6@@ ) { if ( * @@a2@@ > sw ) * @@a2@@ = sw - ( * ( _DWORD * ) ( @@a1@@ + Number ) + Number * * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( * @@a3@@ > sh ) * @@a3@@ = sh - ( * ( _DWORD * ) ( @@a1@@ + Number ) + Number * * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( * @@a4@@ + * @@a2@@ + Number * * ( _DWORD * ) ( @@a1@@ + Number ) < Number ) * @@a2@@ = Number ; if ( * @@a5@@ + * @@a3@@ + Number * * ( _DWORD * ) ( @@a1@@ + Number ) < Number ) * @@a3@@ = Number ; } else { if ( * @@a2@@ >= @@v15@@ [ Number ] + @@v15@@ [ Number ] ) * @@a2@@ = @@v15@@ [ Number ] + @@v15@@ [ Number ] - ( * ( _DWORD * ) ( @@a1@@ + Number ) + Number * * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( * @@a3@@ >= @@v15@@ [ Number ] + @@v15@@ [ Number ] ) * @@a3@@ = @@v15@@ [ Number ] + @@v15@@ [ Number ] - ( * ( _DWORD * ) ( @@a1@@ + Number ) + Number * * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( Number * * ( _DWORD * ) ( @@a1@@ + Number ) + * @@a4@@ + * @@a2@@ <= @@v15@@ [ Number ] ) * @@a2@@ = @@v15@@ [ Number ] ; if ( Number * * ( _DWORD * ) ( @@a1@@ + Number ) + * @@a5@@ + * @@a3@@ <= @@v15@@ [ Number ] ) * @@a3@@ = @@v15@@ [ Number ] ; } if ( * @@a5@@ < ( int ) dword_7D6C ) * @@a5@@ = dword_7D6C ; if ( * @@a4@@ < ( int ) dword_7D6C ) * @@a4@@ = dword_7D6C ; @@v8@@ = * ( _DWORD * ) ( @@a1@@ + Number ) == * ( _DWORD * ) ( @@a1@@ + Number ) && * ( _DWORD * ) ( @@a1@@ + Number ) == * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( ! @@v8@@ ) { * @@a4@@ -= * ( _DWORD * ) ( @@a1@@ + Number ) ; * @@a5@@ -= * ( _DWORD * ) ( @@a1@@ + Number ) ; } if ( * ( float * ) ( @@a1@@ + Number ) > Number && * ( float * ) ( @@a1@@ + Number ) > Number ) { if ( ( float ) ( ( float ) * @@a4@@ / ( float ) * @@a5@@ ) <= * ( float * ) ( @@a1@@ + Number ) ) { if ( ( float ) ( ( float ) * @@a5@@ / ( float ) * @@a4@@ ) > * ( float * ) ( @@a1@@ + Number ) ) * @@a5@@ = ( int ) ( ( float ) ( * ( float * ) ( @@a1@@ + Number ) * ( float ) * @@a4@@ ) + Number ) ; } else { * @@a4@@ = ( int ) ( ( float ) ( * ( float * ) ( @@a1@@ + Number ) * ( float ) * @@a5@@ ) + Number ) ; } } if ( @@v8@@ ) { * @@a4@@ -= * ( _DWORD * ) ( @@a1@@ + Number ) ; * @@a5@@ -= * ( _DWORD * ) ( @@a1@@ + Number ) ; } if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) * @@a4@@ -= * @@a4@@ % * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) * @@a5@@ -= * @@a5@@ % * ( _DWORD * ) ( @@a1@@ + Number ) ; v9 = * @@a4@@ + * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) >= v9 ) v9 = * ( _DWORD * ) ( @@a1@@ + Number ) ; * @@a4@@ = v9 ; v10 = * @@a5@@ + * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) >= v10 ) v10 = * ( _DWORD * ) ( @@a1@@ + Number ) ; * @@a5@@ = v10 ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) { v11 = * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( v11 > * @@a4@@ ) v11 = * @@a4@@ ; * @@a4@@ = v11 ; } if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) { v12 = * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( v12 > * @@a5@@ ) v12 = * @@a5@@ ; * @@a5@@ = v12 ; } return * @@a2@@ != * ( _DWORD * ) ( @@a1@@ + Number ) || * @@a3@@ != * ( _DWORD * ) ( @@a1@@ + Number ) || * @@a4@@ != * ( _DWORD * ) ( @@a1@@ + Number ) || * @@a5@@ != * ( _DWORD * ) ( @@a1@@ + Number ) ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 3, \"t\": \"int\"}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"r64\"}, {\"n\": \"a5\", \"t\": {\"T\": 3, \"t\": \"int\"}, \"location\": \"r72\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"_BOOL4\", \"s\": 4}, \"location\": \"r8\"}, {\"n\": \"a6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r80\"}, {\"n\": \"v15\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"s8\"}]}",
"{\"name\": \"resizeclient\", \"code\": \"int __fastcall resizeclient ( __int64 @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ , int @@a5@@ ) { XWindowChanges @@v6@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ . x = @@a2@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ . y = @@a3@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a3@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ . width = @@a4@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a4@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ . height = @@a5@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a5@@ ; @@v6@@ . border_width = * ( _DWORD * ) ( @@a1@@ + Number ) ; XConfigureWindow ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , Number , & @@v6@@ ) ; configure ( @@a1@@ ) ; return XSync ( dpy , Number ) ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"a5\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r72\"}, {\"n\": \"v6\", \"t\": {\"T\": 6, \"n\": \"XWindowChanges\", \"l\": [{\"T\": 4, \"n\": \"x\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"y\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"border_width\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"sibling\", \"t\": \"Window\", \"s\": 8}, {\"T\": 4, \"n\": \"stack_mode\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}]}, \"location\": \"s48\"}]}"
] |
{"name": "resizeclient", "code": "int __fastcall resizeclient ( __int64 @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ , int @@a5@@ ) { XWindowChanges @@v6@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ . x = @@a2@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ . y = @@a3@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a3@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ . width = @@a4@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a4@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ . height = @@a5@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a5@@ ; @@v6@@ . border_width = * ( _DWORD * ) ( @@a1@@ + Number ) ; XConfigureWindow ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , Number , & @@v6@@ ) ; configure ( @@a1@@ ) ; return XSync ( dpy , Number ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "v6", "t": {"T": 6, "n": "XWindowChanges", "l": [{"T": 4, "n": "x", "t": "int", "s": 4}, {"T": 4, "n": "y", "t": "int", "s": 4}, {"T": 4, "n": "width", "t": "int", "s": 4}, {"T": 4, "n": "height", "t": "int", "s": 4}, {"T": 4, "n": "border_width", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "sibling", "t": "Window", "s": 8}, {"T": 4, "n": "stack_mode", "t": "int", "s": 4}, {"T": 5, "s": 4}]}, "location": "s48"}]} | [{"n": "y", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "w", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "x", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "h", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "wc", "t": {"T": 6, "n": "XWindowChanges", "l": [{"T": 4, "n": "x", "t": "int", "s": 4}, {"T": 4, "n": "y", "t": "int", "s": 4}, {"T": 4, "n": "width", "t": "int", "s": 4}, {"T": 4, "n": "height", "t": "int", "s": 4}, {"T": 4, "n": "border_width", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "sibling", "t": "Window", "s": 8}, {"T": 4, "n": "stack_mode", "t": "int", "s": 4}, {"T": 5, "s": 4}]}, "location": "s48"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 47 | [
"{\"name\": \"configure\", \"code\": \"int __fastcall configure ( __int64 @@a1@@ ) { int @@v2@@ ; Display * @@v3@@ ; __int64 @@v4@@ ; __int64 @@v5@@ ; int @@v6@@ ; int @@v7@@ ; int @@v8@@ ; int @@v9@@ ; int @@v10@@ ; __int64 @@v11@@ ; int @@v12@@ ; @@v2@@ = Number ; @@v3@@ = dpy ; @@v4@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v5@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v6@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v7@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v8@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v9@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v10@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v11@@ = Number L ; @@v12@@ = Number ; return XSendEvent ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , Number , Number , ( XEvent * ) & @@v2@@ ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v12\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s24\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s32\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s36\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s40\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s44\"}, {\"n\": \"v6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s48\"}, {\"n\": \"v5\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s56\"}, {\"n\": \"v4\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s64\"}, {\"n\": \"v3\", \"t\": {\"T\": 3, \"t\": \"Display\"}, \"location\": \"s72\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s96\"}]}",
"{\"name\": \"resize\", \"code\": \"__int64 __fastcall resize ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ , unsigned int @@a5@@ , int @@a6@@ ) { __int64 @@result@@ ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; __int64 @@v11@@ ; @@v11@@ = @@a1@@ ; @@v10@@ = @@a2@@ ; @@v9@@ = @@a3@@ ; @@v8@@ = @@a4@@ ; @@v7@@ = @@a5@@ ; @@result@@ = applysizehints ( @@a1@@ , & @@v10@@ , & @@v9@@ , ( int * ) & @@v8@@ , ( int * ) & @@v7@@ , @@a6@@ ) ; if ( ( _DWORD ) @@result@@ ) @@result@@ = resizeclient ( @@v11@@ , @@v10@@ , @@v9@@ , @@v8@@ , @@v7@@ ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"a5\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r72\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"a6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r80\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s24\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "resizemouse", "code": "int resizemouse ( ) { __int64 v0 ; int v1 ; int v2 ; XEvent @@v4@@ ; char * @@v5@@ ; unsigned int @@v6@@ ; unsigned int @@v7@@ ; int @@v8@@ ; int @@v9@@ ; __int64 @@v10@@ ; __int64 @@v11@@ ; @@v11@@ = Number L ; v0 = * ( ( _QWORD * ) selmon + Number ) ; @@v10@@ = v0 ; if ( ! v0 ) return v0 ; LODWORD ( v0 ) = * ( _DWORD * ) ( @@v10@@ + Number ) ; if ( ( _DWORD ) v0 ) return v0 ; restack ( selmon ) ; @@v9@@ = * ( _DWORD * ) ( @@v10@@ + Number ) ; @@v8@@ = * ( _DWORD * ) ( @@v10@@ + Number ) ; LODWORD ( v0 ) = XGrabPointer ( dpy , root , Number , Number , Number , Number , Number L , * ( _QWORD * ) qword_7E18 , Number L ) ; if ( ( _DWORD ) v0 ) return v0 ; XWarpPointer ( dpy , Number L , * ( _QWORD * ) ( @@v10@@ + Number ) , Number , Number , Number , Number , * ( _DWORD * ) ( @@v10@@ + Number ) + * ( _DWORD * ) ( @@v10@@ + Number ) - Number , * ( _DWORD * ) ( @@v10@@ + Number ) + * ( _DWORD * ) ( @@v10@@ + Number ) - Number ) ; do { XMaskEvent ( dpy , Number L , & @@v4@@ ) ; if ( @@v4@@ . type == Number ) goto LABEL_11 ; if ( @@v4@@ . type > Number ) continue ; if ( @@v4@@ . type == Number ) goto LABEL_11 ; if ( @@v4@@ . type > Number ) continue ; if ( @@v4@@ . type != Number ) { if ( @@v4@@ . type != Number ) continue ; LABEL_11 : ( ( void ( __fastcall * ) ( XEvent * ) ) handler [ @@v4@@ . type ] ) ( & @@v4@@ ) ; continue ; } if ( @@v4@@ . xkey . time - @@v11@@ > Number ) { @@v11@@ = @@v4@@ . xclient . data . l [ Number ] ; v1 = @@v4@@ . xkey . x - @@v9@@ - Number * * ( _DWORD * ) ( @@v10@@ + Number ) ; if ( v1 < Number ) v1 = Number ; @@v7@@ = v1 + Number ; v2 = @@v4@@ . xkey . y - @@v8@@ - Number * * ( _DWORD * ) ( @@v10@@ + Number ) ; if ( v2 < Number ) v2 = Number ; @@v6@@ = v2 + Number ; if ( ( signed int ) ( @@v7@@ + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v10@@ + Number ) + Number L ) ) >= * ( ( _DWORD * ) selmon + Number ) && ( int ) ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@v10@@ + Number ) + Number L ) + @@v7@@ ) <= * ( ( _DWORD * ) selmon + Number ) + * ( ( _DWORD * ) selmon + Number ) && ( signed int ) ( @@v6@@ + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v10@@ + Number ) + Number L ) ) >= * ( ( _DWORD * ) selmon + Number ) && ( int ) ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@v10@@ + Number ) + Number L ) + @@v6@@ ) <= * ( ( _DWORD * ) selmon + Number ) + * ( ( _DWORD * ) selmon + Number ) && ! * ( _DWORD * ) ( @@v10@@ + Number ) && * ( _QWORD * ) ( * ( _QWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] + Number L ) && ( abs32 ( @@v7@@ - * ( _DWORD * ) ( @@v10@@ + Number ) ) > Number || abs32 ( @@v6@@ - * ( _DWORD * ) ( @@v10@@ + Number ) ) > Number ) ) { togglefloating ( Number L ) ; } if ( ! * ( _QWORD * ) ( * ( _QWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] + Number L ) || * ( _DWORD * ) ( @@v10@@ + Number ) ) resize ( @@v10@@ , * ( _DWORD * ) ( @@v10@@ + Number ) , * ( _DWORD * ) ( @@v10@@ + Number ) , @@v7@@ , @@v6@@ , Number ) ; } } while ( @@v4@@ . type != Number ) ; XWarpPointer ( dpy , Number L , * ( _QWORD * ) ( @@v10@@ + Number ) , Number , Number , Number , Number , * ( _DWORD * ) ( @@v10@@ + Number ) + * ( _DWORD * ) ( @@v10@@ + Number ) - Number , * ( _DWORD * ) ( @@v10@@ + Number ) + * ( _DWORD * ) ( @@v10@@ + Number ) - Number ) ; XUngrabPointer ( dpy , Number L ) ; while ( XCheckMaskEvent ( dpy , Number L , & @@v4@@ ) ) ; @@v5@@ = recttomon ( * ( _DWORD * ) ( @@v10@@ + Number ) , * ( _DWORD * ) ( @@v10@@ + Number ) , * ( _DWORD * ) ( @@v10@@ + Number ) , * ( _DWORD * ) ( @@v10@@ + Number ) ) ; LODWORD ( v0 ) = ( _DWORD ) selmon ; if ( @@v5@@ != selmon ) { sendmon ( @@v10@@ , @@v5@@ ) ; selmon = @@v5@@ ; LODWORD ( v0 ) = focus ( Number L ) ; } return v0 ; }", "source": [{"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "v4", "t": {"T": 8}, "location": "s240"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s32"}, {"n": "v5", "t": {"T": 3, "t": "char"}, "location": "s40"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "s16"}, {"n": "ocx", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "ocy", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "ev", "t": {"T": 8}, "location": "s240"}, {"n": "nw", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "nh", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "s40"}, {"n": "lasttime", "t": {"T": 1, "n": "Time", "s": 8}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 48 | [
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"recttomon\", \"code\": \"char * __fastcall recttomon ( int @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ ) { int v4 ; int v5 ; int v6 ; int v7 ; int v8 ; int v9 ; int v10 ; int @@v14@@ ; char * @@v15@@ ; __int64 @@i@@ ; @@v15@@ = selmon ; @@v14@@ = Number ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { v4 = * ( _DWORD * ) ( @@i@@ + Number ) + * ( _DWORD * ) ( @@i@@ + Number ) ; if ( v4 > @@a1@@ + @@a3@@ ) v4 = @@a1@@ + @@a3@@ ; v5 = * ( _DWORD * ) ( @@i@@ + Number ) ; if ( @@a1@@ >= v5 ) v5 = @@a1@@ ; v6 = v4 - v5 ; v7 = Number ; if ( v6 >= Number ) v7 = v6 ; v8 = * ( _DWORD * ) ( @@i@@ + Number ) + * ( _DWORD * ) ( @@i@@ + Number ) ; if ( v8 > @@a2@@ + @@a4@@ ) v8 = @@a2@@ + @@a4@@ ; v9 = * ( _DWORD * ) ( @@i@@ + Number ) ; if ( @@a2@@ >= v9 ) v9 = @@a2@@ ; v10 = v8 - v9 ; if ( v10 < Number ) v10 = Number ; if ( v7 * v10 > @@v14@@ ) { @@v14@@ = v7 * v10 ; @@v15@@ = ( char * ) @@i@@ ; } } return @@v15@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"v15\", \"t\": {\"T\": 3, \"t\": \"char\"}, \"location\": \"s16\"}, {\"n\": \"v14\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"resize\", \"code\": \"__int64 __fastcall resize ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ , unsigned int @@a5@@ , int @@a6@@ ) { __int64 @@result@@ ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; __int64 @@v11@@ ; @@v11@@ = @@a1@@ ; @@v10@@ = @@a2@@ ; @@v9@@ = @@a3@@ ; @@v8@@ = @@a4@@ ; @@v7@@ = @@a5@@ ; @@result@@ = applysizehints ( @@a1@@ , & @@v10@@ , & @@v9@@ , ( int * ) & @@v8@@ , ( int * ) & @@v7@@ , @@a6@@ ) ; if ( ( _DWORD ) @@result@@ ) @@result@@ = resizeclient ( @@v11@@ , @@v10@@ , @@v9@@ , @@v8@@ , @@v7@@ ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"a5\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r72\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"a6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r80\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s24\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"restack\", \"code\": \"int __fastcall restack ( __int64 @@a1@@ ) { __int64 @@v1@@ ; XWindowChanges @@v3@@ ; XEvent @@v4@@ ; __int64 @@i@@ ; drawbar ( @@a1@@ ) ; @@v1@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@v1@@ ) { if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) || ! * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number * ( * ( unsigned int * ) ( @@a1@@ + Number ) + Number L ) ) + Number L ) ) { XRaiseWindow ( dpy , * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; } if ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number * ( * ( unsigned int * ) ( @@a1@@ + Number ) + Number L ) ) + Number L ) ) { @@v3@@ . stack_mode = Number ; @@v3@@ . sibling = * ( _QWORD * ) ( @@a1@@ + Number ) ; for ( @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { if ( ! * ( _DWORD * ) ( @@i@@ + Number ) && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) != Number ) { XConfigureWindow ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , Number , & @@v3@@ ) ; @@v3@@ . sibling = * ( _QWORD * ) ( @@i@@ + Number ) ; } } } XSync ( dpy , Number ) ; do LODWORD ( @@v1@@ ) = XCheckMaskEvent ( dpy , Number L , & @@v4@@ ) ; while ( ( _DWORD ) @@v1@@ ) ; } return @@v1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"v4\", \"t\": {\"T\": 8}, \"location\": \"s208\"}, {\"n\": \"v3\", \"t\": {\"T\": 6, \"n\": \"XWindowChanges\", \"l\": [{\"T\": 4, \"n\": \"x\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"y\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"border_width\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"sibling\", \"t\": \"Window\", \"s\": 8}, {\"T\": 4, \"n\": \"stack_mode\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}]}, \"location\": \"s256\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"sendmon\", \"code\": \"__int64 __fastcall sendmon ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@a2@@ != @@result@@ ) { unfocus ( @@a1@@ , Number L ) ; detach ( @@a1@@ ) ; detachstack ( @@a1@@ ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a2@@ + Number * ( * ( unsigned int * ) ( @@a2@@ + Number ) + Number L ) + Number ) ; attach ( @@a1@@ ) ; attachstack ( @@a1@@ ) ; focus ( Number L ) ; @@result@@ = arrange ( Number L ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"togglefloating\", \"code\": \"__int64 togglefloating ( ) { __int64 @@result@@ ; _BOOL4 @@v1@@ ; @@result@@ = * ( ( _QWORD * ) selmon + Number ) ; if ( @@result@@ ) { @@result@@ = * ( unsigned int * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) ; if ( ! ( _DWORD ) @@result@@ ) { @@v1@@ = ! * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) || * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) ; * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) = @@v1@@ ; if ( * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) ) resize ( * ( ( _QWORD * ) selmon + Number ) , * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , Number ) ; @@result@@ = arrange ( ( __int64 ) selmon ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"v1\", \"t\": {\"T\": 1, \"n\": \"_BOOL4\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}"
] |
{"name": "restack", "code": "int __fastcall restack ( __int64 @@a1@@ ) { __int64 @@v1@@ ; XWindowChanges @@v3@@ ; XEvent @@v4@@ ; __int64 @@i@@ ; drawbar ( @@a1@@ ) ; @@v1@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@v1@@ ) { if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) || ! * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number * ( * ( unsigned int * ) ( @@a1@@ + Number ) + Number L ) ) + Number L ) ) { XRaiseWindow ( dpy , * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; } if ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number * ( * ( unsigned int * ) ( @@a1@@ + Number ) + Number L ) ) + Number L ) ) { @@v3@@ . stack_mode = Number ; @@v3@@ . sibling = * ( _QWORD * ) ( @@a1@@ + Number ) ; for ( @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { if ( ! * ( _DWORD * ) ( @@i@@ + Number ) && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) != Number ) { XConfigureWindow ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , Number , & @@v3@@ ) ; @@v3@@ . sibling = * ( _QWORD * ) ( @@i@@ + Number ) ; } } } XSync ( dpy , Number ) ; do LODWORD ( @@v1@@ ) = XCheckMaskEvent ( dpy , Number L , & @@v4@@ ) ; while ( ( _DWORD ) @@v1@@ ) ; } return @@v1@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v4", "t": {"T": 8}, "location": "s208"}, {"n": "v3", "t": {"T": 6, "n": "XWindowChanges", "l": [{"T": 4, "n": "x", "t": "int", "s": 4}, {"T": 4, "n": "y", "t": "int", "s": 4}, {"T": 4, "n": "width", "t": "int", "s": 4}, {"T": 4, "n": "height", "t": "int", "s": 4}, {"T": 4, "n": "border_width", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "sibling", "t": "Window", "s": 8}, {"T": 4, "n": "stack_mode", "t": "int", "s": 4}, {"T": 5, "s": 4}]}, "location": "s256"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "ev", "t": {"T": 8}, "location": "s208"}, {"n": "wc", "t": {"T": 6, "n": "XWindowChanges", "l": [{"T": 4, "n": "x", "t": "int", "s": 4}, {"T": 4, "n": "y", "t": "int", "s": 4}, {"T": 4, "n": "width", "t": "int", "s": 4}, {"T": 4, "n": "height", "t": "int", "s": 4}, {"T": 4, "n": "border_width", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "sibling", "t": "Window", "s": 8}, {"T": 4, "n": "stack_mode", "t": "int", "s": 4}, {"T": 5, "s": 4}]}, "location": "s256"}, {"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 49 | [
"{\"name\": \"drawbar\", \"code\": \"__int64 __fastcall drawbar ( __int64 @@a1@@ ) { __int64 v1 ; _BOOL8 @@v2@@ ; __int64 v3 ; unsigned int v5 ; unsigned int v6 ; unsigned int v7 ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; __int64 @@i@@ ; int @@v11@@ ; int @@v12@@ ; unsigned int @@j@@ ; unsigned int @@v14@@ ; unsigned int v15 ; unsigned int v16 ; @@v14@@ = Number ; @@v9@@ = * ( _DWORD * ) ( * ( _QWORD * ) ( drw + Number ) + Number L ) / Number ; @@v8@@ = * ( _DWORD * ) ( * ( _QWORD * ) ( drw + Number ) + Number L ) / Number + Number ; @@v12@@ = Number ; @@v11@@ = Number ; if ( ( char * ) @@a1@@ == selmon ) { drw_setscheme ( drw , * ( _QWORD * ) scheme ) ; @@v14@@ = drw_fontset_getwidth ( drw , & stext ) + Number ; drw_text ( drw , * ( _DWORD * ) ( @@a1@@ + Number ) - @@v14@@ , Number L , @@v14@@ , dword_7D6C , Number L , & stext , Number L ) ; } for ( @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { @@v12@@ |= * ( _DWORD * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) @@v11@@ |= * ( _DWORD * ) ( @@i@@ + Number ) ; } v15 = Number ; for ( @@j@@ = Number ; @@j@@ <= Number ; ++ @@j@@ ) { v5 = lrpad + drw_fontset_getwidth ( drw , tags [ @@j@@ ] ) ; if ( ( * ( _DWORD * ) ( @@a1@@ + Number * ( * ( unsigned int * ) ( @@a1@@ + Number ) + Number L ) + Number ) & ( Number << @@j@@ ) ) != Number ) v1 = Number L ; else v1 = Number L ; drw_setscheme ( drw , * ( _QWORD * ) ( scheme + v1 ) ) ; drw_text ( drw , v15 , Number L , v5 , dword_7D6C , ( unsigned int ) ( lrpad / Number ) , tags [ @@j@@ ] , @@v11@@ & ( unsigned int ) ( Number << @@j@@ ) ) ; if ( ( @@v12@@ & ( Number << @@j@@ ) ) != Number ) { @@v2@@ = ( char * ) @@a1@@ == selmon && * ( ( _QWORD * ) selmon + Number ) && ( * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) & ( Number << @@j@@ ) ) != Number ; drw_rect ( drw , v15 + @@v9@@ , @@v9@@ , @@v8@@ , @@v8@@ , @@v2@@ , @@v11@@ & ( unsigned int ) ( Number << @@j@@ ) ) ; } v15 += v5 ; } blw = lrpad + drw_fontset_getwidth ( drw , @@a1@@ ) ; v6 = blw ; drw_setscheme ( drw , * ( _QWORD * ) scheme ) ; v16 = drw_text ( drw , v15 , Number L , v6 , dword_7D6C , ( unsigned int ) ( lrpad / Number ) , @@a1@@ , Number L ) ; v7 = * ( _DWORD * ) ( @@a1@@ + Number ) - @@v14@@ - v16 ; if ( ( int ) v7 > ( int ) dword_7D6C ) { if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { if ( ( char * ) @@a1@@ == selmon ) v3 = Number L ; else v3 = Number L ; drw_setscheme ( drw , * ( _QWORD * ) ( scheme + v3 ) ) ; drw_text ( drw , v16 , Number L , v7 , dword_7D6C , ( unsigned int ) ( lrpad / Number ) , * ( _QWORD * ) ( @@a1@@ + Number ) , Number L ) ; if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) drw_rect ( drw , v16 + @@v9@@ , @@v9@@ , @@v8@@ , @@v8@@ , * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , Number L ) ; } else { drw_setscheme ( drw , * ( _QWORD * ) scheme ) ; drw_rect ( drw , v16 , Number L , v7 , dword_7D6C , Number L , Number L ) ; } } return drw_map ( drw , * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , Number L , * ( unsigned int * ) ( @@a1@@ + Number ) , dword_7D6C ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"_BOOL8\", \"s\": 8}, \"location\": \"r80\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v12\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s32\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s36\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s40\"}, {\"n\": \"v14\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s8\"}]}"
] |
{"name": "run", "code": "int run ( ) { int @@result@@ ; XEvent @@v1@@ ; XSync ( dpy , Number ) ; while ( Number ) { @@result@@ = running ; if ( ! running ) break ; @@result@@ = XNextEvent ( dpy , & @@v1@@ ) ; if ( @@result@@ ) break ; if ( handler [ @@v1@@ . type ] ) ( ( void ( __fastcall * ) ( XEvent * ) ) handler [ @@v1@@ . type ] ) ( & @@v1@@ ) ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "v1", "t": {"T": 8}, "location": "s192"}]} | [{"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "ev", "t": {"T": 8}, "location": "s192"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 50 | [] |
{"name": "scan", "code": "int scan ( ) { int @@result@@ ; XWindowAttributes @@v1@@ ; Window * @@v2@@ ; Window @@v3@@ ; Window @@v4@@ ; unsigned int @@v5@@ ; unsigned int @@i@@ ; @@v2@@ = Number L ; @@result@@ = XQueryTree ( dpy , root , & @@v4@@ , & @@v3@@ , & @@v2@@ , & @@v5@@ ) ; if ( @@result@@ ) { for ( @@i@@ = Number ; @@i@@ < @@v5@@ ; ++ @@i@@ ) { if ( XGetWindowAttributes ( dpy , @@v2@@ [ @@i@@ ] , & @@v1@@ ) && ! @@v1@@ . override_redirect && ! XGetTransientForHint ( dpy , @@v2@@ [ @@i@@ ] , & @@v4@@ ) && ( @@v1@@ . map_state == Number || getstate ( @@v2@@ [ @@i@@ ] ) == Number ) ) { manage ( @@v2@@ [ @@i@@ ] , & @@v1@@ ) ; } } for ( @@i@@ = Number ; @@i@@ < @@v5@@ ; ++ @@i@@ ) { if ( XGetWindowAttributes ( dpy , @@v2@@ [ @@i@@ ] , & @@v1@@ ) && XGetTransientForHint ( dpy , @@v2@@ [ @@i@@ ] , & @@v4@@ ) && ( @@v1@@ . map_state == Number || getstate ( @@v2@@ [ @@i@@ ] ) == Number ) ) { manage ( @@v2@@ [ @@i@@ ] , & @@v1@@ ) ; } } @@result@@ = ( int ) @@v2@@ ; if ( @@v2@@ ) @@result@@ = XFree ( @@v2@@ ) ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "Window", "s": 8}, "location": "s16"}, {"n": "v1", "t": {"T": 6, "n": "XWindowAttributes", "l": [{"T": 4, "n": "x", "t": "int", "s": 4}, {"T": 4, "n": "y", "t": "int", "s": 4}, {"T": 4, "n": "width", "t": "int", "s": 4}, {"T": 4, "n": "height", "t": "int", "s": 4}, {"T": 4, "n": "border_width", "t": "int", "s": 4}, {"T": 4, "n": "depth", "t": "int", "s": 4}, {"T": 4, "n": "visual", "t": "Visual *", "s": 8}, {"T": 4, "n": "root", "t": "Window", "s": 8}, {"T": 4, "n": "c_class", "t": "int", "s": 4}, {"T": 4, "n": "bit_gravity", "t": "int", "s": 4}, {"T": 4, "n": "win_gravity", "t": "int", "s": 4}, {"T": 4, "n": "backing_store", "t": "int", "s": 4}, {"T": 4, "n": "backing_planes", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "backing_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "save_under", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "colormap", "t": "Colormap", "s": 8}, {"T": 4, "n": "map_installed", "t": "int", "s": 4}, {"T": 4, "n": "map_state", "t": "int", "s": 4}, {"T": 4, "n": "all_event_masks", "t": "__int64", "s": 8}, {"T": 4, "n": "your_event_mask", "t": "__int64", "s": 8}, {"T": 4, "n": "do_not_propagate_mask", "t": "__int64", "s": 8}, {"T": 4, "n": "override_redirect", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "screen", "t": "Screen *", "s": 8}]}, "location": "s176"}, {"n": "v3", "t": {"T": 1, "n": "Window", "s": 8}, "location": "s24"}, {"n": "v2", "t": {"T": 3, "t": "Window"}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} | [{"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "d1", "t": {"T": 1, "n": "Window", "s": 8}, "location": "s16"}, {"n": "wa", "t": {"T": 6, "n": "XWindowAttributes", "l": [{"T": 4, "n": "x", "t": "int", "s": 4}, {"T": 4, "n": "y", "t": "int", "s": 4}, {"T": 4, "n": "width", "t": "int", "s": 4}, {"T": 4, "n": "height", "t": "int", "s": 4}, {"T": 4, "n": "border_width", "t": "int", "s": 4}, {"T": 4, "n": "depth", "t": "int", "s": 4}, {"T": 4, "n": "visual", "t": "Visual *", "s": 8}, {"T": 4, "n": "root", "t": "Window", "s": 8}, {"T": 4, "n": "class", "t": "int", "s": 4}, {"T": 4, "n": "bit_gravity", "t": "int", "s": 4}, {"T": 4, "n": "win_gravity", "t": "int", "s": 4}, {"T": 4, "n": "backing_store", "t": "int", "s": 4}, {"T": 4, "n": "backing_planes", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "backing_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "save_under", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "colormap", "t": "Colormap", "s": 8}, {"T": 4, "n": "map_installed", "t": "int", "s": 4}, {"T": 4, "n": "map_state", "t": "int", "s": 4}, {"T": 4, "n": "all_event_masks", "t": "__int64", "s": 8}, {"T": 4, "n": "your_event_mask", "t": "__int64", "s": 8}, {"T": 4, "n": "do_not_propagate_mask", "t": "__int64", "s": 8}, {"T": 4, "n": "override_redirect", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "screen", "t": "Screen *", "s": 8}]}, "location": "s176"}, {"n": "d2", "t": {"T": 1, "n": "Window", "s": 8}, "location": "s24"}, {"n": "wins", "t": {"T": 3, "t": "Window"}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "num", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 51 | [
"{\"name\": \"getstate\", \"code\": \"__int64 __fastcall getstate ( Window @@a1@@ ) { Atom @@v2@@ ; unsigned __int64 @@v3@@ ; unsigned __int64 @@v4@@ ; unsigned __int8 * @@v5@@ ; int @@v6@@ ; __int64 @@v7@@ ; @@v7@@ = Number ; @@v5@@ = Number L ; if ( XGetWindowProperty ( dpy , @@a1@@ , qword_7DB0 , Number L , Number L , Number , qword_7DB0 , & @@v2@@ , & @@v6@@ , & @@v4@@ , & @@v3@@ , & @@v5@@ ) ) return Number ; if ( @@v4@@ ) @@v7@@ = * @@v5@@ ; XFree ( @@v5@@ ) ; return @@v7@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"Window\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v5\", \"t\": {\"T\": 3, \"t\": \"unsigned __int8\"}, \"location\": \"s24\"}, {\"n\": \"v4\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s32\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s40\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"Atom\", \"s\": 8}, \"location\": \"s48\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"manage\", \"code\": \"__int64 __fastcall manage ( Window @@a1@@ , _DWORD * @@a2@@ ) { int v2 ; signed int @@v3@@ ; signed int v4 ; _BOOL4 v5 ; XWindowChanges @@v7@@ ; Window @@v8@@ ; __int64 @@v9@@ ; __int64 @@v10@@ ; @@v10@@ = Number L ; @@v8@@ = Number L ; @@v9@@ = ecalloc ( Number L , Number L ) ; * ( _QWORD * ) ( @@v9@@ + Number ) = @@a1@@ ; * ( _DWORD * ) ( @@v9@@ + Number ) = * @@a2@@ ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = @@a2@@ [ Number ] ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = @@a2@@ [ Number ] ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = @@a2@@ [ Number ] ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = @@a2@@ [ Number ] ; updatetitle ( @@v9@@ ) ; if ( XGetTransientForHint ( dpy , @@a1@@ , & @@v8@@ ) && ( @@v10@@ = wintoclient ( @@v8@@ ) ) != Number ) { * ( _QWORD * ) ( @@v9@@ + Number ) = * ( _QWORD * ) ( @@v10@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v10@@ + Number ) ; } else { * ( _QWORD * ) ( @@v9@@ + Number ) = selmon ; applyrules ( @@v9@@ ) ; } if ( * ( _DWORD * ) ( @@v9@@ + Number ) + * ( _DWORD * ) ( @@v9@@ + Number ) + Number * * ( _DWORD * ) ( @@v9@@ + Number ) > * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ) * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) - ( * ( _DWORD * ) ( @@v9@@ + Number ) + Number * * ( _DWORD * ) ( @@v9@@ + Number ) ) ; if ( * ( _DWORD * ) ( @@v9@@ + Number ) + * ( _DWORD * ) ( @@v9@@ + Number ) + Number * * ( _DWORD * ) ( @@v9@@ + Number ) > * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ) * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) - ( * ( _DWORD * ) ( @@v9@@ + Number ) + Number * * ( _DWORD * ) ( @@v9@@ + Number ) ) ; v2 = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ; if ( v2 < * ( _DWORD * ) ( @@v9@@ + Number ) ) v2 = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = v2 ; if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) == * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) && * ( _DWORD * ) ( @@v9@@ + Number ) / Number + * ( _DWORD * ) ( @@v9@@ + Number ) >= * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) && * ( _DWORD * ) ( @@v9@@ + Number ) + * ( _DWORD * ) ( @@v9@@ + Number ) / Number < * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ) { @@v3@@ = dword_7D6C ; } else { @@v3@@ = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ; } v4 = * ( _DWORD * ) ( @@v9@@ + Number ) ; if ( @@v3@@ >= v4 ) v4 = @@v3@@ ; * ( _DWORD * ) ( @@v9@@ + Number ) = v4 ; * ( _DWORD * ) ( @@v9@@ + Number ) = Number ; @@v7@@ . border_width = * ( _DWORD * ) ( @@v9@@ + Number ) ; XConfigureWindow ( dpy , @@a1@@ , Number , & @@v7@@ ) ; XSetWindowBorder ( dpy , @@a1@@ , * ( _QWORD * ) ( * ( _QWORD * ) scheme + Number L ) ) ; configure ( @@v9@@ ) ; updatewindowtype ( @@v9@@ ) ; updatesizehints ( @@v9@@ ) ; updatewmhints ( @@v9@@ ) ; XSelectInput ( dpy , @@a1@@ , Number L ) ; grabbuttons ( @@v9@@ , Number ) ; if ( ! * ( _DWORD * ) ( @@v9@@ + Number ) ) { v5 = @@v8@@ || * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = v5 ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; } if ( * ( _DWORD * ) ( @@v9@@ + Number ) ) XRaiseWindow ( dpy , * ( _QWORD * ) ( @@v9@@ + Number ) ) ; attach ( @@v9@@ ) ; attachstack ( @@v9@@ ) ; XChangeProperty ( dpy , root , qword_7E00 , Number , Number , Number , ( const unsigned __int8 * ) ( @@v9@@ + Number ) , Number ) ; XMoveResizeWindow ( dpy , * ( _QWORD * ) ( @@v9@@ + Number ) , * ( _DWORD * ) ( @@v9@@ + Number ) + Number * sw , * ( _DWORD * ) ( @@v9@@ + Number ) , * ( _DWORD * ) ( @@v9@@ + Number ) , * ( _DWORD * ) ( @@v9@@ + Number ) ) ; setclientstate ( @@v9@@ , Number L ) ; if ( * ( char * * ) ( @@v9@@ + Number ) == selmon ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; * ( _QWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) = @@v9@@ ; arrange ( * ( _QWORD * ) ( @@v9@@ + Number ) ) ; XMapWindow ( dpy , * ( _QWORD * ) ( @@v9@@ + Number ) ) ; return focus ( Number L ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"Window\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"r64\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"signed int\", \"s\": 4}, \"location\": \"r8\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"Window\", \"s\": 8}, \"location\": \"s24\"}, {\"n\": \"v7\", \"t\": {\"T\": 6, \"n\": \"XWindowChanges\", \"l\": [{\"T\": 4, \"n\": \"x\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"y\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"border_width\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"sibling\", \"t\": \"Window\", \"s\": 8}, {\"T\": 4, \"n\": \"stack_mode\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}]}, \"location\": \"s64\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "sendmon", "code": "__int64 __fastcall sendmon ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@a2@@ != @@result@@ ) { unfocus ( @@a1@@ , Number L ) ; detach ( @@a1@@ ) ; detachstack ( @@a1@@ ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a2@@ + Number * ( * ( unsigned int * ) ( @@a2@@ + Number ) + Number L ) + Number ) ; attach ( @@a1@@ ) ; attachstack ( @@a1@@ ) ; focus ( Number L ) ; @@result@@ = arrange ( Number L ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 52 | [
"{\"name\": \"arrange\", \"code\": \"__int64 __fastcall arrange ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; i = @@a1@@ ; if ( @@a1@@ ) { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { for ( i = mons ; i ; i = * ( _QWORD * ) ( i + Number ) ) showhide ( * ( _QWORD * ) ( i + Number ) ) ; } if ( i ) { arrangemon ( i ) ; @@result@@ = restack ( i ) ; } else { @@result@@ = mons ; for ( j = mons ; j ; j = @@result@@ ) { arrangemon ( j ) ; @@result@@ = * ( _QWORD * ) ( j + Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"attach\", \"code\": \"__int64 __fastcall attach ( __int64 @@a1@@ ) { __int64 @@result@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@result@@ + Number ) = @@a1@@ ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"attachstack\", \"code\": \"__int64 __fastcall attachstack ( __int64 @@a1@@ ) { __int64 @@result@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@result@@ + Number ) = @@a1@@ ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"detach\", \"code\": \"_QWORD * __fastcall detach ( __int64 @@a1@@ ) { _QWORD * @@result@@ ; _QWORD * @@i@@ ; for ( @@i@@ = ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; * @@i@@ && @@a1@@ != * @@i@@ ; @@i@@ = ( _QWORD * ) ( * @@i@@ + Number L ) ) ; @@result@@ = @@i@@ ; * @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"r8\"}, {\"n\": \"i\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"s8\"}]}",
"{\"name\": \"detachstack\", \"code\": \"__int64 __fastcall detachstack ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 @@j@@ ; _QWORD * @@i@@ ; for ( @@i@@ = ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; * @@i@@ && @@a1@@ != * @@i@@ ; @@i@@ = ( _QWORD * ) ( * @@i@@ + Number L ) ) ; * @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@result@@ = * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; if ( @@a1@@ == @@result@@ ) { for ( @@j@@ = * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; @@j@@ && ( * ( _DWORD * ) ( @@j@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@j@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@j@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@j@@ = * ( _QWORD * ) ( @@j@@ + Number ) ) { ; } @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@result@@ + Number ) = @@j@@ ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"i\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"s8\"}]}",
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"unfocus\", \"code\": \"int __fastcall unfocus ( __int64 @@a1@@ , int @@a2@@ ) { int @@result@@ ; if ( @@a1@@ ) { grabbuttons ( @@a1@@ , Number ) ; @@result@@ = XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) scheme + Number L ) ) ; if ( @@a2@@ ) { XSetInputFocus ( dpy , root , Number , Number L ) ; @@result@@ = XDeleteProperty ( dpy , root , qword_7DE8 ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r8\"}]}"
] |
{"name": "setclientstate", "code": "int __fastcall setclientstate ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned __int8 @@v3@@ [ Number ] ; __int64 @@v4@@ ; * ( _QWORD * ) @@v3@@ = @@a2@@ ; @@v4@@ = Number L ; return XChangeProperty ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , qword_7DB0 , qword_7DB0 , Number , Number , @@v3@@ , Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v3", "t": {"T": 2, "n": 8, "s": 1, "t": "unsigned __int8"}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "state", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "data", "t": {"T": 2, "n": 2, "s": 8, "t": "__int64"}, "location": "s16"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 53 | [] |
{"name": "sendevent", "code": "_BOOL8 __fastcall sendevent ( __int64 @@a1@@ , unsigned __int64 @@a2@@ ) { XEvent @@v4@@ ; Atom * @@v5@@ ; int @@v6@@ ; _BOOL4 @@v7@@ ; @@v7@@ = Number ; if ( XGetWMProtocols ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , & @@v5@@ , & @@v6@@ ) ) { while ( ! @@v7@@ ) { if ( ! @@v6@@ -- ) break ; @@v7@@ = @@a2@@ == @@v5@@ [ @@v6@@ ] ; } XFree ( @@v5@@ ) ; } if ( @@v7@@ ) { @@v4@@ . type = Number ; @@v4@@ . xany . window = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v4@@ . xkey . root = wmatom ; @@v4@@ . xexpose . width = Number ; * ( _OWORD * ) & @@v4@@ . pad [ Number ] = @@a2@@ ; XSendEvent ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , Number , Number L , & @@v4@@ ) ; } return @@v7@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r64"}, {"n": "v5", "t": {"T": 3, "t": "Atom"}, "location": "s16"}, {"n": "v4", "t": {"T": 8}, "location": "s208"}, {"n": "v7", "t": {"T": 1, "n": "_BOOL4", "s": 4}, "location": "s4"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "proto", "t": {"T": 1, "n": "Atom", "s": 8}, "location": "r64"}, {"n": "protocols", "t": {"T": 3, "t": "Atom"}, "location": "s16"}, {"n": "ev", "t": {"T": 8}, "location": "s208"}, {"n": "exists", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "n", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 54 | [
"{\"name\": \"expose\", \"code\": \"__int64 __fastcall expose ( __int64 @@a1@@ ) { __int64 @@result@@ ; @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; if ( ! ( _DWORD ) @@result@@ ) { @@result@@ = wintomon ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; if ( @@result@@ ) @@result@@ = drawbar ( @@result@@ ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}"
] |
{"name": "setfocus", "code": "_BOOL8 __fastcall setfocus ( __int64 @@a1@@ ) { if ( ! * ( _DWORD * ) ( @@a1@@ + Number ) ) { XSetInputFocus ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , Number , Number L ) ; XChangeProperty ( dpy , root , qword_7DE8 , Number , Number , Number , ( const unsigned __int8 * ) ( @@a1@@ + Number ) , Number ) ; } return sendevent ( @@a1@@ , qword_7DB8 ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 55 | [
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"sendevent\", \"code\": \"_BOOL8 __fastcall sendevent ( __int64 @@a1@@ , unsigned __int64 @@a2@@ ) { XEvent @@v4@@ ; Atom * @@v5@@ ; int @@v6@@ ; _BOOL4 @@v7@@ ; @@v7@@ = Number ; if ( XGetWMProtocols ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , & @@v5@@ , & @@v6@@ ) ) { while ( ! @@v7@@ ) { if ( ! @@v6@@ -- ) break ; @@v7@@ = @@a2@@ == @@v5@@ [ @@v6@@ ] ; } XFree ( @@v5@@ ) ; } if ( @@v7@@ ) { @@v4@@ . type = Number ; @@v4@@ . xany . window = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v4@@ . xkey . root = wmatom ; @@v4@@ . xexpose . width = Number ; * ( _OWORD * ) & @@v4@@ . pad [ Number ] = @@a2@@ ; XSendEvent ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , Number , Number L , & @@v4@@ ) ; } return @@v7@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"r64\"}, {\"n\": \"v5\", \"t\": {\"T\": 3, \"t\": \"Atom\"}, \"location\": \"s16\"}, {\"n\": \"v4\", \"t\": {\"T\": 8}, \"location\": \"s208\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"_BOOL4\", \"s\": 4}, \"location\": \"s4\"}, {\"n\": \"v6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s8\"}]}"
] |
{"name": "setfullscreen", "code": "int __fastcall setfullscreen ( __int64 @@a1@@ , int @@a2@@ ) { int @@result@@ ; if ( ! @@a2@@ || ( @@result@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ) != Number ) { if ( ! @@a2@@ ) { @@result@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( @@result@@ ) { XChangeProperty ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , qword_7DD0 , Number , Number , Number , Number L , Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; resizeclient ( @@a1@@ , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; @@result@@ = arrange ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } } } else { XChangeProperty ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , qword_7DD0 , Number , Number , Number , & qword_7DE0 , Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; resizeclient ( @@a1@@ , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; @@result@@ = XRaiseWindow ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "fullscreen", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 56 | [
"{\"name\": \"arrange\", \"code\": \"__int64 __fastcall arrange ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; i = @@a1@@ ; if ( @@a1@@ ) { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { for ( i = mons ; i ; i = * ( _QWORD * ) ( i + Number ) ) showhide ( * ( _QWORD * ) ( i + Number ) ) ; } if ( i ) { arrangemon ( i ) ; @@result@@ = restack ( i ) ; } else { @@result@@ = mons ; for ( j = mons ; j ; j = @@result@@ ) { arrangemon ( j ) ; @@result@@ = * ( _QWORD * ) ( j + Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"resize\", \"code\": \"__int64 __fastcall resize ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ , unsigned int @@a5@@ , int @@a6@@ ) { __int64 @@result@@ ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; __int64 @@v11@@ ; @@v11@@ = @@a1@@ ; @@v10@@ = @@a2@@ ; @@v9@@ = @@a3@@ ; @@v8@@ = @@a4@@ ; @@v7@@ = @@a5@@ ; @@result@@ = applysizehints ( @@a1@@ , & @@v10@@ , & @@v9@@ , ( int * ) & @@v8@@ , ( int * ) & @@v7@@ , @@a6@@ ) ; if ( ( _DWORD ) @@result@@ ) @@result@@ = resizeclient ( @@v11@@ , @@v10@@ , @@v9@@ , @@v8@@ , @@v7@@ ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"a5\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r72\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"a6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r80\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s24\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"resizeclient\", \"code\": \"int __fastcall resizeclient ( __int64 @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ , int @@a5@@ ) { XWindowChanges @@v6@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ . x = @@a2@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ . y = @@a3@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a3@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ . width = @@a4@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a4@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; @@v6@@ . height = @@a5@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a5@@ ; @@v6@@ . border_width = * ( _DWORD * ) ( @@a1@@ + Number ) ; XConfigureWindow ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , Number , & @@v6@@ ) ; configure ( @@a1@@ ) ; return XSync ( dpy , Number ) ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"a5\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r72\"}, {\"n\": \"v6\", \"t\": {\"T\": 6, \"n\": \"XWindowChanges\", \"l\": [{\"T\": 4, \"n\": \"x\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"y\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"border_width\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"sibling\", \"t\": \"Window\", \"s\": 8}, {\"T\": 4, \"n\": \"stack_mode\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}]}, \"location\": \"s48\"}]}"
] |
{"name": "setlayout", "code": "__int64 __fastcall setlayout ( _QWORD * @@a1@@ ) { __int64 @@result@@ ; if ( ! @@a1@@ || ! * @@a1@@ || * @@a1@@ != * ( _QWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] ) * ( ( _DWORD * ) selmon + Number ) ^= Number ; if ( @@a1@@ && * @@a1@@ ) * ( _QWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] = * @@a1@@ ; strncpy ( selmon , * * ( const char * * * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] , Number ) ; if ( * ( ( _QWORD * ) selmon + Number ) ) @@result@@ = arrange ( ( __int64 ) selmon ) ; else @@result@@ = drawbar ( ( __int64 ) selmon ) ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "arg", "t": {"T": 3, "t": "const Arg"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 57 | [
"{\"name\": \"arrange\", \"code\": \"__int64 __fastcall arrange ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; i = @@a1@@ ; if ( @@a1@@ ) { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { for ( i = mons ; i ; i = * ( _QWORD * ) ( i + Number ) ) showhide ( * ( _QWORD * ) ( i + Number ) ) ; } if ( i ) { arrangemon ( i ) ; @@result@@ = restack ( i ) ; } else { @@result@@ = mons ; for ( j = mons ; j ; j = @@result@@ ) { arrangemon ( j ) ; @@result@@ = * ( _QWORD * ) ( j + Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"drawbar\", \"code\": \"__int64 __fastcall drawbar ( __int64 @@a1@@ ) { __int64 v1 ; _BOOL8 @@v2@@ ; __int64 v3 ; unsigned int v5 ; unsigned int v6 ; unsigned int v7 ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; __int64 @@i@@ ; int @@v11@@ ; int @@v12@@ ; unsigned int @@j@@ ; unsigned int @@v14@@ ; unsigned int v15 ; unsigned int v16 ; @@v14@@ = Number ; @@v9@@ = * ( _DWORD * ) ( * ( _QWORD * ) ( drw + Number ) + Number L ) / Number ; @@v8@@ = * ( _DWORD * ) ( * ( _QWORD * ) ( drw + Number ) + Number L ) / Number + Number ; @@v12@@ = Number ; @@v11@@ = Number ; if ( ( char * ) @@a1@@ == selmon ) { drw_setscheme ( drw , * ( _QWORD * ) scheme ) ; @@v14@@ = drw_fontset_getwidth ( drw , & stext ) + Number ; drw_text ( drw , * ( _DWORD * ) ( @@a1@@ + Number ) - @@v14@@ , Number L , @@v14@@ , dword_7D6C , Number L , & stext , Number L ) ; } for ( @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { @@v12@@ |= * ( _DWORD * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) @@v11@@ |= * ( _DWORD * ) ( @@i@@ + Number ) ; } v15 = Number ; for ( @@j@@ = Number ; @@j@@ <= Number ; ++ @@j@@ ) { v5 = lrpad + drw_fontset_getwidth ( drw , tags [ @@j@@ ] ) ; if ( ( * ( _DWORD * ) ( @@a1@@ + Number * ( * ( unsigned int * ) ( @@a1@@ + Number ) + Number L ) + Number ) & ( Number << @@j@@ ) ) != Number ) v1 = Number L ; else v1 = Number L ; drw_setscheme ( drw , * ( _QWORD * ) ( scheme + v1 ) ) ; drw_text ( drw , v15 , Number L , v5 , dword_7D6C , ( unsigned int ) ( lrpad / Number ) , tags [ @@j@@ ] , @@v11@@ & ( unsigned int ) ( Number << @@j@@ ) ) ; if ( ( @@v12@@ & ( Number << @@j@@ ) ) != Number ) { @@v2@@ = ( char * ) @@a1@@ == selmon && * ( ( _QWORD * ) selmon + Number ) && ( * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) & ( Number << @@j@@ ) ) != Number ; drw_rect ( drw , v15 + @@v9@@ , @@v9@@ , @@v8@@ , @@v8@@ , @@v2@@ , @@v11@@ & ( unsigned int ) ( Number << @@j@@ ) ) ; } v15 += v5 ; } blw = lrpad + drw_fontset_getwidth ( drw , @@a1@@ ) ; v6 = blw ; drw_setscheme ( drw , * ( _QWORD * ) scheme ) ; v16 = drw_text ( drw , v15 , Number L , v6 , dword_7D6C , ( unsigned int ) ( lrpad / Number ) , @@a1@@ , Number L ) ; v7 = * ( _DWORD * ) ( @@a1@@ + Number ) - @@v14@@ - v16 ; if ( ( int ) v7 > ( int ) dword_7D6C ) { if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { if ( ( char * ) @@a1@@ == selmon ) v3 = Number L ; else v3 = Number L ; drw_setscheme ( drw , * ( _QWORD * ) ( scheme + v3 ) ) ; drw_text ( drw , v16 , Number L , v7 , dword_7D6C , ( unsigned int ) ( lrpad / Number ) , * ( _QWORD * ) ( @@a1@@ + Number ) , Number L ) ; if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) drw_rect ( drw , v16 + @@v9@@ , @@v9@@ , @@v8@@ , @@v8@@ , * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , Number L ) ; } else { drw_setscheme ( drw , * ( _QWORD * ) scheme ) ; drw_rect ( drw , v16 , Number L , v7 , dword_7D6C , Number L , Number L ) ; } } return drw_map ( drw , * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , Number L , * ( unsigned int * ) ( @@a1@@ + Number ) , dword_7D6C ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"_BOOL8\", \"s\": 8}, \"location\": \"r80\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v12\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s32\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s36\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s40\"}, {\"n\": \"v14\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s8\"}]}"
] |
{"name": "setmfact", "code": "char * __fastcall setmfact ( float * @@a1@@ ) { char * @@result@@ ; float @@v2@@ ; if ( @@a1@@ ) { @@result@@ = * ( char * * ) ( * ( _QWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] + Number L ) ; if ( @@result@@ ) { if ( * @@a1@@ >= Number ) { @@result@@ = ( char * ) @@a1@@ ; @@v2@@ = * @@a1@@ - Number ; } else { @@result@@ = selmon ; @@v2@@ = * ( ( float * ) selmon + Number ) + * @@a1@@ ; } if ( @@v2@@ >= Number && @@v2@@ <= Number ) { * ( ( float * ) selmon + Number ) = @@v2@@ ; @@result@@ = ( char * ) arrange ( ( __int64 ) selmon ) ; } } } return @@result@@ ; }", "source": [{"n": "v2", "t": {"T": 1, "n": "float", "s": 4}, "location": "r496"}, {"n": "a1", "t": {"T": 3, "t": "float"}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "char"}, "location": "r8"}]} | [{"n": "v1", "t": {"T": 1, "n": "float", "s": 4}, "location": "r496"}, {"n": "arg", "t": {"T": 3, "t": "const Arg"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 58 | [
"{\"name\": \"arrange\", \"code\": \"__int64 __fastcall arrange ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; i = @@a1@@ ; if ( @@a1@@ ) { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { for ( i = mons ; i ; i = * ( _QWORD * ) ( i + Number ) ) showhide ( * ( _QWORD * ) ( i + Number ) ) ; } if ( i ) { arrangemon ( i ) ; @@result@@ = restack ( i ) ; } else { @@result@@ = mons ; for ( j = mons ; j ; j = @@result@@ ) { arrangemon ( j ) ; @@result@@ = * ( _QWORD * ) ( j + Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}"
] |
{"name": "setup", "code": "__int64 setup ( ) { _QWORD * @@v0@@ ; XSetWindowAttributes @@v2@@ ; Atom @@v3@@ ; unsigned int @@i@@ ; sigchld ( Number ) ; screen = dpy -> default_screen ; sw = dpy -> screens [ ( __int64 ) screen ] . width ; sh = dpy -> screens [ ( __int64 ) screen ] . height ; root = dpy -> screens [ ( __int64 ) screen ] . root ; drw = drw_create ( dpy , ( unsigned int ) screen , root , ( unsigned int ) sw , ( unsigned int ) sh ) ; if ( ! drw_fontset_create ( drw , & fonts , Number L ) ) die ( String ) ; lrpad = * ( _DWORD * ) ( * ( _QWORD * ) ( drw + Number ) + Number L ) ; dword_7D6C = * ( _DWORD * ) ( * ( _QWORD * ) ( drw + Number ) + Number L ) + Number ; updategeom ( ) ; @@v3@@ = XInternAtom ( dpy , String , Number ) ; wmatom = XInternAtom ( dpy , String , Number ) ; qword_7DA8 = XInternAtom ( dpy , String , Number ) ; qword_7DB0 = XInternAtom ( dpy , String , Number ) ; qword_7DB8 = XInternAtom ( dpy , String , Number ) ; qword_7DE8 = XInternAtom ( dpy , String , Number ) ; netatom = XInternAtom ( dpy , String , Number ) ; qword_7DC8 = XInternAtom ( dpy , String , Number ) ; qword_7DD0 = XInternAtom ( dpy , String , Number ) ; qword_7DD8 = XInternAtom ( dpy , String , Number ) ; * ( _QWORD * ) & qword_7DE0 = XInternAtom ( dpy , String , Number ) ; qword_7DF0 = XInternAtom ( dpy , String , Number ) ; qword_7DF8 = XInternAtom ( dpy , String , Number ) ; qword_7E00 = XInternAtom ( dpy , String , Number ) ; cursor [ Number ] = drw_cur_create ( drw , Number L ) ; qword_7E18 = drw_cur_create ( drw , Number L ) ; qword_7E20 = drw_cur_create ( drw , Number L ) ; scheme = ecalloc ( Number L , Number L ) ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { @@v0@@ = ( _QWORD * ) ( scheme + Number L * ( int ) @@i@@ ) ; * @@v0@@ = drw_scm_create ( drw , & colors [ Number * ( int ) @@i@@ ] , Number L ) ; } updatebars ( ) ; updatestatus ( ) ; wmcheckwin = XCreateSimpleWindow ( dpy , root , Number , Number , Number , Number , Number , Number L , Number L ) ; XChangeProperty ( dpy , wmcheckwin , qword_7DD8 , Number , Number , Number , ( const unsigned __int8 * ) & wmcheckwin , Number ) ; XChangeProperty ( dpy , wmcheckwin , qword_7DC8 , @@v3@@ , Number , Number , String , Number ) ; XChangeProperty ( dpy , root , qword_7DD8 , Number , Number , Number , ( const unsigned __int8 * ) & wmcheckwin , Number ) ; XChangeProperty ( dpy , root , netatom , Number , Number , Number , ( const unsigned __int8 * ) & netatom , Number ) ; XDeleteProperty ( dpy , root , qword_7E00 ) ; @@v2@@ . cursor = * ( _QWORD * ) cursor [ Number ] ; @@v2@@ . event_mask = Number L ; XChangeWindowAttributes ( dpy , root , Number , & @@v2@@ ) ; XSelectInput ( dpy , root , @@v2@@ . event_mask ) ; grabkeys ( ) ; return focus ( Number L ) ; }", "source": [{"n": "v0", "t": {"T": 3, "t": "_QWORD"}, "location": "r32"}, {"n": "v2", "t": {"T": 6, "n": "XSetWindowAttributes", "l": [{"T": 4, "n": "background_pixmap", "t": "Pixmap", "s": 8}, {"T": 4, "n": "background_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "border_pixmap", "t": "Pixmap", "s": 8}, {"T": 4, "n": "border_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "bit_gravity", "t": "int", "s": 4}, {"T": 4, "n": "win_gravity", "t": "int", "s": 4}, {"T": 4, "n": "backing_store", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "backing_planes", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "backing_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "save_under", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "event_mask", "t": "__int64", "s": 8}, {"T": 4, "n": "do_not_propagate_mask", "t": "__int64", "s": 8}, {"T": 4, "n": "override_redirect", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "colormap", "t": "Colormap", "s": 8}, {"T": 4, "n": "cursor", "t": "Cursor", "s": 8}]}, "location": "s144"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v3", "t": {"T": 1, "n": "Atom", "s": 8}, "location": "s32"}]} | [{"n": "v0", "t": {"T": 3, "t": "Clr *"}, "location": "r32"}, {"n": "wa", "t": {"T": 6, "n": "XSetWindowAttributes", "l": [{"T": 4, "n": "background_pixmap", "t": "Pixmap", "s": 8}, {"T": 4, "n": "background_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "border_pixmap", "t": "Pixmap", "s": 8}, {"T": 4, "n": "border_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "bit_gravity", "t": "int", "s": 4}, {"T": 4, "n": "win_gravity", "t": "int", "s": 4}, {"T": 4, "n": "backing_store", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "backing_planes", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "backing_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "save_under", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "event_mask", "t": "__int64", "s": 8}, {"T": 4, "n": "do_not_propagate_mask", "t": "__int64", "s": 8}, {"T": 4, "n": "override_redirect", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "colormap", "t": "Colormap", "s": 8}, {"T": 4, "n": "cursor", "t": "Cursor", "s": 8}]}, "location": "s144"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "utf8string", "t": {"T": 1, "n": "Atom", "s": 8}, "location": "s32"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 59 | [
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"grabkeys\", \"code\": \"unsigned __int8 grabkeys ( ) { unsigned __int8 @@result@@ ; int @@v1@@ [ Number ] ; unsigned __int8 @@v2@@ ; unsigned int @@j@@ ; unsigned int @@i@@ ; updatenumlockmask ( ) ; @@v1@@ [ Number ] = Number ; @@v1@@ [ Number ] = Number ; @@v1@@ [ Number ] = numlockmask ; @@v1@@ [ Number ] = numlockmask | Number ; @@result@@ = XUngrabKey ( dpy , Number , Number , root ) ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { @@result@@ = XKeysymToKeycode ( dpy , * ( ( _QWORD * ) & unk_72E8 + Number * @@i@@ ) ) ; @@v2@@ = @@result@@ ; if ( @@result@@ ) { for ( @@j@@ = Number ; @@j@@ <= Number ; ++ @@j@@ ) @@result@@ = XGrabKey ( dpy , @@v2@@ , @@v1@@ [ @@j@@ ] | * ( ( _DWORD * ) & keys + Number * @@i@@ ) , root , Number , Number , Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"unsigned __int8\", \"s\": 1}, \"location\": \"r8\"}, {\"n\": \"v1\", \"t\": {\"T\": 2, \"n\": 5, \"s\": 4, \"t\": \"int\"}, \"location\": \"s32\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s4\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s8\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"unsigned __int8\", \"s\": 1}, \"location\": \"s9\"}]}",
"{\"name\": \"updatebars\", \"code\": \"__int64 updatebars ( ) { __int64 result ; Window v1 ; XClassHint @@v2@@ ; XSetWindowAttributes @@v3@@ ; __int64 @@i@@ ; memset ( & @@v3@@ , Number , sizeof ( @@v3@@ ) ) ; @@v3@@ . background_pixmap = Number L ; @@v3@@ . event_mask = Number L ; @@v3@@ . override_redirect = Number ; @@v2@@ . res_name = String ; @@v2@@ . res_class = String ; result = mons ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = result ) { if ( ! * ( _QWORD * ) ( @@i@@ + Number ) ) { v1 = XCreateWindow ( dpy , root , * ( _DWORD * ) ( @@i@@ + Number ) , * ( _DWORD * ) ( @@i@@ + Number ) , * ( _DWORD * ) ( @@i@@ + Number ) , dword_7D6C , Number , dpy -> screens [ ( __int64 ) screen ] . root_depth , Number , dpy -> screens [ ( __int64 ) screen ] . root_visual , Number , & @@v3@@ ) ; * ( _QWORD * ) ( @@i@@ + Number ) = v1 ; XDefineCursor ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) cursor [ Number ] ) ; XMapRaised ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) ) ; XSetClassHint ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , & @@v2@@ ) ; } result = * ( _QWORD * ) ( @@i@@ + Number ) ; } return result ; }\", \"source\": [{\"n\": \"v3\", \"t\": {\"T\": 6, \"n\": \"XSetWindowAttributes\", \"l\": [{\"T\": 4, \"n\": \"background_pixmap\", \"t\": \"Pixmap\", \"s\": 8}, {\"T\": 4, \"n\": \"background_pixel\", \"t\": \"unsigned __int64\", \"s\": 8}, {\"T\": 4, \"n\": \"border_pixmap\", \"t\": \"Pixmap\", \"s\": 8}, {\"T\": 4, \"n\": \"border_pixel\", \"t\": \"unsigned __int64\", \"s\": 8}, {\"T\": 4, \"n\": \"bit_gravity\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"win_gravity\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"backing_store\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"backing_planes\", \"t\": \"unsigned __int64\", \"s\": 8}, {\"T\": 4, \"n\": \"backing_pixel\", \"t\": \"unsigned __int64\", \"s\": 8}, {\"T\": 4, \"n\": \"save_under\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"event_mask\", \"t\": \"__int64\", \"s\": 8}, {\"T\": 4, \"n\": \"do_not_propagate_mask\", \"t\": \"__int64\", \"s\": 8}, {\"T\": 4, \"n\": \"override_redirect\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"colormap\", \"t\": \"Colormap\", \"s\": 8}, {\"T\": 4, \"n\": \"cursor\", \"t\": \"Cursor\", \"s\": 8}]}, \"location\": \"s128\"}, {\"n\": \"v2\", \"t\": {\"T\": 6, \"n\": \"XClassHint\", \"l\": [{\"T\": 4, \"n\": \"res_name\", \"t\": \"char *\", \"s\": 8}, {\"T\": 4, \"n\": \"res_class\", \"t\": \"char *\", \"s\": 8}]}, \"location\": \"s144\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"updategeom\", \"code\": \"__int64 updategeom ( ) { int v0 ; __int64 v1 ; __int64 v2 ; int @@v4@@ ; __int64 @@v5@@ ; void * @@ptr@@ ; void * @@v7@@ ; char * @@j@@ ; int @@v9@@ ; int @@v10@@ ; int @@i@@ ; unsigned int @@v12@@ ; @@v12@@ = Number ; if ( ( unsigned int ) XineramaIsActive ( dpy ) ) { @@v7@@ = ( void * ) XineramaQueryScreens ( dpy , & @@v4@@ ) ; @@ptr@@ = Number L ; @@v9@@ = Number ; @@j@@ = ( char * ) mons ; while ( @@j@@ ) { @@j@@ = ( char * ) * ( ( _QWORD * ) @@j@@ + Number ) ; ++ @@v9@@ ; } @@ptr@@ = ( void * ) ecalloc ( @@v4@@ , Number L ) ; @@i@@ = Number ; @@v10@@ = Number ; while ( @@i@@ < @@v4@@ ) { if ( ( unsigned int ) isuniquegeom ( ( __int64 ) @@ptr@@ , @@v10@@ , ( _WORD * ) @@v7@@ + Number * @@i@@ ) ) { v0 = @@v10@@ ++ ; memcpy ( ( char * ) @@ptr@@ + Number * v0 , ( char * ) @@v7@@ + Number * @@i@@ , Number ) ; } ++ @@i@@ ; } XFree ( @@v7@@ ) ; @@v4@@ = @@v10@@ ; if ( @@v9@@ > @@v10@@ ) { for ( @@i@@ = @@v4@@ ; @@i@@ < @@v9@@ ; ++ @@i@@ ) { for ( @@j@@ = ( char * ) mons ; @@j@@ && * ( ( _QWORD * ) @@j@@ + Number ) ; @@j@@ = ( char * ) * ( ( _QWORD * ) @@j@@ + Number ) ) ; while ( Number ) { @@v5@@ = * ( ( _QWORD * ) @@j@@ + Number ) ; if ( ! @@v5@@ ) break ; @@v12@@ = Number ; * ( ( _QWORD * ) @@j@@ + Number ) = * ( _QWORD * ) ( @@v5@@ + Number ) ; detachstack ( @@v5@@ ) ; * ( _QWORD * ) ( @@v5@@ + Number ) = mons ; attach ( @@v5@@ ) ; attachstack ( @@v5@@ ) ; } if ( @@j@@ == selmon ) selmon = ( char * ) mons ; cleanupmon ( @@j@@ ) ; } } else { for ( @@i@@ = Number ; @@i@@ < @@v4@@ - @@v9@@ ; ++ @@i@@ ) { for ( @@j@@ = ( char * ) mons ; @@j@@ && * ( ( _QWORD * ) @@j@@ + Number ) ; @@j@@ = ( char * ) * ( ( _QWORD * ) @@j@@ + Number ) ) ; if ( @@j@@ ) * ( ( _QWORD * ) @@j@@ + Number ) = createmon ( ) ; else mons = ( __int64 ) createmon ( ) ; } @@i@@ = Number ; @@j@@ = ( char * ) mons ; while ( @@i@@ < @@v4@@ && @@j@@ ) { if ( @@i@@ >= @@v9@@ || * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) != * ( ( _DWORD * ) @@j@@ + Number ) || * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) != * ( ( _DWORD * ) @@j@@ + Number ) || * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) != * ( ( _DWORD * ) @@j@@ + Number ) || * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) != * ( ( _DWORD * ) @@j@@ + Number ) ) { @@v12@@ = Number ; * ( ( _DWORD * ) @@j@@ + Number ) = @@i@@ ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( _DWORD * ) @@j@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( _DWORD * ) @@j@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( _DWORD * ) @@j@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( _DWORD * ) @@j@@ + Number ) ; updatebarpos ( @@j@@ ) ; } @@j@@ = ( char * ) * ( ( _QWORD * ) @@j@@ + Number ) ; ++ @@i@@ ; } } free ( @@ptr@@ ) ; } else { if ( ! mons ) mons = ( __int64 ) createmon ( ) ; if ( * ( _DWORD * ) ( mons + Number ) != sw || * ( _DWORD * ) ( mons + Number ) != sh ) { @@v12@@ = Number ; v1 = mons ; * ( _DWORD * ) ( mons + Number ) = sw ; * ( _DWORD * ) ( mons + Number ) = * ( _DWORD * ) ( v1 + Number ) ; v2 = mons ; * ( _DWORD * ) ( mons + Number ) = sh ; * ( _DWORD * ) ( mons + Number ) = * ( _DWORD * ) ( v2 + Number ) ; updatebarpos ( ( _DWORD * ) mons ) ; } } if ( @@v12@@ ) { selmon = ( char * ) mons ; selmon = ( char * ) wintomon ( root ) ; } return @@v12@@ ; }\", \"source\": [{\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"j\", \"t\": {\"T\": 3, \"t\": \"char\"}, \"location\": \"s24\"}, {\"n\": \"v7\", \"t\": {\"T\": 3, \"t\": \"void\"}, \"location\": \"s32\"}, {\"n\": \"v12\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s4\"}, {\"n\": \"ptr\", \"t\": {\"T\": 3, \"t\": \"void\"}, \"location\": \"s40\"}, {\"n\": \"v5\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s48\"}, {\"n\": \"v4\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s52\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s8\"}]}"
] |
{"name": "seturgent", "code": "int __fastcall seturgent ( __int64 @@a1@@ , int @@a2@@ ) { XWMHints * v2 ; __int64 v3 ; XWMHints * @@v5@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; v2 = XGetWMHints ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; @@v5@@ = v2 ; if ( v2 ) { v3 = v2 -> flags ; if ( @@a2@@ ) BYTE1 ( v3 ) = BYTE1 ( @@v5@@ -> flags ) | Number ; else BYTE1 ( v3 ) = BYTE1 ( @@v5@@ -> flags ) & Number ; @@v5@@ -> flags = v3 ; XSetWMHints ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , @@v5@@ ) ; LODWORD ( v2 ) = XFree ( @@v5@@ ) ; } return ( int ) v2 ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v5", "t": {"T": 3, "t": "XWMHints"}, "location": "s8"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "urg", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "wmh", "t": {"T": 3, "t": "XWMHints"}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 60 | [] |
{"name": "showhide", "code": "int __fastcall showhide ( __int64 @@a1@@ ) { int @@result@@ ; if ( @@a1@@ ) { if ( ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) != Number ) { XMoveWindow ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( ( ! * ( _QWORD * ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) ) + Number L ) || * ( _DWORD * ) ( @@a1@@ + Number ) ) && ! * ( _DWORD * ) ( @@a1@@ + Number ) ) { resize ( @@a1@@ , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) , Number ) ; } @@result@@ = showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; @@result@@ = XMoveWindow ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , Number * ( Number * * ( _DWORD * ) ( @@a1@@ + Number ) + * ( _DWORD * ) ( @@a1@@ + Number ) ) , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 61 | [
"{\"name\": \"resize\", \"code\": \"__int64 __fastcall resize ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ , unsigned int @@a5@@ , int @@a6@@ ) { __int64 @@result@@ ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; __int64 @@v11@@ ; @@v11@@ = @@a1@@ ; @@v10@@ = @@a2@@ ; @@v9@@ = @@a3@@ ; @@v8@@ = @@a4@@ ; @@v7@@ = @@a5@@ ; @@result@@ = applysizehints ( @@a1@@ , & @@v10@@ , & @@v9@@ , ( int * ) & @@v8@@ , ( int * ) & @@v7@@ , @@a6@@ ) ; if ( ( _DWORD ) @@result@@ ) @@result@@ = resizeclient ( @@v11@@ , @@v10@@ , @@v9@@ , @@v8@@ , @@v7@@ ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"a5\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r72\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"a6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r80\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s24\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "spawn", "code": "__pid_t __fastcall spawn ( const char * * * @@a1@@ ) { __pid_t @@result@@ ; if ( * @@a1@@ == ( const char * * ) dmenucmd ) dmenumon = * ( ( _DWORD * ) selmon + Number ) + Number ; @@result@@ = fork ( ) ; if ( ! @@result@@ ) { if ( dpy ) close ( dpy -> fd ) ; setsid ( ) ; execvp ( * * @@a1@@ , ( char * const * ) * @@a1@@ ) ; fprintf ( stderr , String , * * @@a1@@ ) ; perror ( String ) ; exit ( Number ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char **"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__pid_t", "s": 4}, "location": "r8"}]} | [{"n": "arg", "t": {"T": 3, "t": "const Arg"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 62 | [] |
{"name": "tag", "code": "__int64 __fastcall tag ( _DWORD * @@a1@@ ) { __int64 @@result@@ ; @@result@@ = * ( ( _QWORD * ) selmon + Number ) ; if ( @@result@@ ) { @@result@@ = * @@a1@@ & Number ; if ( ( _DWORD ) @@result@@ ) { * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) = * @@a1@@ & Number ; focus ( Number L ) ; @@result@@ = arrange ( ( __int64 ) selmon ) ; } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "arg", "t": {"T": 3, "t": "const Arg"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 63 | [
"{\"name\": \"arrange\", \"code\": \"__int64 __fastcall arrange ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; i = @@a1@@ ; if ( @@a1@@ ) { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { for ( i = mons ; i ; i = * ( _QWORD * ) ( i + Number ) ) showhide ( * ( _QWORD * ) ( i + Number ) ) ; } if ( i ) { arrangemon ( i ) ; @@result@@ = restack ( i ) ; } else { @@result@@ = mons ; for ( j = mons ; j ; j = @@result@@ ) { arrangemon ( j ) ; @@result@@ = * ( _QWORD * ) ( j + Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "tagmon", "code": "__int64 __fastcall tagmon ( int * @@a1@@ ) { __int64 result ; __int64 v2 ; result = * ( ( _QWORD * ) selmon + Number ) ; if ( result ) { result = * ( _QWORD * ) ( mons + Number ) ; if ( result ) { v2 = dirtomon ( * @@a1@@ ) ; result = sendmon ( * ( ( _QWORD * ) selmon + Number ) , v2 ) ; } } return result ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "int"}, "location": "r56"}]} | [{"n": "arg", "t": {"T": 3, "t": "const Arg"}, "location": "r56"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 64 | [
"{\"name\": \"dirtomon\", \"code\": \"__int64 __fastcall dirtomon ( int @@a1@@ ) { __int64 @@i@@ ; if ( @@a1@@ <= Number ) { if ( selmon == ( char * ) mons ) { for ( @@i@@ = mons ; * ( _QWORD * ) ( @@i@@ + Number ) ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) ; } else { for ( @@i@@ = mons ; * ( char * * ) ( @@i@@ + Number ) != selmon ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) ; } } else { @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; if ( ! @@i@@ ) @@i@@ = mons ; } return @@i@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"sendmon\", \"code\": \"__int64 __fastcall sendmon ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@a2@@ != @@result@@ ) { unfocus ( @@a1@@ , Number L ) ; detach ( @@a1@@ ) ; detachstack ( @@a1@@ ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a2@@ + Number * ( * ( unsigned int * ) ( @@a2@@ + Number ) + Number L ) + Number ) ; attach ( @@a1@@ ) ; attachstack ( @@a1@@ ) ; focus ( Number L ) ; @@result@@ = arrange ( Number L ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"tag\", \"code\": \"__int64 __fastcall tag ( _DWORD * @@a1@@ ) { __int64 @@result@@ ; @@result@@ = * ( ( _QWORD * ) selmon + Number ) ; if ( @@result@@ ) { @@result@@ = * @@a1@@ & Number ; if ( ( _DWORD ) @@result@@ ) { * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) = * @@a1@@ & Number ; focus ( Number L ) ; @@result@@ = arrange ( ( __int64 ) selmon ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}"
] |
{"name": "tile", "code": "__int64 __fastcall tile ( __int64 @@a1@@ ) { __int64 result ; int v2 ; unsigned int v3 ; __int64 v4 ; __int64 v5 ; int @@v6@@ ; int @@v7@@ ; int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; @@v9@@ = Number ; result = nexttiled ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; v4 = result ; while ( v4 ) { result = nexttiled ( * ( _QWORD * ) ( v4 + Number ) ) ; v4 = result ; ++ @@v9@@ ; } if ( @@v9@@ ) { if ( @@v9@@ <= * ( _DWORD * ) ( @@a1@@ + Number ) ) { @@v8@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; } else { if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) v2 = ( int ) ( float ) ( * ( float * ) ( @@a1@@ + Number ) * ( float ) * ( int * ) ( @@a1@@ + Number ) ) ; else v2 = Number ; @@v8@@ = v2 ; } @@v6@@ = Number ; @@v7@@ = Number ; @@v10@@ = Number ; result = nexttiled ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; v5 = result ; while ( v5 ) { if ( @@v10@@ >= * ( _DWORD * ) ( @@a1@@ + Number ) ) { resize ( v5 , * ( _DWORD * ) ( @@a1@@ + Number ) + @@v8@@ , * ( _DWORD * ) ( @@a1@@ + Number ) + @@v6@@ , * ( _DWORD * ) ( @@a1@@ + Number ) - @@v8@@ - Number * * ( _DWORD * ) ( v5 + Number ) , ( * ( _DWORD * ) ( @@a1@@ + Number ) - @@v6@@ ) / ( @@v9@@ - @@v10@@ ) - Number * * ( _DWORD * ) ( v5 + Number ) , Number ) ; @@v6@@ += * ( _DWORD * ) ( v5 + Number ) + Number * * ( _DWORD * ) ( v5 + Number ) ; } else { v3 = * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( @@v9@@ <= v3 ) v3 = @@v9@@ ; resize ( v5 , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) + @@v7@@ , @@v8@@ - Number * * ( _DWORD * ) ( v5 + Number ) , ( * ( _DWORD * ) ( @@a1@@ + Number ) - @@v7@@ ) / ( v3 - @@v10@@ ) - Number * * ( _DWORD * ) ( v5 + Number ) , Number ) ; @@v7@@ += * ( _DWORD * ) ( v5 + Number ) + Number * * ( _DWORD * ) ( v5 + Number ) ; } result = nexttiled ( * ( _QWORD * ) ( v5 + Number ) ) ; v5 = result ; ++ @@v10@@ ; } } return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v10", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}]} | [{"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "r56"}, {"n": "mw", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "my", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "ty", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "n", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 65 | [
"{\"name\": \"nexttiled\", \"code\": \"__int64 __fastcall nexttiled ( __int64 @@a1@@ ) { while ( @@a1@@ && ( * ( _DWORD * ) ( @@a1@@ + Number ) || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) ) @@a1@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; return @@a1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}]}",
"{\"name\": \"resize\", \"code\": \"__int64 __fastcall resize ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ , unsigned int @@a5@@ , int @@a6@@ ) { __int64 @@result@@ ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; __int64 @@v11@@ ; @@v11@@ = @@a1@@ ; @@v10@@ = @@a2@@ ; @@v9@@ = @@a3@@ ; @@v8@@ = @@a4@@ ; @@v7@@ = @@a5@@ ; @@result@@ = applysizehints ( @@a1@@ , & @@v10@@ , & @@v9@@ , ( int * ) & @@v8@@ , ( int * ) & @@v7@@ , @@a6@@ ) ; if ( ( _DWORD ) @@result@@ ) @@result@@ = resizeclient ( @@v11@@ , @@v10@@ , @@v9@@ , @@v8@@ , @@v7@@ ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"a5\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r72\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"a6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r80\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s24\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "togglefloating", "code": "__int64 togglefloating ( ) { __int64 @@result@@ ; _BOOL4 @@v1@@ ; @@result@@ = * ( ( _QWORD * ) selmon + Number ) ; if ( @@result@@ ) { @@result@@ = * ( unsigned int * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) ; if ( ! ( _DWORD ) @@result@@ ) { @@v1@@ = ! * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) || * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) ; * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) = @@v1@@ ; if ( * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) ) resize ( * ( ( _QWORD * ) selmon + Number ) , * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , Number ) ; @@result@@ = arrange ( ( __int64 ) selmon ) ; } } return @@result@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "_BOOL4", "s": 4}, "location": "r16"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "v1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 66 | [
"{\"name\": \"arrange\", \"code\": \"__int64 __fastcall arrange ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; i = @@a1@@ ; if ( @@a1@@ ) { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { for ( i = mons ; i ; i = * ( _QWORD * ) ( i + Number ) ) showhide ( * ( _QWORD * ) ( i + Number ) ) ; } if ( i ) { arrangemon ( i ) ; @@result@@ = restack ( i ) ; } else { @@result@@ = mons ; for ( j = mons ; j ; j = @@result@@ ) { arrangemon ( j ) ; @@result@@ = * ( _QWORD * ) ( j + Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"resize\", \"code\": \"__int64 __fastcall resize ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ , unsigned int @@a4@@ , unsigned int @@a5@@ , int @@a6@@ ) { __int64 @@result@@ ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; __int64 @@v11@@ ; @@v11@@ = @@a1@@ ; @@v10@@ = @@a2@@ ; @@v9@@ = @@a3@@ ; @@v8@@ = @@a4@@ ; @@v7@@ = @@a5@@ ; @@result@@ = applysizehints ( @@a1@@ , & @@v10@@ , & @@v9@@ , ( int * ) & @@v8@@ , ( int * ) & @@v7@@ , @@a6@@ ) ; if ( ( _DWORD ) @@result@@ ) @@result@@ = resizeclient ( @@v11@@ , @@v10@@ , @@v9@@ , @@v8@@ , @@v7@@ ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"a5\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r72\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"a6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r80\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s24\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "toggletag", "code": "__int64 __fastcall toggletag ( _DWORD * @@a1@@ ) { __int64 @@result@@ ; int @@v2@@ ; int @@v3@@ ; @@result@@ = * ( ( _QWORD * ) selmon + Number ) ; if ( @@result@@ ) { @@v2@@ = * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) ; @@result@@ = @@v2@@ ^ * @@a1@@ & Number ; @@v3@@ = @@v2@@ ^ * @@a1@@ & Number ; if ( @@v3@@ ) { * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) = @@v3@@ ; focus ( Number L ) ; @@result@@ = arrange ( ( __int64 ) selmon ) ; } } return @@result@@ ; }", "source": [{"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} | [{"n": "", "t": {"T": 10}, "location": "r16"}, {"n": "arg", "t": {"T": 3, "t": "const Arg"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "newtags", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 67 | [
"{\"name\": \"arrange\", \"code\": \"__int64 __fastcall arrange ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; i = @@a1@@ ; if ( @@a1@@ ) { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { for ( i = mons ; i ; i = * ( _QWORD * ) ( i + Number ) ) showhide ( * ( _QWORD * ) ( i + Number ) ) ; } if ( i ) { arrangemon ( i ) ; @@result@@ = restack ( i ) ; } else { @@result@@ = mons ; for ( j = mons ; j ; j = @@result@@ ) { arrangemon ( j ) ; @@result@@ = * ( _QWORD * ) ( j + Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"tag\", \"code\": \"__int64 __fastcall tag ( _DWORD * @@a1@@ ) { __int64 @@result@@ ; @@result@@ = * ( ( _QWORD * ) selmon + Number ) ; if ( @@result@@ ) { @@result@@ = * @@a1@@ & Number ; if ( ( _DWORD ) @@result@@ ) { * ( _DWORD * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) = * @@a1@@ & Number ; focus ( Number L ) ; @@result@@ = arrange ( ( __int64 ) selmon ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}"
] |
{"name": "toggleview", "code": "__int64 __fastcall toggleview ( _DWORD * @@a1@@ ) { int @@v1@@ ; __int64 @@result@@ ; int @@v3@@ ; @@v1@@ = * ( _DWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] ; @@result@@ = @@v1@@ ^ * @@a1@@ & Number ; @@v3@@ = @@v1@@ ^ * @@a1@@ & Number ; if ( @@v3@@ ) { * ( _DWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] = @@v3@@ ; focus ( Number L ) ; @@result@@ = arrange ( ( __int64 ) selmon ) ; } return @@result@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} | [{"n": "", "t": {"T": 10}, "location": "r16"}, {"n": "arg", "t": {"T": 3, "t": "const Arg"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "newtagset", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 68 | [
"{\"name\": \"arrange\", \"code\": \"__int64 __fastcall arrange ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; i = @@a1@@ ; if ( @@a1@@ ) { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { for ( i = mons ; i ; i = * ( _QWORD * ) ( i + Number ) ) showhide ( * ( _QWORD * ) ( i + Number ) ) ; } if ( i ) { arrangemon ( i ) ; @@result@@ = restack ( i ) ; } else { @@result@@ = mons ; for ( j = mons ; j ; j = @@result@@ ) { arrangemon ( j ) ; @@result@@ = * ( _QWORD * ) ( j + Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"view\", \"code\": \"__int64 __fastcall view ( _DWORD * @@a1@@ ) { __int64 @@result@@ ; @@result@@ = * ( unsigned int * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] ; if ( ( * @@a1@@ & Number ) != ( _DWORD ) @@result@@ ) { * ( ( _DWORD * ) selmon + Number ) ^= Number ; if ( ( * @@a1@@ & Number ) != Number ) * ( _DWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] = * @@a1@@ & Number ; focus ( Number L ) ; @@result@@ = arrange ( ( __int64 ) selmon ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}"
] |
{"name": "unfocus", "code": "int __fastcall unfocus ( __int64 @@a1@@ , int @@a2@@ ) { int @@result@@ ; if ( @@a1@@ ) { grabbuttons ( @@a1@@ , Number ) ; @@result@@ = XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) scheme + Number L ) ) ; if ( @@a2@@ ) { XSetInputFocus ( dpy , root , Number , Number L ) ; @@result@@ = XDeleteProperty ( dpy , root , qword_7DE8 ) ; } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "setfocus", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 69 | [
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"grabbuttons\", \"code\": \"int __fastcall grabbuttons ( __int64 @@a1@@ , int @@a2@@ ) { int @@result@@ ; int @@v3@@ [ Number ] ; unsigned int @@j@@ ; unsigned int @@i@@ ; updatenumlockmask ( ) ; @@v3@@ [ Number ] = Number ; @@v3@@ [ Number ] = Number ; @@v3@@ [ Number ] = numlockmask ; @@v3@@ [ Number ] = numlockmask | Number ; @@result@@ = XUngrabButton ( dpy , Number , Number , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; if ( ! @@a2@@ ) @@result@@ = XGrabButton ( dpy , Number , Number , * ( _QWORD * ) ( @@a1@@ + Number ) , Number , Number , Number , Number , Number L , Number L ) ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { @@result@@ = * ( ( _DWORD * ) & buttons + Number * @@i@@ ) ; if ( @@result@@ == Number ) { for ( @@j@@ = Number ; @@j@@ <= Number ; ++ @@j@@ ) @@result@@ = XGrabButton ( dpy , * ( ( _DWORD * ) & unk_7B08 + Number * @@i@@ ) , @@v3@@ [ @@j@@ ] | * ( ( _DWORD * ) & unk_7B04 + Number * @@i@@ ) , * ( _QWORD * ) ( @@a1@@ + Number ) , Number , Number , Number , Number , Number L , Number L ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r8\"}, {\"n\": \"v3\", \"t\": {\"T\": 2, \"n\": 6, \"s\": 4, \"t\": \"int\"}, \"location\": \"s32\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s4\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s8\"}]}"
] |
{"name": "unmanage", "code": "__int64 __fastcall unmanage ( __int64 @@a1@@ , int @@a2@@ ) { XWindowChanges @@v3@@ ; __int64 @@v4@@ ; @@v4@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; detach ( @@a1@@ ) ; detachstack ( @@a1@@ ) ; if ( ! @@a2@@ ) { @@v3@@ . border_width = * ( _DWORD * ) ( @@a1@@ + Number ) ; XGrabServer ( dpy ) ; XSetErrorHandler ( xerrordummy ) ; XConfigureWindow ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , Number , & @@v3@@ ) ; XUngrabButton ( dpy , Number , Number , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; setclientstate ( @@a1@@ , Number L ) ; XSync ( dpy , Number ) ; XSetErrorHandler ( xerror ) ; XUngrabServer ( dpy ) ; } free ( ( void * ) @@a1@@ ) ; focus ( Number L ) ; updateclientlist ( ) ; return arrange ( @@v4@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 6, "n": "XWindowChanges", "l": [{"T": 4, "n": "x", "t": "int", "s": 4}, {"T": 4, "n": "y", "t": "int", "s": 4}, {"T": 4, "n": "width", "t": "int", "s": 4}, {"T": 4, "n": "height", "t": "int", "s": 4}, {"T": 4, "n": "border_width", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "sibling", "t": "Window", "s": 8}, {"T": 4, "n": "stack_mode", "t": "int", "s": 4}, {"T": 5, "s": 4}]}, "location": "s48"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "destroyed", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "wc", "t": {"T": 6, "n": "XWindowChanges", "l": [{"T": 4, "n": "x", "t": "int", "s": 4}, {"T": 4, "n": "y", "t": "int", "s": 4}, {"T": 4, "n": "width", "t": "int", "s": 4}, {"T": 4, "n": "height", "t": "int", "s": 4}, {"T": 4, "n": "border_width", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "sibling", "t": "Window", "s": 8}, {"T": 4, "n": "stack_mode", "t": "int", "s": 4}, {"T": 5, "s": 4}]}, "location": "s48"}, {"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 70 | [
"{\"name\": \"arrange\", \"code\": \"__int64 __fastcall arrange ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; i = @@a1@@ ; if ( @@a1@@ ) { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { for ( i = mons ; i ; i = * ( _QWORD * ) ( i + Number ) ) showhide ( * ( _QWORD * ) ( i + Number ) ) ; } if ( i ) { arrangemon ( i ) ; @@result@@ = restack ( i ) ; } else { @@result@@ = mons ; for ( j = mons ; j ; j = @@result@@ ) { arrangemon ( j ) ; @@result@@ = * ( _QWORD * ) ( j + Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"detach\", \"code\": \"_QWORD * __fastcall detach ( __int64 @@a1@@ ) { _QWORD * @@result@@ ; _QWORD * @@i@@ ; for ( @@i@@ = ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; * @@i@@ && @@a1@@ != * @@i@@ ; @@i@@ = ( _QWORD * ) ( * @@i@@ + Number L ) ) ; @@result@@ = @@i@@ ; * @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"r8\"}, {\"n\": \"i\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"s8\"}]}",
"{\"name\": \"detachstack\", \"code\": \"__int64 __fastcall detachstack ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 @@j@@ ; _QWORD * @@i@@ ; for ( @@i@@ = ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; * @@i@@ && @@a1@@ != * @@i@@ ; @@i@@ = ( _QWORD * ) ( * @@i@@ + Number L ) ) ; * @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@result@@ = * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; if ( @@a1@@ == @@result@@ ) { for ( @@j@@ = * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; @@j@@ && ( * ( _DWORD * ) ( @@j@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@j@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@j@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@j@@ = * ( _QWORD * ) ( @@j@@ + Number ) ) { ; } @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@result@@ + Number ) = @@j@@ ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"i\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"s8\"}]}",
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"manage\", \"code\": \"__int64 __fastcall manage ( Window @@a1@@ , _DWORD * @@a2@@ ) { int v2 ; signed int @@v3@@ ; signed int v4 ; _BOOL4 v5 ; XWindowChanges @@v7@@ ; Window @@v8@@ ; __int64 @@v9@@ ; __int64 @@v10@@ ; @@v10@@ = Number L ; @@v8@@ = Number L ; @@v9@@ = ecalloc ( Number L , Number L ) ; * ( _QWORD * ) ( @@v9@@ + Number ) = @@a1@@ ; * ( _DWORD * ) ( @@v9@@ + Number ) = * @@a2@@ ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = @@a2@@ [ Number ] ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = @@a2@@ [ Number ] ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = @@a2@@ [ Number ] ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = @@a2@@ [ Number ] ; updatetitle ( @@v9@@ ) ; if ( XGetTransientForHint ( dpy , @@a1@@ , & @@v8@@ ) && ( @@v10@@ = wintoclient ( @@v8@@ ) ) != Number ) { * ( _QWORD * ) ( @@v9@@ + Number ) = * ( _QWORD * ) ( @@v10@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v10@@ + Number ) ; } else { * ( _QWORD * ) ( @@v9@@ + Number ) = selmon ; applyrules ( @@v9@@ ) ; } if ( * ( _DWORD * ) ( @@v9@@ + Number ) + * ( _DWORD * ) ( @@v9@@ + Number ) + Number * * ( _DWORD * ) ( @@v9@@ + Number ) > * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ) * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) - ( * ( _DWORD * ) ( @@v9@@ + Number ) + Number * * ( _DWORD * ) ( @@v9@@ + Number ) ) ; if ( * ( _DWORD * ) ( @@v9@@ + Number ) + * ( _DWORD * ) ( @@v9@@ + Number ) + Number * * ( _DWORD * ) ( @@v9@@ + Number ) > * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ) * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) - ( * ( _DWORD * ) ( @@v9@@ + Number ) + Number * * ( _DWORD * ) ( @@v9@@ + Number ) ) ; v2 = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ; if ( v2 < * ( _DWORD * ) ( @@v9@@ + Number ) ) v2 = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = v2 ; if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) == * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) && * ( _DWORD * ) ( @@v9@@ + Number ) / Number + * ( _DWORD * ) ( @@v9@@ + Number ) >= * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) && * ( _DWORD * ) ( @@v9@@ + Number ) + * ( _DWORD * ) ( @@v9@@ + Number ) / Number < * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ) { @@v3@@ = dword_7D6C ; } else { @@v3@@ = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ; } v4 = * ( _DWORD * ) ( @@v9@@ + Number ) ; if ( @@v3@@ >= v4 ) v4 = @@v3@@ ; * ( _DWORD * ) ( @@v9@@ + Number ) = v4 ; * ( _DWORD * ) ( @@v9@@ + Number ) = Number ; @@v7@@ . border_width = * ( _DWORD * ) ( @@v9@@ + Number ) ; XConfigureWindow ( dpy , @@a1@@ , Number , & @@v7@@ ) ; XSetWindowBorder ( dpy , @@a1@@ , * ( _QWORD * ) ( * ( _QWORD * ) scheme + Number L ) ) ; configure ( @@v9@@ ) ; updatewindowtype ( @@v9@@ ) ; updatesizehints ( @@v9@@ ) ; updatewmhints ( @@v9@@ ) ; XSelectInput ( dpy , @@a1@@ , Number L ) ; grabbuttons ( @@v9@@ , Number ) ; if ( ! * ( _DWORD * ) ( @@v9@@ + Number ) ) { v5 = @@v8@@ || * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = v5 ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; } if ( * ( _DWORD * ) ( @@v9@@ + Number ) ) XRaiseWindow ( dpy , * ( _QWORD * ) ( @@v9@@ + Number ) ) ; attach ( @@v9@@ ) ; attachstack ( @@v9@@ ) ; XChangeProperty ( dpy , root , qword_7E00 , Number , Number , Number , ( const unsigned __int8 * ) ( @@v9@@ + Number ) , Number ) ; XMoveResizeWindow ( dpy , * ( _QWORD * ) ( @@v9@@ + Number ) , * ( _DWORD * ) ( @@v9@@ + Number ) + Number * sw , * ( _DWORD * ) ( @@v9@@ + Number ) , * ( _DWORD * ) ( @@v9@@ + Number ) , * ( _DWORD * ) ( @@v9@@ + Number ) ) ; setclientstate ( @@v9@@ , Number L ) ; if ( * ( char * * ) ( @@v9@@ + Number ) == selmon ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; * ( _QWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) = @@v9@@ ; arrange ( * ( _QWORD * ) ( @@v9@@ + Number ) ) ; XMapWindow ( dpy , * ( _QWORD * ) ( @@v9@@ + Number ) ) ; return focus ( Number L ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"Window\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"r64\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"signed int\", \"s\": 4}, \"location\": \"r8\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"Window\", \"s\": 8}, \"location\": \"s24\"}, {\"n\": \"v7\", \"t\": {\"T\": 6, \"n\": \"XWindowChanges\", \"l\": [{\"T\": 4, \"n\": \"x\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"y\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"border_width\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"sibling\", \"t\": \"Window\", \"s\": 8}, {\"T\": 4, \"n\": \"stack_mode\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}]}, \"location\": \"s64\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"setclientstate\", \"code\": \"int __fastcall setclientstate ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned __int8 @@v3@@ [ Number ] ; __int64 @@v4@@ ; * ( _QWORD * ) @@v3@@ = @@a2@@ ; @@v4@@ = Number L ; return XChangeProperty ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , qword_7DB0 , qword_7DB0 , Number , Number , @@v3@@ , Number ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r64\"}, {\"n\": \"v3\", \"t\": {\"T\": 2, \"n\": 8, \"s\": 1, \"t\": \"unsigned __int8\"}, \"location\": \"s16\"}, {\"n\": \"v4\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"updateclientlist\", \"code\": \"__int64 updateclientlist ( ) { __int64 @@result@@ ; __int64 @@i@@ ; __int64 @@j@@ ; XDeleteProperty ( dpy , root , qword_7E00 ) ; @@result@@ = mons ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = @@result@@ ) { for ( @@j@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; @@j@@ ; @@j@@ = * ( _QWORD * ) ( @@j@@ + Number ) ) XChangeProperty ( dpy , root , qword_7E00 , Number , Number , Number , ( const unsigned __int8 * ) ( @@j@@ + Number ) , Number ) ; @@result@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"xerror\", \"code\": \"__int64 __fastcall xerror ( Display * @@a1@@ , XErrorEvent * @@a2@@ ) { if ( @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number ) { return Number L ; } fprintf ( stderr , String , @@a2@@ -> request_code , @@a2@@ -> error_code ) ; return xerrorxlib ( @@a1@@ , @@a2@@ ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"Display\"}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"XErrorEvent\"}, \"location\": \"r64\"}]}",
"{\"name\": \"xerrordummy\", \"code\": \"__int64 __fastcall xerrordummy ( Display * @@a1@@ , XErrorEvent * @@a2@@ ) { return Number L ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"Display\"}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"XErrorEvent\"}, \"location\": \"r64\"}]}"
] |
{"name": "unmapnotify", "code": "int __fastcall unmapnotify ( __int64 @@a1@@ ) { __int64 @@v1@@ ; @@v1@@ = wintoclient ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; if ( @@v1@@ ) { if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) LODWORD ( @@v1@@ ) = setclientstate ( @@v1@@ , Number L ) ; else LODWORD ( @@v1@@ ) = unmanage ( @@v1@@ , Number ) ; } return @@v1@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "e", "t": {"T": 3, "t": "XEvent"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 71 | [
"{\"name\": \"manage\", \"code\": \"__int64 __fastcall manage ( Window @@a1@@ , _DWORD * @@a2@@ ) { int v2 ; signed int @@v3@@ ; signed int v4 ; _BOOL4 v5 ; XWindowChanges @@v7@@ ; Window @@v8@@ ; __int64 @@v9@@ ; __int64 @@v10@@ ; @@v10@@ = Number L ; @@v8@@ = Number L ; @@v9@@ = ecalloc ( Number L , Number L ) ; * ( _QWORD * ) ( @@v9@@ + Number ) = @@a1@@ ; * ( _DWORD * ) ( @@v9@@ + Number ) = * @@a2@@ ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = @@a2@@ [ Number ] ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = @@a2@@ [ Number ] ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = @@a2@@ [ Number ] ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = @@a2@@ [ Number ] ; updatetitle ( @@v9@@ ) ; if ( XGetTransientForHint ( dpy , @@a1@@ , & @@v8@@ ) && ( @@v10@@ = wintoclient ( @@v8@@ ) ) != Number ) { * ( _QWORD * ) ( @@v9@@ + Number ) = * ( _QWORD * ) ( @@v10@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v10@@ + Number ) ; } else { * ( _QWORD * ) ( @@v9@@ + Number ) = selmon ; applyrules ( @@v9@@ ) ; } if ( * ( _DWORD * ) ( @@v9@@ + Number ) + * ( _DWORD * ) ( @@v9@@ + Number ) + Number * * ( _DWORD * ) ( @@v9@@ + Number ) > * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ) * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) - ( * ( _DWORD * ) ( @@v9@@ + Number ) + Number * * ( _DWORD * ) ( @@v9@@ + Number ) ) ; if ( * ( _DWORD * ) ( @@v9@@ + Number ) + * ( _DWORD * ) ( @@v9@@ + Number ) + Number * * ( _DWORD * ) ( @@v9@@ + Number ) > * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ) * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) - ( * ( _DWORD * ) ( @@v9@@ + Number ) + Number * * ( _DWORD * ) ( @@v9@@ + Number ) ) ; v2 = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ; if ( v2 < * ( _DWORD * ) ( @@v9@@ + Number ) ) v2 = * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = v2 ; if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) == * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) && * ( _DWORD * ) ( @@v9@@ + Number ) / Number + * ( _DWORD * ) ( @@v9@@ + Number ) >= * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) && * ( _DWORD * ) ( @@v9@@ + Number ) + * ( _DWORD * ) ( @@v9@@ + Number ) / Number < * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) + * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ) { @@v3@@ = dword_7D6C ; } else { @@v3@@ = * ( _DWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) ; } v4 = * ( _DWORD * ) ( @@v9@@ + Number ) ; if ( @@v3@@ >= v4 ) v4 = @@v3@@ ; * ( _DWORD * ) ( @@v9@@ + Number ) = v4 ; * ( _DWORD * ) ( @@v9@@ + Number ) = Number ; @@v7@@ . border_width = * ( _DWORD * ) ( @@v9@@ + Number ) ; XConfigureWindow ( dpy , @@a1@@ , Number , & @@v7@@ ) ; XSetWindowBorder ( dpy , @@a1@@ , * ( _QWORD * ) ( * ( _QWORD * ) scheme + Number L ) ) ; configure ( @@v9@@ ) ; updatewindowtype ( @@v9@@ ) ; updatesizehints ( @@v9@@ ) ; updatewmhints ( @@v9@@ ) ; XSelectInput ( dpy , @@a1@@ , Number L ) ; grabbuttons ( @@v9@@ , Number ) ; if ( ! * ( _DWORD * ) ( @@v9@@ + Number ) ) { v5 = @@v8@@ || * ( _DWORD * ) ( @@v9@@ + Number ) ; * ( _DWORD * ) ( @@v9@@ + Number ) = v5 ; * ( _DWORD * ) ( @@v9@@ + Number ) = * ( _DWORD * ) ( @@v9@@ + Number ) ; } if ( * ( _DWORD * ) ( @@v9@@ + Number ) ) XRaiseWindow ( dpy , * ( _QWORD * ) ( @@v9@@ + Number ) ) ; attach ( @@v9@@ ) ; attachstack ( @@v9@@ ) ; XChangeProperty ( dpy , root , qword_7E00 , Number , Number , Number , ( const unsigned __int8 * ) ( @@v9@@ + Number ) , Number ) ; XMoveResizeWindow ( dpy , * ( _QWORD * ) ( @@v9@@ + Number ) , * ( _DWORD * ) ( @@v9@@ + Number ) + Number * sw , * ( _DWORD * ) ( @@v9@@ + Number ) , * ( _DWORD * ) ( @@v9@@ + Number ) , * ( _DWORD * ) ( @@v9@@ + Number ) ) ; setclientstate ( @@v9@@ , Number L ) ; if ( * ( char * * ) ( @@v9@@ + Number ) == selmon ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; * ( _QWORD * ) ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L ) = @@v9@@ ; arrange ( * ( _QWORD * ) ( @@v9@@ + Number ) ) ; XMapWindow ( dpy , * ( _QWORD * ) ( @@v9@@ + Number ) ) ; return focus ( Number L ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"Window\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"r64\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"signed int\", \"s\": 4}, \"location\": \"r8\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"Window\", \"s\": 8}, \"location\": \"s24\"}, {\"n\": \"v7\", \"t\": {\"T\": 6, \"n\": \"XWindowChanges\", \"l\": [{\"T\": 4, \"n\": \"x\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"y\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"border_width\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"sibling\", \"t\": \"Window\", \"s\": 8}, {\"T\": 4, \"n\": \"stack_mode\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}]}, \"location\": \"s64\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"setclientstate\", \"code\": \"int __fastcall setclientstate ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned __int8 @@v3@@ [ Number ] ; __int64 @@v4@@ ; * ( _QWORD * ) @@v3@@ = @@a2@@ ; @@v4@@ = Number L ; return XChangeProperty ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , qword_7DB0 , qword_7DB0 , Number , Number , @@v3@@ , Number ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r64\"}, {\"n\": \"v3\", \"t\": {\"T\": 2, \"n\": 8, \"s\": 1, \"t\": \"unsigned __int8\"}, \"location\": \"s16\"}, {\"n\": \"v4\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"unmanage\", \"code\": \"__int64 __fastcall unmanage ( __int64 @@a1@@ , int @@a2@@ ) { XWindowChanges @@v3@@ ; __int64 @@v4@@ ; @@v4@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; detach ( @@a1@@ ) ; detachstack ( @@a1@@ ) ; if ( ! @@a2@@ ) { @@v3@@ . border_width = * ( _DWORD * ) ( @@a1@@ + Number ) ; XGrabServer ( dpy ) ; XSetErrorHandler ( xerrordummy ) ; XConfigureWindow ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , Number , & @@v3@@ ) ; XUngrabButton ( dpy , Number , Number , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; setclientstate ( @@a1@@ , Number L ) ; XSync ( dpy , Number ) ; XSetErrorHandler ( xerror ) ; XUngrabServer ( dpy ) ; } free ( ( void * ) @@a1@@ ) ; focus ( Number L ) ; updateclientlist ( ) ; return arrange ( @@v4@@ ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"v3\", \"t\": {\"T\": 6, \"n\": \"XWindowChanges\", \"l\": [{\"T\": 4, \"n\": \"x\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"y\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"border_width\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"sibling\", \"t\": \"Window\", \"s\": 8}, {\"T\": 4, \"n\": \"stack_mode\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}]}, \"location\": \"s48\"}, {\"n\": \"v4\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"wintoclient\", \"code\": \"__int64 __fastcall wintoclient ( __int64 @@a1@@ ) { __int64 @@i@@ ; __int64 @@j@@ ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { for ( @@j@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; @@j@@ ; @@j@@ = * ( _QWORD * ) ( @@j@@ + Number ) ) { if ( @@a1@@ == * ( _QWORD * ) ( @@j@@ + Number ) ) return @@j@@ ; } } return Number L ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "updatebars", "code": "__int64 updatebars ( ) { __int64 result ; Window v1 ; XClassHint @@v2@@ ; XSetWindowAttributes @@v3@@ ; __int64 @@i@@ ; memset ( & @@v3@@ , Number , sizeof ( @@v3@@ ) ) ; @@v3@@ . background_pixmap = Number L ; @@v3@@ . event_mask = Number L ; @@v3@@ . override_redirect = Number ; @@v2@@ . res_name = String ; @@v2@@ . res_class = String ; result = mons ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = result ) { if ( ! * ( _QWORD * ) ( @@i@@ + Number ) ) { v1 = XCreateWindow ( dpy , root , * ( _DWORD * ) ( @@i@@ + Number ) , * ( _DWORD * ) ( @@i@@ + Number ) , * ( _DWORD * ) ( @@i@@ + Number ) , dword_7D6C , Number , dpy -> screens [ ( __int64 ) screen ] . root_depth , Number , dpy -> screens [ ( __int64 ) screen ] . root_visual , Number , & @@v3@@ ) ; * ( _QWORD * ) ( @@i@@ + Number ) = v1 ; XDefineCursor ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) cursor [ Number ] ) ; XMapRaised ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) ) ; XSetClassHint ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , & @@v2@@ ) ; } result = * ( _QWORD * ) ( @@i@@ + Number ) ; } return result ; }", "source": [{"n": "v3", "t": {"T": 6, "n": "XSetWindowAttributes", "l": [{"T": 4, "n": "background_pixmap", "t": "Pixmap", "s": 8}, {"T": 4, "n": "background_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "border_pixmap", "t": "Pixmap", "s": 8}, {"T": 4, "n": "border_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "bit_gravity", "t": "int", "s": 4}, {"T": 4, "n": "win_gravity", "t": "int", "s": 4}, {"T": 4, "n": "backing_store", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "backing_planes", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "backing_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "save_under", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "event_mask", "t": "__int64", "s": 8}, {"T": 4, "n": "do_not_propagate_mask", "t": "__int64", "s": 8}, {"T": 4, "n": "override_redirect", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "colormap", "t": "Colormap", "s": 8}, {"T": 4, "n": "cursor", "t": "Cursor", "s": 8}]}, "location": "s128"}, {"n": "v2", "t": {"T": 6, "n": "XClassHint", "l": [{"T": 4, "n": "res_name", "t": "char *", "s": 8}, {"T": 4, "n": "res_class", "t": "char *", "s": 8}]}, "location": "s144"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "wa", "t": {"T": 6, "n": "XSetWindowAttributes", "l": [{"T": 4, "n": "background_pixmap", "t": "Pixmap", "s": 8}, {"T": 4, "n": "background_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "border_pixmap", "t": "Pixmap", "s": 8}, {"T": 4, "n": "border_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "bit_gravity", "t": "int", "s": 4}, {"T": 4, "n": "win_gravity", "t": "int", "s": 4}, {"T": 4, "n": "backing_store", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "backing_planes", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "backing_pixel", "t": "unsigned __int64", "s": 8}, {"T": 4, "n": "save_under", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "event_mask", "t": "__int64", "s": 8}, {"T": 4, "n": "do_not_propagate_mask", "t": "__int64", "s": 8}, {"T": 4, "n": "override_redirect", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "colormap", "t": "Colormap", "s": 8}, {"T": 4, "n": "cursor", "t": "Cursor", "s": 8}]}, "location": "s128"}, {"n": "ch_0", "t": {"T": 6, "n": "XClassHint", "l": [{"T": 4, "n": "res_name", "t": "char *", "s": 8}, {"T": 4, "n": "res_class", "t": "char *", "s": 8}]}, "location": "s144"}, {"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 72 | [] |
{"name": "updatebarpos", "code": "unsigned __int64 __fastcall updatebarpos ( _DWORD * @@a1@@ ) { int v1 ; unsigned __int64 result ; @@a1@@ [ Number ] = @@a1@@ [ Number ] ; @@a1@@ [ Number ] = @@a1@@ [ Number ] ; if ( @@a1@@ [ Number ] ) { @@a1@@ [ Number ] -= dword_7D6C ; if ( @@a1@@ [ Number ] ) v1 = @@a1@@ [ Number ] ; else v1 = @@a1@@ [ Number ] + @@a1@@ [ Number ] ; @@a1@@ [ Number ] = v1 ; if ( @@a1@@ [ Number ] ) result = @@a1@@ [ Number ] + dword_7D6C ; else result = ( unsigned int ) @@a1@@ [ Number ] ; @@a1@@ [ Number ] = result ; } else { result = ( unsigned __int64 ) @@a1@@ ; @@a1@@ [ Number ] = - dword_7D6C ; } return result ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}]} | [{"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "r56"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 73 | [] |
{"name": "updateclientlist", "code": "__int64 updateclientlist ( ) { __int64 @@result@@ ; __int64 @@i@@ ; __int64 @@j@@ ; XDeleteProperty ( dpy , root , qword_7E00 ) ; @@result@@ = mons ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = @@result@@ ) { for ( @@j@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; @@j@@ ; @@j@@ = * ( _QWORD * ) ( @@j@@ + Number ) ) XChangeProperty ( dpy , root , qword_7E00 , Number , Number , Number , ( const unsigned __int8 * ) ( @@j@@ + Number ) , Number ) ; @@result@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "j", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "s16"}, {"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 74 | [] |
{"name": "updategeom", "code": "__int64 updategeom ( ) { int v0 ; __int64 v1 ; __int64 v2 ; int @@v4@@ ; __int64 @@v5@@ ; void * @@ptr@@ ; void * @@v7@@ ; char * @@j@@ ; int @@v9@@ ; int @@v10@@ ; int @@i@@ ; unsigned int @@v12@@ ; @@v12@@ = Number ; if ( ( unsigned int ) XineramaIsActive ( dpy ) ) { @@v7@@ = ( void * ) XineramaQueryScreens ( dpy , & @@v4@@ ) ; @@ptr@@ = Number L ; @@v9@@ = Number ; @@j@@ = ( char * ) mons ; while ( @@j@@ ) { @@j@@ = ( char * ) * ( ( _QWORD * ) @@j@@ + Number ) ; ++ @@v9@@ ; } @@ptr@@ = ( void * ) ecalloc ( @@v4@@ , Number L ) ; @@i@@ = Number ; @@v10@@ = Number ; while ( @@i@@ < @@v4@@ ) { if ( ( unsigned int ) isuniquegeom ( ( __int64 ) @@ptr@@ , @@v10@@ , ( _WORD * ) @@v7@@ + Number * @@i@@ ) ) { v0 = @@v10@@ ++ ; memcpy ( ( char * ) @@ptr@@ + Number * v0 , ( char * ) @@v7@@ + Number * @@i@@ , Number ) ; } ++ @@i@@ ; } XFree ( @@v7@@ ) ; @@v4@@ = @@v10@@ ; if ( @@v9@@ > @@v10@@ ) { for ( @@i@@ = @@v4@@ ; @@i@@ < @@v9@@ ; ++ @@i@@ ) { for ( @@j@@ = ( char * ) mons ; @@j@@ && * ( ( _QWORD * ) @@j@@ + Number ) ; @@j@@ = ( char * ) * ( ( _QWORD * ) @@j@@ + Number ) ) ; while ( Number ) { @@v5@@ = * ( ( _QWORD * ) @@j@@ + Number ) ; if ( ! @@v5@@ ) break ; @@v12@@ = Number ; * ( ( _QWORD * ) @@j@@ + Number ) = * ( _QWORD * ) ( @@v5@@ + Number ) ; detachstack ( @@v5@@ ) ; * ( _QWORD * ) ( @@v5@@ + Number ) = mons ; attach ( @@v5@@ ) ; attachstack ( @@v5@@ ) ; } if ( @@j@@ == selmon ) selmon = ( char * ) mons ; cleanupmon ( @@j@@ ) ; } } else { for ( @@i@@ = Number ; @@i@@ < @@v4@@ - @@v9@@ ; ++ @@i@@ ) { for ( @@j@@ = ( char * ) mons ; @@j@@ && * ( ( _QWORD * ) @@j@@ + Number ) ; @@j@@ = ( char * ) * ( ( _QWORD * ) @@j@@ + Number ) ) ; if ( @@j@@ ) * ( ( _QWORD * ) @@j@@ + Number ) = createmon ( ) ; else mons = ( __int64 ) createmon ( ) ; } @@i@@ = Number ; @@j@@ = ( char * ) mons ; while ( @@i@@ < @@v4@@ && @@j@@ ) { if ( @@i@@ >= @@v9@@ || * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) != * ( ( _DWORD * ) @@j@@ + Number ) || * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) != * ( ( _DWORD * ) @@j@@ + Number ) || * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) != * ( ( _DWORD * ) @@j@@ + Number ) || * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) != * ( ( _DWORD * ) @@j@@ + Number ) ) { @@v12@@ = Number ; * ( ( _DWORD * ) @@j@@ + Number ) = @@i@@ ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( _DWORD * ) @@j@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( _DWORD * ) @@j@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( _DWORD * ) @@j@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( __int16 * ) @@ptr@@ + Number * @@i@@ + Number ) ; * ( ( _DWORD * ) @@j@@ + Number ) = * ( ( _DWORD * ) @@j@@ + Number ) ; updatebarpos ( @@j@@ ) ; } @@j@@ = ( char * ) * ( ( _QWORD * ) @@j@@ + Number ) ; ++ @@i@@ ; } } free ( @@ptr@@ ) ; } else { if ( ! mons ) mons = ( __int64 ) createmon ( ) ; if ( * ( _DWORD * ) ( mons + Number ) != sw || * ( _DWORD * ) ( mons + Number ) != sh ) { @@v12@@ = Number ; v1 = mons ; * ( _DWORD * ) ( mons + Number ) = sw ; * ( _DWORD * ) ( mons + Number ) = * ( _DWORD * ) ( v1 + Number ) ; v2 = mons ; * ( _DWORD * ) ( mons + Number ) = sh ; * ( _DWORD * ) ( mons + Number ) = * ( _DWORD * ) ( v2 + Number ) ; updatebarpos ( ( _DWORD * ) mons ) ; } } if ( @@v12@@ ) { selmon = ( char * ) mons ; selmon = ( char * ) wintomon ( root ) ; } return @@v12@@ ; }", "source": [{"n": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "j", "t": {"T": 3, "t": "char"}, "location": "s24"}, {"n": "v7", "t": {"T": 3, "t": "void"}, "location": "s32"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "ptr", "t": {"T": 3, "t": "void"}, "location": "s40"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s52"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]} | [{"n": "j", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "n", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "s24"}, {"n": "info", "t": {"T": 3, "t": "XineramaScreenInfo"}, "location": "s32"}, {"n": "dirty", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "unique", "t": {"T": 3, "t": "XineramaScreenInfo"}, "location": "s40"}, {"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "s48"}, {"n": "nn", "t": {"T": 1, "n": "int", "s": 4}, "location": "s52"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 75 | [
"{\"name\": \"attach\", \"code\": \"__int64 __fastcall attach ( __int64 @@a1@@ ) { __int64 @@result@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@result@@ + Number ) = @@a1@@ ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"attachstack\", \"code\": \"__int64 __fastcall attachstack ( __int64 @@a1@@ ) { __int64 @@result@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@result@@ + Number ) = @@a1@@ ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"cleanup\", \"code\": \"int cleanup ( ) { __int64 @@v1@@ [ Number ] ; __int64 @@v2@@ ; unsigned __int64 @@j@@ ; __int64 @@i@@ ; @@v2@@ = Number ; @@v1@@ [ Number ] = ( __int64 ) & locale ; @@v1@@ [ Number ] = Number L ; view ( & @@v2@@ ) ; * ( _QWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] = @@v1@@ ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { while ( * ( _QWORD * ) ( @@i@@ + Number ) ) unmanage ( * ( _QWORD * ) ( @@i@@ + Number ) , Number L ) ; } XUngrabKey ( dpy , Number , Number , root ) ; while ( mons ) cleanupmon ( mons ) ; for ( @@j@@ = Number L ; @@j@@ <= Number ; ++ @@j@@ ) drw_cur_free ( drw , cursor [ @@j@@ ] ) ; for ( @@j@@ = Number L ; @@j@@ <= Number ; ++ @@j@@ ) free ( * ( void * * ) ( Number * @@j@@ + scheme ) ) ; XDestroyWindow ( dpy , wmcheckwin ) ; drw_free ( drw ) ; XSync ( dpy , Number ) ; XSetInputFocus ( dpy , Number , Number , Number L ) ; return XDeleteProperty ( dpy , root , qword_7DE8 ) ; }\", \"source\": [{\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s24\"}, {\"n\": \"v1\", \"t\": {\"T\": 2, \"n\": 3, \"s\": 8, \"t\": \"__int64\"}, \"location\": \"s48\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"cleanupmon\", \"code\": \"void __fastcall cleanupmon ( _QWORD * @@a1@@ ) { __int64 @@i@@ ; if ( @@a1@@ == ( _QWORD * ) mons ) { mons = * ( _QWORD * ) ( mons + Number ) ; } else { for ( @@i@@ = mons ; @@i@@ && @@a1@@ != * ( _QWORD * * ) ( @@i@@ + Number ) ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) ; * ( _QWORD * ) ( @@i@@ + Number ) = @@a1@@ [ Number ] ; } XUnmapWindow ( dpy , @@a1@@ [ Number ] ) ; XDestroyWindow ( dpy , @@a1@@ [ Number ] ) ; free ( @@a1@@ ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"createmon\", \"code\": \"char * createmon ( ) { char * @@dest@@ ; @@dest@@ = ( char * ) ecalloc ( Number L , Number L ) ; * ( ( _DWORD * ) @@dest@@ + Number ) = Number ; * ( ( _DWORD * ) @@dest@@ + Number ) = * ( ( _DWORD * ) @@dest@@ + Number ) ; * ( ( _DWORD * ) @@dest@@ + Number ) = Number ; * ( ( _DWORD * ) @@dest@@ + Number ) = Number ; * ( ( _DWORD * ) @@dest@@ + Number ) = Number ; * ( ( _DWORD * ) @@dest@@ + Number ) = Number ; * ( ( _QWORD * ) @@dest@@ + Number ) = & layouts ; * ( ( _QWORD * ) @@dest@@ + Number ) = & off_80F0 ; strncpy ( @@dest@@ , String , Number ) ; return @@dest@@ ; }\", \"source\": [{\"n\": \"dest\", \"t\": {\"T\": 3, \"t\": \"char\"}, \"location\": \"s8\"}]}",
"{\"name\": \"detach\", \"code\": \"_QWORD * __fastcall detach ( __int64 @@a1@@ ) { _QWORD * @@result@@ ; _QWORD * @@i@@ ; for ( @@i@@ = ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; * @@i@@ && @@a1@@ != * @@i@@ ; @@i@@ = ( _QWORD * ) ( * @@i@@ + Number L ) ) ; @@result@@ = @@i@@ ; * @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"r8\"}, {\"n\": \"i\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"s8\"}]}",
"{\"name\": \"detachstack\", \"code\": \"__int64 __fastcall detachstack ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 @@j@@ ; _QWORD * @@i@@ ; for ( @@i@@ = ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; * @@i@@ && @@a1@@ != * @@i@@ ; @@i@@ = ( _QWORD * ) ( * @@i@@ + Number L ) ) ; * @@i@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@result@@ = * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; if ( @@a1@@ == @@result@@ ) { for ( @@j@@ = * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; @@j@@ && ( * ( _DWORD * ) ( @@j@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@j@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@j@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@j@@ = * ( _QWORD * ) ( @@j@@ + Number ) ) { ; } @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@result@@ + Number ) = @@j@@ ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"i\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"s8\"}]}",
"{\"name\": \"isuniquegeom\", \"code\": \"__int64 __fastcall isuniquegeom ( __int64 @@a1@@ , __int64 @@a2@@ , _WORD * @@a3@@ ) { while ( @@a2@@ -- ) { if ( * ( _WORD * ) ( Number * @@a2@@ + @@a1@@ + Number ) == @@a3@@ [ Number ] && * ( _WORD * ) ( Number * @@a2@@ + @@a1@@ + Number ) == @@a3@@ [ Number ] && * ( _WORD * ) ( Number * @@a2@@ + @@a1@@ + Number ) == @@a3@@ [ Number ] && * ( _WORD * ) ( Number * @@a2@@ + @@a1@@ + Number ) == @@a3@@ [ Number ] ) { return Number L ; } } return Number L ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 3, \"t\": \"_WORD\"}, \"location\": \"r16\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r64\"}]}",
"{\"name\": \"updatebarpos\", \"code\": \"unsigned __int64 __fastcall updatebarpos ( _DWORD * @@a1@@ ) { int v1 ; unsigned __int64 result ; @@a1@@ [ Number ] = @@a1@@ [ Number ] ; @@a1@@ [ Number ] = @@a1@@ [ Number ] ; if ( @@a1@@ [ Number ] ) { @@a1@@ [ Number ] -= dword_7D6C ; if ( @@a1@@ [ Number ] ) v1 = @@a1@@ [ Number ] ; else v1 = @@a1@@ [ Number ] + @@a1@@ [ Number ] ; @@a1@@ [ Number ] = v1 ; if ( @@a1@@ [ Number ] ) result = @@a1@@ [ Number ] + dword_7D6C ; else result = ( unsigned int ) @@a1@@ [ Number ] ; @@a1@@ [ Number ] = result ; } else { result = ( unsigned __int64 ) @@a1@@ ; @@a1@@ [ Number ] = - dword_7D6C ; } return result ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"r56\"}]}",
"{\"name\": \"wintomon\", \"code\": \"char * __fastcall wintomon ( __int64 @@a1@@ ) { char * @@result@@ ; int @@v2@@ ; int @@v3@@ ; __int64 @@v4@@ ; __int64 @@i@@ ; if ( @@a1@@ == root && getrootptr ( & @@v3@@ , & @@v2@@ ) ) return recttomon ( @@v3@@ , @@v2@@ , Number , Number ) ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { if ( @@a1@@ == * ( _QWORD * ) ( @@i@@ + Number ) ) return ( char * ) @@i@@ ; } @@v4@@ = wintoclient ( @@a1@@ ) ; if ( @@v4@@ ) @@result@@ = * ( char * * ) ( @@v4@@ + Number ) ; else @@result@@ = selmon ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 3, \"t\": \"char\"}, \"location\": \"r8\"}, {\"n\": \"v4\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s24\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "updatenumlockmask", "code": "int updatenumlockmask ( ) { KeyCode @@v0@@ ; XModifierKeymap * @@v2@@ ; unsigned int @@j@@ ; unsigned int @@i@@ ; numlockmask = Number ; @@v2@@ = XGetModifierMapping ( dpy ) ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { for ( @@j@@ = Number ; @@j@@ < @@v2@@ -> max_keypermod ; ++ @@j@@ ) { @@v0@@ = @@v2@@ -> modifiermap [ @@i@@ * @@v2@@ -> max_keypermod + @@j@@ ] ; if ( @@v0@@ == XKeysymToKeycode ( dpy , Number ) ) numlockmask = Number << @@i@@ ; } } return XFreeModifiermap ( @@v2@@ ) ; }", "source": [{"n": "v0", "t": {"T": 1, "n": "KeyCode", "s": 1}, "location": "r32"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "j", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}, {"n": "v2", "t": {"T": 3, "t": "XModifierKeymap"}, "location": "s32"}]} | [{"n": "v0", "t": {"T": 1, "n": "KeyCode", "s": 1}, "location": "r32"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "j", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}, {"n": "modmap", "t": {"T": 3, "t": "XModifierKeymap"}, "location": "s32"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 76 | [] |
{"name": "updatesizehints", "code": "__int64 __fastcall updatesizehints ( __int64 @@a1@@ ) { float @@v1@@ ; _BOOL4 @@v2@@ ; __int64 @@result@@ ; XSizeHints @@v4@@ ; __int64 @@v5@@ ; if ( ! XGetWMNormalHints ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , & @@v4@@ , & @@v5@@ ) ) @@v4@@ . flags = Number L ; if ( ( @@v4@@ . flags & Number ) != Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . base_width ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . base_height ; } else if ( ( @@v4@@ . flags & Number ) != Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . min_width ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . min_height ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; } if ( ( @@v4@@ . flags & Number ) != Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . width_inc ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . height_inc ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; } if ( ( @@v4@@ . flags & Number ) != Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . max_width ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . max_height ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; } if ( ( @@v4@@ . flags & Number ) != Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . min_width ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . min_height ; } else if ( ( @@v4@@ . flags & Number ) != Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . base_width ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ . base_height ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; } if ( ( @@v4@@ . flags & Number ) != Number ) { * ( float * ) ( @@a1@@ + Number ) = ( float ) @@v4@@ . min_aspect . y / ( float ) @@v4@@ . min_aspect . x ; @@v1@@ = ( float ) @@v4@@ . max_aspect . x / ( float ) @@v4@@ . max_aspect . y ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; @@v1@@ = * ( float * ) ( @@a1@@ + Number ) ; } * ( float * ) ( @@a1@@ + Number ) = @@v1@@ ; @@v2@@ = * ( _DWORD * ) ( @@a1@@ + Number ) && * ( _DWORD * ) ( @@a1@@ + Number ) && * ( _DWORD * ) ( @@a1@@ + Number ) == * ( _DWORD * ) ( @@a1@@ + Number ) && * ( _DWORD * ) ( @@a1@@ + Number ) == * ( _DWORD * ) ( @@a1@@ + Number ) ; @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v2@@ ; return @@result@@ ; }", "source": [{"n": "v2", "t": {"T": 1, "n": "_BOOL4", "s": 4}, "location": "r16"}, {"n": "v1", "t": {"T": 1, "n": "float", "s": 4}, "location": "r496"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}, {"n": "v4", "t": {"T": 6, "n": "XSizeHints", "l": [{"T": 4, "n": "flags", "t": "__int64", "s": 8}, {"T": 4, "n": "x", "t": "int", "s": 4}, {"T": 4, "n": "y", "t": "int", "s": 4}, {"T": 4, "n": "width", "t": "int", "s": 4}, {"T": 4, "n": "height", "t": "int", "s": 4}, {"T": 4, "n": "min_width", "t": "int", "s": 4}, {"T": 4, "n": "min_height", "t": "int", "s": 4}, {"T": 4, "n": "max_width", "t": "int", "s": 4}, {"T": 4, "n": "max_height", "t": "int", "s": 4}, {"T": 4, "n": "width_inc", "t": "int", "s": 4}, {"T": 4, "n": "height_inc", "t": "int", "s": 4}, {"T": 4, "n": "min_aspect", "t": "$095E04B97CE84C59083222C7D172F70D::$CDF557A927ED2BFF93B09908D4EFCA76", "s": 8}, {"T": 4, "n": "max_aspect", "t": "$095E04B97CE84C59083222C7D172F70D::$CDF557A927ED2BFF93B09908D4EFCA76", "s": 8}, {"T": 4, "n": "base_width", "t": "int", "s": 4}, {"T": 4, "n": "base_height", "t": "int", "s": 4}, {"T": 4, "n": "win_gravity", "t": "int", "s": 4}, {"T": 5, "s": 4}]}, "location": "s96"}]} | [{"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "v1", "t": {"T": 1, "n": "float", "s": 4}, "location": "r496"}, {"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "msize", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}, {"n": "size", "t": {"T": 6, "n": "XSizeHints", "l": [{"T": 4, "n": "flags", "t": "__int64", "s": 8}, {"T": 4, "n": "x", "t": "int", "s": 4}, {"T": 4, "n": "y", "t": "int", "s": 4}, {"T": 4, "n": "width", "t": "int", "s": 4}, {"T": 4, "n": "height", "t": "int", "s": 4}, {"T": 4, "n": "min_width", "t": "int", "s": 4}, {"T": 4, "n": "min_height", "t": "int", "s": 4}, {"T": 4, "n": "max_width", "t": "int", "s": 4}, {"T": 4, "n": "max_height", "t": "int", "s": 4}, {"T": 4, "n": "width_inc", "t": "int", "s": 4}, {"T": 4, "n": "height_inc", "t": "int", "s": 4}, {"T": 4, "n": "min_aspect", "t": "$0FBB943D0F44CD4E1A64E57ECDAAF024", "s": 8}, {"T": 4, "n": "max_aspect", "t": "$0FBB943D0F44CD4E1A64E57ECDAAF024", "s": 8}, {"T": 4, "n": "base_width", "t": "int", "s": 4}, {"T": 4, "n": "base_height", "t": "int", "s": 4}, {"T": 4, "n": "win_gravity", "t": "int", "s": 4}, {"T": 5, "s": 4}]}, "location": "s96"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 77 | [] |
{"name": "updatetitle", "code": "unsigned __int8 * __fastcall updatetitle ( unsigned __int8 * @@a1@@ ) { unsigned __int8 * @@result@@ ; if ( ! ( unsigned int ) gettextprop ( * ( ( _QWORD * ) @@a1@@ + Number ) , qword_7DC8 , ( char * ) @@a1@@ , Number ) ) gettextprop ( * ( ( _QWORD * ) @@a1@@ + Number ) , Number , ( char * ) @@a1@@ , Number ) ; @@result@@ = ( unsigned __int8 * ) * @@a1@@ ; if ( ! ( _BYTE ) @@result@@ ) { @@result@@ = @@a1@@ ; strcpy ( ( char * ) @@a1@@ , String ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "unsigned __int8"}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "unsigned __int8"}, "location": "r8"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 78 | [
"{\"name\": \"gettextprop\", \"code\": \"__int64 __fastcall gettextprop ( Window @@a1@@ , Atom @@a2@@ , char * @@a3@@ , int @@a4@@ ) { XTextProperty @@text_prop@@ ; int @@count_return@@ ; char * * @@list_return@@ ; @@list_return@@ = Number L ; if ( ! @@a3@@ || ! @@a4@@ ) return Number L ; * @@a3@@ = Number ; if ( ! XGetTextProperty ( dpy , @@a1@@ , & @@text_prop@@ , @@a2@@ ) || ! @@text_prop@@ . nitems ) return Number L ; if ( @@text_prop@@ . encoding == Number ) { strncpy ( @@a3@@ , ( const char * ) @@text_prop@@ . value , ( unsigned int ) ( @@a4@@ - Number ) ) ; } else if ( XmbTextPropertyToTextList ( dpy , & @@text_prop@@ , & @@list_return@@ , & @@count_return@@ ) >= Number && @@count_return@@ > Number ) { if ( * @@list_return@@ ) { strncpy ( @@a3@@ , * @@list_return@@ , ( unsigned int ) ( @@a4@@ - Number ) ) ; XFreeStringList ( @@list_return@@ ) ; } } @@a3@@ [ @@a4@@ - Number ] = Number ; XFree ( @@text_prop@@ . value ) ; return Number L ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 3, \"t\": \"char\"}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"Window\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"Atom\", \"s\": 8}, \"location\": \"r64\"}, {\"n\": \"count_return\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"text_prop\", \"t\": {\"T\": 6, \"n\": \"XTextProperty\", \"l\": [{\"T\": 4, \"n\": \"value\", \"t\": \"unsigned __int8 *\", \"s\": 8}, {\"T\": 4, \"n\": \"encoding\", \"t\": \"Atom\", \"s\": 8}, {\"T\": 4, \"n\": \"format\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"nitems\", \"t\": \"unsigned __int64\", \"s\": 8}]}, \"location\": \"s48\"}, {\"n\": \"list_return\", \"t\": {\"T\": 3, \"t\": \"char *\"}, \"location\": \"s8\"}]}"
] |
{"name": "updatewindowtype", "code": "__int64 __fastcall updatewindowtype ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 @@v2@@ ; __int64 @@v3@@ ; @@v3@@ = getatomprop ( @@a1@@ , qword_7DD0 ) ; @@v2@@ = getatomprop ( @@a1@@ , qword_7DF0 ) ; if ( @@v3@@ == * ( _QWORD * ) & qword_7DE0 ) setfullscreen ( @@a1@@ , Number ) ; @@result@@ = qword_7DF8 ; if ( @@v2@@ == qword_7DF8 ) { @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "wtype", "t": {"T": 1, "n": "Atom", "s": 8}, "location": "s16"}, {"n": "state", "t": {"T": 1, "n": "Atom", "s": 8}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 79 | [
"{\"name\": \"getatomprop\", \"code\": \"__int64 __fastcall getatomprop ( __int64 @@a1@@ , Atom @@a2@@ ) { Atom @@v3@@ ; unsigned __int8 * @@v4@@ ; unsigned __int64 @@v5@@ ; int @@v6@@ ; __int64 @@v7@@ ; @@v4@@ = Number L ; @@v7@@ = Number L ; if ( ! XGetWindowProperty ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , @@a2@@ , Number L , Number L , Number , Number , & @@v3@@ , & @@v6@@ , & @@v5@@ , & @@v5@@ , & @@v4@@ ) && @@v4@@ ) { @@v7@@ = * ( _QWORD * ) @@v4@@ ; XFree ( @@v4@@ ) ; } return @@v7@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"Atom\", \"s\": 8}, \"location\": \"r64\"}, {\"n\": \"v6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v5\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s24\"}, {\"n\": \"v4\", \"t\": {\"T\": 3, \"t\": \"unsigned __int8\"}, \"location\": \"s32\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"Atom\", \"s\": 8}, \"location\": \"s40\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"setfullscreen\", \"code\": \"int __fastcall setfullscreen ( __int64 @@a1@@ , int @@a2@@ ) { int @@result@@ ; if ( ! @@a2@@ || ( @@result@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ) != Number ) { if ( ! @@a2@@ ) { @@result@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( @@result@@ ) { XChangeProperty ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , qword_7DD0 , Number , Number , Number , Number L , Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; resizeclient ( @@a1@@ , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) ) ; @@result@@ = arrange ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } } } else { XChangeProperty ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , qword_7DD0 , Number , Number , Number , & qword_7DE0 , Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; resizeclient ( @@a1@@ , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) , * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; @@result@@ = XRaiseWindow ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r8\"}]}"
] |
{"name": "updatewmhints", "code": "int __fastcall updatewmhints ( __int64 @@a1@@ ) { XWMHints * v1 ; __int64 v2 ; XWMHints * @@v4@@ ; v1 = XGetWMHints ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; @@v4@@ = v1 ; if ( v1 ) { if ( @@a1@@ == * ( ( _QWORD * ) selmon + Number ) && ( v1 -> flags & Number ) != Number ) { v2 = v1 -> flags ; BYTE1 ( v2 ) = BYTE1 ( @@v4@@ -> flags ) & Number ; @@v4@@ -> flags = v2 ; XSetWMHints ( dpy , * ( _QWORD * ) ( @@a1@@ + Number ) , @@v4@@ ) ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = ( v1 -> flags >> Number ) & Number ; } if ( ( @@v4@@ -> flags & Number ) != Number ) * ( _DWORD * ) ( @@a1@@ + Number ) = @@v4@@ -> input == Number ; else * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; LODWORD ( v1 ) = XFree ( @@v4@@ ) ; } return ( int ) v1 ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v4", "t": {"T": 3, "t": "XWMHints"}, "location": "s8"}]} | [{"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "r56"}, {"n": "wmh", "t": {"T": 3, "t": "XWMHints"}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 80 | [] |
{"name": "view", "code": "__int64 __fastcall view ( _DWORD * @@a1@@ ) { __int64 @@result@@ ; @@result@@ = * ( unsigned int * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] ; if ( ( * @@a1@@ & Number ) != ( _DWORD ) @@result@@ ) { * ( ( _DWORD * ) selmon + Number ) ^= Number ; if ( ( * @@a1@@ & Number ) != Number ) * ( _DWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] = * @@a1@@ & Number ; focus ( Number L ) ; @@result@@ = arrange ( ( __int64 ) selmon ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "arg", "t": {"T": 3, "t": "const Arg"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 81 | [
"{\"name\": \"arrange\", \"code\": \"__int64 __fastcall arrange ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 i ; __int64 j ; i = @@a1@@ ; if ( @@a1@@ ) { showhide ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; } else { for ( i = mons ; i ; i = * ( _QWORD * ) ( i + Number ) ) showhide ( * ( _QWORD * ) ( i + Number ) ) ; } if ( i ) { arrangemon ( i ) ; @@result@@ = restack ( i ) ; } else { @@result@@ = mons ; for ( j = mons ; j ; j = @@result@@ ) { arrangemon ( j ) ; @@result@@ = * ( _QWORD * ) ( j + Number ) ; } } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"focus\", \"code\": \"__int64 __fastcall focus ( __int64 @@a1@@ ) { __int64 @@i@@ ; @@i@@ = @@a1@@ ; if ( ! @@a1@@ || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) { for ( @@i@@ = * ( ( _QWORD * ) selmon + Number ) ; @@i@@ && ( * ( _DWORD * ) ( @@i@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@i@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { ; } } if ( * ( ( _QWORD * ) selmon + Number ) && @@i@@ != * ( ( _QWORD * ) selmon + Number ) ) unfocus ( * ( ( _QWORD * ) selmon + Number ) , Number L ) ; if ( @@i@@ ) { if ( * ( char * * ) ( @@i@@ + Number ) != selmon ) selmon = * ( char * * ) ( @@i@@ + Number ) ; if ( * ( _DWORD * ) ( @@i@@ + Number ) ) seturgent ( @@i@@ , Number L ) ; detachstack ( @@i@@ ) ; attachstack ( @@i@@ ) ; grabbuttons ( @@i@@ , Number L ) ; XSetWindowBorder ( dpy , * ( _QWORD * ) ( @@i@@ + Number ) , * ( _QWORD * ) ( * ( _QWORD * ) ( scheme + Number ) + Number L ) ) ; setfocus ( @@i@@ ) ; } else { XSetInputFocus ( dpy , root , Number , Number L ) ; XDeleteProperty ( dpy , root , qword_7DE8 ) ; } * ( ( _QWORD * ) selmon + Number ) = @@i@@ ; return drawbars ( ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "wintoclient", "code": "__int64 __fastcall wintoclient ( __int64 @@a1@@ ) { __int64 @@i@@ ; __int64 @@j@@ ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { for ( @@j@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; @@j@@ ; @@j@@ = * ( _QWORD * ) ( @@j@@ + Number ) ) { if ( @@a1@@ == * ( _QWORD * ) ( @@j@@ + Number ) ) return @@j@@ ; } } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "j", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "w", "t": {"T": 1, "n": "Window", "s": 8}, "location": "r56"}, {"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "s16"}, {"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 82 | [] |
{"name": "wintomon", "code": "char * __fastcall wintomon ( __int64 @@a1@@ ) { char * @@result@@ ; int @@v2@@ ; int @@v3@@ ; __int64 @@v4@@ ; __int64 @@i@@ ; if ( @@a1@@ == root && getrootptr ( & @@v3@@ , & @@v2@@ ) ) return recttomon ( @@v3@@ , @@v2@@ , Number , Number ) ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { if ( @@a1@@ == * ( _QWORD * ) ( @@i@@ + Number ) ) return ( char * ) @@i@@ ; } @@v4@@ = wintoclient ( @@a1@@ ) ; if ( @@v4@@ ) @@result@@ = * ( char * * ) ( @@v4@@ + Number ) ; else @@result@@ = selmon ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "char"}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "w", "t": {"T": 1, "n": "Window", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "Monitor_0"}, "location": "r8"}, {"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "s16"}, {"n": "x", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "y", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "m", "t": {"T": 3, "t": "Monitor_0"}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 83 | [
"{\"name\": \"getrootptr\", \"code\": \"int __fastcall getrootptr ( int * @@a1@@ , int * @@a2@@ ) { Window @@v3@@ ; unsigned int @@v4@@ ; int @@v5@@ ; return XQueryPointer ( dpy , root , & @@v3@@ , & @@v3@@ , @@a1@@ , @@a2@@ , & @@v5@@ , & @@v5@@ , & @@v4@@ ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"int\"}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"int\"}, \"location\": \"r64\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"Window\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"v5\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s4\"}, {\"n\": \"v4\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s8\"}]}",
"{\"name\": \"recttomon\", \"code\": \"char * __fastcall recttomon ( int @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ ) { int v4 ; int v5 ; int v6 ; int v7 ; int v8 ; int v9 ; int v10 ; int @@v14@@ ; char * @@v15@@ ; __int64 @@i@@ ; @@v15@@ = selmon ; @@v14@@ = Number ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { v4 = * ( _DWORD * ) ( @@i@@ + Number ) + * ( _DWORD * ) ( @@i@@ + Number ) ; if ( v4 > @@a1@@ + @@a3@@ ) v4 = @@a1@@ + @@a3@@ ; v5 = * ( _DWORD * ) ( @@i@@ + Number ) ; if ( @@a1@@ >= v5 ) v5 = @@a1@@ ; v6 = v4 - v5 ; v7 = Number ; if ( v6 >= Number ) v7 = v6 ; v8 = * ( _DWORD * ) ( @@i@@ + Number ) + * ( _DWORD * ) ( @@i@@ + Number ) ; if ( v8 > @@a2@@ + @@a4@@ ) v8 = @@a2@@ + @@a4@@ ; v9 = * ( _DWORD * ) ( @@i@@ + Number ) ; if ( @@a2@@ >= v9 ) v9 = @@a2@@ ; v10 = v8 - v9 ; if ( v10 < Number ) v10 = Number ; if ( v7 * v10 > @@v14@@ ) { @@v14@@ = v7 * v10 ; @@v15@@ = ( char * ) @@i@@ ; } } return @@v15@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"v15\", \"t\": {\"T\": 3, \"t\": \"char\"}, \"location\": \"s16\"}, {\"n\": \"v14\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"wintoclient\", \"code\": \"__int64 __fastcall wintoclient ( __int64 @@a1@@ ) { __int64 @@i@@ ; __int64 @@j@@ ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { for ( @@j@@ = * ( _QWORD * ) ( @@i@@ + Number ) ; @@j@@ ; @@j@@ = * ( _QWORD * ) ( @@j@@ + Number ) ) { if ( @@a1@@ == * ( _QWORD * ) ( @@j@@ + Number ) ) return @@j@@ ; } } return Number L ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "xerror", "code": "__int64 __fastcall xerror ( Display * @@a1@@ , XErrorEvent * @@a2@@ ) { if ( @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number ) { return Number L ; } fprintf ( stderr , String , @@a2@@ -> request_code , @@a2@@ -> error_code ) ; return xerrorxlib ( @@a1@@ , @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "Display"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "XErrorEvent"}, "location": "r64"}]} | [{"n": "dpy", "t": {"T": 3, "t": "Display"}, "location": "r56"}, {"n": "ee", "t": {"T": 3, "t": "XErrorEvent"}, "location": "r64"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 84 | [] |
{"name": "xerrordummy", "code": "__int64 __fastcall xerrordummy ( Display * @@a1@@ , XErrorEvent * @@a2@@ ) { return Number L ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "Display"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "XErrorEvent"}, "location": "r64"}]} | [{"n": "dpy", "t": {"T": 3, "t": "Display"}, "location": "r56"}, {"n": "ee", "t": {"T": 3, "t": "XErrorEvent"}, "location": "r64"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 85 | [
"{\"name\": \"xerror\", \"code\": \"__int64 __fastcall xerror ( Display * @@a1@@ , XErrorEvent * @@a2@@ ) { if ( @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number ) { return Number L ; } fprintf ( stderr , String , @@a2@@ -> request_code , @@a2@@ -> error_code ) ; return xerrorxlib ( @@a1@@ , @@a2@@ ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"Display\"}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"XErrorEvent\"}, \"location\": \"r64\"}]}"
] |
{"name": "xerrorstart", "code": "__int64 __fastcall xerrorstart ( Display * @@a1@@ , XErrorEvent * @@a2@@ ) { die ( String ) ; return Number ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "Display"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "XErrorEvent"}, "location": "r64"}]} | [{"n": "dpy", "t": {"T": 3, "t": "Display"}, "location": "r56"}, {"n": "ee", "t": {"T": 3, "t": "XErrorEvent"}, "location": "r64"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 86 | [
"{\"name\": \"xerror\", \"code\": \"__int64 __fastcall xerror ( Display * @@a1@@ , XErrorEvent * @@a2@@ ) { if ( @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number || @@a2@@ -> request_code == Number && @@a2@@ -> error_code == Number ) { return Number L ; } fprintf ( stderr , String , @@a2@@ -> request_code , @@a2@@ -> error_code ) ; return xerrorxlib ( @@a1@@ , @@a2@@ ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"Display\"}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"XErrorEvent\"}, \"location\": \"r64\"}]}"
] |
{"name": "zoom", "code": "__int64 zoom ( ) { __int64 @@result@@ ; __int64 @@v1@@ ; @@v1@@ = * ( ( _QWORD * ) selmon + Number ) ; @@result@@ = * ( _QWORD * ) ( * ( _QWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] + Number L ) ; if ( @@result@@ ) { if ( ! * ( ( _QWORD * ) selmon + Number ) || ( @@result@@ = * ( unsigned int * ) ( * ( ( _QWORD * ) selmon + Number ) + Number L ) , ! ( _DWORD ) @@result@@ ) ) { @@result@@ = nexttiled ( * ( ( _QWORD * ) selmon + Number ) ) ; if ( @@v1@@ != @@result@@ || @@v1@@ && ( @@result@@ = nexttiled ( * ( _QWORD * ) ( @@v1@@ + Number ) ) , ( @@v1@@ = @@result@@ ) != Number ) ) @@result@@ = pop ( @@v1@@ ) ; } } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "c", "t": {"T": 3, "t": "Client_0"}, "location": "s8"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 87 | [
"{\"name\": \"nexttiled\", \"code\": \"__int64 __fastcall nexttiled ( __int64 @@a1@@ ) { while ( @@a1@@ && ( * ( _DWORD * ) ( @@a1@@ + Number ) || ( * ( _DWORD * ) ( @@a1@@ + Number ) & * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * ( * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) + Number ) ) == Number ) ) @@a1@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; return @@a1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}]}",
"{\"name\": \"pop\", \"code\": \"__int64 __fastcall pop ( __int64 @@a1@@ ) { detach ( @@a1@@ ) ; attach ( @@a1@@ ) ; focus ( @@a1@@ ) ; return arrange ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}]}",
"{\"name\": \"tile\", \"code\": \"__int64 __fastcall tile ( __int64 @@a1@@ ) { __int64 result ; int v2 ; unsigned int v3 ; __int64 v4 ; __int64 v5 ; int @@v6@@ ; int @@v7@@ ; int @@v8@@ ; unsigned int @@v9@@ ; unsigned int @@v10@@ ; @@v9@@ = Number ; result = nexttiled ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; v4 = result ; while ( v4 ) { result = nexttiled ( * ( _QWORD * ) ( v4 + Number ) ) ; v4 = result ; ++ @@v9@@ ; } if ( @@v9@@ ) { if ( @@v9@@ <= * ( _DWORD * ) ( @@a1@@ + Number ) ) { @@v8@@ = * ( _DWORD * ) ( @@a1@@ + Number ) ; } else { if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) v2 = ( int ) ( float ) ( * ( float * ) ( @@a1@@ + Number ) * ( float ) * ( int * ) ( @@a1@@ + Number ) ) ; else v2 = Number ; @@v8@@ = v2 ; } @@v6@@ = Number ; @@v7@@ = Number ; @@v10@@ = Number ; result = nexttiled ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ; v5 = result ; while ( v5 ) { if ( @@v10@@ >= * ( _DWORD * ) ( @@a1@@ + Number ) ) { resize ( v5 , * ( _DWORD * ) ( @@a1@@ + Number ) + @@v8@@ , * ( _DWORD * ) ( @@a1@@ + Number ) + @@v6@@ , * ( _DWORD * ) ( @@a1@@ + Number ) - @@v8@@ - Number * * ( _DWORD * ) ( v5 + Number ) , ( * ( _DWORD * ) ( @@a1@@ + Number ) - @@v6@@ ) / ( @@v9@@ - @@v10@@ ) - Number * * ( _DWORD * ) ( v5 + Number ) , Number ) ; @@v6@@ += * ( _DWORD * ) ( v5 + Number ) + Number * * ( _DWORD * ) ( v5 + Number ) ; } else { v3 = * ( _DWORD * ) ( @@a1@@ + Number ) ; if ( @@v9@@ <= v3 ) v3 = @@v9@@ ; resize ( v5 , * ( _DWORD * ) ( @@a1@@ + Number ) , * ( _DWORD * ) ( @@a1@@ + Number ) + @@v7@@ , @@v8@@ - Number * * ( _DWORD * ) ( v5 + Number ) , ( * ( _DWORD * ) ( @@a1@@ + Number ) - @@v7@@ ) / ( v3 - @@v10@@ ) - Number * * ( _DWORD * ) ( v5 + Number ) , Number ) ; @@v7@@ += * ( _DWORD * ) ( v5 + Number ) + Number * * ( _DWORD * ) ( v5 + Number ) ; } result = nexttiled ( * ( _QWORD * ) ( v5 + Number ) ) ; v5 = result ; ++ @@v10@@ ; } } return result ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v6\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s4\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s8\"}]}"
] |
{"name": "main", "code": "int __cdecl main ( int @@argc@@ , const char * * @@argv@@ , const char * * @@envp@@ ) { if ( @@argc@@ == Number && ! strcmp ( String , @@argv@@ [ Number ] ) ) { die ( String ) ; } else if ( @@argc@@ != Number ) { die ( String ) ; } if ( ! setlocale ( Number , & locale ) || ! XSupportsLocale ( ) ) fwrite ( String , Number , Number , stderr ) ; dpy = XOpenDisplay ( Number L ) ; if ( ! dpy ) die ( String ) ; checkotherwm ( ) ; setup ( ) ; scan ( ) ; run ( ) ; cleanup ( ) ; XCloseDisplay ( dpy ) ; return Number ; }", "source": [{"n": "envp", "t": {"T": 3, "t": "const char *"}, "location": "r16"}, {"n": "argc", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "argv", "t": {"T": 3, "t": "const char *"}, "location": "r64"}]} | [{"n": "envp", "t": {"T": 3, "t": "const char *"}, "location": "r16"}, {"n": "argc", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "argv", "t": {"T": 3, "t": "const char *"}, "location": "r64"}] | data1/train-shard-10.tar | bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34_bbdd3a0edd95093bb33c64c5ee9d26ad8fdfc5b59d53605a69c9f6f957665c34.jsonl | 88 | [
"{\"name\": \"cleanup\", \"code\": \"int cleanup ( ) { __int64 @@v1@@ [ Number ] ; __int64 @@v2@@ ; unsigned __int64 @@j@@ ; __int64 @@i@@ ; @@v2@@ = Number ; @@v1@@ [ Number ] = ( __int64 ) & locale ; @@v1@@ [ Number ] = Number L ; view ( & @@v2@@ ) ; * ( _QWORD * ) & selmon [ Number * * ( ( unsigned int * ) selmon + Number ) + Number ] = @@v1@@ ; for ( @@i@@ = mons ; @@i@@ ; @@i@@ = * ( _QWORD * ) ( @@i@@ + Number ) ) { while ( * ( _QWORD * ) ( @@i@@ + Number ) ) unmanage ( * ( _QWORD * ) ( @@i@@ + Number ) , Number L ) ; } XUngrabKey ( dpy , Number , Number , root ) ; while ( mons ) cleanupmon ( mons ) ; for ( @@j@@ = Number L ; @@j@@ <= Number ; ++ @@j@@ ) drw_cur_free ( drw , cursor [ @@j@@ ] ) ; for ( @@j@@ = Number L ; @@j@@ <= Number ; ++ @@j@@ ) free ( * ( void * * ) ( Number * @@j@@ + scheme ) ) ; XDestroyWindow ( dpy , wmcheckwin ) ; drw_free ( drw ) ; XSync ( dpy , Number ) ; XSetInputFocus ( dpy , Number , Number , Number L ) ; return XDeleteProperty ( dpy , root , qword_7DE8 ) ; }\", \"source\": [{\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s24\"}, {\"n\": \"v1\", \"t\": {\"T\": 2, \"n\": 3, \"s\": 8, \"t\": \"__int64\"}, \"location\": \"s48\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"run\", \"code\": \"int run ( ) { int @@result@@ ; XEvent @@v1@@ ; XSync ( dpy , Number ) ; while ( Number ) { @@result@@ = running ; if ( ! running ) break ; @@result@@ = XNextEvent ( dpy , & @@v1@@ ) ; if ( @@result@@ ) break ; if ( handler [ @@v1@@ . type ] ) ( ( void ( __fastcall * ) ( XEvent * ) ) handler [ @@v1@@ . type ] ) ( & @@v1@@ ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r8\"}, {\"n\": \"v1\", \"t\": {\"T\": 8}, \"location\": \"s192\"}]}",
"{\"name\": \"scan\", \"code\": \"int scan ( ) { int @@result@@ ; XWindowAttributes @@v1@@ ; Window * @@v2@@ ; Window @@v3@@ ; Window @@v4@@ ; unsigned int @@v5@@ ; unsigned int @@i@@ ; @@v2@@ = Number L ; @@result@@ = XQueryTree ( dpy , root , & @@v4@@ , & @@v3@@ , & @@v2@@ , & @@v5@@ ) ; if ( @@result@@ ) { for ( @@i@@ = Number ; @@i@@ < @@v5@@ ; ++ @@i@@ ) { if ( XGetWindowAttributes ( dpy , @@v2@@ [ @@i@@ ] , & @@v1@@ ) && ! @@v1@@ . override_redirect && ! XGetTransientForHint ( dpy , @@v2@@ [ @@i@@ ] , & @@v4@@ ) && ( @@v1@@ . map_state == Number || getstate ( @@v2@@ [ @@i@@ ] ) == Number ) ) { manage ( @@v2@@ [ @@i@@ ] , & @@v1@@ ) ; } } for ( @@i@@ = Number ; @@i@@ < @@v5@@ ; ++ @@i@@ ) { if ( XGetWindowAttributes ( dpy , @@v2@@ [ @@i@@ ] , & @@v1@@ ) && XGetTransientForHint ( dpy , @@v2@@ [ @@i@@ ] , & @@v4@@ ) && ( @@v1@@ . map_state == Number || getstate ( @@v2@@ [ @@i@@ ] ) == Number ) ) { manage ( @@v2@@ [ @@i@@ ] , & @@v1@@ ) ; } } @@result@@ = ( int ) @@v2@@ ; if ( @@v2@@ ) @@result@@ = XFree ( @@v2@@ ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r8\"}, {\"n\": \"v4\", \"t\": {\"T\": 1, \"n\": \"Window\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"v1\", \"t\": {\"T\": 6, \"n\": \"XWindowAttributes\", \"l\": [{\"T\": 4, \"n\": \"x\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"y\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"height\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"border_width\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"depth\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"visual\", \"t\": \"Visual *\", \"s\": 8}, {\"T\": 4, \"n\": \"root\", \"t\": \"Window\", \"s\": 8}, {\"T\": 4, \"n\": \"c_class\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"bit_gravity\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"win_gravity\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"backing_store\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"backing_planes\", \"t\": \"unsigned __int64\", \"s\": 8}, {\"T\": 4, \"n\": \"backing_pixel\", \"t\": \"unsigned __int64\", \"s\": 8}, {\"T\": 4, \"n\": \"save_under\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"colormap\", \"t\": \"Colormap\", \"s\": 8}, {\"T\": 4, \"n\": \"map_installed\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"map_state\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"all_event_masks\", \"t\": \"__int64\", \"s\": 8}, {\"T\": 4, \"n\": \"your_event_mask\", \"t\": \"__int64\", \"s\": 8}, {\"T\": 4, \"n\": \"do_not_propagate_mask\", \"t\": \"__int64\", \"s\": 8}, {\"T\": 4, \"n\": \"override_redirect\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"screen\", \"t\": \"Screen *\", \"s\": 8}]}, \"location\": \"s176\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"Window\", \"s\": 8}, \"location\": \"s24\"}, {\"n\": \"v2\", \"t\": {\"T\": 3, \"t\": \"Window\"}, \"location\": \"s32\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s4\"}, {\"n\": \"v5\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s8\"}]}",
"{\"name\": \"setup\", \"code\": \"__int64 setup ( ) { _QWORD * @@v0@@ ; XSetWindowAttributes @@v2@@ ; Atom @@v3@@ ; unsigned int @@i@@ ; sigchld ( Number ) ; screen = dpy -> default_screen ; sw = dpy -> screens [ ( __int64 ) screen ] . width ; sh = dpy -> screens [ ( __int64 ) screen ] . height ; root = dpy -> screens [ ( __int64 ) screen ] . root ; drw = drw_create ( dpy , ( unsigned int ) screen , root , ( unsigned int ) sw , ( unsigned int ) sh ) ; if ( ! drw_fontset_create ( drw , & fonts , Number L ) ) die ( String ) ; lrpad = * ( _DWORD * ) ( * ( _QWORD * ) ( drw + Number ) + Number L ) ; dword_7D6C = * ( _DWORD * ) ( * ( _QWORD * ) ( drw + Number ) + Number L ) + Number ; updategeom ( ) ; @@v3@@ = XInternAtom ( dpy , String , Number ) ; wmatom = XInternAtom ( dpy , String , Number ) ; qword_7DA8 = XInternAtom ( dpy , String , Number ) ; qword_7DB0 = XInternAtom ( dpy , String , Number ) ; qword_7DB8 = XInternAtom ( dpy , String , Number ) ; qword_7DE8 = XInternAtom ( dpy , String , Number ) ; netatom = XInternAtom ( dpy , String , Number ) ; qword_7DC8 = XInternAtom ( dpy , String , Number ) ; qword_7DD0 = XInternAtom ( dpy , String , Number ) ; qword_7DD8 = XInternAtom ( dpy , String , Number ) ; * ( _QWORD * ) & qword_7DE0 = XInternAtom ( dpy , String , Number ) ; qword_7DF0 = XInternAtom ( dpy , String , Number ) ; qword_7DF8 = XInternAtom ( dpy , String , Number ) ; qword_7E00 = XInternAtom ( dpy , String , Number ) ; cursor [ Number ] = drw_cur_create ( drw , Number L ) ; qword_7E18 = drw_cur_create ( drw , Number L ) ; qword_7E20 = drw_cur_create ( drw , Number L ) ; scheme = ecalloc ( Number L , Number L ) ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { @@v0@@ = ( _QWORD * ) ( scheme + Number L * ( int ) @@i@@ ) ; * @@v0@@ = drw_scm_create ( drw , & colors [ Number * ( int ) @@i@@ ] , Number L ) ; } updatebars ( ) ; updatestatus ( ) ; wmcheckwin = XCreateSimpleWindow ( dpy , root , Number , Number , Number , Number , Number , Number L , Number L ) ; XChangeProperty ( dpy , wmcheckwin , qword_7DD8 , Number , Number , Number , ( const unsigned __int8 * ) & wmcheckwin , Number ) ; XChangeProperty ( dpy , wmcheckwin , qword_7DC8 , @@v3@@ , Number , Number , String , Number ) ; XChangeProperty ( dpy , root , qword_7DD8 , Number , Number , Number , ( const unsigned __int8 * ) & wmcheckwin , Number ) ; XChangeProperty ( dpy , root , netatom , Number , Number , Number , ( const unsigned __int8 * ) & netatom , Number ) ; XDeleteProperty ( dpy , root , qword_7E00 ) ; @@v2@@ . cursor = * ( _QWORD * ) cursor [ Number ] ; @@v2@@ . event_mask = Number L ; XChangeWindowAttributes ( dpy , root , Number , & @@v2@@ ) ; XSelectInput ( dpy , root , @@v2@@ . event_mask ) ; grabkeys ( ) ; return focus ( Number L ) ; }\", \"source\": [{\"n\": \"v0\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"r32\"}, {\"n\": \"v2\", \"t\": {\"T\": 6, \"n\": \"XSetWindowAttributes\", \"l\": [{\"T\": 4, \"n\": \"background_pixmap\", \"t\": \"Pixmap\", \"s\": 8}, {\"T\": 4, \"n\": \"background_pixel\", \"t\": \"unsigned __int64\", \"s\": 8}, {\"T\": 4, \"n\": \"border_pixmap\", \"t\": \"Pixmap\", \"s\": 8}, {\"T\": 4, \"n\": \"border_pixel\", \"t\": \"unsigned __int64\", \"s\": 8}, {\"T\": 4, \"n\": \"bit_gravity\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"win_gravity\", \"t\": \"int\", \"s\": 4}, {\"T\": 4, \"n\": \"backing_store\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"backing_planes\", \"t\": \"unsigned __int64\", \"s\": 8}, {\"T\": 4, \"n\": \"backing_pixel\", \"t\": \"unsigned __int64\", \"s\": 8}, {\"T\": 4, \"n\": \"save_under\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"event_mask\", \"t\": \"__int64\", \"s\": 8}, {\"T\": 4, \"n\": \"do_not_propagate_mask\", \"t\": \"__int64\", \"s\": 8}, {\"T\": 4, \"n\": \"override_redirect\", \"t\": \"int\", \"s\": 4}, {\"T\": 5, \"s\": 4}, {\"T\": 4, \"n\": \"colormap\", \"t\": \"Colormap\", \"s\": 8}, {\"T\": 4, \"n\": \"cursor\", \"t\": \"Cursor\", \"s\": 8}]}, \"location\": \"s144\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"Atom\", \"s\": 8}, \"location\": \"s32\"}]}"
] |
{"name": "ft_ntoa", "code": "__int64 __fastcall ft_ntoa ( __int64 @@a1@@ ) { return ft_ntoa_base ( @@a1@@ , Number L ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} | [{"n": "n", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}] | data1/train-shard-10.tar | c6735a2c423bf3dcbd5ce961abb2663a13de16703394aa6a113d9394eaf014dc_c6735a2c423bf3dcbd5ce961abb2663a13de16703394aa6a113d9394eaf014dc.jsonl | 0 | [
"{\"name\": \"ft_ntoa_base\", \"code\": \"_BYTE * __fastcall ft_ntoa_base ( __int64 @@a1@@ , signed int @@a2@@ ) { int @@v3@@ ; _BYTE * @@v4@@ ; __int64 @@v5@@ ; int v6 ; int v7 ; v6 = ft_nlen_base ( @@a1@@ , @@a2@@ ) ; @@v4@@ = malloc ( v6 + Number ) ; if ( ! @@v4@@ ) return Number L ; @@v3@@ = v6 ; v7 = v6 - Number ; @@v4@@ [ @@v3@@ ] = Number ; @@v5@@ = @@a1@@ ; if ( @@a1@@ < Number ) @@v5@@ = - @@a1@@ ; while ( v7 >= Number ) { @@v4@@ [ v7 ] = ft_inttochar ( @@v5@@ % @@a2@@ ) ; @@v5@@ /= @@a2@@ ; -- v7 ; } if ( @@a1@@ < Number ) * @@v4@@ = Number ; return @@v4@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"signed int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r8\"}, {\"n\": \"v5\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s32\"}, {\"n\": \"v4\", \"t\": {\"T\": 3, \"t\": \"_BYTE\"}, \"location\": \"s40\"}]}"
] |
{"name": "ft_inttochar", "code": "__int64 __fastcall ft_inttochar ( int @@a1@@ ) { __int64 @@result@@ ; if ( @@a1@@ > Number ) @@result@@ = ( unsigned int ) ( @@a1@@ + Number ) ; else @@result@@ = ( unsigned int ) ( @@a1@@ + Number ) ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "char", "s": 1}, "location": "r8"}] | data1/train-shard-10.tar | c6735a2c423bf3dcbd5ce961abb2663a13de16703394aa6a113d9394eaf014dc_c6735a2c423bf3dcbd5ce961abb2663a13de16703394aa6a113d9394eaf014dc.jsonl | 1 | [] |
{"name": "ft_nlen_base", "code": "__int64 __fastcall ft_nlen_base ( __int64 @@a1@@ , unsigned int @@a2@@ ) { if ( @@a1@@ >= Number ) { if ( @@a1@@ < ( int ) @@a2@@ ) return Number L ; } else if ( @@a1@@ / ( int ) @@a2@@ ) { return ( unsigned int ) ft_nlen_base ( - ( @@a1@@ / ( int ) @@a2@@ ) , @@a2@@ ) + Number ; } return ( unsigned int ) ft_nlen_base ( @@a1@@ / ( int ) @@a2@@ , @@a2@@ ) + Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}]} | [{"n": "n", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "base", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}] | data1/train-shard-10.tar | c6735a2c423bf3dcbd5ce961abb2663a13de16703394aa6a113d9394eaf014dc_c6735a2c423bf3dcbd5ce961abb2663a13de16703394aa6a113d9394eaf014dc.jsonl | 2 | [] |
{"name": "ft_ntoa_base", "code": "_BYTE * __fastcall ft_ntoa_base ( __int64 @@a1@@ , signed int @@a2@@ ) { int @@v3@@ ; _BYTE * @@v4@@ ; __int64 @@v5@@ ; int v6 ; int v7 ; v6 = ft_nlen_base ( @@a1@@ , @@a2@@ ) ; @@v4@@ = malloc ( v6 + Number ) ; if ( ! @@v4@@ ) return Number L ; @@v3@@ = v6 ; v7 = v6 - Number ; @@v4@@ [ @@v3@@ ] = Number ; @@v5@@ = @@a1@@ ; if ( @@a1@@ < Number ) @@v5@@ = - @@a1@@ ; while ( v7 >= Number ) { @@v4@@ [ v7 ] = ft_inttochar ( @@v5@@ % @@a2@@ ) ; @@v5@@ /= @@a2@@ ; -- v7 ; } if ( @@a1@@ < Number ) * @@v4@@ = Number ; return @@v4@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "signed int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v4", "t": {"T": 3, "t": "_BYTE"}, "location": "s40"}]} | [{"n": "nb", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "base", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "n", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "r", "t": {"T": 3, "t": "char"}, "location": "s40"}] | data1/train-shard-10.tar | c6735a2c423bf3dcbd5ce961abb2663a13de16703394aa6a113d9394eaf014dc_c6735a2c423bf3dcbd5ce961abb2663a13de16703394aa6a113d9394eaf014dc.jsonl | 3 | [
"{\"name\": \"ft_ntoa\", \"code\": \"__int64 __fastcall ft_ntoa ( __int64 @@a1@@ ) { return ft_ntoa_base ( @@a1@@ , Number L ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}]}",
"{\"name\": \"ft_inttochar\", \"code\": \"__int64 __fastcall ft_inttochar ( int @@a1@@ ) { __int64 @@result@@ ; if ( @@a1@@ > Number ) @@result@@ = ( unsigned int ) ( @@a1@@ + Number ) ; else @@result@@ = ( unsigned int ) ( @@a1@@ + Number ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"ft_nlen_base\", \"code\": \"__int64 __fastcall ft_nlen_base ( __int64 @@a1@@ , unsigned int @@a2@@ ) { if ( @@a1@@ >= Number ) { if ( @@a1@@ < ( int ) @@a2@@ ) return Number L ; } else if ( @@a1@@ / ( int ) @@a2@@ ) { return ( unsigned int ) ft_nlen_base ( - ( @@a1@@ / ( int ) @@a2@@ ) , @@a2@@ ) + Number ; } return ( unsigned int ) ft_nlen_base ( @@a1@@ / ( int ) @@a2@@ , @@a2@@ ) + Number ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}]}"
] |
{"name": "mallocFail", "code": "void __fastcall __noreturn mallocFail ( unsigned int @@a1@@ ) { fprintf ( stderr , String , & progName , @@a1@@ ) ; fprintf ( stderr , String , & progName ) ; exit ( Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}]} | [{"n": "n", "t": {"T": 1, "n": "Int32", "s": 4}, "location": "r56"}] | data1/train-shard-10.tar | 6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a_6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a.jsonl | 0 | [] |
{"name": "tooManyBlocks", "code": "void __fastcall __noreturn tooManyBlocks ( unsigned int @@a1@@ ) { fprintf ( stderr , String , & progName , & inFileName , @@a1@@ ) ; fprintf ( stderr , String , & progName ) ; fprintf ( stderr , String , & progName ) ; exit ( Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}]} | [{"n": "max_handled_blocks", "t": {"T": 1, "n": "Int32", "s": 4}, "location": "r56"}] | data1/train-shard-10.tar | 6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a_6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a.jsonl | 1 | [] |
{"name": "bsOpenReadStream", "code": "_DWORD * __fastcall bsOpenReadStream ( __int64 @@a1@@ ) { _DWORD * @@v2@@ ; @@v2@@ = malloc ( Number ) ; if ( ! @@v2@@ ) mallocFail ( Number ) ; * ( _QWORD * ) @@v2@@ = @@a1@@ ; @@v2@@ [ Number ] = Number ; @@v2@@ [ Number ] = Number ; * ( ( _BYTE * ) @@v2@@ + Number ) = Number ; return @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "_DWORD"}, "location": "s8"}]} | [{"n": "stream", "t": {"T": 3, "t": "FILE"}, "location": "r56"}, {"n": "bs", "t": {"T": 3, "t": "BitStream"}, "location": "s8"}] | data1/train-shard-10.tar | 6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a_6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a.jsonl | 2 | [
"{\"name\": \"mallocFail\", \"code\": \"void __fastcall __noreturn mallocFail ( unsigned int @@a1@@ ) { fprintf ( stderr , String , & progName , @@a1@@ ) ; fprintf ( stderr , String , & progName ) ; exit ( Number ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r56\"}]}"
] |
{"name": "bsOpenWriteStream", "code": "_DWORD * __fastcall bsOpenWriteStream ( __int64 @@a1@@ ) { _DWORD * @@v2@@ ; @@v2@@ = malloc ( Number ) ; if ( ! @@v2@@ ) mallocFail ( Number ) ; * ( _QWORD * ) @@v2@@ = @@a1@@ ; @@v2@@ [ Number ] = Number ; @@v2@@ [ Number ] = Number ; * ( ( _BYTE * ) @@v2@@ + Number ) = Number ; return @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "_DWORD"}, "location": "s8"}]} | [{"n": "stream", "t": {"T": 3, "t": "FILE"}, "location": "r56"}, {"n": "bs", "t": {"T": 3, "t": "BitStream"}, "location": "s8"}] | data1/train-shard-10.tar | 6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a_6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a.jsonl | 3 | [
"{\"name\": \"mallocFail\", \"code\": \"void __fastcall __noreturn mallocFail ( unsigned int @@a1@@ ) { fprintf ( stderr , String , & progName , @@a1@@ ) ; fprintf ( stderr , String , & progName ) ; exit ( Number ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r56\"}]}"
] |
{"name": "bsPutBit", "code": "__int64 __fastcall bsPutBit ( __int64 @@a1@@ , char @@a2@@ ) { __int64 @@result@@ ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) { if ( putc ( ( unsigned __int8 ) * ( _DWORD * ) ( @@a1@@ + Number ) , * ( FILE * * ) @@a1@@ ) == Number ) writeError ( ) ; ++ bytesOut ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ & Number ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ & Number | ( Number * * ( _DWORD * ) ( @@a1@@ + Number ) ) ; @@result@@ = @@a1@@ ; ++ * ( _DWORD * ) ( @@a1@@ + Number ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "bs", "t": {"T": 3, "t": "BitStream"}, "location": "r56"}, {"n": "bit", "t": {"T": 1, "n": "Int32", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | 6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a_6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a.jsonl | 4 | [] |
{"name": "bsGetBit", "code": "__int64 __fastcall bsGetBit ( __int64 @@a1@@ ) { __int64 @@result@@ ; int @@v2@@ ; if ( * ( int * ) ( @@a1@@ + Number ) > Number ) return ( * ( int * ) ( @@a1@@ + Number ) >> -- * ( _DWORD * ) ( @@a1@@ + Number ) ) & Number ; @@v2@@ = getc ( * ( FILE * * ) @@a1@@ ) ; if ( @@v2@@ == Number ) { if ( * _errno_location ( ) ) readError ( ) ; @@result@@ = Number L ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v2@@ ; @@result@@ = ( * ( int * ) ( @@a1@@ + Number ) >> Number ) & Number ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} | [{"n": "bs", "t": {"T": 3, "t": "BitStream"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "Int32", "s": 4}, "location": "r8"}, {"n": "retVal", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | 6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a_6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a.jsonl | 5 | [] |
{"name": "bsClose", "code": "void __fastcall bsClose ( __int64 @@a1@@ ) { if ( * ( _BYTE * ) ( @@a1@@ + Number ) == Number ) { while ( * ( int * ) ( @@a1@@ + Number ) <= Number ) { ++ * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) *= Number ; } if ( putc ( ( unsigned __int8 ) * ( _DWORD * ) ( @@a1@@ + Number ) , * ( FILE * * ) @@a1@@ ) == Number ) writeError ( ) ; ++ bytesOut ; if ( fflush ( * ( FILE * * ) @@a1@@ ) == Number ) writeError ( ) ; } if ( fclose ( * ( FILE * * ) @@a1@@ ) == Number ) { if ( * ( _BYTE * ) ( @@a1@@ + Number ) == Number ) writeError ( ) ; readError ( ) ; } free ( ( void * ) @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} | [{"n": "bs", "t": {"T": 3, "t": "BitStream"}, "location": "r56"}] | data1/train-shard-10.tar | 6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a_6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a.jsonl | 6 | [] |
{"name": "bsPutUChar", "code": "__int64 __fastcall bsPutUChar ( __int64 @@a1@@ , unsigned int @@a2@@ ) { __int64 @@result@@ ; int @@i@@ ; @@result@@ = @@a2@@ ; for ( @@i@@ = Number ; @@i@@ >= Number ; -- @@i@@ ) @@result@@ = bsPutBit ( @@a1@@ , ( ( unsigned __int8 ) @@a2@@ >> @@i@@ ) & Number ) ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} | [{"n": "bs", "t": {"T": 3, "t": "BitStream"}, "location": "r56"}, {"n": "c", "t": {"T": 1, "n": "UChar", "s": 1}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "Int32", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | 6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a_6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a.jsonl | 7 | [
"{\"name\": \"bsPutBit\", \"code\": \"__int64 __fastcall bsPutBit ( __int64 @@a1@@ , char @@a2@@ ) { __int64 @@result@@ ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) { if ( putc ( ( unsigned __int8 ) * ( _DWORD * ) ( @@a1@@ + Number ) , * ( FILE * * ) @@a1@@ ) == Number ) writeError ( ) ; ++ bytesOut ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ & Number ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ & Number | ( Number * * ( _DWORD * ) ( @@a1@@ + Number ) ) ; @@result@@ = @@a1@@ ; ++ * ( _DWORD * ) ( @@a1@@ + Number ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"char\", \"s\": 1}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}"
] |
{"name": "bsPutUInt32", "code": "__int64 __fastcall bsPutUInt32 ( __int64 @@a1@@ , unsigned int @@a2@@ ) { __int64 @@result@@ ; int @@i@@ ; for ( @@i@@ = Number ; @@i@@ >= Number ; -- @@i@@ ) @@result@@ = bsPutBit ( @@a1@@ , ( @@a2@@ >> @@i@@ ) & Number ) ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} | [{"n": "bs", "t": {"T": 3, "t": "BitStream"}, "location": "r56"}, {"n": "c", "t": {"T": 1, "n": "UInt32", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "i", "t": {"T": 1, "n": "Int32", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | 6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a_6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a.jsonl | 8 | [
"{\"name\": \"bsPutBit\", \"code\": \"__int64 __fastcall bsPutBit ( __int64 @@a1@@ , char @@a2@@ ) { __int64 @@result@@ ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) { if ( putc ( ( unsigned __int8 ) * ( _DWORD * ) ( @@a1@@ + Number ) , * ( FILE * * ) @@a1@@ ) == Number ) writeError ( ) ; ++ bytesOut ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ & Number ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ & Number | ( Number * * ( _DWORD * ) ( @@a1@@ + Number ) ) ; @@result@@ = @@a1@@ ; ++ * ( _DWORD * ) ( @@a1@@ + Number ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"char\", \"s\": 1}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}"
] |
{"name": "endsInBz2", "code": "_BOOL8 __fastcall endsInBz2 ( const char * @@a1@@ ) { int @@v2@@ ; @@v2@@ = strlen ( @@a1@@ ) ; if ( @@v2@@ <= Number ) return Number L ; return @@a1@@ [ @@v2@@ - Number ] == Number && @@a1@@ [ @@v2@@ - Number ] == Number && @@a1@@ [ @@v2@@ - Number ] == Number && @@a1@@ [ @@v2@@ - Number ] == Number ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} | [{"n": "name", "t": {"T": 3, "t": "Char"}, "location": "r56"}, {"n": "n", "t": {"T": 1, "n": "Int32", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | 6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a_6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a.jsonl | 9 | [] |
{"name": "main", "code": "int __cdecl main ( int @@argc@@ , const char * * @@argv@@ , const char * * @@envp@@ ) { unsigned int @@v3@@ ; int v5 ; int v6 ; _DWORD * v7 ; _DWORD * v8 ; FILE * v9 ; FILE * v10 ; int @@i@@ ; char * s ; char * sa ; char * @@j@@ ; unsigned int @@v15@@ ; __int64 @@v16@@ ; unsigned __int64 v17 ; unsigned __int64 v18 ; int @@v19@@ ; int @@v20@@ ; int @@v21@@ ; _DWORD * @@v22@@ ; FILE * @@v23@@ ; strcpy ( & progName , * @@argv@@ ) ; outFileName [ Number ] = Number ; inFileName [ Number ] = Number ; fwrite ( String , Number , Number , stderr ) ; if ( @@argc@@ != Number ) { fprintf ( stderr , String , & progName , & progName ) ; fwrite ( String , Number , Number , stderr ) ; exit ( Number ) ; } if ( strlen ( @@argv@@ [ Number ] ) > Number ) { @@v3@@ = strlen ( @@argv@@ [ Number ] ) ; fprintf ( stderr , String , & progName , @@v3@@ ) ; exit ( Number ) ; } strcpy ( inFileName , @@argv@@ [ Number ] ) ; v9 = fopen64 ( inFileName , String ) ; if ( ! v9 ) { fprintf ( stderr , String , & progName , inFileName ) ; exit ( Number ) ; } v7 = bsOpenReadStream ( ( __int64 ) v9 ) ; fprintf ( stderr , String , & progName ) ; v17 = Number L ; @@v16@@ = Number L ; @@v20@@ = Number ; bStart [ Number ] = Number L ; @@v19@@ = Number ; while ( Number ) { v5 = bsGetBit ( ( __int64 ) v7 ) ; ++ v17 ; if ( v5 == Number ) break ; HIDWORD ( @@v16@@ ) = @@v16@@ >> Number ; LODWORD ( @@v16@@ ) = ( Number * @@v16@@ ) | v5 & Number ; if ( WORD2 ( @@v16@@ ) == Number && ( _DWORD ) @@v16@@ == Number || WORD2 ( @@v16@@ ) == Number && ( _DWORD ) @@v16@@ == Number ) { if ( v17 <= Number ) bEnd [ @@v20@@ ] = Number L ; else bEnd [ @@v20@@ ] = v17 - Number ; if ( @@v20@@ > Number && ( unsigned __int64 ) ( bEnd [ @@v20@@ ] - bStart [ @@v20@@ ] ) > Number ) { fprintf ( stderr , String , ( unsigned int ) ( @@v19@@ + Number ) , bStart [ @@v20@@ ] , bEnd [ @@v20@@ ] ) ; rbStart [ @@v19@@ ] = bStart [ @@v20@@ ] ; rbEnd [ @@v19@@ ++ ] = bEnd [ @@v20@@ ] ; } if ( @@v20@@ > Number ) tooManyBlocks ( Number ) ; bStart [ ++ @@v20@@ ] = v17 ; } } if ( v17 >= bStart [ @@v20@@ ] && v17 - bStart [ @@v20@@ ] > Number ) { bEnd [ @@v20@@ ] = v17 - Number ; if ( @@v20@@ > Number ) fprintf ( stderr , String , ( unsigned int ) @@v20@@ , bStart [ @@v20@@ ] , bEnd [ @@v20@@ ] ) ; } bsClose ( ( __int64 ) v7 ) ; if ( @@v19@@ <= Number ) { fprintf ( stderr , String , & progName ) ; exit ( Number ) ; } fprintf ( stderr , String , & progName ) ; v10 = fopen64 ( inFileName , String ) ; if ( ! v10 ) { fprintf ( stderr , String , & progName , inFileName ) ; exit ( Number ) ; } v8 = bsOpenReadStream ( ( __int64 ) v10 ) ; @@v15@@ = Number ; @@v22@@ = Number L ; v18 = Number L ; @@v23@@ = Number L ; @@v21@@ = Number ; while ( Number ) { v6 = bsGetBit ( ( __int64 ) v8 ) ; if ( v6 == Number ) break ; HIDWORD ( @@v16@@ ) = @@v16@@ >> Number ; LODWORD ( @@v16@@ ) = ( Number * @@v16@@ ) | v6 & Number ; if ( v18 == rbStart [ @@v21@@ ] + Number ) @@v15@@ = @@v16@@ >> Number ; if ( @@v23@@ && v18 >= rbStart [ @@v21@@ ] && v18 <= rbEnd [ @@v21@@ ] ) bsPutBit ( ( __int64 ) @@v22@@ , v6 ) ; if ( ++ v18 == rbEnd [ @@v21@@ ] + Number ) { if ( @@v23@@ ) { bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUInt32 ( ( __int64 ) @@v22@@ , @@v15@@ ) ; bsClose ( ( __int64 ) @@v22@@ ) ; } if ( @@v21@@ >= @@v19@@ ) break ; ++ @@v21@@ ; } else if ( v18 == rbStart [ @@v21@@ ] ) { for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) outFileName [ @@i@@ ] = Number ; strcpy ( outFileName , inFileName ) ; s = strrchr ( outFileName , Number ) ; if ( s ) sa = s + Number ; else sa = outFileName ; sprintf ( sa , String , ( unsigned int ) ( @@v21@@ + Number ) ) ; for ( @@j@@ = sa ; * @@j@@ ; ++ @@j@@ ) { if ( * @@j@@ == Number ) * @@j@@ = Number ; } strcat ( outFileName , & inFileName [ ( int ) ( sa - outFileName ) ] ) ; if ( ! endsInBz2 ( outFileName ) ) strcat ( outFileName , String ) ; fprintf ( stderr , String , ( unsigned int ) ( @@v21@@ + Number ) , outFileName ) ; @@v23@@ = fopen64 ( outFileName , String ) ; if ( ! @@v23@@ ) { fprintf ( stderr , String , & progName , outFileName ) ; exit ( Number ) ; } @@v22@@ = bsOpenWriteStream ( ( __int64 ) @@v23@@ ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; bsPutUChar ( ( __int64 ) @@v22@@ , Number ) ; } } fprintf ( stderr , String , & progName ) ; return Number ; }", "source": [{"n": "envp", "t": {"T": 3, "t": "const char *"}, "location": "r16"}, {"n": "argc", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "argv", "t": {"T": 3, "t": "const char *"}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r8"}, {"n": "v22", "t": {"T": 3, "t": "_DWORD"}, "location": "s16"}, {"n": "v21", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v20", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "v19", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s52"}, {"n": "j", "t": {"T": 3, "t": "char"}, "location": "s64"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s76"}, {"n": "v23", "t": {"T": 3, "t": "FILE"}, "location": "s8"}]} | [{"n": "envp", "t": {"T": 3, "t": "const char *"}, "location": "r16"}, {"n": "argc", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "argv", "t": {"T": 3, "t": "const char *"}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r8"}, {"n": "bsWr", "t": {"T": 3, "t": "BitStream"}, "location": "s16"}, {"n": "wrBlock", "t": {"T": 1, "n": "Int32", "s": 4}, "location": "s20"}, {"n": "currBlock", "t": {"T": 1, "n": "Int32", "s": 4}, "location": "s24"}, {"n": "rbCtr", "t": {"T": 1, "n": "Int32", "s": 4}, "location": "s28"}, {"n": "buffLo", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "blockCRC", "t": {"T": 1, "n": "UInt32", "s": 4}, "location": "s52"}, {"n": "p", "t": {"T": 3, "t": "Char"}, "location": "s64"}, {"n": "k", "t": {"T": 1, "n": "Int32", "s": 4}, "location": "s76"}, {"n": "outFile", "t": {"T": 3, "t": "FILE"}, "location": "s8"}] | data1/train-shard-10.tar | 6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a_6ef30e540e30cdda2bafd21fa969b595ff18d07b0f37e2095e3b2fc69d138e2a.jsonl | 10 | [
"{\"name\": \"tooManyBlocks\", \"code\": \"void __fastcall __noreturn tooManyBlocks ( unsigned int @@a1@@ ) { fprintf ( stderr , String , & progName , & inFileName , @@a1@@ ) ; fprintf ( stderr , String , & progName ) ; fprintf ( stderr , String , & progName ) ; exit ( Number ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r56\"}]}",
"{\"name\": \"bsOpenReadStream\", \"code\": \"_DWORD * __fastcall bsOpenReadStream ( __int64 @@a1@@ ) { _DWORD * @@v2@@ ; @@v2@@ = malloc ( Number ) ; if ( ! @@v2@@ ) mallocFail ( Number ) ; * ( _QWORD * ) @@v2@@ = @@a1@@ ; @@v2@@ [ Number ] = Number ; @@v2@@ [ Number ] = Number ; * ( ( _BYTE * ) @@v2@@ + Number ) = Number ; return @@v2@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v2\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"s8\"}]}",
"{\"name\": \"bsOpenWriteStream\", \"code\": \"_DWORD * __fastcall bsOpenWriteStream ( __int64 @@a1@@ ) { _DWORD * @@v2@@ ; @@v2@@ = malloc ( Number ) ; if ( ! @@v2@@ ) mallocFail ( Number ) ; * ( _QWORD * ) @@v2@@ = @@a1@@ ; @@v2@@ [ Number ] = Number ; @@v2@@ [ Number ] = Number ; * ( ( _BYTE * ) @@v2@@ + Number ) = Number ; return @@v2@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v2\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"s8\"}]}",
"{\"name\": \"bsPutBit\", \"code\": \"__int64 __fastcall bsPutBit ( __int64 @@a1@@ , char @@a2@@ ) { __int64 @@result@@ ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) { if ( putc ( ( unsigned __int8 ) * ( _DWORD * ) ( @@a1@@ + Number ) , * ( FILE * * ) @@a1@@ ) == Number ) writeError ( ) ; ++ bytesOut ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ & Number ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ & Number | ( Number * * ( _DWORD * ) ( @@a1@@ + Number ) ) ; @@result@@ = @@a1@@ ; ++ * ( _DWORD * ) ( @@a1@@ + Number ) ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"char\", \"s\": 1}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}",
"{\"name\": \"bsGetBit\", \"code\": \"__int64 __fastcall bsGetBit ( __int64 @@a1@@ ) { __int64 @@result@@ ; int @@v2@@ ; if ( * ( int * ) ( @@a1@@ + Number ) > Number ) return ( * ( int * ) ( @@a1@@ + Number ) >> -- * ( _DWORD * ) ( @@a1@@ + Number ) ) & Number ; @@v2@@ = getc ( * ( FILE * * ) @@a1@@ ) ; if ( @@v2@@ == Number ) { if ( * _errno_location ( ) ) readError ( ) ; @@result@@ = Number L ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@v2@@ ; @@result@@ = ( * ( int * ) ( @@a1@@ + Number ) >> Number ) & Number ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s4\"}]}",
"{\"name\": \"bsClose\", \"code\": \"void __fastcall bsClose ( __int64 @@a1@@ ) { if ( * ( _BYTE * ) ( @@a1@@ + Number ) == Number ) { while ( * ( int * ) ( @@a1@@ + Number ) <= Number ) { ++ * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@a1@@ + Number ) *= Number ; } if ( putc ( ( unsigned __int8 ) * ( _DWORD * ) ( @@a1@@ + Number ) , * ( FILE * * ) @@a1@@ ) == Number ) writeError ( ) ; ++ bytesOut ; if ( fflush ( * ( FILE * * ) @@a1@@ ) == Number ) writeError ( ) ; } if ( fclose ( * ( FILE * * ) @@a1@@ ) == Number ) { if ( * ( _BYTE * ) ( @@a1@@ + Number ) == Number ) writeError ( ) ; readError ( ) ; } free ( ( void * ) @@a1@@ ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}]}",
"{\"name\": \"bsPutUChar\", \"code\": \"__int64 __fastcall bsPutUChar ( __int64 @@a1@@ , unsigned int @@a2@@ ) { __int64 @@result@@ ; int @@i@@ ; @@result@@ = @@a2@@ ; for ( @@i@@ = Number ; @@i@@ >= Number ; -- @@i@@ ) @@result@@ = bsPutBit ( @@a1@@ , ( ( unsigned __int8 ) @@a2@@ >> @@i@@ ) & Number ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s4\"}]}",
"{\"name\": \"bsPutUInt32\", \"code\": \"__int64 __fastcall bsPutUInt32 ( __int64 @@a1@@ , unsigned int @@a2@@ ) { __int64 @@result@@ ; int @@i@@ ; for ( @@i@@ = Number ; @@i@@ >= Number ; -- @@i@@ ) @@result@@ = bsPutBit ( @@a1@@ , ( @@a2@@ >> @@i@@ ) & Number ) ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s4\"}]}",
"{\"name\": \"endsInBz2\", \"code\": \"_BOOL8 __fastcall endsInBz2 ( const char * @@a1@@ ) { int @@v2@@ ; @@v2@@ = strlen ( @@a1@@ ) ; if ( @@v2@@ <= Number ) return Number L ; return @@a1@@ [ @@v2@@ - Number ] == Number && @@a1@@ [ @@v2@@ - Number ] == Number && @@a1@@ [ @@v2@@ - Number ] == Number && @@a1@@ [ @@v2@@ - Number ] == Number ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"const char\"}, \"location\": \"r56\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s4\"}]}"
] |
{"name": "cpu_to_le64", "code": "__int64 __fastcall cpu_to_le64 ( __int64 @@a1@@ ) { return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} | [{"n": "v", "t": {"T": 1, "n": "uint64_t", "s": 8}, "location": "r56"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 0 | [] |
{"name": "cpu_register_physical_memory", "code": "unsigned __int64 __fastcall cpu_register_physical_memory ( unsigned int @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { unsigned __int64 @@v4@@ ; @@v4@@ = __readfsqword ( Number ) ; cpu_register_physical_memory_offset ( @@a1@@ , @@a2@@ , @@a3@@ , Number L ) ; return __readfsqword ( Number ) ^ @@v4@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "phys_offset", "t": {"T": 1, "n": "ram_addr_t", "s": 8}, "location": "r16"}, {"n": "start_addr", "t": {"T": 1, "n": "target_phys_addr_t", "s": 4}, "location": "r56"}, {"n": "size", "t": {"T": 1, "n": "ram_addr_t", "s": 8}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 1 | [] |
{"name": "lduw_le_p", "code": "__int64 __fastcall lduw_le_p ( unsigned __int16 * @@a1@@ ) { return * @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "unsigned __int16"}, "location": "r56"}]} | [{"n": "ptr", "t": {"T": 3, "t": "const void"}, "location": "r56"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 2 | [] |
{"name": "ldl_le_p", "code": "__int64 __fastcall ldl_le_p ( unsigned int * @@a1@@ ) { return * @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "unsigned int"}, "location": "r56"}]} | [{"n": "ptr", "t": {"T": 3, "t": "const void"}, "location": "r56"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 3 | [] |
{"name": "stw_le_p", "code": "unsigned __int64 __fastcall stw_le_p ( _WORD * @@a1@@ , __int16 @@a2@@ ) { unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; * @@a1@@ = @@a2@@ ; return __readfsqword ( Number ) ^ @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_WORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "ptr", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "v", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 4 | [] |
{"name": "stl_le_p", "code": "unsigned __int64 __fastcall stl_le_p ( _DWORD * @@a1@@ , int @@a2@@ ) { unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; * @@a1@@ = @@a2@@ ; return __readfsqword ( Number ) ^ @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "ptr", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "v", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 5 | [] |
{"name": "qemu_irq_raise", "code": "unsigned __int64 __fastcall qemu_irq_raise ( __int64 @@a1@@ ) { unsigned __int64 @@v2@@ ; @@v2@@ = __readfsqword ( Number ) ; qemu_set_irq ( @@a1@@ , Number L ) ; return __readfsqword ( Number ) ^ @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "irq", "t": {"T": 1, "n": "qemu_irq", "s": 8}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 6 | [] |
{"name": "qemu_irq_lower", "code": "unsigned __int64 __fastcall qemu_irq_lower ( __int64 @@a1@@ ) { unsigned __int64 @@v2@@ ; @@v2@@ = __readfsqword ( Number ) ; qemu_set_irq ( @@a1@@ , Number L ) ; return __readfsqword ( Number ) ^ @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "irq", "t": {"T": 1, "n": "qemu_irq", "s": 8}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 7 | [] |
{"name": "isa_irq_handler", "code": "unsigned __int64 __fastcall isa_irq_handler ( _QWORD * @@a1@@ , int @@a2@@ , unsigned int @@a3@@ ) { unsigned __int64 @@v5@@ ; @@v5@@ = __readfsqword ( Number ) ; if ( @@a2@@ <= Number ) qemu_set_irq ( * ( _QWORD * ) ( Number L * @@a2@@ + * @@a1@@ ) , @@a3@@ ) ; if ( @@a1@@ [ Number ] ) qemu_set_irq ( * ( _QWORD * ) ( Number L * @@a2@@ + @@a1@@ [ Number ] ) , @@a3@@ ) ; return __readfsqword ( Number ) ^ @@v5@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v5", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "level", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "opaque", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "n", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 8 | [] |
{"name": "pc_register_ferr_irq", "code": "unsigned __int64 __fastcall pc_register_ferr_irq ( __int64 @@a1@@ ) { unsigned __int64 @@v2@@ ; @@v2@@ = __readfsqword ( Number ) ; ferr_irq = @@a1@@ ; return __readfsqword ( Number ) ^ @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "irq", "t": {"T": 1, "n": "qemu_irq", "s": 8}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 9 | [] |
{"name": "cpu_set_ferr", "code": "unsigned __int64 cpu_set_ferr ( ) { unsigned __int64 @@v1@@ ; @@v1@@ = __readfsqword ( Number ) ; qemu_irq_raise ( ferr_irq ) ; return __readfsqword ( Number ) ^ @@v1@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 10 | [
"{\"name\": \"qemu_irq_raise\", \"code\": \"unsigned __int64 __fastcall qemu_irq_raise ( __int64 @@a1@@ ) { unsigned __int64 @@v2@@ ; @@v2@@ = __readfsqword ( Number ) ; qemu_set_irq ( @@a1@@ , Number L ) ; return __readfsqword ( Number ) ^ @@v2@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "ioportF0_write", "code": "unsigned __int64 ioportF0_write ( ) { unsigned __int64 @@v1@@ ; @@v1@@ = __readfsqword ( Number ) ; qemu_irq_lower ( ferr_irq ) ; return __readfsqword ( Number ) ^ @@v1@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 11 | [
"{\"name\": \"qemu_irq_lower\", \"code\": \"unsigned __int64 __fastcall qemu_irq_lower ( __int64 @@a1@@ ) { unsigned __int64 @@v2@@ ; @@v2@@ = __readfsqword ( Number ) ; qemu_set_irq ( @@a1@@ , Number L ) ; return __readfsqword ( Number ) ^ @@v2@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v2\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "cpu_smm_register", "code": "unsigned __int64 __fastcall cpu_smm_register ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; if ( smm_set ) _assert_fail ( String , String , Number , String ) ; if ( smm_arg ) _assert_fail ( String , String , Number , String ) ; smm_set = @@a1@@ ; smm_arg = @@a2@@ ; return __readfsqword ( Number ) ^ @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "callback", "t": {"T": 9, "n": "cpu_set_smm_t"}, "location": "r56"}, {"n": "arg", "t": {"T": 3, "t": "void"}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 12 | [] |
{"name": "cpu_smm_update", "code": "unsigned __int64 __fastcall cpu_smm_update ( __int64 @@a1@@ ) { unsigned __int64 @@v2@@ ; @@v2@@ = __readfsqword ( Number ) ; if ( smm_set && smm_arg && @@a1@@ == first_cpu ) smm_set ( ( * ( _DWORD * ) ( @@a1@@ + Number ) & Number ) != Number , smm_arg ) ; return __readfsqword ( Number ) ^ @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "env", "t": {"T": 3, "t": "CPUX86State"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 13 | [] |
{"name": "cpu_get_pic_interrupt", "code": "__int64 __fastcall cpu_get_pic_interrupt ( __int64 @@a1@@ ) { __int64 @@result@@ ; int @@v2@@ ; @@v2@@ = apic_get_interrupt ( @@a1@@ ) ; if ( @@v2@@ < Number ) { if ( ( unsigned int ) apic_accept_pic_intr ( @@a1@@ ) ) @@result@@ = ( unsigned int ) pic_read_irq ( isa_pic ) ; else @@result@@ = Number ; } else { pic_update_irq ( isa_pic ) ; @@result@@ = ( unsigned int ) @@v2@@ ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v2", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}]} | [{"n": "env", "t": {"T": 3, "t": "CPUX86State"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "intno", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 14 | [] |
{"name": "pic_irq_request", "code": "unsigned __int64 __fastcall pic_irq_request ( __int64 @@a1@@ , __int64 @@a2@@ , unsigned int @@a3@@ ) { __int64 @@v5@@ ; unsigned __int64 @@v6@@ ; @@v6@@ = __readfsqword ( Number ) ; @@v5@@ = first_cpu ; if ( * ( _QWORD * ) ( first_cpu + Number L ) ) { while ( @@v5@@ ) { if ( ( unsigned int ) apic_accept_pic_intr ( @@v5@@ ) ) apic_deliver_pic_intr ( @@v5@@ , @@a3@@ ) ; @@v5@@ = * ( _QWORD * ) ( @@v5@@ + Number ) ; } } else if ( @@a3@@ ) { cpu_interrupt ( first_cpu , Number L ) ; } else { cpu_reset_interrupt ( first_cpu , Number L ) ; } return __readfsqword ( Number ) ^ @@v6@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v6", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "level", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "opaque", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "irq", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "env", "t": {"T": 3, "t": "CPUX86State"}, "location": "s16"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 15 | [] |
{"name": "cmos_get_fd_drive_type", "code": "__int64 __fastcall cmos_get_fd_drive_type ( int @@a1@@ ) { if ( @@a1@@ == Number ) return Number ; if ( @@a1@@ > Number ) return Number ; if ( ! @@a1@@ ) return Number ; if ( @@a1@@ != Number ) return Number ; return Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}]} | [{"n": "fd0", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 16 | [] |
{"name": "cmos_init_hd", "code": "unsigned __int64 __fastcall cmos_init_hd ( unsigned int @@a1@@ , unsigned int @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ ) { __int64 v4 ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned __int64 @@v10@@ ; @@v10@@ = __readfsqword ( Number ) ; bdrv_get_geometry_hint ( @@a3@@ , & @@v7@@ , & @@v8@@ , & @@v9@@ ) ; rtc_set_memory ( @@a4@@ , @@a1@@ , Number L ) ; rtc_set_memory ( @@a4@@ , @@a2@@ , @@v7@@ ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , ( unsigned int ) ( ( int ) @@v7@@ >> Number ) ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , @@v8@@ ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , Number L ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , Number L ) ; if ( ( int ) @@v8@@ <= Number ) v4 = Number L ; else v4 = Number L ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , v4 ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , @@v7@@ ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , ( unsigned int ) ( ( int ) @@v7@@ >> Number ) ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , @@v9@@ ) ; return __readfsqword ( Number ) ^ @@v10@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v10", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "hd", "t": {"T": 3, "t": "BlockDriverState_0"}, "location": "r16"}, {"n": "s", "t": {"T": 3, "t": "ISADevice_0"}, "location": "r24"}, {"n": "type_ofs", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "info_ofs", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "sectors", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "heads", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "cylinders", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v9", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 17 | [] |
{"name": "boot_device2nibble", "code": "__int64 __fastcall boot_device2nibble ( char @@a1@@ ) { if ( @@a1@@ == Number ) return Number L ; if ( @@a1@@ <= Number ) { if ( @@a1@@ == Number ) return Number L ; if ( @@a1@@ <= Number ) { if ( @@a1@@ > Number ) return Number L ; if ( @@a1@@ >= Number ) return Number L ; } } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "char", "s": 1}, "location": "r56"}]} | [{"n": "boot_device", "t": {"T": 1, "n": "char", "s": 1}, "location": "r56"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 18 | [] |
{"name": "set_boot_dev", "code": "__int64 __fastcall set_boot_dev ( __int64 @@a1@@ , const char * @@a2@@ , int @@a3@@ ) { __int64 @@result@@ ; int @@i@@ ; __int64 @@v6@@ ; int @@v7@@ ; int @@v8@@ ; unsigned __int64 @@v9@@ ; @@v9@@ = __readfsqword ( Number ) ; @@v7@@ = Number ; @@v8@@ = Number ; @@v6@@ = ( unsigned int ) strlen ( @@a2@@ ) ; if ( ( int ) @@v6@@ <= Number ) { for ( @@i@@ = Number ; @@i@@ < ( int ) @@v6@@ ; ++ @@i@@ ) { * ( ( _DWORD * ) & @@v6@@ + @@i@@ + Number ) = boot_device2nibble ( @@a2@@ [ @@i@@ ] ) ; if ( ! * ( ( _DWORD * ) & @@v6@@ + @@i@@ + Number ) ) { error_report ( String , ( unsigned int ) @@a2@@ [ @@i@@ ] ) ; return Number L ; } } rtc_set_memory ( @@a1@@ , Number L , HIDWORD ( @@v6@@ ) | ( unsigned int ) ( Number * @@v7@@ ) ) ; rtc_set_memory ( @@a1@@ , Number L , ( @@a3@@ == Number ) | ( unsigned int ) ( Number * @@v8@@ ) ) ; @@result@@ = Number L ; } else { error_report ( String ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v9", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "fd_bootchk", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "s", "t": {"T": 3, "t": "ISADevice_0"}, "location": "r56"}, {"n": "boot_device", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "", "t": {"T": 10}, "location": "s12"}, {"n": "", "t": {"T": 10}, "location": "s16"}, {"n": "nbds", "t": {"T": 1, "n": "__int128", "s": 16}, "location": "s24"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v7", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 19 | [
"{\"name\": \"boot_device2nibble\", \"code\": \"__int64 __fastcall boot_device2nibble ( char @@a1@@ ) { if ( @@a1@@ == Number ) return Number L ; if ( @@a1@@ <= Number ) { if ( @@a1@@ == Number ) return Number L ; if ( @@a1@@ <= Number ) { if ( @@a1@@ > Number ) return Number L ; if ( @@a1@@ >= Number ) return Number L ; } } return Number L ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"char\", \"s\": 1}, \"location\": \"r56\"}]}"
] |
{"name": "pc_boot_set", "code": "__int64 __fastcall pc_boot_set ( __int64 @@a1@@ , const char * @@a2@@ ) { return set_boot_dev ( @@a1@@ , @@a2@@ , Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}]} | [{"n": "opaque", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "boot_device", "t": {"T": 3, "t": "const char"}, "location": "r64"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 20 | [
"{\"name\": \"set_boot_dev\", \"code\": \"__int64 __fastcall set_boot_dev ( __int64 @@a1@@ , const char * @@a2@@ , int @@a3@@ ) { __int64 @@result@@ ; int @@i@@ ; __int64 @@v6@@ ; int @@v7@@ ; int @@v8@@ ; unsigned __int64 @@v9@@ ; @@v9@@ = __readfsqword ( Number ) ; @@v7@@ = Number ; @@v8@@ = Number ; @@v6@@ = ( unsigned int ) strlen ( @@a2@@ ) ; if ( ( int ) @@v6@@ <= Number ) { for ( @@i@@ = Number ; @@i@@ < ( int ) @@v6@@ ; ++ @@i@@ ) { * ( ( _DWORD * ) & @@v6@@ + @@i@@ + Number ) = boot_device2nibble ( @@a2@@ [ @@i@@ ] ) ; if ( ! * ( ( _DWORD * ) & @@v6@@ + @@i@@ + Number ) ) { error_report ( String , ( unsigned int ) @@a2@@ [ @@i@@ ] ) ; return Number L ; } } rtc_set_memory ( @@a1@@ , Number L , HIDWORD ( @@v6@@ ) | ( unsigned int ) ( Number * @@v7@@ ) ) ; rtc_set_memory ( @@a1@@ , Number L , ( @@a3@@ == Number ) | ( unsigned int ) ( Number * @@v8@@ ) ) ; @@result@@ = Number L ; } else { error_report ( String ) ; @@result@@ = Number L ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"const char\"}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v6\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s24\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s28\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "pc_cmos_init", "code": "unsigned __int64 __fastcall pc_cmos_init ( unsigned __int64 @@a1@@ , __int64 @@a2@@ , const char * @@a3@@ , __int64 * * @@a4@@ , __int64 @@a5@@ , __int64 @@a6@@ ) { int @@v6@@ ; unsigned int v7 ; int v8 ; int v9 ; int @@v15@@ ; int @@v16@@ ; int @@v17@@ ; unsigned int @@v18@@ ; int @@v19@@ ; int @@i@@ ; int @@v21@@ ; int @@v22@@ ; int @@v23@@ ; unsigned __int64 @@v24@@ ; @@v24@@ = __readfsqword ( Number ) ; rtc_set_memory ( @@a6@@ , Number L , Number L ) ; rtc_set_memory ( @@a6@@ , Number L , Number L ) ; @@v18@@ = ( @@a1@@ >> Number ) - Number ; if ( ( int ) @@v18@@ > Number ) @@v18@@ = Number ; rtc_set_memory ( @@a6@@ , Number L , @@v18@@ ) ; rtc_set_memory ( @@a6@@ , Number L , ( unsigned int ) ( ( int ) @@v18@@ >> Number ) ) ; rtc_set_memory ( @@a6@@ , Number L , @@v18@@ ) ; rtc_set_memory ( @@a6@@ , Number L , ( unsigned int ) ( ( int ) @@v18@@ >> Number ) ) ; if ( @@a2@@ ) { rtc_set_memory ( @@a6@@ , Number L , WORD1 ( @@a2@@ ) ) ; rtc_set_memory ( @@a6@@ , Number L , BYTE3 ( @@a2@@ ) ) ; rtc_set_memory ( @@a6@@ , Number L , HIDWORD ( @@a2@@ ) ) ; } if ( @@a1@@ <= Number ) @@v18@@ = Number ; else @@v18@@ = ( @@a1@@ >> Number ) - Number ; if ( ( int ) @@v18@@ > Number ) @@v18@@ = Number ; rtc_set_memory ( @@a6@@ , Number L , @@v18@@ ) ; rtc_set_memory ( @@a6@@ , Number L , ( unsigned int ) ( ( int ) @@v18@@ >> Number ) ) ; rtc_set_memory ( @@a6@@ , Number L , ( unsigned int ) ( smp_cpus - Number ) ) ; if ( ( unsigned int ) set_boot_dev ( @@a6@@ , @@a3@@ , fd_bootchk ) ) exit ( Number ) ; @@v22@@ = fdctrl_get_drive_type ( @@a5@@ , Number L ) ; @@v23@@ = fdctrl_get_drive_type ( @@a5@@ , Number L ) ; @@v6@@ = Number * cmos_get_fd_drive_type ( @@v22@@ ) ; v7 = cmos_get_fd_drive_type ( @@v23@@ ) ; rtc_set_memory ( @@a6@@ , Number L , @@v6@@ | v7 ) ; @@v18@@ = Number ; @@v19@@ = Number ; if ( @@v22@@ <= Number ) ++ @@v19@@ ; if ( @@v23@@ <= Number ) ++ @@v19@@ ; if ( @@v19@@ == Number ) { @@v18@@ |= Number ; } else if ( @@v19@@ <= Number && @@v19@@ && @@v19@@ == Number ) { @@v18@@ |= Number ; } @@v18@@ |= Number ; rtc_set_memory ( @@a6@@ , Number L , @@v18@@ ) ; if ( * @@a4@@ ) v8 = Number ; else v8 = Number ; if ( @@a4@@ [ Number ] ) v9 = Number ; else v9 = Number ; rtc_set_memory ( @@a6@@ , Number L , v9 | ( unsigned int ) v8 ) ; if ( * @@a4@@ ) cmos_init_hd ( Number , Number , * * @@a4@@ , @@a6@@ ) ; if ( @@a4@@ [ Number ] ) cmos_init_hd ( Number , Number , * @@a4@@ [ Number ] , @@a6@@ ) ; @@v18@@ = Number ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { if ( @@a4@@ [ @@i@@ ] ) { @@v21@@ = bdrv_get_translation_hint ( * @@a4@@ [ @@i@@ ] ) ; if ( @@v21@@ ) { -- @@v21@@ ; } else { bdrv_get_geometry_hint ( * @@a4@@ [ @@i@@ ] , & @@v15@@ , & @@v16@@ , & @@v17@@ ) ; @@v21@@ = @@v15@@ > Number || @@v16@@ > Number || @@v17@@ > Number ; } @@v18@@ |= @@v21@@ << ( Number * @@i@@ ) ; } } rtc_set_memory ( @@a6@@ , Number L , @@v18@@ ) ; return __readfsqword ( Number ) ^ @@v24@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "__int64 *"}, "location": "r24"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "a6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r80"}, {"n": "v24", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "v23", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v22", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "v21", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s40"}, {"n": "v19", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}, {"n": "v18", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s48"}, {"n": "v17", "t": {"T": 1, "n": "int", "s": 4}, "location": "s52"}, {"n": "v16", "t": {"T": 1, "n": "int", "s": 4}, "location": "s56"}, {"n": "v15", "t": {"T": 1, "n": "int", "s": 4}, "location": "s60"}]} | [{"n": "boot_device", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "hd_table", "t": {"T": 3, "t": "DriveInfo_0 *"}, "location": "r24"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "r32"}, {"n": "ram_size", "t": {"T": 1, "n": "ram_addr_t", "s": 8}, "location": "r56"}, {"n": "above_4g_mem_size", "t": {"T": 1, "n": "ram_addr_t", "s": 8}, "location": "r64"}, {"n": "floppy_controller", "t": {"T": 3, "t": "FDCtrl_0"}, "location": "r72"}, {"n": "s", "t": {"T": 3, "t": "ISADevice_0"}, "location": "r80"}, {"n": "v23", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "fd1", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "fd0", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "translation", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s40"}, {"n": "nb", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}, {"n": "val", "t": {"T": 1, "n": "int", "s": 4}, "location": "s48"}, {"n": "sectors", "t": {"T": 1, "n": "int", "s": 4}, "location": "s52"}, {"n": "heads", "t": {"T": 1, "n": "int", "s": 4}, "location": "s56"}, {"n": "cylinders", "t": {"T": 1, "n": "int", "s": 4}, "location": "s60"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 21 | [
"{\"name\": \"cmos_get_fd_drive_type\", \"code\": \"__int64 __fastcall cmos_get_fd_drive_type ( int @@a1@@ ) { if ( @@a1@@ == Number ) return Number ; if ( @@a1@@ > Number ) return Number ; if ( ! @@a1@@ ) return Number ; if ( @@a1@@ != Number ) return Number ; return Number ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r56\"}]}",
"{\"name\": \"cmos_init_hd\", \"code\": \"unsigned __int64 __fastcall cmos_init_hd ( unsigned int @@a1@@ , unsigned int @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ ) { __int64 v4 ; unsigned int @@v7@@ ; unsigned int @@v8@@ ; unsigned int @@v9@@ ; unsigned __int64 @@v10@@ ; @@v10@@ = __readfsqword ( Number ) ; bdrv_get_geometry_hint ( @@a3@@ , & @@v7@@ , & @@v8@@ , & @@v9@@ ) ; rtc_set_memory ( @@a4@@ , @@a1@@ , Number L ) ; rtc_set_memory ( @@a4@@ , @@a2@@ , @@v7@@ ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , ( unsigned int ) ( ( int ) @@v7@@ >> Number ) ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , @@v8@@ ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , Number L ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , Number L ) ; if ( ( int ) @@v8@@ <= Number ) v4 = Number L ; else v4 = Number L ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , v4 ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , @@v7@@ ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , ( unsigned int ) ( ( int ) @@v7@@ >> Number ) ) ; rtc_set_memory ( @@a4@@ , @@a2@@ + Number , @@v9@@ ) ; return __readfsqword ( Number ) ^ @@v10@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r16\"}, {\"n\": \"a4\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r24\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s20\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"set_boot_dev\", \"code\": \"__int64 __fastcall set_boot_dev ( __int64 @@a1@@ , const char * @@a2@@ , int @@a3@@ ) { __int64 @@result@@ ; int @@i@@ ; __int64 @@v6@@ ; int @@v7@@ ; int @@v8@@ ; unsigned __int64 @@v9@@ ; @@v9@@ = __readfsqword ( Number ) ; @@v7@@ = Number ; @@v8@@ = Number ; @@v6@@ = ( unsigned int ) strlen ( @@a2@@ ) ; if ( ( int ) @@v6@@ <= Number ) { for ( @@i@@ = Number ; @@i@@ < ( int ) @@v6@@ ; ++ @@i@@ ) { * ( ( _DWORD * ) & @@v6@@ + @@i@@ + Number ) = boot_device2nibble ( @@a2@@ [ @@i@@ ] ) ; if ( ! * ( ( _DWORD * ) & @@v6@@ + @@i@@ + Number ) ) { error_report ( String , ( unsigned int ) @@a2@@ [ @@i@@ ] ) ; return Number L ; } } rtc_set_memory ( @@a1@@ , Number L , HIDWORD ( @@v6@@ ) | ( unsigned int ) ( Number * @@v7@@ ) ) ; rtc_set_memory ( @@a1@@ , Number L , ( @@a3@@ == Number ) | ( unsigned int ) ( Number * @@v8@@ ) ) ; @@result@@ = Number L ; } else { error_report ( String ) ; @@result@@ = Number L ; } return @@result@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"const char\"}, \"location\": \"r64\"}, {\"n\": \"result\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"v8\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v6\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s24\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s28\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "handle_a20_line_change", "code": "unsigned __int64 __fastcall handle_a20_line_change ( __int64 @@a1@@ , __int64 @@a2@@ , unsigned int @@a3@@ ) { unsigned __int64 @@v4@@ ; @@v4@@ = __readfsqword ( Number ) ; cpu_x86_set_a20 ( @@a1@@ , @@a3@@ ) ; return __readfsqword ( Number ) ^ @@v4@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "level", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "opaque", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "irq", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 22 | [] |
{"name": "bochs_bios_write", "code": "unsigned __int64 __fastcall bochs_bios_write ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ ) { unsigned __int64 @@v4@@ ; @@v4@@ = __readfsqword ( Number ) ; if ( @@a2@@ == Number ) { if ( @@a3@@ == shutdown_str_13828 [ shutdown_index_13829 ] ) { if ( ++ shutdown_index_13829 == Number ) { shutdown_index_13829 = Number ; qemu_system_shutdown_request ( ) ; } } else { shutdown_index_13829 = Number ; } } else if ( @@a2@@ <= Number && @@a2@@ != Number && @@a2@@ <= Number ) { if ( @@a2@@ >= Number ) { fprintf ( stderr , String , @@a3@@ ) ; exit ( Number ) ; } if ( @@a2@@ != Number && @@a2@@ <= Number && @@a2@@ >= Number ) { fprintf ( stderr , String , @@a3@@ ) ; exit ( Number ) ; } } return __readfsqword ( Number ) ^ @@v4@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "val", "t": {"T": 1, "n": "uint32_t", "s": 4}, "location": "r16"}, {"n": "opaque", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "addr", "t": {"T": 1, "n": "uint32_t", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 23 | [] |
{"name": "e820_add_entry", "code": "__int64 __fastcall e820_add_entry ( __int64 @@a1@@ , __int64 @@a2@@ , int @@a3@@ ) { int * @@v4@@ ; if ( ( int ) e820_table [ Number ] > Number ) return Number L ; @@v4@@ = ( int * ) & e820_table [ Number * e820_table [ Number ] + Number ] ; * ( _QWORD * ) @@v4@@ = @@a1@@ ; * ( ( _QWORD * ) @@v4@@ + Number ) = @@a2@@ ; @@v4@@ [ Number ] = @@a3@@ ; ++ e820_table [ Number ] ; return e820_table [ Number ] ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 3, "t": "int"}, "location": "s16"}]} | [{"n": "type", "t": {"T": 1, "n": "uint32_t", "s": 4}, "location": "r16"}, {"n": "address", "t": {"T": 1, "n": "uint64_t", "s": 8}, "location": "r56"}, {"n": "length", "t": {"T": 1, "n": "uint64_t", "s": 8}, "location": "r64"}, {"n": "entry", "t": {"T": 3, "t": "e820_entry"}, "location": "s16"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 24 | [] |
{"name": "bochs_bios_init", "code": "__int64 bochs_bios_init ( ) { __int64 * v0 ; __int64 * v1 ; int i ; int k ; int @@j@@ ; __int64 @@v6@@ ; __int64 @@v7@@ ; __int64 @@v8@@ ; __int64 * @@v9@@ ; unsigned __int64 @@v10@@ ; @@v10@@ = __readfsqword ( Number ) ; register_ioport_write ( Number L , Number L , Number L , bochs_bios_write , Number L ) ; register_ioport_write ( Number L , Number L , Number L , bochs_bios_write , Number L ) ; register_ioport_write ( Number L , Number L , Number L , bochs_bios_write , Number L ) ; register_ioport_write ( Number L , Number L , Number L , bochs_bios_write , Number L ) ; register_ioport_write ( Number L , Number L , Number L , bochs_bios_write , Number L ) ; register_ioport_write ( Number L , Number L , Number L , bochs_bios_write , Number L ) ; register_ioport_write ( Number L , Number L , Number L , bochs_bios_write , Number L ) ; register_ioport_write ( Number L , Number L , Number L , bochs_bios_write , Number L ) ; register_ioport_write ( Number L , Number L , Number L , bochs_bios_write , Number L ) ; @@v7@@ = fw_cfg_init ( Number L , Number L , Number L , Number L ) ; fw_cfg_add_i32 ( @@v7@@ , Number L , Number L ) ; fw_cfg_add_i64 ( @@v7@@ , Number L , ram_size ) ; fw_cfg_add_bytes ( @@v7@@ , Number , acpi_tables , acpi_tables_len ) ; fw_cfg_add_bytes ( @@v7@@ , Number L , & irq0override , Number L ) ; @@v8@@ = smbios_get_table ( & @@v6@@ ) ; if ( @@v8@@ ) fw_cfg_add_bytes ( @@v7@@ , Number L , @@v8@@ , ( unsigned int ) @@v6@@ ) ; fw_cfg_add_bytes ( @@v7@@ , Number L , e820_table , Number L ) ; @@v9@@ = ( __int64 * ) qemu_mallocz ( Number * ( smp_cpus + Number + nb_numa_nodes ) ) ; * @@v9@@ = cpu_to_le64 ( nb_numa_nodes ) ; for ( i = Number ; i < smp_cpus ; ++ i ) { for ( @@j@@ = Number ; @@j@@ < nb_numa_nodes ; ++ @@j@@ ) { if ( ( * ( ( _QWORD * ) & node_cpumask + @@j@@ ) & ( Number << i ) ) != Number L ) { v0 = & @@v9@@ [ i + Number ] ; * v0 = cpu_to_le64 ( @@j@@ ) ; break ; } } } for ( k = Number ; k < nb_numa_nodes ; ++ k ) { v1 = & @@v9@@ [ smp_cpus + Number + k ] ; * v1 = cpu_to_le64 ( * ( ( _QWORD * ) & node_mem + k ) ) ; } fw_cfg_add_bytes ( @@v7@@ , Number L , @@v9@@ , ( unsigned int ) ( Number * ( smp_cpus + Number + nb_numa_nodes ) ) ) ; return @@v7@@ ; }", "source": [{"n": "v10", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "v9", "t": {"T": 3, "t": "__int64"}, "location": "s32"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "j", "t": {"T": 1, "n": "int", "s": 4}, "location": "s60"}]} | [{"n": "v10", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "numa_fw_cfg", "t": {"T": 3, "t": "uint64_t"}, "location": "s32"}, {"n": "smbios_table", "t": {"T": 3, "t": "uint8_t"}, "location": "s40"}, {"n": "fw_cfg", "t": {"T": 3, "t": "void"}, "location": "s48"}, {"n": "smbios_len", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s56"}, {"n": "j", "t": {"T": 1, "n": "int", "s": 4}, "location": "s60"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 25 | [
"{\"name\": \"cpu_to_le64\", \"code\": \"__int64 __fastcall cpu_to_le64 ( __int64 @@a1@@ ) { return @@a1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}]}",
"{\"name\": \"bochs_bios_write\", \"code\": \"unsigned __int64 __fastcall bochs_bios_write ( __int64 @@a1@@ , unsigned int @@a2@@ , unsigned int @@a3@@ ) { unsigned __int64 @@v4@@ ; @@v4@@ = __readfsqword ( Number ) ; if ( @@a2@@ == Number ) { if ( @@a3@@ == shutdown_str_13828 [ shutdown_index_13829 ] ) { if ( ++ shutdown_index_13829 == Number ) { shutdown_index_13829 = Number ; qemu_system_shutdown_request ( ) ; } } else { shutdown_index_13829 = Number ; } } else if ( @@a2@@ <= Number && @@a2@@ != Number && @@a2@@ <= Number ) { if ( @@a2@@ >= Number ) { fprintf ( stderr , String , @@a3@@ ) ; exit ( Number ) ; } if ( @@a2@@ != Number && @@a2@@ <= Number && @@a2@@ >= Number ) { fprintf ( stderr , String , @@a3@@ ) ; exit ( Number ) ; } } return __readfsqword ( Number ) ^ @@v4@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r16\"}, {\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"v4\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "get_file_size", "code": "__int64 __fastcall get_file_size ( FILE * @@a1@@ ) { __int64 @@off@@ ; __int64 @@v3@@ ; @@off@@ = ftell ( @@a1@@ ) ; fseek ( @@a1@@ , Number L , Number ) ; @@v3@@ = ftell ( @@a1@@ ) ; fseek ( @@a1@@ , @@off@@ , Number ) ; return @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "FILE"}, "location": "r56"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "off", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}]} | [{"n": "f", "t": {"T": 3, "t": "FILE"}, "location": "r56"}, {"n": "size", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "where", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 26 | [] |
{"name": "load_linux", "code": "unsigned __int64 __fastcall load_linux ( __int64 @@a1@@ , const char * @@a2@@ , const char * @@a3@@ , const char * @@a4@@ , int @@a5@@ ) { size_t v5 ; size_t v6 ; __int64 v7 ; int * v8 ; char * v9 ; int v10 ; unsigned int @@v11@@ ; char * v12 ; size_t v13 ; unsigned __int16 @@v18@@ ; int v19 ; int v20 ; unsigned int @@v21@@ ; unsigned int @@v22@@ ; unsigned int @@v23@@ ; unsigned int @@v24@@ ; __int16 @@v25@@ ; int @@v26@@ ; unsigned int @@v27@@ ; int @@v28@@ ; unsigned int v29 ; unsigned int v30 ; FILE * @@stream@@ ; char * s1 ; char * s1a ; __int64 @@v34@@ ; void * @@dest@@ ; void * @@v36@@ ; char @@ptr@@ [ Number ] ; __int16 @@v38@@ ; __int16 @@v39@@ [ Number ] ; unsigned __int8 @@v40@@ ; __int16 @@v41@@ [ Number ] ; unsigned int @@v42@@ ; unsigned __int16 @@v43@@ [ Number ] ; char @@v44@@ ; char @@v45@@ ; int @@v46@@ ; int @@v47@@ ; __int16 @@v48@@ ; int @@v49@@ ; unsigned int @@v50@@ [ Number ] ; unsigned __int64 @@v51@@ ; @@v51@@ = __readfsqword ( Number ) ; @@v28@@ = ( strlen ( @@a4@@ ) + Number ) & Number ; @@stream@@ = fopen64 ( @@a2@@ , String ) ; if ( ! @@stream@@ || ( v29 = get_file_size ( @@stream@@ ) ) == Number || ( v29 > Number ? ( v5 = Number ) : ( v5 = ( int ) v29 ) , ( v6 = fread ( @@ptr@@ , Number , v5 , @@stream@@ ) , v29 > Number ) ? ( v7 = Number ) : ( v7 = ( int ) v29 ) , v7 != v6 ) ) { v8 = _errno_location ( ) ; v9 = strerror ( * v8 ) ; fprintf ( stderr , String , @@a2@@ , v9 ) ; exit ( Number ) ; } if ( ( unsigned int ) ldl_le_p ( & @@v42@@ ) == Number ) { @@v18@@ = lduw_le_p ( @@v43@@ ) ; } else { if ( ( unsigned int ) load_multiboot ( @@a1@@ , @@stream@@ , @@a2@@ , @@a3@@ , @@a4@@ , v29 , @@ptr@@ ) ) return __readfsqword ( Number ) ^ @@v51@@ ; @@v18@@ = Number ; } if ( @@v18@@ > Number && ( @@v45@@ & Number ) != Number ) { if ( @@v18@@ > Number ) { @@v22@@ = Number ; @@v24@@ = Number ; } else { @@v22@@ = Number ; @@v24@@ = Number - @@v28@@ ; } @@v23@@ = Number ; } else { @@v22@@ = Number ; @@v24@@ = Number - @@v28@@ ; @@v23@@ = Number ; } if ( @@v18@@ <= Number ) @@v21@@ = Number ; else @@v21@@ = ldl_le_p ( @@v50@@ ) ; if ( @@v21@@ >= @@a5@@ - Number ) @@v21@@ = @@a5@@ - Number ; fw_cfg_add_i32 ( @@a1@@ , Number L , @@v24@@ ) ; v10 = strlen ( @@a4@@ ) ; fw_cfg_add_i32 ( @@a1@@ , Number L , ( unsigned int ) ( v10 + Number ) ) ; @@v11@@ = strlen ( @@a4@@ ) + Number ; v12 = strdup ( @@a4@@ ) ; fw_cfg_add_bytes ( @@a1@@ , Number L , v12 , @@v11@@ ) ; if ( @@v18@@ <= Number ) { stw_le_p ( & @@v38@@ , Number ) ; stw_le_p ( @@v39@@ , @@v24@@ - @@v22@@ ) ; } else { stl_le_p ( & @@v49@@ , @@v24@@ ) ; } s1 = strstr ( @@a4@@ , String ) ; if ( s1 ) { s1a = s1 + Number ; if ( ! strncmp ( s1a , String , Number ) ) { @@v25@@ = Number ; } else if ( ! strncmp ( s1a , String , Number ) ) { @@v25@@ = Number ; } else if ( ! strncmp ( s1a , String , Number ) ) { @@v25@@ = Number ; } else { @@v25@@ = strtol ( s1a , Number L , Number ) ; } stw_le_p ( @@v41@@ , @@v25@@ ) ; } if ( @@v18@@ > Number ) @@v44@@ = Number ; if ( @@v18@@ > Number ) { @@v45@@ |= Number ; stw_le_p ( & @@v48@@ , @@v24@@ - @@v22@@ - Number ) ; } if ( @@a3@@ ) { if ( @@v18@@ <= Number ) { fwrite ( String , Number , Number , stderr ) ; exit ( Number ) ; } @@v26@@ = get_image_size ( @@a3@@ ) ; if ( @@v26@@ < Number ) { fprintf ( stderr , String , @@a3@@ ) ; exit ( Number ) ; } @@v27@@ = ( @@v21@@ - @@v26@@ ) & Number ; @@v34@@ = qemu_malloc ( @@v26@@ ) ; load_image ( @@a3@@ , @@v34@@ ) ; fw_cfg_add_i32 ( @@a1@@ , Number L , @@v27@@ ) ; fw_cfg_add_i32 ( @@a1@@ , Number L , ( unsigned int ) @@v26@@ ) ; fw_cfg_add_bytes ( @@a1@@ , Number L , @@v34@@ , ( unsigned int ) @@v26@@ ) ; stl_le_p ( & @@v46@@ , @@v27@@ ) ; stl_le_p ( & @@v47@@ , @@v26@@ ) ; } v19 = @@v40@@ ; if ( ! @@v40@@ ) v19 = Number ; v20 = ( v19 + Number ) << Number ; v30 = v29 - v20 ; @@dest@@ = ( void * ) qemu_malloc ( v20 ) ; @@v36@@ = ( void * ) qemu_malloc ( ( int ) v30 ) ; fseek ( @@stream@@ , Number L , Number ) ; if ( fread ( @@dest@@ , Number , v20 , @@stream@@ ) != v20 ) { fwrite ( String , Number , Number , stderr ) ; exit ( Number ) ; } if ( fread ( @@v36@@ , Number , ( int ) v30 , @@stream@@ ) != v30 ) { fwrite ( String , Number , Number , stderr ) ; exit ( Number ) ; } fclose ( @@stream@@ ) ; if ( ( unsigned int ) v20 > Number ) v13 = Number ; else v13 = v20 ; memcpy ( @@dest@@ , @@ptr@@ , v13 ) ; fw_cfg_add_i32 ( @@a1@@ , Number L , @@v23@@ ) ; fw_cfg_add_i32 ( @@a1@@ , Number L , v30 ) ; fw_cfg_add_bytes ( @@a1@@ , Number L , @@v36@@ , v30 ) ; fw_cfg_add_i32 ( @@a1@@ , Number L , @@v22@@ ) ; fw_cfg_add_i32 ( @@a1@@ , Number L , ( unsigned int ) v20 ) ; fw_cfg_add_bytes ( @@a1@@ , Number L , @@dest@@ , ( unsigned int ) v20 ) ; * ( ( _QWORD * ) & option_rom + nb_option_roms ) = String ; ++ nb_option_roms ; return __readfsqword ( Number ) ^ @@v51@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "const char"}, "location": "r24"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "v51", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "v50", "t": {"T": 2, "n": 1911, "s": 4, "t": "unsigned int"}, "location": "s7668"}, {"n": "v49", "t": {"T": 1, "n": "int", "s": 4}, "location": "s7672"}, {"n": "v48", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s7676"}, {"n": "v47", "t": {"T": 1, "n": "int", "s": 4}, "location": "s7684"}, {"n": "v46", "t": {"T": 1, "n": "int", "s": 4}, "location": "s7688"}, {"n": "v45", "t": {"T": 1, "n": "char", "s": 1}, "location": "s7695"}, {"n": "v44", "t": {"T": 1, "n": "char", "s": 1}, "location": "s7696"}, {"n": "v43", "t": {"T": 2, "n": 5, "s": 2, "t": "unsigned __int16"}, "location": "s7706"}, {"n": "v42", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s7710"}, {"n": "v41", "t": {"T": 2, "n": 4, "s": 2, "t": "__int16"}, "location": "s7718"}, {"n": "v40", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s7727"}, {"n": "v39", "t": {"T": 2, "n": 231, "s": 2, "t": "__int16"}, "location": "s8190"}, {"n": "v38", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s8192"}, {"n": "ptr", "t": {"T": 2, "n": 32, "s": 1, "t": "char"}, "location": "s8224"}, {"n": "v36", "t": {"T": 3, "t": "void"}, "location": "s8232"}, {"n": "dest", "t": {"T": 3, "t": "void"}, "location": "s8240"}, {"n": "v34", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8248"}, {"n": "stream", "t": {"T": 3, "t": "FILE"}, "location": "s8264"}, {"n": "v28", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8272"}, {"n": "v27", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8276"}, {"n": "v26", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8280"}, {"n": "v25", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s8284"}, {"n": "v24", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8288"}, {"n": "v23", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8292"}, {"n": "v22", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8296"}, {"n": "v21", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8300"}, {"n": "v18", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s8306"}]} | [{"n": "initrd_filename", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "kernel_cmdline", "t": {"T": 3, "t": "const char"}, "location": "r24"}, {"n": "v11", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r32"}, {"n": "fw_cfg", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "kernel_filename", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "max_ram_size", "t": {"T": 1, "n": "target_phys_addr_t", "s": 4}, "location": "r72"}, {"n": "v37", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "", "t": {"T": 10}, "location": "s7668"}, {"n": "", "t": {"T": 10}, "location": "s7672"}, {"n": "", "t": {"T": 10}, "location": "s7676"}, {"n": "", "t": {"T": 10}, "location": "s7684"}, {"n": "", "t": {"T": 10}, "location": "s7688"}, {"n": "", "t": {"T": 10}, "location": "s7695"}, {"n": "", "t": {"T": 10}, "location": "s7696"}, {"n": "", "t": {"T": 10}, "location": "s7706"}, {"n": "", "t": {"T": 10}, "location": "s7710"}, {"n": "", "t": {"T": 10}, "location": "s7718"}, {"n": "", "t": {"T": 10}, "location": "s7727"}, {"n": "", "t": {"T": 10}, "location": "s8190"}, {"n": "", "t": {"T": 10}, "location": "s8192"}, {"n": "header", "t": {"T": 2, "n": 8192, "s": 1, "t": "uint8_t"}, "location": "s8224"}, {"n": "kernel", "t": {"T": 3, "t": "uint8_t"}, "location": "s8232"}, {"n": "setup", "t": {"T": 3, "t": "uint8_t"}, "location": "s8240"}, {"n": "initrd_data", "t": {"T": 3, "t": "uint8_t"}, "location": "s8248"}, {"n": "f", "t": {"T": 3, "t": "FILE"}, "location": "s8264"}, {"n": "cmdline_size", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8272"}, {"n": "initrd_addr", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8276"}, {"n": "initrd_size", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8280"}, {"n": "video_mode", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8284"}, {"n": "cmdline_addr", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8288"}, {"n": "prot_addr", "t": {"T": 1, "n": "target_phys_addr_t", "s": 4}, "location": "s8292"}, {"n": "real_addr", "t": {"T": 1, "n": "target_phys_addr_t", "s": 4}, "location": "s8296"}, {"n": "initrd_max", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s8300"}, {"n": "protocol", "t": {"T": 1, "n": "uint16_t", "s": 2}, "location": "s8306"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 27 | [
"{\"name\": \"lduw_le_p\", \"code\": \"__int64 __fastcall lduw_le_p ( unsigned __int16 * @@a1@@ ) { return * @@a1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"unsigned __int16\"}, \"location\": \"r56\"}]}",
"{\"name\": \"ldl_le_p\", \"code\": \"__int64 __fastcall ldl_le_p ( unsigned int * @@a1@@ ) { return * @@a1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"unsigned int\"}, \"location\": \"r56\"}]}",
"{\"name\": \"stw_le_p\", \"code\": \"unsigned __int64 __fastcall stw_le_p ( _WORD * @@a1@@ , __int16 @@a2@@ ) { unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; * @@a1@@ = @@a2@@ ; return __readfsqword ( Number ) ^ @@v3@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"_WORD\"}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"__int16\", \"s\": 2}, \"location\": \"r64\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"stl_le_p\", \"code\": \"unsigned __int64 __fastcall stl_le_p ( _DWORD * @@a1@@ , int @@a2@@ ) { unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; * @@a1@@ = @@a2@@ ; return __readfsqword ( Number ) ^ @@v3@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"get_file_size\", \"code\": \"__int64 __fastcall get_file_size ( FILE * @@a1@@ ) { __int64 @@off@@ ; __int64 @@v3@@ ; @@off@@ = ftell ( @@a1@@ ) ; fseek ( @@a1@@ , Number L , Number ) ; @@v3@@ = ftell ( @@a1@@ ) ; fseek ( @@a1@@ , @@off@@ , Number ) ; return @@v3@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"FILE\"}, \"location\": \"r56\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"off\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s24\"}]}"
] |
{"name": "pc_audio_init", "code": "unsigned __int64 __fastcall pc_audio_init ( __int64 @@a1@@ , __int64 @@a2@@ ) { void ( __fastcall * * @@i@@ ) ( _QWORD ) ; unsigned __int64 @@v4@@ ; @@v4@@ = __readfsqword ( Number ) ; for ( @@i@@ = ( void ( __fastcall * * ) ( _QWORD ) ) & soundhw ; * @@i@@ ; @@i@@ += Number ) { if ( * ( ( _DWORD * ) @@i@@ + Number ) ) { if ( * ( ( _DWORD * ) @@i@@ + Number ) ) { @@i@@ [ Number ] ( @@a2@@ ) ; } else if ( @@a1@@ ) { @@i@@ [ Number ] ( @@a1@@ ) ; } } } return __readfsqword ( Number ) ^ @@v4@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "i", "t": {"T": 9, "n": "void (__fastcall **)(_QWORD)"}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "pci_bus", "t": {"T": 3, "t": "PCIBus_0"}, "location": "r56"}, {"n": "pic", "t": {"T": 3, "t": "qemu_irq"}, "location": "r64"}, {"n": "c", "t": {"T": 3, "t": "soundhw"}, "location": "s16"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 28 | [] |
{"name": "pc_init_ne2k_isa", "code": "unsigned __int64 __fastcall pc_init_ne2k_isa ( __int64 @@a1@@ ) { unsigned __int64 @@v2@@ ; @@v2@@ = __readfsqword ( Number ) ; if ( nb_ne2k_13909 != Number ) { isa_ne2000_init ( ( unsigned int ) ne2000_io [ nb_ne2k_13909 ] , ( unsigned int ) ne2000_irq [ nb_ne2k_13909 ] , @@a1@@ ) ; ++ nb_ne2k_13909 ; } return __readfsqword ( Number ) ^ @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "nd", "t": {"T": 3, "t": "NICInfo_0"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 29 | [] |
{"name": "cpu_is_bsp", "code": "_BOOL8 __fastcall cpu_is_bsp ( __int64 @@a1@@ ) { return * ( _DWORD * ) ( @@a1@@ + Number ) == Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} | [{"n": "env", "t": {"T": 3, "t": "CPUX86State"}, "location": "r56"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 30 | [] |
{"name": "pc_cmos_set_s3_resume", "code": "unsigned __int64 __fastcall pc_cmos_set_s3_resume ( __int64 @@a1@@ , __int64 @@a2@@ , int @@a3@@ ) { unsigned __int64 @@v4@@ ; @@v4@@ = __readfsqword ( Number ) ; if ( @@a3@@ ) rtc_set_memory ( @@a1@@ , Number L , Number L ) ; return __readfsqword ( Number ) ^ @@v4@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "level", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "opaque", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "irq", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 31 | [] |
{"name": "pc_acpi_smi_interrupt", "code": "unsigned __int64 __fastcall pc_acpi_smi_interrupt ( __int64 @@a1@@ , __int64 @@a2@@ , int @@a3@@ ) { unsigned __int64 @@v4@@ ; @@v4@@ = __readfsqword ( Number ) ; if ( @@a3@@ ) cpu_interrupt ( @@a1@@ , Number L ) ; return __readfsqword ( Number ) ^ @@v4@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "level", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "opaque", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "irq", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 32 | [] |
{"name": "pc_new_cpu", "code": "_DWORD * __fastcall pc_new_cpu ( __int64 @@a1@@ ) { _DWORD * @@v2@@ ; @@v2@@ = ( _DWORD * ) cpu_x86_init ( @@a1@@ ) ; if ( ! @@v2@@ ) { fwrite ( String , Number , Number , stderr ) ; exit ( Number ) ; } if ( ( @@v2@@ [ Number ] & Number ) != Number || smp_cpus > Number ) { @@v2@@ [ Number ] = @@v2@@ [ Number ] ; apic_init ( @@v2@@ ) ; } else { qemu_register_reset ( & cpu_reset , @@v2@@ ) ; } return @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "_DWORD"}, "location": "s16"}]} | [{"n": "cpu_model", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "env", "t": {"T": 3, "t": "CPUX86State"}, "location": "s16"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 33 | [] |
{"name": "pc_cpus_init", "code": "unsigned __int64 __fastcall pc_cpus_init ( const char * @@a1@@ ) { const char * @@v2@@ ; int @@i@@ ; unsigned __int64 @@v4@@ ; @@v2@@ = @@a1@@ ; @@v4@@ = __readfsqword ( Number ) ; if ( ! @@a1@@ ) @@v2@@ = String ; for ( @@i@@ = Number ; @@i@@ < smp_cpus ; ++ @@i@@ ) pc_new_cpu ( ( __int64 ) @@v2@@ ) ; return __readfsqword ( Number ) ^ @@v4@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v2", "t": {"T": 3, "t": "const char"}, "location": "s24"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "cpu_model", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "cpu_modela", "t": {"T": 3, "t": "const char"}, "location": "s24"}, {"n": "", "t": {"T": 10}, "location": "s8"}] | data1/train-shard-10.tar | 175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554_175719ff71407cbf188d1211d3fbe04d041cfc405d3d94272705b4f7a7359554.jsonl | 34 | [
"{\"name\": \"pc_new_cpu\", \"code\": \"_DWORD * __fastcall pc_new_cpu ( __int64 @@a1@@ ) { _DWORD * @@v2@@ ; @@v2@@ = ( _DWORD * ) cpu_x86_init ( @@a1@@ ) ; if ( ! @@v2@@ ) { fwrite ( String , Number , Number , stderr ) ; exit ( Number ) ; } if ( ( @@v2@@ [ Number ] & Number ) != Number || smp_cpus > Number ) { @@v2@@ [ Number ] = @@v2@@ [ Number ] ; apic_init ( @@v2@@ ) ; } else { qemu_register_reset ( & cpu_reset , @@v2@@ ) ; } return @@v2@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"v2\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"s16\"}]}"
] |