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": "distribute_list_all", "code": "__int64 __fastcall distribute_list_all ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ ) { const char * v4 ; if ( * * ( _BYTE * * ) ( @@a4@@ + Number ) == Number ) { distribute_list_set ( Number L , Number , * ( const char * * ) @@a4@@ ) ; return Number L ; } if ( * * ( _BYTE * * ) ( @@a4@@ + Number ) == Number ) { distribute_list_set ( Number L , Number , * ( const char * * ) @@a4@@ ) ; return Number L ; } if ( * ( _DWORD * ) ( @@a2@@ + Number ) ) v4 = ( const char * ) & unk_1AE4 ; else v4 = ( const char * ) & unk_1AE1 ; vty_out ( @@a2@@ , String , v4 ) ; return Number L ; }", "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": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]}
[{"n": "argc", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "argv", "t": {"T": 3, "t": "char *"}, "location": "r24"}, {"n": "self", "t": {"T": 3, "t": "cmd_element"}, "location": "r56"}, {"n": "vty", "t": {"T": 3, "t": "vty"}, "location": "r64"}]
data1/train-shard-10.tar
f6a07eb51f03cae37a0324536b8ef0afc31d4dbf25d26d22178cedf1d777d9bb_f6a07eb51f03cae37a0324536b8ef0afc31d4dbf25d26d22178cedf1d777d9bb.jsonl
13
[ "{\"name\": \"distribute_list_set\", \"code\": \"__int64 __fastcall distribute_list_set ( __int64 @@a1@@ , int @@a2@@ , const char * @@a3@@ ) { __int64 @@v5@@ ; @@v5@@ = distribute_get ( @@a1@@ ) ; if ( ! @@a2@@ ) { if ( * ( _QWORD * ) ( @@v5@@ + Number ) ) free ( * ( void * * ) ( @@v5@@ + Number ) ) ; * ( _QWORD * ) ( @@v5@@ + Number ) = strdup ( @@a3@@ ) ; } if ( @@a2@@ == Number ) { if ( * ( _QWORD * ) ( @@v5@@ + Number ) ) free ( * ( void * * ) ( @@v5@@ + Number ) ) ; * ( _QWORD * ) ( @@v5@@ + Number ) = strdup ( @@a3@@ ) ; } distribute_add_hook ( @@v5@@ ) ; return @@v5@@ ; }\", \"source\": [{\"n\": \"a3\", \"t\": {\"T\": 3, \"t\": \"const char\"}, \"location\": \"r16\"}, {\"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\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s8\"}]}", "{\"name\": \"distribute_list\", \"code\": \"__int64 __fastcall distribute_list ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ ) { const char * v4 ; if ( * * ( _BYTE * * ) ( @@a4@@ + Number ) == Number ) { distribute_list_set ( * ( _QWORD * ) ( @@a4@@ + Number ) , Number , * ( const char * * ) @@a4@@ ) ; return Number L ; } if ( * * ( _BYTE * * ) ( @@a4@@ + Number ) == Number ) { distribute_list_set ( * ( _QWORD * ) ( @@a4@@ + Number ) , Number , * ( const char * * ) @@a4@@ ) ; return Number L ; } if ( * ( _DWORD * ) ( @@a2@@ + Number ) ) v4 = ( const char * ) & unk_1AE4 ; else v4 = ( const char * ) & unk_1AE1 ; vty_out ( @@a2@@ , String , v4 ) ; return Number L ; }\", \"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\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r64\"}]}" ]
{"name": "no_distribute_list_all", "code": "__int64 __fastcall no_distribute_list_all ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ ) { int @@v4@@ ; const char * v5 ; const char * v7 ; if ( * * ( _BYTE * * ) ( @@a4@@ + Number ) == Number ) { @@v4@@ = distribute_list_unset ( Number L , Number , * ( const char * * ) @@a4@@ ) ; goto LABEL_9 ; } if ( * * ( _BYTE * * ) ( @@a4@@ + Number ) == Number ) { @@v4@@ = distribute_list_unset ( Number L , Number , * ( const char * * ) @@a4@@ ) ; LABEL_9 : if ( @@v4@@ ) return Number L ; if ( * ( _DWORD * ) ( @@a2@@ + Number ) ) v7 = ( const char * ) & unk_1AE4 ; else v7 = ( const char * ) & unk_1AE1 ; vty_out ( @@a2@@ , String , v7 ) ; return Number L ; } if ( * ( _DWORD * ) ( @@a2@@ + Number ) ) v5 = ( const char * ) & unk_1AE4 ; else v5 = ( const char * ) & unk_1AE1 ; vty_out ( @@a2@@ , String , v5 ) ; return Number L ; }", "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": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}]}
[{"n": "argc", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "argv", "t": {"T": 3, "t": "char *"}, "location": "r24"}, {"n": "self", "t": {"T": 3, "t": "cmd_element"}, "location": "r56"}, {"n": "vty", "t": {"T": 3, "t": "vty"}, "location": "r64"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}]
data1/train-shard-10.tar
f6a07eb51f03cae37a0324536b8ef0afc31d4dbf25d26d22178cedf1d777d9bb_f6a07eb51f03cae37a0324536b8ef0afc31d4dbf25d26d22178cedf1d777d9bb.jsonl
14
[ "{\"name\": \"distribute_list_unset\", \"code\": \"__int64 __fastcall distribute_list_unset ( __int64 @@a1@@ , int @@a2@@ , const char * @@a3@@ ) { __int64 @@v5@@ ; @@v5@@ = distribute_lookup ( @@a1@@ ) ; if ( ! @@v5@@ ) return Number L ; if ( ! @@a2@@ ) { if ( ! * ( _QWORD * ) ( @@v5@@ + Number ) ) return Number L ; if ( strcmp ( * ( const char * * ) ( @@v5@@ + Number ) , @@a3@@ ) ) return Number L ; free ( * ( void * * ) ( @@v5@@ + Number ) ) ; * ( _QWORD * ) ( @@v5@@ + Number ) =