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": "block_angle", "code": "double __fastcall block_angle ( int @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ , _DWORD * @@a5@@ ) { double @@v9@@ ; double @@v10@@ ; @@v10@@ = atan2 ( ( double ) ( @@a2@@ - @@a4@@ ) , ( double ) ( @@a1@@ - @@a3@@ ) ) ; @@v9@@ = atan2 ( ( double ) ( @@a2@@ - @@a4@@ + @@a5@@ [ Number ] ) , ( double ) ( @@a1@@ - @@a3@@ + * @@a5@@ ) ) - @@v10@@ ; if ( @@v9@@ > Number ) return @@v9@@ - Number ; if ( @@v9@@ >= Number ) return @@v9@@ ; return @@v9@@ + 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": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "a5", "t": {"T": 3, "t": "_DWORD"}, "location": "r72"}, {"n": "v10", "t": {"T": 1, "n": "double", "s": 8}, "location": "s16"}, {"n": "v9", "t": {"T": 1, "n": "double", "s": 8}, "location": "s32"}]} | [{"n": "cx_0", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "cy", "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": "shift", "t": {"T": 3, "t": "IntMotionVector"}, "location": "r72"}, {"n": "a1", "t": {"T": 1, "n": "double", "s": 8}, "location": "s16"}, {"n": "diff", "t": {"T": 1, "n": "double", "s": 8}, "location": "s32"}] | data1/train-shard-10.tar | 96f92e16a8a2ab6032675558d50d9be7435176ce2694af8ebecfb76a068de428_96f92e16a8a2ab6032675558d50d9be7435176ce2694af8ebecfb76a068de428.jsonl | 4 | [] |
{"name": "deshake_transform_c", "code": "__int64 __fastcall deshake_transform_c ( __int64 @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ , int @@a5@@ , __int64 @@a6@@ , __int64 @@a7@@ , unsigned int @@a8@@ , unsigned int @@a9@@ , __int64 @@a10@@ , __int64 @@a11@@ ) { int @@v12@@ [ Number ] ; int @@v13@@ [ Number ] ; __int64 @@v14@@ [ Number ] ; unsigned int @@v15@@ ; int @@i@@ ; @@v15@@ = Number ; @@v14@@ [ Number ] = @@a6@@ ; @@v14@@ [ Number ] = @@a7@@ ; @@v14@@ [ Number ] = @@a7@@ ; @@v13@@ [ Number ] = @@a2@@ ; @@v13@@ [ Number ] = @@a4@@ ; @@v13@@ [ Number ] = @@a4@@ ; @@v12@@ [ Number ] = @@a3@@ ; @@v12@@ [ Number ] = @@a5@@ ; @@v12@@ [ Number ] = @@a5@@ ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { @@v15@@ = avfilter_transform ( * ( _QWORD * ) ( @@a10@@ + Number L * @@i@@ ) , * ( _QWORD * ) ( @@a11@@ + Number L * @@i@@ ) , * ( unsigned int * ) ( @@a10@@ + Number * ( @@i@@ + Number L ) ) , * ( unsigned int * ) ( @@a11@@ + Number * ( @@i@@ + Number L ) ) , ( unsigned int ) @@v13@@ [ @@i@@ ] , ( unsigned int ) @@v12@@ [ @@i@@ ] , @@v14@@ [ @@i@@ ] , @@a8@@ , @@a9@@ ) ; if ( ( @@v15@@ & Number ) != Number ) return @@v15@@ ; } 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": "__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": "a6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r80"}, {"n": "a8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s-16"}, {"n": "a9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s-24"}, {"n": "a10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s-32"}, {"n": "a11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s-40"}, {"n": "a7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s-8"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s16"}, {"n": "v14", "t": {"T": 2, "n": 3, "s": 8, "t": "__int64"}, "location": "s40"}, {"n": "v13", "t": {"T": 2, "n": 3, "s": 4, "t": "int"}, "location": "s52"}, {"n": "v12", "t": {"T": 2, "n": 3, "s": 4, "t": "int"}, "location": "s64"}]} | [{"n": "height", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "cw", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "ctx", "t": {"T": 3, "t": "AVFilterContext_0"}, "location": "r56"}, {"n": "width", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "ch_0", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "matrix_y", "t": {"T": 3, "t": "const float"}, "location": "r80"}, {"n": "interpolate", "t": {"T": 1, "n": "InterpolateMethod", "s": 4}, "location": "s-16"}, {"n": "fill", "t": {"T": 1, "n": "FillMethod", "s": 4}, "location": "s-24"}, {"n": "in", "t": {"T": 3, "t": "AVFrame_0"}, "location": "s-32"}, {"n": "out", "t": {"T": 3, "t": "AVFrame_0"}, "location": "s-40"}, {"n": "matrix_uv", "t": {"T": 3, "t": "const float"}, "location": "s-8"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}, {"n": "ret", "t": {"T": 1, "n": "int", "s": 4}, "location": "s16"}, {"n": "matrixs", "t": {"T": 2, "n": 3, "s": 8, "t": "const float *"}, "location": "s40"}, {"n": "plane_w", "t": {"T": 2, "n": 3, "s": 4, "t": "int"}, "location": "s52"}, {"n": "plane_h", "t": {"T": 2, "n": 3, "s": 4, "t": "int"}, "location": "s64"}] | data1/train-shard-10.tar | 96f92e16a8a2ab6032675558d50d9be7435176ce2694af8ebecfb76a068de428_96f92e16a8a2ab6032675558d50d9be7435176ce2694af8ebecfb76a068de428.jsonl | 6 | [] |
{"name": "init", "code": "__int64 __fastcall init ( __int64 @@a1@@ ) { int v1 ; __int64 result ; int @@v3@@ ; __int64 @@v4@@ ; @@v4@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _DWORD * ) ( @@v4@@ + Number ) = Number ; * ( int * ) ( @@v4@@ + Number ) /= Number ; @@v3@@ = * ( _DWORD * ) ( @@v4@@ + Number ) ; if ( @@v3@@ >= Number ) { if ( @@v3@@ <= Number ) v1 = * ( _DWORD * ) ( @@v4@@ + Number ) ; else v1 = Number ; } else { v1 = Number ; } * ( _DWORD * ) ( @@v4@@ + Number ) = v1 ; if ( ( * ( _DWORD * ) ( @@v4@@ + Number ) & Number ) != Number ) { av_log ( @@a1@@ , Number L , String ) ; result = Number L ; } else { if ( * ( _QWORD * ) ( @@v4@@ + Number ) ) * ( _QWORD * ) ( @@v4@@ + Number ) = fopen64 ( * ( const char * * ) ( @@v4@@ + Number ) , String ) ; if ( * ( _QWORD * ) ( @@v4@@ + Number ) ) fwrite ( String , Number , Number , * ( FILE * * ) ( @@v4@@ + Number ) ) ; if ( * ( int * ) ( @@v4@@ + Number ) > Number ) { * ( _DWORD * ) ( @@v4@@ + Number ) += * ( _DWORD * ) ( @@v4@@ + Number ) & Number ; * ( _DWORD * ) ( @@v4@@ + Number ) &= Number ; } * ( _QWORD * ) ( @@v4@@ + Number ) = deshake_transform_c ; if ( * ( _DWORD * ) ( @@v4@@ + Number ) ) { av_log ( @@a1@@ , Number L , String ) ; result = Number L ; } else { av_log ( @@a1@@ , Number L , String , * ( unsigned int * ) ( @@v4@@ + Number ) , * ( unsigned int * ) ( @@v4@@ + Number ) , * ( unsigned int * ) ( @@v4@@ + Number ) , * ( unsigned int * ) ( @@v4@@ + Number ) , * ( unsigned int * ) ( @@v4@@ + Number ) , * ( unsigned int * ) ( @@v4@@ + Number ) , * ( unsigned int * ) ( @@v4@@ + Number ) , ( unsigned int ) ( Number * * ( _DWORD * ) ( @@v4@@ + Number ) ) , * ( unsigned int * ) ( @@v4@@ + Number ) , * ( unsigned int * ) ( @@v4@@ + Number ) ) ; result = Number L ; } } return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}]} | [{"n": "ctx", "t": {"T": 3, "t": "AVFilterContext_0"}, "location": "r56"}, {"n": "deshake", "t": {"T": 3, "t": "DeshakeContext"}, "location": "s32"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}] | data1/train-shard-10.tar | 96f92e16a8a2ab6032675558d50d9be7435176ce2694af8ebecfb76a068de428_96f92e16a8a2ab6032675558d50d9be7435176ce2694af8ebecfb76a068de428.jsonl | 7 | [
"{\"name\": \"deshake_transform_c\", \"code\": \"__int64 __fastcall deshake_transform_c ( __int64 @@a1@@ , int @@a2@@ , int @@a3@@ , int @@a4@@ , int @@a5@@ , __int64 @@a6@@ , __int64 @@a7@@ , unsigned int @@a8@@ , unsigned int @@a9@@ , __int64 @@a10@@ , __int64 @@a11@@ ) { int @@v12@@ [ Number ] ; int @@v13@@ [ Number ] ; __int64 @@v14@@ [ Number ] ; unsigned int @@v15@@ ; int @@i@@ ; @@v15@@ = Number ; @@v14@@ [ Number ] = @@a6@@ ; @@v14@@ [ Number ] = @@a7@@ ; @@v14@@ [ Number ] = @@a7@@ ; @@v13@@ [ Number ] = @@a2@@ ; @@v13@@ [ Number ] = @@a4@@ ; @@v13@@ [ Number ] = @@a4@@ ; @@v12@@ [ Number ] = @@a3@@ ; @@v12@@ [ Number ] = @@a5@@ ; @@v12@@ [ Number ] = @@a5@@ ; for ( @@i@@ = Number ; @@i@@ <= Number ; ++ @@i@@ ) { @@v15@@ = avfilter_transform ( * ( _QWORD * ) ( @@a10@@ + Number L * @@i@@ ) , * ( _QWORD * ) ( @@a11@@ + Number L * @@i@@ ) , * ( unsigned int * ) ( @@a10@@ + Number * ( @@i@@ + Number L ) ) , * ( unsigned int * ) ( @@a11@@ + Number * ( @@i@@ + Number L ) ) , ( unsigned int ) @@v13@@ [ @@i@@ ] , ( unsigned int ) @@v12@@ [ @@i@@ ] , @@v14@@ [ @@i@@ ] , @@a8@@ , @@a9@@ ) ; if ( ( @@v15@@ & Number ) != Number ) return @@v15@@ ; } 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\": \"__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\": \"a6\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r80\"}, {\"n\": \"a8\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s-16\"}, {\"n\": \"a9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s-24\"}, {\"n\": \"a10\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s-32\"}, {\"n\": \"a11\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s-40\"}, {\"n\": \"a7\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s-8\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s12\"}, {\"n\": \"v15\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s16\"}, {\"n\": \"v14\", \"t\": {\"T\": 2, \"n\": 3, \"s\": 8, \"t\": \"__int64\"}, \"location\": \"s40\"}, {\"n\": \"v13\", \"t\": {\"T\": 2, \"n\": 3, \"s\": 4, \"t\": \"int\"}, \"location\": \"s52\"}, {\"n\": \"v12\", \"t\": {\"T\": 2, \"n\": 3, \"s\": 4, \"t\": \"int\"}, \"location\": \"s64\"}]}"
] |
{"name": "query_formats", "code": "__int64 __fastcall query_formats ( __int64 @@a1@@ ) { __int64 @@v1@@ ; @@v1@@ = ff_make_format_list ( & pix_fmts_11045 ) ; ff_set_common_formats ( @@a1@@ , @@v1@@ ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "ctx", "t": {"T": 3, "t": "AVFilterContext_0"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | 96f92e16a8a2ab6032675558d50d9be7435176ce2694af8ebecfb76a068de428_96f92e16a8a2ab6032675558d50d9be7435176ce2694af8ebecfb76a068de428.jsonl | 8 | [] |
{"name": ".free", "code": "void free ( void * @@ptr@@ ) { free ( @@ptr@@ ) ; }", "source": [{"n": "ptr", "t": {"T": 3, "t": "void"}, "location": "r56"}]} | [{"n": "ptr", "t": {"T": 3, "t": "void"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 1 | [] |
{"name": ".name_to_handle_at", "code": "int name_to_handle_at ( int @@dfd@@ , const char * @@name@@ , struct file_handle * @@handle@@ , int * @@mnt_id@@ , int @@flags@@ ) { return name_to_handle_at ( @@dfd@@ , @@name@@ , @@handle@@ , @@mnt_id@@ , @@flags@@ ) ; }", "source": [{"n": "handle", "t": {"T": 3, "t": "struct file_handle"}, "location": "r16"}, {"n": "mnt_id", "t": {"T": 3, "t": "int"}, "location": "r24"}, {"n": "dfd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "name", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "flags", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}]} | [{"n": "handle", "t": {"T": 3, "t": "struct file_handle"}, "location": "r16"}, {"n": "mnt_id", "t": {"T": 3, "t": "int"}, "location": "r24"}, {"n": "dfd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "name", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "flags", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 2 | [] |
{"name": ".recv", "code": "ssize_t recv ( int @@fd@@ , void * @@buf@@ , size_t @@n@@ , int @@flags@@ ) { return recv ( @@fd@@ , @@buf@@ , @@n@@ , @@flags@@ ) ; }", "source": [{"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "flags", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "buf", "t": {"T": 3, "t": "void"}, "location": "r64"}]} | [{"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "flags", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "buf", "t": {"T": 3, "t": "void"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 3 | [] |
{"name": ".nftw", "code": "int nftw ( const char * @@dir@@ , __nftw_func_t @@func@@ , int @@descriptors@@ , int @@flag@@ ) { return nftw ( @@dir@@ , @@func@@ , @@descriptors@@ , @@flag@@ ) ; }", "source": [{"n": "descriptors", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "flag", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "dir", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "func", "t": {"T": 9, "n": "__nftw_func_t"}, "location": "r64"}]} | [{"n": "descriptors", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "flag", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "dir", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "func", "t": {"T": 9, "n": "__nftw_func_t"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 4 | [] |
{"name": ".strncmp", "code": "int strncmp ( const char * @@s1@@ , const char * @@s2@@ , size_t @@n@@ ) { return strncmp ( @@s1@@ , @@s2@@ , @@n@@ ) ; }", "source": [{"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "s1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "s2", "t": {"T": 3, "t": "const char"}, "location": "r64"}]} | [{"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "s1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "s2", "t": {"T": 3, "t": "const char"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 5 | [] |
{"name": ".strcpy", "code": "char * strcpy ( char * @@dest@@ , const char * @@src@@ ) { return strcpy ( @@dest@@ , @@src@@ ) ; }", "source": [{"n": "dest", "t": {"T": 3, "t": "char"}, "location": "r56"}, {"n": "src", "t": {"T": 3, "t": "const char"}, "location": "r64"}]} | [{"n": "dest", "t": {"T": 3, "t": "char"}, "location": "r56"}, {"n": "src", "t": {"T": 3, "t": "const char"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 6 | [] |
{"name": ".mkdir", "code": "int mkdir ( const char * @@path@@ , __mode_t @@mode@@ ) { return mkdir ( @@path@@ , @@mode@@ ) ; }", "source": [{"n": "path", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "mode", "t": {"T": 1, "n": "__mode_t", "s": 4}, "location": "r64"}]} | [{"n": "path", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "mode", "t": {"T": 1, "n": "__mode_t", "s": 4}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 7 | [] |
{"name": ".puts", "code": "int puts ( const char * @@s@@ ) { return puts ( @@s@@ ) ; }", "source": [{"n": "s", "t": {"T": 3, "t": "const char"}, "location": "r56"}]} | [{"n": "s", "t": {"T": 3, "t": "const char"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 8 | [] |
{"name": ".qsort", "code": "void qsort ( void * @@base@@ , size_t @@nmemb@@ , size_t @@size@@ , __compar_fn_t @@compar@@ ) { qsort ( @@base@@ , @@nmemb@@ , @@size@@ , @@compar@@ ) ; }", "source": [{"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "compar", "t": {"T": 9, "n": "__compar_fn_t"}, "location": "r24"}, {"n": "base", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "nmemb", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r64"}]} | [{"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "compar", "t": {"T": 9, "n": "__compar_fn_t"}, "location": "r24"}, {"n": "base", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "nmemb", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 9 | [] |
{"name": ".setsockopt", "code": "int setsockopt ( int @@fd@@ , int @@level@@ , int @@optname@@ , const void * @@optval@@ , socklen_t @@optlen@@ ) { return setsockopt ( @@fd@@ , @@level@@ , @@optname@@ , @@optval@@ , @@optlen@@ ) ; }", "source": [{"n": "optname", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "optval", "t": {"T": 3, "t": "const void"}, "location": "r24"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "level", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "optlen", "t": {"T": 1, "n": "socklen_t", "s": 4}, "location": "r72"}]} | [{"n": "optname", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "optval", "t": {"T": 3, "t": "const void"}, "location": "r24"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "level", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "optlen", "t": {"T": 1, "n": "socklen_t", "s": 4}, "location": "r72"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 10 | [] |
{"name": ".unshare", "code": "int unshare ( int @@flags@@ ) { return unshare ( @@flags@@ ) ; }", "source": [{"n": "flags", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}]} | [{"n": "flags", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 11 | [] |
{"name": ".dup3", "code": "int dup3 ( int @@fd@@ , int @@fd2@@ , int @@flags@@ ) { return dup3 ( @@fd@@ , @@fd2@@ , @@flags@@ ) ; }", "source": [{"n": "flags", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "fd2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}]} | [{"n": "flags", "t": {"T": 1, "n": "int", "s": 4}, "location": "r16"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "fd2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 12 | [] |
{"name": ".rmdir", "code": "int rmdir ( const char * @@path@@ ) { return rmdir ( @@path@@ ) ; }", "source": [{"n": "path", "t": {"T": 3, "t": "const char"}, "location": "r56"}]} | [{"n": "path", "t": {"T": 3, "t": "const char"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 13 | [] |
{"name": ".strlen", "code": "size_t strlen ( const char * @@s@@ ) { return strlen ( @@s@@ ) ; }", "source": [{"n": "s", "t": {"T": 3, "t": "const char"}, "location": "r56"}]} | [{"n": "s", "t": {"T": 3, "t": "const char"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 14 | [] |
{"name": ".mount", "code": "int mount ( const char * @@special_file@@ , const char * @@dir@@ , const char * @@fstype@@ , unsigned __int64 @@rwflag@@ , const void * @@data@@ ) { return mount ( @@special_file@@ , @@dir@@ , @@fstype@@ , @@rwflag@@ , @@data@@ ) ; }", "source": [{"n": "fstype", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "rwflag", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r24"}, {"n": "special_file", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "dir", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "data", "t": {"T": 3, "t": "const void"}, "location": "r72"}]} | [{"n": "fstype", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "rwflag", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r24"}, {"n": "special_file", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "dir", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "data", "t": {"T": 3, "t": "const void"}, "location": "r72"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 15 | [] |
{"name": ".send", "code": "ssize_t send ( int @@fd@@ , const void * @@buf@@ , size_t @@n@@ , int @@flags@@ ) { return send ( @@fd@@ , @@buf@@ , @@n@@ , @@flags@@ ) ; }", "source": [{"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "flags", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "buf", "t": {"T": 3, "t": "const void"}, "location": "r64"}]} | [{"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "flags", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "buf", "t": {"T": 3, "t": "const void"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 16 | [] |
{"name": ".snprintf", "code": "int snprintf ( char * @@s@@ , size_t @@maxlen@@ , const char * @@format@@ , ... ) { return snprintf ( @@s@@ , @@maxlen@@ , @@format@@ ) ; }", "source": [{"n": "format", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "s", "t": {"T": 3, "t": "char"}, "location": "r56"}, {"n": "maxlen", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r64"}]} | [{"n": "format", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "s", "t": {"T": 3, "t": "char"}, "location": "r56"}, {"n": "maxlen", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 17 | [] |
{"name": ".dirname", "code": "char * dirname ( char * @@path@@ ) { return dirname ( @@path@@ ) ; }", "source": [{"n": "path", "t": {"T": 3, "t": "char"}, "location": "r56"}]} | [{"n": "path", "t": {"T": 3, "t": "char"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 18 | [] |
{"name": ".memset", "code": "void * memset ( void * @@s@@ , int @@c@@ , size_t @@n@@ ) { return memset ( @@s@@ , @@c@@ , @@n@@ ) ; }", "source": [{"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "s", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "c", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}]} | [{"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "s", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "c", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 19 | [] |
{"name": ".close", "code": "int close ( int @@fd@@ ) { return close ( @@fd@@ ) ; }", "source": [{"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}]} | [{"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 20 | [] |
{"name": ".dprintf", "code": "int dprintf ( int @@fd@@ , const char * @@fmt@@ , ... ) { return dprintf ( @@fd@@ , @@fmt@@ ) ; }", "source": [{"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "fmt", "t": {"T": 3, "t": "const char"}, "location": "r64"}]} | [{"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "fmt", "t": {"T": 3, "t": "const char"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 21 | [] |
{"name": ".calloc", "code": "void * calloc ( size_t @@nmemb@@ , size_t @@size@@ ) { return calloc ( @@nmemb@@ , @@size@@ ) ; }", "source": [{"n": "nmemb", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r56"}, {"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r64"}]} | [{"n": "nmemb", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r56"}, {"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 22 | [] |
{"name": ".strcmp", "code": "int strcmp ( const char * @@s1@@ , const char * @@s2@@ ) { return strcmp ( @@s1@@ , @@s2@@ ) ; }", "source": [{"n": "s1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "s2", "t": {"T": 3, "t": "const char"}, "location": "r64"}]} | [{"n": "s1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "s2", "t": {"T": 3, "t": "const char"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 23 | [] |
{"name": ".fprintf", "code": "int fprintf ( FILE * @@stream@@ , const char * @@format@@ , ... ) { return fprintf ( @@stream@@ , @@format@@ ) ; }", "source": [{"n": "stream", "t": {"T": 3, "t": "FILE"}, "location": "r56"}, {"n": "format", "t": {"T": 3, "t": "const char"}, "location": "r64"}]} | [{"n": "stream", "t": {"T": 3, "t": "FILE"}, "location": "r56"}, {"n": "format", "t": {"T": 3, "t": "const char"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 24 | [] |
{"name": ".syscall", "code": "__int64 syscall ( __int64 @@sysno@@ , ... ) { return syscall ( @@sysno@@ ) ; }", "source": [{"n": "sysno", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} | [{"n": "sysno", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 25 | [] |
{"name": ".memcpy", "code": "void * memcpy ( void * @@dest@@ , const void * @@src@@ , size_t @@n@@ ) { return memcpy ( @@dest@@ , @@src@@ , @@n@@ ) ; }", "source": [{"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "dest", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "src", "t": {"T": 3, "t": "const void"}, "location": "r64"}]} | [{"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "dest", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "src", "t": {"T": 3, "t": "const void"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 26 | [] |
{"name": ".statfs", "code": "int statfs ( const char * @@file@@ , struct statfs * @@buf@@ ) { return statfs ( @@file@@ , @@buf@@ ) ; }", "source": [{"n": "file", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "buf", "t": {"T": 3, "t": "struct statfs"}, "location": "r64"}]} | [{"n": "file", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "buf", "t": {"T": 3, "t": "struct statfs"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 27 | [] |
{"name": ".strerror_r", "code": "char * strerror_r ( int @@errnum@@ , char * @@buf@@ , size_t @@buflen@@ ) { return strerror_r ( @@errnum@@ , @@buf@@ , @@buflen@@ ) ; }", "source": [{"n": "buflen", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "errnum", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "buf", "t": {"T": 3, "t": "char"}, "location": "r64"}]} | [{"n": "buflen", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "errnum", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "buf", "t": {"T": 3, "t": "char"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 28 | [] |
{"name": ".malloc", "code": "void * malloc ( size_t @@size@@ ) { return malloc ( @@size@@ ) ; }", "source": [{"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r56"}]} | [{"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 29 | [] |
{"name": ".listen", "code": "int listen ( int @@fd@@ , int @@n@@ ) { return listen ( @@fd@@ , @@n@@ ) ; }", "source": [{"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "n", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}]} | [{"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "n", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 30 | [] |
{"name": ".setrlimit", "code": "int setrlimit ( __rlimit_resource_t @@resource@@ , const struct rlimit * @@rlimits@@ ) { return setrlimit ( @@resource@@ , @@rlimits@@ ) ; }", "source": [{"n": "resource", "t": {"T": 1, "n": "__rlimit_resource_t", "s": 4}, "location": "r56"}, {"n": "rlimits", "t": {"T": 3, "t": "const struct rlimit"}, "location": "r64"}]} | [{"n": "resource", "t": {"T": 1, "n": "__rlimit_resource_t", "s": 4}, "location": "r56"}, {"n": "rlimits", "t": {"T": 3, "t": "const struct rlimit"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 31 | [] |
{"name": ".realloc", "code": "void * realloc ( void * @@ptr@@ , size_t @@size@@ ) { return realloc ( @@ptr@@ , @@size@@ ) ; }", "source": [{"n": "ptr", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r64"}]} | [{"n": "ptr", "t": {"T": 3, "t": "void"}, "location": "r56"}, {"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 32 | [] |
{"name": ".ntohs", "code": "uint16_t ntohs ( uint16_t @@netshort@@ ) { return ntohs ( @@netshort@@ ) ; }", "source": [{"n": "netshort", "t": {"T": 1, "n": "uint16_t", "s": 2}, "location": "r56"}]} | [{"n": "netshort", "t": {"T": 1, "n": "uint16_t", "s": 2}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 33 | [] |
{"name": ".bind", "code": "int bind ( int @@fd@@ , const struct sockaddr * @@addr@@ , socklen_t @@len@@ ) { return bind ( @@fd@@ , @@addr@@ , @@len@@ ) ; }", "source": [{"n": "len", "t": {"T": 1, "n": "socklen_t", "s": 4}, "location": "r16"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "addr", "t": {"T": 3, "t": "const struct sockaddr"}, "location": "r64"}]} | [{"n": "len", "t": {"T": 1, "n": "socklen_t", "s": 4}, "location": "r16"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "addr", "t": {"T": 3, "t": "const struct sockaddr"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 34 | [] |
{"name": ".open", "code": "int open ( const char * @@file@@ , int @@oflag@@ , ... ) { return open ( @@file@@ , @@oflag@@ ) ; }", "source": [{"n": "file", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "oflag", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}]} | [{"n": "file", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "oflag", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 35 | [] |
{"name": ".perror", "code": "void perror ( const char * @@s@@ ) { perror ( @@s@@ ) ; }", "source": [{"n": "s", "t": {"T": 3, "t": "const char"}, "location": "r56"}]} | [{"n": "s", "t": {"T": 3, "t": "const char"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 36 | [] |
{"name": ".vfprintf", "code": "int vfprintf ( FILE * @@s@@ , const char * @@format@@ , __gnuc_va_list @@arg@@ ) { return vfprintf ( @@s@@ , @@format@@ , @@arg@@ ) ; }", "source": [{"n": "arg", "t": {"T": 1, "n": "__gnuc_va_list", "s": 8}, "location": "r16"}, {"n": "s", "t": {"T": 3, "t": "FILE"}, "location": "r56"}, {"n": "format", "t": {"T": 3, "t": "const char"}, "location": "r64"}]} | [{"n": "arg", "t": {"T": 9, "n": "__va_list_tag *__attribute__((__org_typedef(__gnuc_va_list)))"}, "location": "r16"}, {"n": "s", "t": {"T": 3, "t": "FILE"}, "location": "r56"}, {"n": "format", "t": {"T": 3, "t": "const char"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 37 | [] |
{"name": ".getsockname", "code": "int getsockname ( int @@fd@@ , struct sockaddr * @@addr@@ , socklen_t * @@len@@ ) { return getsockname ( @@fd@@ , @@addr@@ , @@len@@ ) ; }", "source": [{"n": "len", "t": {"T": 3, "t": "socklen_t"}, "location": "r16"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "addr", "t": {"T": 3, "t": "struct sockaddr"}, "location": "r64"}]} | [{"n": "len", "t": {"T": 3, "t": "socklen_t"}, "location": "r16"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "addr", "t": {"T": 3, "t": "struct sockaddr"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 38 | [] |
{"name": ".connect", "code": "int connect ( int @@fd@@ , const struct sockaddr * @@addr@@ , socklen_t @@len@@ ) { return connect ( @@fd@@ , @@addr@@ , @@len@@ ) ; }", "source": [{"n": "len", "t": {"T": 1, "n": "socklen_t", "s": 4}, "location": "r16"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "addr", "t": {"T": 3, "t": "const struct sockaddr"}, "location": "r64"}]} | [{"n": "len", "t": {"T": 1, "n": "socklen_t", "s": 4}, "location": "r16"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "addr", "t": {"T": 3, "t": "const struct sockaddr"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 39 | [] |
{"name": ".fwrite", "code": "size_t fwrite ( const void * @@ptr@@ , size_t @@size@@ , size_t @@n@@ , FILE * @@s@@ ) { return fwrite ( @@ptr@@ , @@size@@ , @@n@@ , @@s@@ ) ; }", "source": [{"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "s", "t": {"T": 3, "t": "FILE"}, "location": "r24"}, {"n": "ptr", "t": {"T": 3, "t": "const void"}, "location": "r56"}, {"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r64"}]} | [{"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "s", "t": {"T": 3, "t": "FILE"}, "location": "r24"}, {"n": "ptr", "t": {"T": 3, "t": "const void"}, "location": "r56"}, {"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 40 | [] |
{"name": ".getrlimit", "code": "int getrlimit ( __rlimit_resource_t @@resource@@ , struct rlimit * @@rlimits@@ ) { return getrlimit ( @@resource@@ , @@rlimits@@ ) ; }", "source": [{"n": "resource", "t": {"T": 1, "n": "__rlimit_resource_t", "s": 4}, "location": "r56"}, {"n": "rlimits", "t": {"T": 3, "t": "struct rlimit"}, "location": "r64"}]} | [{"n": "resource", "t": {"T": 1, "n": "__rlimit_resource_t", "s": 4}, "location": "r56"}, {"n": "rlimits", "t": {"T": 3, "t": "struct rlimit"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 41 | [] |
{"name": ".strdup", "code": "char * strdup ( const char * @@s@@ ) { return strdup ( @@s@@ ) ; }", "source": [{"n": "s", "t": {"T": 3, "t": "const char"}, "location": "r56"}]} | [{"n": "s", "t": {"T": 3, "t": "const char"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 42 | [] |
{"name": ".strerror", "code": "char * strerror ( int @@errnum@@ ) { return strerror ( @@errnum@@ ) ; }", "source": [{"n": "errnum", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}]} | [{"n": "errnum", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 43 | [] |
{"name": "__do_global_dtors_aux", "code": "void * _do_global_dtors_aux ( ) { void * @@result@@ ; if ( ! completed_7348 ) { @@result@@ = deregister_tm_clones ( ) ; completed_7348 = Number ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 3, "t": "void"}, "location": "r8"}]} | [{"n": "result", "t": {"T": 3, "t": "void"}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 46 | [] |
{"name": "bpf_rlimit_ctor", "code": "int bpf_rlimit_ctor ( ) { int @@result@@ ; struct rlimit @@v1@@ ; struct rlimit @@rlimits@@ ; @@v1@@ . rlim_cur = Number ; @@v1@@ . rlim_max = Number ; getrlimit ( __RLIMIT_MEMLOCK , & @@rlimits@@ ) ; @@result@@ = setrlimit ( __RLIMIT_MEMLOCK , & @@v1@@ ) ; if ( @@result@@ < Number ) { perror ( String ) ; @@v1@@ . rlim_cur = @@rlimits@@ . rlim_cur + Number ; @@v1@@ . rlim_max = @@rlimits@@ . rlim_max + Number ; @@result@@ = setrlimit ( __RLIMIT_MEMLOCK , & @@v1@@ ) ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "rlimits", "t": {"T": 6, "n": "struct rlimit", "l": [{"T": 4, "n": "rlim_cur", "t": "rlim_t", "s": 8}, {"T": 4, "n": "rlim_max", "t": "rlim_t", "s": 8}]}, "location": "s16"}, {"n": "v1", "t": {"T": 6, "n": "struct rlimit", "l": [{"T": 4, "n": "rlim_cur", "t": "rlim_t", "s": 8}, {"T": 4, "n": "rlim_max", "t": "rlim_t", "s": 8}]}, "location": "s32"}]} | [{"n": "", "t": {"T": 10}, "location": "r8"}, {"n": "rlim_old", "t": {"T": 6, "n": "rlimit", "l": [{"T": 4, "n": "rlim_cur", "t": "rlim_t", "s": 8}, {"T": 4, "n": "rlim_max", "t": "rlim_t", "s": 8}]}, "location": "s16"}, {"n": "rlim_new", "t": {"T": 6, "n": "rlimit", "l": [{"T": 4, "n": "rlim_cur", "t": "rlim_t", "s": 8}, {"T": 4, "n": "rlim_max", "t": "rlim_t", "s": 8}]}, "location": "s32"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 47 | [] |
{"name": "start_server", "code": "__int64 start_server ( ) { int * v0 ; char * v1 ; int * v2 ; char * v3 ; int * v4 ; char * v5 ; struct sockaddr @@s@@ ; __int64 @@v8@@ ; int @@fd@@ ; @@fd@@ = socket ( Number , Number , Number ) ; if ( @@fd@@ != Number ) { memset ( & @@s@@ , Number , Number ) ; @@s@@ . sa_family = Number ; * ( _QWORD * ) & @@s@@ . sa_data [ Number ] = in6addr_loopback ; @@v8@@ = qword_411DA8 ; * ( _WORD * ) @@s@@ . sa_data = Number ; if ( bind ( @@fd@@ , & @@s@@ , Number ) == Number ) { if ( * __errno_location ( ) ) { v2 = __errno_location ( ) ; v3 = strerror ( * v2 ) ; } else { v3 = String ; } fprintf ( stderr , String , String , Number L , v3 ) ; } else { if ( listen ( @@fd@@ , Number ) != Number ) return ( unsigned int ) @@fd@@ ; if ( * __errno_location ( ) ) { v4 = __errno_location ( ) ; v5 = strerror ( * v4 ) ; } else { v5 = String ; } fprintf ( stderr , String , String , Number L , v5 ) ; } close ( @@fd@@ ) ; return ( unsigned int ) Number ; } if ( * __errno_location ( ) ) { v0 = __errno_location ( ) ; v1 = strerror ( * v0 ) ; } else { v1 = String ; } fprintf ( stderr , String , String , Number L , v1 ) ; return ( unsigned int ) @@fd@@ ; }", "source": [{"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "s", "t": {"T": 6, "n": "struct sockaddr", "l": [{"T": 4, "n": "sa_family", "t": "sa_family_t", "s": 2}, {"T": 4, "n": "sa_data", "t": "char[14]", "s": 14}]}, "location": "s32"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} | [{"n": "", "t": {"T": 10}, "location": "s16"}, {"n": "addr", "t": {"T": 6, "n": "sockaddr_in6", "l": [{"T": 4, "n": "sin6_family", "t": "sa_family_t", "s": 2}, {"T": 4, "n": "sin6_port", "t": "in_port_t", "s": 2}, {"T": 4, "n": "sin6_flowinfo", "t": "uint32_t", "s": 4}, {"T": 4, "n": "sin6_addr", "t": "in6_addr", "s": 16}, {"T": 4, "n": "sin6_scope_id", "t": "uint32_t", "s": 4}]}, "location": "s32"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 48 | [] |
{"name": "connect_to_server", "code": "__int64 __fastcall connect_to_server ( int @@a1@@ ) { int * v1 ; char * v2 ; int * v3 ; char * v4 ; int * v5 ; char * v6 ; socklen_t @@len@@ ; struct sockaddr @@addr@@ ; int @@v10@@ ; @@len@@ = Number ; @@v10@@ = socket ( Number , Number , Number ) ; if ( @@v10@@ != Number ) { if ( getsockname ( @@a1@@ , & @@addr@@ , & @@len@@ ) ) { if ( * __errno_location ( ) ) { v3 = __errno_location ( ) ; v4 = strerror ( * v3 ) ; } else { v4 = String ; } fprintf ( stderr , String , String , Number L , v4 ) ; } else { if ( connect ( @@v10@@ , & @@addr@@ , @@len@@ ) != Number ) return ( unsigned int ) @@v10@@ ; if ( * __errno_location ( ) ) { v5 = __errno_location ( ) ; v6 = strerror ( * v5 ) ; } else { v6 = String ; } fprintf ( stderr , String , String , Number L , v6 ) ; } close ( @@v10@@ ) ; return ( unsigned int ) Number ; } if ( * __errno_location ( ) ) { v1 = __errno_location ( ) ; v2 = strerror ( * v1 ) ; } else { v2 = String ; } fprintf ( stderr , String , String , Number L , v2 ) ; return ( unsigned int ) @@v10@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "addr", "t": {"T": 6, "n": "struct sockaddr", "l": [{"T": 4, "n": "sa_family", "t": "sa_family_t", "s": 2}, {"T": 4, "n": "sa_data", "t": "char[14]", "s": 14}]}, "location": "s144"}, {"n": "len", "t": {"T": 1, "n": "socklen_t", "s": 4}, "location": "s148"}, {"n": "v10", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} | [{"n": "server_fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "addr", "t": {"T": 6, "n": "sockaddr_storage", "l": [{"T": 4, "n": "ss_family", "t": "sa_family_t", "s": 2}, {"T": 4, "n": "__ss_padding", "t": "char[118]", "s": 118}, {"T": 4, "n": "__ss_align", "t": "unsigned __int64", "s": 8}]}, "location": "s144"}, {"n": "len", "t": {"T": 1, "n": "socklen_t", "s": 4}, "location": "s148"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 49 | [] |
{"name": "ERR_PTR", "code": "__int64 __fastcall ERR_PTR ( __int64 @@a1@@ ) { return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} | [{"n": "error_", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 53 | [] |
{"name": "PTR_ERR", "code": "__int64 __fastcall PTR_ERR ( __int64 @@a1@@ ) { return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} | [{"n": "ptr", "t": {"T": 3, "t": "const void"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 54 | [] |
{"name": "IS_ERR", "code": "bool __fastcall IS_ERR ( unsigned __int64 @@a1@@ ) { return @@a1@@ > Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r56"}]} | [{"n": "ptr", "t": {"T": 3, "t": "const void"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 55 | [] |
{"name": "IS_ERR_OR_NULL", "code": "_BOOL8 __fastcall IS_ERR_OR_NULL ( unsigned __int64 @@a1@@ ) { return ! @@a1@@ || @@a1@@ > Number ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r56"}]} | [{"n": "ptr", "t": {"T": 3, "t": "const void"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 56 | [
"{\"name\": \"IS_ERR\", \"code\": \"bool __fastcall IS_ERR ( unsigned __int64 @@a1@@ ) { return @@a1@@ > Number ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"r56\"}]}"
] |
{"name": "INIT_LIST_HEAD", "code": "_QWORD * __fastcall INIT_LIST_HEAD ( _QWORD * @@a1@@ ) { _QWORD * @@result@@ ; * @@a1@@ = @@a1@@ ; @@result@@ = @@a1@@ ; @@a1@@ [ Number ] = @@a1@@ ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}]} | [{"n": "list", "t": {"T": 3, "t": "list_head"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 57 | [] |
{"name": "__list_add", "code": "_QWORD * __fastcall _list_add ( _QWORD * @@a1@@ , _QWORD * @@a2@@ , __int64 @@a3@@ ) { _QWORD * @@result@@ ; * ( _QWORD * ) ( @@a3@@ + Number ) = @@a1@@ ; * @@a1@@ = @@a3@@ ; @@a1@@ [ Number ] = @@a2@@ ; @@result@@ = @@a2@@ ; * @@a2@@ = @@a1@@ ; return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}, {"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}]} | [{"n": "next", "t": {"T": 3, "t": "list_head"}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "list_head"}, "location": "r56"}, {"n": "prev", "t": {"T": 3, "t": "list_head"}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 58 | [
"{\"name\": \"list_add\", \"code\": \"_QWORD * __fastcall list_add ( _QWORD * @@a1@@ , __int64 * @@a2@@ ) { return _list_add ( @@a1@@ , @@a2@@ , * @@a2@@ ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"__int64\"}, \"location\": \"r64\"}]}"
] |
{"name": "list_add", "code": "_QWORD * __fastcall list_add ( _QWORD * @@a1@@ , __int64 * @@a2@@ ) { return _list_add ( @@a1@@ , @@a2@@ , * @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "__int64"}, "location": "r64"}]} | [{"n": "a1", "t": {"T": 3, "t": "list_head"}, "location": "r56"}, {"n": "head", "t": {"T": 3, "t": "list_head"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 59 | [] |
{"name": "__list_del", "code": "_QWORD * __fastcall _list_del ( _QWORD * @@a1@@ , __int64 @@a2@@ ) { _QWORD * @@result@@ ; * ( _QWORD * ) ( @@a2@@ + Number ) = @@a1@@ ; @@result@@ = @@a1@@ ; * @@a1@@ = @@a2@@ ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}]} | [{"n": "prev", "t": {"T": 3, "t": "list_head"}, "location": "r56"}, {"n": "next", "t": {"T": 3, "t": "list_head"}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 60 | [
"{\"name\": \"list_del\", \"code\": \"__int64 __fastcall list_del ( __int64 @@a1@@ ) { __int64 @@result@@ ; _list_del ( * ( _QWORD * * ) ( @@a1@@ + Number ) , * ( _QWORD * ) @@a1@@ ) ; * ( _QWORD * ) @@a1@@ = Number L ; @@result@@ = @@a1@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; 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": "list_del", "code": "__int64 __fastcall list_del ( __int64 @@a1@@ ) { __int64 @@result@@ ; _list_del ( * ( _QWORD * * ) ( @@a1@@ + Number ) , * ( _QWORD * ) @@a1@@ ) ; * ( _QWORD * ) @@a1@@ = Number L ; @@result@@ = @@a1@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; 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": "entry", "t": {"T": 3, "t": "list_head"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 61 | [] |
{"name": "libbpf_set_print", "code": "__int64 __fastcall libbpf_set_print ( __int64 ( __fastcall * @@a1@@ ) ( int , int , int , int , int , int , char ) , __int64 ( __fastcall * @@a2@@ ) ( int , int , int , int , int , int , char ) , __int64 @@a3@@ ) { __int64 @@result@@ ; _pr_warning [ Number ] = @@a1@@ ; _pr_info [ Number ] = @@a2@@ ; @@result@@ = @@a3@@ ; _pr_debug = @@a3@@ ; return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 9, "n": "__int64 (__fastcall *)(int, int, int, int, int, int, char)"}, "location": "r56"}, {"n": "a2", "t": {"T": 9, "n": "__int64 (__fastcall *)(int, int, int, int, int, int, char)"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "debug", "t": {"T": 9, "n": "libbpf_print_fn_t"}, "location": "r16"}, {"n": "warn", "t": {"T": 9, "n": "libbpf_print_fn_t"}, "location": "r56"}, {"n": "info", "t": {"T": 9, "n": "libbpf_print_fn_t"}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 63 | [] |
{"name": "bpf_program__unload", "code": "void __fastcall bpf_program__unload ( __int64 @@a1@@ ) { int @@i@@ ; if ( @@a1@@ ) { if ( * ( int * ) ( @@a1@@ + Number ) <= Number ) { if ( * ( _DWORD * ) ( @@a1@@ + Number ) != Number && _pr_warning ) _pr_warning ( String , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; } else { for ( @@i@@ = Number ; @@i@@ < * ( _DWORD * ) ( @@a1@@ + Number ) ; ++ @@i@@ ) { if ( * ( int * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) >= Number ) close ( * ( _DWORD * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; * ( _DWORD * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) = Number ; } } * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; free ( * ( void * * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; } }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} | [{"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 64 | [] |
{"name": "bpf_program__exit", "code": "__int64 __fastcall bpf_program__exit ( __int64 @@a1@@ ) { __int64 @@result@@ ; if ( @@a1@@ ) { if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) ( * ( void ( __fastcall * * ) ( __int64 , _QWORD ) ) ( @@a1@@ + Number ) ) ( @@a1@@ , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; bpf_program__unload ( @@a1@@ ) ; free ( * ( void * * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; free ( * ( void * * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; free ( * ( void * * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; free ( * ( void * * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; @@result@@ = @@a1@@ ; * ( _DWORD * ) @@a1@@ = 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": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 65 | [
"{\"name\": \"bpf_program__unload\", \"code\": \"void __fastcall bpf_program__unload ( __int64 @@a1@@ ) { int @@i@@ ; if ( @@a1@@ ) { if ( * ( int * ) ( @@a1@@ + Number ) <= Number ) { if ( * ( _DWORD * ) ( @@a1@@ + Number ) != Number && _pr_warning ) _pr_warning ( String , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; } else { for ( @@i@@ = Number ; @@i@@ < * ( _DWORD * ) ( @@a1@@ + Number ) ; ++ @@i@@ ) { if ( * ( int * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) >= Number ) close ( * ( _DWORD * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; * ( _DWORD * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) = Number ; } } * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; free ( * ( void * * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; } }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s4\"}]}"
] |
{"name": "bpf_object__init_prog_names", "code": "__int64 __fastcall bpf_object__init_prog_names ( __int64 @@a1@@ ) { __int64 @@result@@ ; unsigned __int8 @@v2@@ ; unsigned __int16 @@v3@@ ; __int64 @@v4@@ ; __int64 @@v5@@ ; char * @@s@@ ; unsigned __int64 @@i@@ ; unsigned __int64 @@v8@@ ; @@v5@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v8@@ = Number L ; while ( Number ) { if ( @@v8@@ >= * ( _QWORD * ) ( @@a1@@ + Number ) ) return Number L ; @@s@@ = Number L ; @@v4@@ = * ( _QWORD * ) ( @@a1@@ + Number ) + Number * @@v8@@ ; for ( @@i@@ = Number L ; @@i@@ < * ( _QWORD * ) ( @@v5@@ + Number ) / Number && ! @@s@@ ; ++ @@i@@ ) { if ( gelf_getsym ( ) ) { if ( @@v3@@ == * ( _DWORD * ) @@v4@@ && @@v2@@ >> Number == Number ) { @@s@@ = ( char * ) elf_strptr ( ) ; if ( ! @@s@@ ) { if ( _pr_warning ) _pr_warning ( String , * ( const char * * ) ( @@v4@@ + Number ) ) ; return Number L ; } } } } if ( ! @@s@@ && * ( _DWORD * ) @@v4@@ == * ( _DWORD * ) ( @@a1@@ + Number ) ) @@s@@ = String ; if ( @@s@@ ) { * ( _QWORD * ) ( @@v4@@ + Number ) = strdup ( @@s@@ ) ; if ( * ( _QWORD * ) ( @@v4@@ + Number ) ) { ++ @@v8@@ ; continue ; } if ( _pr_warning ) _pr_warning ( String , @@s@@ ) ; @@result@@ = Number L ; } else { if ( _pr_warning ) _pr_warning ( String , * ( const char * * ) ( @@v4@@ + Number ) ) ; @@result@@ = Number L ; } break ; } 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": "i", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s16"}, {"n": "s", "t": {"T": 3, "t": "char"}, "location": "s24"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v3", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s58"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s60"}, {"n": "v8", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "si_0", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s16"}, {"n": "name", "t": {"T": 3, "t": "const char"}, "location": "s24"}, {"n": "symbols", "t": {"T": 3, "t": "Elf_Data"}, "location": "s32"}, {"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "s40"}, {"n": "sym_6", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s58"}, {"n": "sym_4", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s60"}, {"n": "pi", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 68 | [] |
{"name": "bpf_object__new", "code": "__int64 __fastcall bpf_object__new ( const char * @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { size_t v3 ; __int64 result ; char * @@v6@@ ; v3 = strlen ( @@a1@@ ) ; @@v6@@ = ( char * ) calloc ( Number , v3 + Number ) ; if ( @@v6@@ ) { strcpy ( @@v6@@ + Number , @@a1@@ ) ; * ( ( _DWORD * ) @@v6@@ + Number ) = Number ; * ( ( _QWORD * ) @@v6@@ + Number ) = @@a2@@ ; * ( ( _QWORD * ) @@v6@@ + Number ) = @@a3@@ ; * ( ( _DWORD * ) @@v6@@ + Number ) = Number ; @@v6@@ [ Number ] = Number ; INIT_LIST_HEAD ( ( _QWORD * ) @@v6@@ + Number ) ; list_add ( ( _QWORD * ) @@v6@@ + Number , ( __int64 * ) & bpf_objects_list ) ; result = ( __int64 ) @@v6@@ ; } else { if ( _pr_warning ) _pr_warning ( String , @@a1@@ ) ; result = ERR_PTR ( Number ) ; } return result ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v6", "t": {"T": 3, "t": "char"}, "location": "s8"}]} | [{"n": "obj_buf_sz", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "path", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "obj_buf", "t": {"T": 3, "t": "void"}, "location": "r64"}, {"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "s8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 69 | [
"{\"name\": \"ERR_PTR\", \"code\": \"__int64 __fastcall ERR_PTR ( __int64 @@a1@@ ) { return @@a1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}]}",
"{\"name\": \"INIT_LIST_HEAD\", \"code\": \"_QWORD * __fastcall INIT_LIST_HEAD ( _QWORD * @@a1@@ ) { _QWORD * @@result@@ ; * @@a1@@ = @@a1@@ ; @@result@@ = @@a1@@ ; @@a1@@ [ Number ] = @@a1@@ ; return @@result@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"r56\"}, {\"n\": \"result\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"r8\"}]}",
"{\"name\": \"list_add\", \"code\": \"_QWORD * __fastcall list_add ( _QWORD * @@a1@@ , __int64 * @@a2@@ ) { return _list_add ( @@a1@@ , @@a2@@ , * @@a2@@ ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"_QWORD\"}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"__int64\"}, \"location\": \"r64\"}]}"
] |
{"name": "bpf_object__elf_finish", "code": "__int64 __fastcall bpf_object__elf_finish ( __int64 @@a1@@ ) { __int64 @@result@@ ; @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@result@@ ) { elf_end ( ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; free ( * ( void * * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; if ( * ( int * ) ( @@a1@@ + Number ) >= Number ) close ( * ( _DWORD * ) ( @@a1@@ + Number ) ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; @@result@@ = @@a1@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; } 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": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 70 | [] |
{"name": "bpf_object__elf_init", "code": "__int64 __fastcall bpf_object__elf_init ( __int64 @@a1@@ ) { int * @@v2@@ ; char @@buf@@ [ Number ] ; __int64 @@v4@@ ; char * @@v5@@ ; unsigned int @@v6@@ ; @@v6@@ = Number ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { if ( _pr_warning ) _pr_warning ( String ) ; return Number L ; } if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { * ( _QWORD * ) ( @@a1@@ + Number ) = elf_memory ( ) ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = open ( ( const char * ) ( @@a1@@ + Number ) , Number ) ; if ( * ( int * ) ( @@a1@@ + Number ) < Number ) { @@v2@@ = __errno_location ( ) ; @@v5@@ = strerror_r ( * @@v2@@ , @@buf@@ , Number ) ; if ( _pr_warning ) _pr_warning ( String , ( const char * ) ( @@a1@@ + Number ) , @@v5@@ ) ; return ( unsigned int ) - * __errno_location ( ) ; } * ( _QWORD * ) ( @@a1@@ + Number ) = elf_begin ( ) ; } if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { if ( gelf_getehdr ( ) ) { @@v4@@ = @@a1@@ + Number ; if ( * ( _WORD * ) ( @@a1@@ + Number ) == Number && ( ! * ( _WORD * ) ( @@v4@@ + Number ) || * ( _WORD * ) ( @@v4@@ + Number ) == Number ) ) return Number L ; if ( _pr_warning ) _pr_warning ( String , ( const char * ) ( @@a1@@ + Number ) ) ; @@v6@@ = Number ; } else { if ( _pr_warning ) _pr_warning ( String , ( const char * ) ( @@a1@@ + Number ) ) ; @@v6@@ = Number ; } } else { if ( _pr_warning ) _pr_warning ( String , ( const char * ) ( @@a1@@ + Number ) ) ; @@v6@@ = Number ; } bpf_object__elf_finish ( @@a1@@ ) ; return @@v6@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "int"}, "location": "r8"}, {"n": "v5", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "buf", "t": {"T": 2, "n": 136, "s": 1, "t": "char"}, "location": "s160"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]} | [{"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "int"}, "location": "r8"}, {"n": "cp", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "errmsg", "t": {"T": 2, "n": 128, "s": 1, "t": "char"}, "location": "s160"}, {"n": "ep", "t": {"T": 3, "t": "GElf_Ehdr"}, "location": "s24"}, {"n": "err", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 71 | [
"{\"name\": \"bpf_object__elf_finish\", \"code\": \"__int64 __fastcall bpf_object__elf_finish ( __int64 @@a1@@ ) { __int64 @@result@@ ; @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( @@result@@ ) { elf_end ( ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; free ( * ( void * * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; if ( * ( int * ) ( @@a1@@ + Number ) >= Number ) close ( * ( _DWORD * ) ( @@a1@@ + Number ) ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; @@result@@ = @@a1@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; } 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": "bpf_object__check_endianness", "code": "__int64 __fastcall bpf_object__check_endianness ( __int64 @@a1@@ ) { int @@v1@@ ; @@v1@@ = * ( unsigned __int8 * ) ( @@a1@@ + Number ) ; if ( @@v1@@ == Number ) { if ( endian_7053 == Number ) return Number L ; } else { if ( @@v1@@ != Number ) return Number L ; if ( ! endian_7053 ) return Number L ; } if ( _pr_warning ) _pr_warning ( String ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}]} | [{"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 72 | [] |
{"name": "bpf_object__init_license", "code": "__int64 __fastcall bpf_object__init_license ( char * @@a1@@ , const void * @@a2@@ , unsigned __int64 @@a3@@ ) { size_t v3 ; v3 = Number L ; if ( @@a3@@ < Number ) v3 = @@a3@@ ; memcpy ( @@a1@@ , @@a2@@ , v3 ) ; if ( _pr_debug ) _pr_debug ( String , @@a1@@ + Number , @@a1@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "char"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const void"}, "location": "r64"}]} | [{"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "data", "t": {"T": 3, "t": "void"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 73 | [] |
{"name": "bpf_object__init_kversion", "code": "__int64 __fastcall bpf_object__init_kversion ( __int64 @@a1@@ , _DWORD * @@a2@@ , __int64 @@a3@@ ) { __int64 @@result@@ ; if ( @@a3@@ == Number ) { * ( _DWORD * ) ( @@a1@@ + Number ) = * @@a2@@ ; if ( _pr_debug ) _pr_debug ( String , ( const char * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; @@result@@ = Number L ; } else { if ( _pr_warning ) _pr_warning ( String , ( const char * ) ( @@a1@@ + Number ) ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_DWORD"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "data", "t": {"T": 3, "t": "void"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 74 | [] |
{"name": "compare_bpf_map", "code": "__int64 __fastcall compare_bpf_map ( const void * @@a1@@ , const void * @@a2@@ ) { return ( unsigned int ) * ( ( _QWORD * ) @@a1@@ + Number ) - ( unsigned int ) * ( ( _QWORD * ) @@a2@@ + Number ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const void"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const void"}, "location": "r64"}]} | [{"n": "_a", "t": {"T": 3, "t": "const void"}, "location": "r56"}, {"n": "_b", "t": {"T": 3, "t": "const void"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 75 | [] |
{"name": "bpf_object__init_maps", "code": "__int64 __fastcall bpf_object__init_maps ( __int64 @@a1@@ ) { __int64 @@v2@@ ; __int64 @@v3@@ ; unsigned __int16 @@v4@@ ; __int64 @@v5@@ ; unsigned __int16 @@v6@@ ; char * @@src@@ ; char * @@s@@ ; signed int @@v9@@ ; __int64 @@v10@@ ; __int64 @@v11@@ ; char * @@k@@ ; _QWORD * @@v13@@ ; unsigned int @@v14@@ ; unsigned int @@v15@@ ; int i ; int j ; int v18 ; @@v14@@ = Number ; @@v11@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( * ( int * ) ( @@a1@@ + Number ) < Number ) return Number L ; if ( ! @@v11@@ ) return Number L ; @@v10@@ = elf_getscn ( ) ; if ( @@v10@@ ) @@v13@@ = ( _QWORD * ) elf_getdata ( ) ; if ( ! @@v10@@ || ! @@v13@@ ) { if ( _pr_warning ) _pr_warning ( String , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; return Number L ; } for ( i = Number ; i < * ( _QWORD * ) ( @@v11@@ + Number ) / Number ; ++ i ) { if ( gelf_getsym ( ) && @@v6@@ == * ( _DWORD * ) ( @@a1@@ + Number ) ) ++ @@v14@@ ; } if ( _pr_debug ) _pr_debug ( String , ( const char * ) ( @@a1@@ + Number ) , @@v14@@ , @@v13@@ [ Number ] ) ; if ( ! @@v14@@ ) return Number L ; @@v9@@ = @@v13@@ [ Number ] / ( unsigned __int64 ) ( int ) @@v14@@ ; if ( ! @@v13@@ [ Number ] || @@v13@@ [ Number ] % ( unsigned __int64 ) ( int ) @@v14@@ ) { if ( _pr_warning ) _pr_warning ( String , ( const char * ) ( @@a1@@ + Number ) , @@v14@@ , @@v13@@ [ Number ] ) ; return Number L ; } * ( _QWORD * ) ( @@a1@@ + Number ) = calloc ( ( int ) @@v14@@ , Number ) ; if ( ! * ( _QWORD * ) ( @@a1@@ + Number ) ) { if ( _pr_warning ) _pr_warning ( String ) ; return Number L ; } * ( _QWORD * ) ( @@a1@@ + Number ) = ( int ) @@v14@@ ; for ( j = Number ; j < ( int ) @@v14@@ ; ++ j ) * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * j ) = Number ; v18 = Number ; @@v15@@ = Number ; while ( Number ) { if ( v18 >= * ( _QWORD * ) ( @@v11@@ + Number ) / Number ) { qsort ( * ( void * * ) ( @@a1@@ + Number ) , * ( _QWORD * ) ( @@a1@@ + Number ) , Number , ( __compar_fn_t ) compare_bpf_map ) ; return Number L ; } if ( gelf_getsym ( ) && @@v4@@ == * ( _DWORD * ) ( @@a1@@ + Number ) ) break ; LABEL_58 : ++ v18 ; } @@v2@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@s@@ = ( char * ) elf_strptr ( ) ; * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@v15@@ + Number ) = @@v5@@ ; if ( ( unsigned __int64 ) ( @@v9@@ + @@v5@@ ) > @@v13@@ [ Number ] ) { if ( _pr_warning ) _pr_warning ( String , ( const char * ) ( @@a1@@ + Number ) , @@s@@ ) ; return Number L ; } @@v3@@ = * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@v15@@ ; * ( _QWORD * ) ( @@v3@@ + Number ) = strdup ( @@s@@ ) ; if ( ! * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@v15@@ + Number ) ) { if ( _pr_warning ) _pr_warning ( String , @@v2@@ ) ; return Number L ; } if ( _pr_debug ) _pr_debug ( String , @@v15@@ , * ( const char * * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@v15@@ + Number ) ) ; @@src@@ = ( char * ) ( * @@v13@@ + @@v5@@ ) ; if ( ( unsigned int ) @@v9@@ <= Number ) { memcpy ( ( void * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@v15@@ + Number ) , @@src@@ , @@v9@@ ) ; LABEL_57 : ++ @@v15@@ ; goto LABEL_58 ; } for ( @@k@@ = @@src@@ + Number ; ; ++ @@k@@ ) { if ( @@k@@ >= & @@src@@ [ @@v9@@ ] ) { memcpy ( ( void * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@v15@@ + Number ) , @@src@@ , Number ) ; goto LABEL_57 ; } if ( * @@k@@ ) break ; } if ( _pr_warning ) _pr_warning ( String , ( const char * ) ( @@a1@@ + Number ) , @@s@@ ) ; return Number L ; }", "source": [{"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v6", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s106"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s136"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s138"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}, {"n": "v14", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}, {"n": "v13", "t": {"T": 3, "t": "_QWORD"}, "location": "s40"}, {"n": "k", "t": {"T": 3, "t": "char"}, "location": "s48"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v9", "t": {"T": 1, "n": "signed int", "s": 4}, "location": "s68"}, {"n": "s", "t": {"T": 3, "t": "char"}, "location": "s80"}, {"n": "src", "t": {"T": 3, "t": "char"}, "location": "s88"}]} | [{"n": "v3", "t": {"T": 3, "t": "bpf_map"}, "location": "r32"}, {"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r64"}, {"n": "sym_6", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s106"}, {"n": "sym_0_8", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s136"}, {"n": "sym_0_6", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s138"}, {"n": "map_idx", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}, {"n": "nr_maps", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "data", "t": {"T": 3, "t": "Elf_Data"}, "location": "s40"}, {"n": "b", "t": {"T": 3, "t": "char"}, "location": "s48"}, {"n": "symbols", "t": {"T": 3, "t": "Elf_Data"}, "location": "s56"}, {"n": "scn", "t": {"T": 3, "t": "Elf_Scn_0"}, "location": "s64"}, {"n": "map_def_sz", "t": {"T": 1, "n": "int", "s": 4}, "location": "s68"}, {"n": "map_name", "t": {"T": 3, "t": "const char"}, "location": "s80"}, {"n": "def", "t": {"T": 3, "t": "bpf_map_def"}, "location": "s88"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 76 | [
"{\"name\": \"compare_bpf_map\", \"code\": \"__int64 __fastcall compare_bpf_map ( const void * @@a1@@ , const void * @@a2@@ ) { return ( unsigned int ) * ( ( _QWORD * ) @@a1@@ + Number ) - ( unsigned int ) * ( ( _QWORD * ) @@a2@@ + Number ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"const void\"}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 3, \"t\": \"const void\"}, \"location\": \"r64\"}]}"
] |
{"name": "section_have_execinstr", "code": "_BOOL8 section_have_execinstr ( ) { char @@v1@@ [ Number ] ; if ( ! elf_getscn ( ) ) return Number L ; if ( ( char * ) gelf_getshdr ( ) == @@v1@@ ) return ( @@v1@@ [ Number ] & Number ) != Number ; return Number L ; }", "source": [{"n": "v1", "t": {"T": 2, "n": 72, "s": 1, "t": "char"}, "location": "s80"}]} | [{"n": "sh", "t": {"T": 6, "n": "GElf_Shdr", "l": [{"T": 4, "n": "sh_name", "t": "Elf64_Word", "s": 4}, {"T": 4, "n": "sh_type", "t": "Elf64_Word", "s": 4}, {"T": 4, "n": "sh_flags", "t": "Elf64_Xword", "s": 8}, {"T": 4, "n": "sh_addr", "t": "Elf64_Addr", "s": 8}, {"T": 4, "n": "sh_offset", "t": "Elf64_Off", "s": 8}, {"T": 4, "n": "sh_size", "t": "Elf64_Xword", "s": 8}, {"T": 4, "n": "sh_link", "t": "Elf64_Word", "s": 4}, {"T": 4, "n": "sh_info", "t": "Elf64_Word", "s": 4}, {"T": 4, "n": "sh_addralign", "t": "Elf64_Xword", "s": 8}, {"T": 4, "n": "sh_entsize", "t": "Elf64_Xword", "s": 8}]}, "location": "s80"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 77 | [] |
{"name": "bpf_object__find_prog_by_idx", "code": "__int64 __fastcall bpf_object__find_prog_by_idx ( __int64 @@a1@@ , int @@a2@@ ) { unsigned __int64 @@i@@ ; for ( @@i@@ = Number L ; @@i@@ < * ( _QWORD * ) ( @@a1@@ + Number ) ; ++ @@i@@ ) { if ( @@a2@@ == * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * @@i@@ ) ) return * ( _QWORD * ) ( @@a1@@ + Number ) + Number * @@i@@ ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "i", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} | [{"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "idx", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "i", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 79 | [] |
{"name": "bpf_program__collect_reloc", "code": "__int64 __fastcall bpf_program__collect_reloc ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ ) { unsigned __int64 v5 ; unsigned __int64 @@v7@@ ; unsigned __int64 @@v8@@ ; unsigned int @@v9@@ ; unsigned __int16 @@v10@@ ; __int64 @@v11@@ ; unsigned int @@v12@@ ; __int64 @@v13@@ ; int @@v14@@ ; unsigned __int64 @@v15@@ ; __int64 @@v16@@ ; int @@v17@@ ; int @@v18@@ ; unsigned __int64 @@j@@ ; unsigned int @@i@@ ; @@v18@@ = * ( _DWORD * ) ( @@a4@@ + Number ) ; @@v17@@ = * ( _DWORD * ) ( @@a4@@ + Number ) ; @@v16@@ = * ( _QWORD * ) ( @@a4@@ + Number ) ; @@v15@@ = * ( _QWORD * ) ( @@a4@@ + Number ) ; if ( _pr_debug ) _pr_debug ( String , * ( const char * * ) ( @@a1@@ + Number ) ) ; @@v14@@ = * ( _QWORD * ) ( @@a2@@ + Number ) / * ( _QWORD * ) ( @@a2@@ + Number ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = malloc ( Number L * @@v14@@ ) ; if ( ! * ( _QWORD * ) ( @@a1@@ + Number ) ) { if ( _pr_warning ) _pr_warning ( String ) ; return Number L ; } * ( _DWORD * ) ( @@a1@@ + Number ) = @@v14@@ ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { if ( ( int ) @@i@@ >= @@v14@@ ) return Number L ; @@v13@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( ! gelf_getrel ( ) ) { if ( _pr_warning ) _pr_warning ( String , @@i@@ ) ; return Number L ; } v5 = HIDWORD ( @@v8@@ ) ; if ( ! gelf_getsym ( ) ) { if ( _pr_warning ) _pr_warning ( String , HIDWORD ( @@v8@@ ) ) ; return Number L ; } if ( _pr_debug ) { v5 = HIDWORD ( @@v8@@ ) ; _pr_debug ( String , HIDWORD ( @@v8@@ ) , @@v11@@ , @@v9@@ ) ; } if ( @@v17@@ != @@v10@@ && @@v18@@ != @@v10@@ ) { if ( _pr_warning ) _pr_warning ( String , * ( const char * * ) ( @@a1@@ + Number ) , @@v10@@ ) ; return Number L ; } @@v12@@ = @@v7@@ >> Number ; if ( _pr_debug ) { v5 = @@v12@@ ; _pr_debug ( String , @@v12@@ ) ; } if ( * ( _BYTE * ) ( Number L * @@v12@@ + @@v13@@ ) != Number ) break ; if ( ( * ( _BYTE * ) ( Number L * @@v12@@ + @@v13@@ + Number ) & Number ) != Number ) { if ( _pr_warning ) _pr_warning ( String , v5 ) ; return Number L ; } * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@i@@ ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@i@@ + Number ) = @@v12@@ ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@i@@ + Number ) = @@v11@@ ; * ( _BYTE * ) ( @@a4@@ + Number ) = Number ; LABEL_46 : ; } if ( * ( _BYTE * ) ( Number L * @@v12@@ + @@v13@@ ) != Number ) { if ( _pr_warning ) _pr_warning ( String , @@v12@@ , * ( unsigned __int8 * ) ( Number L * @@v12@@ + @@v13@@ ) ) ; return Number L ; } for ( @@j@@ = Number L ; @@j@@ < @@v15@@ ; ++ @@j@@ ) { if ( * ( _QWORD * ) ( Number * @@j@@ + @@v16@@ + Number ) == @@v11@@ ) { if ( _pr_debug ) _pr_debug ( String , @@j@@ , * ( const char * * ) ( Number * @@j@@ + @@v16@@ + Number ) , @@v12@@ ) ; break ; } } if ( @@j@@ < @@v15@@ ) { * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@i@@ ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@i@@ + Number ) = @@v12@@ ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@i@@ + Number ) = @@j@@ ; goto LABEL_46 ; } if ( _pr_warning ) _pr_warning ( String , ( unsigned int ) @@j@@ , ( unsigned int ) ( @@v15@@ - Number ) ) ; 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": "v8", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s104"}, {"n": "v7", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s112"}, {"n": "j", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s16"}, {"n": "v18", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v17", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v15", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s48"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s52"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v12", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s68"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s88"}, {"n": "v10", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s90"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s96"}]} | [{"n": "data", "t": {"T": 3, "t": "Elf_Data"}, "location": "r16"}, {"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r24"}, {"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "shdr", "t": {"T": 3, "t": "GElf_Shdr"}, "location": "r64"}, {"n": "rel_8", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s104"}, {"n": "rel", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s112"}, {"n": "map_idx", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s16"}, {"n": "text_shndx", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "maps_shndx", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "maps", "t": {"T": 3, "t": "bpf_map"}, "location": "s40"}, {"n": "nr_maps", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s48"}, {"n": "nrels", "t": {"T": 1, "n": "int", "s": 4}, "location": "s52"}, {"n": "insns", "t": {"T": 3, "t": "bpf_insn"}, "location": "s64"}, {"n": "insn_idx", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s68"}, {"n": "sym_8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s88"}, {"n": "sym_6", "t": {"T": 1, "n": "unsigned __int16", "s": 2}, "location": "s90"}, {"n": "sym", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s96"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 81 | [] |
{"name": "bpf_program__reloc_text", "code": "__int64 __fastcall bpf_program__reloc_text ( __int64 @@a1@@ , __int64 @@a2@@ , _DWORD * @@a3@@ ) { __int64 @@v5@@ ; __int64 @@v6@@ ; __int64 @@v7@@ ; __int64 @@v8@@ ; if ( * @@a3@@ != Number ) return Number L ; if ( * ( _DWORD * ) @@a1@@ == * ( _DWORD * ) ( @@a2@@ + Number ) ) { if ( _pr_warning ) _pr_warning ( String , ( unsigned int ) @@a3@@ [ Number ] , ( unsigned int ) @@a3@@ [ Number ] ) ; return Number L ; } if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { LABEL_18 : @@v5@@ = * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@a3@@ [ Number ] ; * ( _DWORD * ) ( @@v5@@ + Number ) += * ( _QWORD * ) ( @@a1@@ + Number ) - @@a3@@ [ Number ] ; return Number L ; } @@v8@@ = bpf_object__find_prog_by_idx ( @@a2@@ , * ( _DWORD * ) ( @@a2@@ + Number ) ) ; if ( ! @@v8@@ ) { if ( _pr_warning ) _pr_warning ( String ) ; return Number L ; } @@v7@@ = * ( _QWORD * ) ( @@a1@@ + Number ) + * ( _QWORD * ) ( @@v8@@ + Number ) ; @@v6@@ = reallocarray ( ) ; if ( @@v6@@ ) { memcpy ( ( void * ) ( Number L * * ( _QWORD * ) ( @@a1@@ + Number ) + @@v6@@ ) , * ( const void * * ) ( @@v8@@ + Number ) , Number L * * ( _QWORD * ) ( @@v8@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@v6@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = * ( _QWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@v7@@ ; if ( _pr_debug ) _pr_debug ( String , * ( _QWORD * ) ( @@v8@@ + Number ) , * ( const char * * ) ( @@v8@@ + Number ) , * ( const char * * ) ( @@a1@@ + Number ) ) ; goto LABEL_18 ; } if ( _pr_warning ) _pr_warning ( String , @@v7@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "_DWORD"}, "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": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]} | [{"n": "relo", "t": {"T": 3, "t": "reloc_desc"}, "location": "r16"}, {"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r64"}, {"n": "new_cnt", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s16"}, {"n": "new_insn", "t": {"T": 3, "t": "bpf_insn"}, "location": "s24"}, {"n": "insn", "t": {"T": 3, "t": "bpf_insn"}, "location": "s32"}, {"n": "text", "t": {"T": 3, "t": "bpf_program"}, "location": "s8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 85 | [
"{\"name\": \"bpf_object__find_prog_by_idx\", \"code\": \"__int64 __fastcall bpf_object__find_prog_by_idx ( __int64 @@a1@@ , int @@a2@@ ) { unsigned __int64 @@i@@ ; for ( @@i@@ = Number L ; @@i@@ < * ( _QWORD * ) ( @@a1@@ + Number ) ; ++ @@i@@ ) { if ( @@a2@@ == * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * @@i@@ ) ) return * ( _QWORD * ) ( @@a1@@ + Number ) + Number * @@i@@ ; } return Number L ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s8\"}]}"
] |
{"name": "bpf_object__collect_reloc", "code": "__int64 __fastcall bpf_object__collect_reloc ( __int64 @@a1@@ ) { __int64 @@result@@ ; unsigned int @@v2@@ ; __int64 @@v3@@ ; unsigned int @@v4@@ ; __int64 @@v5@@ ; __int64 @@v6@@ ; int @@i@@ ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) { for ( @@i@@ = Number ; ; ++ @@i@@ ) { if ( @@i@@ >= * ( _DWORD * ) ( @@a1@@ + Number ) ) return Number L ; @@v6@@ = * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * @@i@@ ; @@v5@@ = * ( _QWORD * ) ( @@v6@@ + Number ) ; @@v4@@ = * ( _DWORD * ) ( @@v6@@ + Number ) ; if ( * ( _DWORD * ) ( @@v6@@ + Number ) != Number ) { if ( _pr_warning ) _pr_warning ( String , Number L ) ; return Number L ; } @@v3@@ = bpf_object__find_prog_by_idx ( @@a1@@ , @@v4@@ ) ; if ( ! @@v3@@ ) break ; @@v2@@ = bpf_program__collect_reloc ( @@v3@@ , @@v6@@ , @@v5@@ , @@a1@@ ) ; if ( @@v2@@ ) return @@v2@@ ; } if ( _pr_warning ) _pr_warning ( String , @@v4@@ ) ; @@result@@ = Number L ; } else { if ( _pr_warning ) _pr_warning ( String ) ; @@result@@ = Number L ; } 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": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s44"}]} | [{"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "shdr", "t": {"T": 3, "t": "$C9AA968D7A19797E29442162716C5F96"}, "location": "s16"}, {"n": "data", "t": {"T": 3, "t": "Elf_Data"}, "location": "s24"}, {"n": "idx", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s28"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "s40"}, {"n": "err", "t": {"T": 1, "n": "int", "s": 4}, "location": "s44"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 88 | [
"{\"name\": \"bpf_object__find_prog_by_idx\", \"code\": \"__int64 __fastcall bpf_object__find_prog_by_idx ( __int64 @@a1@@ , int @@a2@@ ) { unsigned __int64 @@i@@ ; for ( @@i@@ = Number L ; @@i@@ < * ( _QWORD * ) ( @@a1@@ + Number ) ; ++ @@i@@ ) { if ( @@a2@@ == * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number * @@i@@ ) ) return * ( _QWORD * ) ( @@a1@@ + Number ) + Number * @@i@@ ; } return Number L ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"r64\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s8\"}]}",
"{\"name\": \"bpf_program__collect_reloc\", \"code\": \"__int64 __fastcall bpf_program__collect_reloc ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ ) { unsigned __int64 v5 ; unsigned __int64 @@v7@@ ; unsigned __int64 @@v8@@ ; unsigned int @@v9@@ ; unsigned __int16 @@v10@@ ; __int64 @@v11@@ ; unsigned int @@v12@@ ; __int64 @@v13@@ ; int @@v14@@ ; unsigned __int64 @@v15@@ ; __int64 @@v16@@ ; int @@v17@@ ; int @@v18@@ ; unsigned __int64 @@j@@ ; unsigned int @@i@@ ; @@v18@@ = * ( _DWORD * ) ( @@a4@@ + Number ) ; @@v17@@ = * ( _DWORD * ) ( @@a4@@ + Number ) ; @@v16@@ = * ( _QWORD * ) ( @@a4@@ + Number ) ; @@v15@@ = * ( _QWORD * ) ( @@a4@@ + Number ) ; if ( _pr_debug ) _pr_debug ( String , * ( const char * * ) ( @@a1@@ + Number ) ) ; @@v14@@ = * ( _QWORD * ) ( @@a2@@ + Number ) / * ( _QWORD * ) ( @@a2@@ + Number ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = malloc ( Number L * @@v14@@ ) ; if ( ! * ( _QWORD * ) ( @@a1@@ + Number ) ) { if ( _pr_warning ) _pr_warning ( String ) ; return Number L ; } * ( _DWORD * ) ( @@a1@@ + Number ) = @@v14@@ ; for ( @@i@@ = Number ; ; ++ @@i@@ ) { if ( ( int ) @@i@@ >= @@v14@@ ) return Number L ; @@v13@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; if ( ! gelf_getrel ( ) ) { if ( _pr_warning ) _pr_warning ( String , @@i@@ ) ; return Number L ; } v5 = HIDWORD ( @@v8@@ ) ; if ( ! gelf_getsym ( ) ) { if ( _pr_warning ) _pr_warning ( String , HIDWORD ( @@v8@@ ) ) ; return Number L ; } if ( _pr_debug ) { v5 = HIDWORD ( @@v8@@ ) ; _pr_debug ( String , HIDWORD ( @@v8@@ ) , @@v11@@ , @@v9@@ ) ; } if ( @@v17@@ != @@v10@@ && @@v18@@ != @@v10@@ ) { if ( _pr_warning ) _pr_warning ( String , * ( const char * * ) ( @@a1@@ + Number ) , @@v10@@ ) ; return Number L ; } @@v12@@ = @@v7@@ >> Number ; if ( _pr_debug ) { v5 = @@v12@@ ; _pr_debug ( String , @@v12@@ ) ; } if ( * ( _BYTE * ) ( Number L * @@v12@@ + @@v13@@ ) != Number ) break ; if ( ( * ( _BYTE * ) ( Number L * @@v12@@ + @@v13@@ + Number ) & Number ) != Number ) { if ( _pr_warning ) _pr_warning ( String , v5 ) ; return Number L ; } * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@i@@ ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@i@@ + Number ) = @@v12@@ ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@i@@ + Number ) = @@v11@@ ; * ( _BYTE * ) ( @@a4@@ + Number ) = Number ; LABEL_46 : ; } if ( * ( _BYTE * ) ( Number L * @@v12@@ + @@v13@@ ) != Number ) { if ( _pr_warning ) _pr_warning ( String , @@v12@@ , * ( unsigned __int8 * ) ( Number L * @@v12@@ + @@v13@@ ) ) ; return Number L ; } for ( @@j@@ = Number L ; @@j@@ < @@v15@@ ; ++ @@j@@ ) { if ( * ( _QWORD * ) ( Number * @@j@@ + @@v16@@ + Number ) == @@v11@@ ) { if ( _pr_debug ) _pr_debug ( String , @@j@@ , * ( const char * * ) ( Number * @@j@@ + @@v16@@ + Number ) , @@v12@@ ) ; break ; } } if ( @@j@@ < @@v15@@ ) { * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@i@@ ) = Number ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@i@@ + Number ) = @@v12@@ ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * ( int ) @@i@@ + Number ) = @@j@@ ; goto LABEL_46 ; } if ( _pr_warning ) _pr_warning ( String , ( unsigned int ) @@j@@ , ( unsigned int ) ( @@v15@@ - Number ) ) ; 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\": \"v8\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s104\"}, {\"n\": \"v7\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s112\"}, {\"n\": \"j\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s16\"}, {\"n\": \"v18\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s28\"}, {\"n\": \"v17\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s32\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s4\"}, {\"n\": \"v16\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s40\"}, {\"n\": \"v15\", \"t\": {\"T\": 1, \"n\": \"unsigned __int64\", \"s\": 8}, \"location\": \"s48\"}, {\"n\": \"v14\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s52\"}, {\"n\": \"v13\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s64\"}, {\"n\": \"v12\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s68\"}, {\"n\": \"v11\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"s88\"}, {\"n\": \"v10\", \"t\": {\"T\": 1, \"n\": \"unsigned __int16\", \"s\": 2}, \"location\": \"s90\"}, {\"n\": \"v9\", \"t\": {\"T\": 1, \"n\": \"unsigned int\", \"s\": 4}, \"location\": \"s96\"}]}"
] |
{"name": "bpf_program__is_function_storage", "code": "_BOOL8 __fastcall bpf_program__is_function_storage ( _DWORD * @@a1@@ , __int64 @@a2@@ ) { return * @@a1@@ == * ( _DWORD * ) ( @@a2@@ + Number ) && * ( _BYTE * ) ( @@a2@@ + Number ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]} | [{"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 91 | [] |
{"name": "bpf_prog_type__needs_kver", "code": "__int64 __fastcall bpf_prog_type__needs_kver ( int @@a1@@ ) { __int64 @@result@@ ; switch ( @@a1@@ ) { case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : case Number : @@result@@ = Number L ; break ; default : @@result@@ = Number L ; break ; } 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": "type", "t": {"T": 1, "n": "bpf_prog_type", "s": 4}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "bool", "s": 1}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 93 | [] |
{"name": "bpf_object__validate", "code": "__int64 __fastcall bpf_object__validate ( __int64 @@a1@@ , char @@a2@@ ) { if ( ! @@a2@@ || * ( _DWORD * ) ( @@a1@@ + Number ) ) return Number L ; if ( _pr_warning ) _pr_warning ( String , ( const char * ) ( @@a1@@ + Number ) ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}]} | [{"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "needs_kver", "t": {"T": 1, "n": "bool", "s": 1}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 94 | [] |
{"name": "bpf_object__unload", "code": "__int64 __fastcall bpf_object__unload ( _QWORD * @@a1@@ ) { unsigned __int64 i ; unsigned __int64 j ; if ( ! @@a1@@ ) return Number L ; for ( i = Number L ; i < @@a1@@ [ Number ] ; ++ i ) { if ( * ( int * ) ( @@a1@@ [ Number ] + Number * i ) >= Number ) close ( * ( _DWORD * ) ( @@a1@@ [ Number ] + Number * i ) ) ; * ( _DWORD * ) ( @@a1@@ [ Number ] + Number * i ) = Number ; } for ( j = Number L ; j < @@a1@@ [ Number ] ; ++ j ) bpf_program__unload ( @@a1@@ [ Number ] + Number * j ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}]} | [{"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 99 | [
"{\"name\": \"bpf_program__unload\", \"code\": \"void __fastcall bpf_program__unload ( __int64 @@a1@@ ) { int @@i@@ ; if ( @@a1@@ ) { if ( * ( int * ) ( @@a1@@ + Number ) <= Number ) { if ( * ( _DWORD * ) ( @@a1@@ + Number ) != Number && _pr_warning ) _pr_warning ( String , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; } else { for ( @@i@@ = Number ; @@i@@ < * ( _DWORD * ) ( @@a1@@ + Number ) ; ++ @@i@@ ) { if ( * ( int * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) >= Number ) close ( * ( _DWORD * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; * ( _DWORD * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) = Number ; } } * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; free ( * ( void * * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; } }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}, {\"n\": \"i\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s4\"}]}"
] |
{"name": "check_path", "code": "__int64 __fastcall check_path ( const char * @@a1@@ ) { int * @@v2@@ ; struct statfs @@v3@@ ; char @@buf@@ [ Number ] ; char * @@v5@@ ; char * @@file@@ ; char * @@path@@ ; unsigned int @@v8@@ ; @@v8@@ = Number ; if ( ! @@a1@@ ) return Number L ; @@path@@ = strdup ( @@a1@@ ) ; if ( ! @@path@@ ) return Number L ; @@file@@ = dirname ( @@path@@ ) ; if ( statfs ( @@file@@ , & @@v3@@ ) ) { @@v2@@ = __errno_location ( ) ; @@v5@@ = strerror_r ( * @@v2@@ , @@buf@@ , Number ) ; if ( _pr_warning ) _pr_warning ( String , @@file@@ , @@v5@@ ) ; @@v8@@ = - * __errno_location ( ) ; } free ( @@path@@ ) ; if ( ! @@v8@@ && @@v3@@ . f_type != Number L ) { if ( _pr_warning ) _pr_warning ( String , @@a1@@ ) ; @@v8@@ = Number ; } return @@v8@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "int"}, "location": "r8"}, {"n": "path", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "buf", "t": {"T": 2, "n": 128, "s": 1, "t": "char"}, "location": "s160"}, {"n": "file", "t": {"T": 3, "t": "char"}, "location": "s24"}, {"n": "v3", "t": {"T": 6, "n": "struct statfs", "l": [{"T": 4, "n": "f_type", "t": "__fsword_t", "s": 8}, {"T": 4, "n": "f_bsize", "t": "__fsword_t", "s": 8}, {"T": 4, "n": "f_blocks", "t": "__fsblkcnt_t", "s": 8}, {"T": 4, "n": "f_bfree", "t": "__fsblkcnt_t", "s": 8}, {"T": 4, "n": "f_bavail", "t": "__fsblkcnt_t", "s": 8}, {"T": 4, "n": "f_files", "t": "__fsfilcnt_t", "s": 8}, {"T": 4, "n": "f_ffree", "t": "__fsfilcnt_t", "s": 8}, {"T": 4, "n": "f_fsid", "t": "__fsid_t", "s": 8}, {"T": 4, "n": "f_namelen", "t": "__fsword_t", "s": 8}, {"T": 4, "n": "f_frsize", "t": "__fsword_t", "s": 8}, {"T": 4, "n": "f_flags", "t": "__fsword_t", "s": 8}, {"T": 4, "n": "f_spare", "t": "__fsword_t[4]", "s": 32}]}, "location": "s288"}, {"n": "v5", "t": {"T": 3, "t": "char"}, "location": "s32"}, {"n": "v8", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]} | [{"n": "path", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "int"}, "location": "r8"}, {"n": "dname", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "errmsg", "t": {"T": 2, "n": 128, "s": 1, "t": "char"}, "location": "s160"}, {"n": "dir", "t": {"T": 3, "t": "char"}, "location": "s24"}, {"n": "st_fs", "t": {"T": 6, "n": "statfs", "l": [{"T": 4, "n": "f_type", "t": "__fsword_t", "s": 8}, {"T": 4, "n": "f_bsize", "t": "__fsword_t", "s": 8}, {"T": 4, "n": "f_blocks", "t": "__fsblkcnt_t", "s": 8}, {"T": 4, "n": "f_bfree", "t": "__fsblkcnt_t", "s": 8}, {"T": 4, "n": "f_bavail", "t": "__fsblkcnt_t", "s": 8}, {"T": 4, "n": "f_files", "t": "__fsfilcnt_t", "s": 8}, {"T": 4, "n": "f_ffree", "t": "__fsfilcnt_t", "s": 8}, {"T": 4, "n": "f_fsid", "t": "__fsid_t", "s": 8}, {"T": 4, "n": "f_namelen", "t": "__fsword_t", "s": 8}, {"T": 4, "n": "f_frsize", "t": "__fsword_t", "s": 8}, {"T": 4, "n": "f_flags", "t": "__fsword_t", "s": 8}, {"T": 4, "n": "f_spare", "t": "__fsword_t[4]", "s": 32}]}, "location": "s288"}, {"n": "cp", "t": {"T": 3, "t": "char"}, "location": "s32"}, {"n": "err", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 101 | [] |
{"name": "make_dir", "code": "__int64 __fastcall make_dir ( const char * @@a1@@ ) { char @@buf@@ [ Number ] ; char * @@v3@@ ; unsigned int @@v4@@ ; @@v4@@ = Number ; if ( mkdir ( @@a1@@ , Number ) && * __errno_location ( ) != Number ) @@v4@@ = - * __errno_location ( ) ; if ( @@v4@@ ) { @@v3@@ = strerror_r ( - @@v4@@ , @@buf@@ , Number ) ; if ( _pr_warning ) _pr_warning ( String , @@a1@@ , @@v3@@ ) ; } return @@v4@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "buf", "t": {"T": 2, "n": 128, "s": 1, "t": "char"}, "location": "s144"}, {"n": "v3", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]} | [{"n": "path", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "errmsg", "t": {"T": 2, "n": 128, "s": 1, "t": "char"}, "location": "s144"}, {"n": "cp", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "err", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 103 | [] |
{"name": "bpf_object__next", "code": "char * __fastcall bpf_object__next ( __int64 @@a1@@ ) { char * @@result@@ ; char * @@v2@@ ; if ( @@a1@@ ) @@v2@@ = ( char * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) - Number L ) ; else @@v2@@ = ( char * ) bpf_objects_list - Number ; if ( @@v2@@ + Number == ( char * ) & bpf_objects_list ) @@result@@ = Number L ; else @@result@@ = @@v2@@ ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "char"}, "location": "r8"}, {"n": "v2", "t": {"T": 3, "t": "char"}, "location": "s8"}]} | [{"n": "prev", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "bpf_object"}, "location": "r8"}, {"n": "next", "t": {"T": 3, "t": "bpf_object"}, "location": "s8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 108 | [] |
{"name": "bpf_object__name", "code": "__int64 __fastcall bpf_object__name ( __int64 @@a1@@ ) { __int64 @@result@@ ; if ( @@a1@@ ) @@result@@ = @@a1@@ + Number ; else @@result@@ = ERR_PTR ( 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": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "const char"}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 109 | [
"{\"name\": \"ERR_PTR\", \"code\": \"__int64 __fastcall ERR_PTR ( __int64 @@a1@@ ) { return @@a1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}]}"
] |
{"name": "bpf_object__kversion", "code": "__int64 __fastcall bpf_object__kversion ( __int64 @@a1@@ ) { __int64 @@result@@ ; if ( @@a1@@ ) @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; else @@result@@ = Number L ; 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": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 110 | [] |
{"name": "bpf_object__btf_fd", "code": "__int64 __fastcall bpf_object__btf_fd ( __int64 @@a1@@ , float @@a2@@ , double @@a3@@ ) { __int64 @@result@@ ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) @@result@@ = btf ( @@a2@@ , @@a3@@ ) ; else @@result@@ = Number ; return @@result@@ ; }", "source": [{"n": "a2", "t": {"T": 1, "n": "float", "s": 4}, "location": "r496"}, {"n": "a3", "t": {"T": 1, "n": "double", "s": 8}, "location": "r512"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "", "t": {"T": 10}, "location": "r496"}, {"n": "", "t": {"T": 10}, "location": "r512"}, {"n": "obj", "t": {"T": 3, "t": "const bpf_object"}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 111 | [] |
{"name": "bpf_object__set_priv", "code": "__int64 __fastcall bpf_object__set_priv ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { if ( * ( _QWORD * ) ( @@a1@@ + Number ) && * ( _QWORD * ) ( @@a1@@ + Number ) ) ( * ( void ( __fastcall * * ) ( __int64 , _QWORD ) ) ( @@a1@@ + Number ) ) ( @@a1@@ , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a3@@ ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "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": "clear_priv", "t": {"T": 9, "n": "bpf_object_clear_priv_t"}, "location": "r16"}, {"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "priv", "t": {"T": 3, "t": "void"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 112 | [] |
{"name": "bpf_object__priv", "code": "__int64 __fastcall bpf_object ( __int64 @@a1@@ ) { __int64 @@result@@ ; if ( @@a1@@ ) @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; else @@result@@ = ERR_PTR ( 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": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "void"}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 113 | [
"{\"name\": \"ERR_PTR\", \"code\": \"__int64 __fastcall ERR_PTR ( __int64 @@a1@@ ) { return @@a1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}]}"
] |
{"name": "bpf_program__next", "code": "_DWORD * __fastcall bpf_program__next ( _DWORD * @@a1@@ , __int64 @@a2@@ ) { do @@a1@@ = ( _DWORD * ) _bpf_program__next ( ( __int64 ) @@a1@@ , @@a2@@ ) ; while ( @@a1@@ && bpf_program__is_function_storage ( @@a1@@ , @@a2@@ ) ) ; return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}]} | [{"n": "prev", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "obj", "t": {"T": 3, "t": "bpf_object"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 115 | [
"{\"name\": \"bpf_program__is_function_storage\", \"code\": \"_BOOL8 __fastcall bpf_program__is_function_storage ( _DWORD * @@a1@@ , __int64 @@a2@@ ) { return * @@a1@@ == * ( _DWORD * ) ( @@a2@@ + Number ) && * ( _BYTE * ) ( @@a2@@ + Number ) ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 3, \"t\": \"_DWORD\"}, \"location\": \"r56\"}, {\"n\": \"a2\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r64\"}]}"
] |
{"name": "bpf_program__set_priv", "code": "__int64 __fastcall bpf_program__set_priv ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ ) { if ( * ( _QWORD * ) ( @@a1@@ + Number ) && * ( _QWORD * ) ( @@a1@@ + Number ) ) ( * ( void ( __fastcall * * ) ( __int64 , _QWORD ) ) ( @@a1@@ + Number ) ) ( @@a1@@ , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a3@@ ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "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": "clear_priv", "t": {"T": 9, "n": "bpf_program_clear_priv_t"}, "location": "r16"}, {"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "priv", "t": {"T": 3, "t": "void"}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 116 | [] |
{"name": "bpf_program__priv", "code": "__int64 __fastcall bpf_program ( __int64 @@a1@@ ) { __int64 @@result@@ ; if ( @@a1@@ ) @@result@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; else @@result@@ = ERR_PTR ( 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": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "result", "t": {"T": 3, "t": "void"}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 117 | [
"{\"name\": \"ERR_PTR\", \"code\": \"__int64 __fastcall ERR_PTR ( __int64 @@a1@@ ) { return @@a1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}]}"
] |
{"name": "bpf_program__set_ifindex", "code": "__int64 __fastcall bpf_program__set_ifindex ( __int64 @@a1@@ , int @@a2@@ ) { __int64 @@result@@ ; @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; 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": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "ifindex", "t": {"T": 1, "n": "__u32", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 118 | [] |
{"name": "bpf_program__title", "code": "__int64 __fastcall bpf_program__title ( __int64 @@a1@@ , char @@a2@@ ) { const char * @@s@@ ; @@s@@ = * ( const char * * ) ( @@a1@@ + Number ) ; if ( ! @@a2@@ ) return ( __int64 ) @@s@@ ; @@s@@ = strdup ( @@s@@ ) ; if ( @@s@@ ) return ( __int64 ) @@s@@ ; if ( _pr_warning ) _pr_warning ( String ) ; return ERR_PTR ( Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}, {"n": "s", "t": {"T": 3, "t": "const char"}, "location": "s8"}]} | [{"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "needs_copy", "t": {"T": 1, "n": "bool", "s": 1}, "location": "r64"}, {"n": "title", "t": {"T": 3, "t": "char"}, "location": "s8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 119 | [
"{\"name\": \"ERR_PTR\", \"code\": \"__int64 __fastcall ERR_PTR ( __int64 @@a1@@ ) { return @@a1@@ ; }\", \"source\": [{\"n\": \"a1\", \"t\": {\"T\": 1, \"n\": \"__int64\", \"s\": 8}, \"location\": \"r56\"}]}"
] |
{"name": "bpf_program__fd", "code": "__int64 __fastcall bpf_program ( double @@a1@@ , double @@a2@@ , __int64 @@a3@@ ) { return bpf_program__nth_fd ( @@a3@@ , Number L , @@a1@@ , @@a2@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "double", "s": 8}, "location": "r496"}, {"n": "a2", "t": {"T": 1, "n": "double", "s": 8}, "location": "r512"}, {"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} | [{"n": "", "t": {"T": 10}, "location": "r496"}, {"n": "", "t": {"T": 10}, "location": "r512"}, {"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 120 | [
"{\"name\": \"bpf_program__nth_fd\", \"code\": \"__int64 __fastcall bpf_program__nth_fd ( __int64 @@a1@@ , int @@a2@@ ) { __int64 @@result@@ ; int @@v3@@ ; if ( ! @@a1@@ ) return Number L ; if ( @@a2@@ < * ( _DWORD * ) ( @@a1@@ + Number ) && @@a2@@ >= Number ) { @@v3@@ = * ( _DWORD * ) ( Number L * @@a2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ; if ( @@v3@@ >= Number ) { @@result@@ = ( unsigned int ) @@v3@@ ; } else { if ( _pr_warning ) _pr_warning ( String , ( unsigned int ) @@a2@@ , * ( const char * * ) ( @@a1@@ + Number ) ) ; @@result@@ = Number L ; } } else { if ( _pr_warning ) _pr_warning ( String , ( unsigned int ) @@a2@@ , * ( const char * * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; @@result@@ = 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\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}, {\"n\": \"v3\", \"t\": {\"T\": 1, \"n\": \"int\", \"s\": 4}, \"location\": \"s4\"}]}"
] |
{"name": "bpf_program__set_prep", "code": "__int64 __fastcall bpf_program__set_prep ( __int64 @@a1@@ , int @@a2@@ , __int64 @@a3@@ ) { __int64 @@result@@ ; void * @@s@@ ; if ( @@a2@@ <= Number || ! @@a3@@ ) return Number L ; if ( * ( int * ) ( @@a1@@ + Number ) > Number || * ( _QWORD * ) ( @@a1@@ + Number ) ) { if ( _pr_warning ) _pr_warning ( String ) ; @@result@@ = Number L ; } else { @@s@@ = malloc ( Number L * @@a2@@ ) ; if ( @@s@@ ) { memset ( @@s@@ , Number , Number L * @@a2@@ ) ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@s@@ ; * ( _QWORD * ) ( @@a1@@ + Number ) = @@a3@@ ; @@result@@ = Number L ; } else { if ( _pr_warning ) _pr_warning ( String ) ; @@result@@ = Number L ; } } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "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": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "s", "t": {"T": 3, "t": "void"}, "location": "s8"}]} | [{"n": "prep", "t": {"T": 9, "n": "bpf_program_prep_t"}, "location": "r16"}, {"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "nr_instances", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "instances_fds", "t": {"T": 3, "t": "int"}, "location": "s8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 121 | [] |
{"name": "bpf_program__nth_fd", "code": "__int64 __fastcall bpf_program__nth_fd ( __int64 @@a1@@ , int @@a2@@ ) { __int64 @@result@@ ; int @@v3@@ ; if ( ! @@a1@@ ) return Number L ; if ( @@a2@@ < * ( _DWORD * ) ( @@a1@@ + Number ) && @@a2@@ >= Number ) { @@v3@@ = * ( _DWORD * ) ( Number L * @@a2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ; if ( @@v3@@ >= Number ) { @@result@@ = ( unsigned int ) @@v3@@ ; } else { if ( _pr_warning ) _pr_warning ( String , ( unsigned int ) @@a2@@ , * ( const char * * ) ( @@a1@@ + Number ) ) ; @@result@@ = Number L ; } } else { if ( _pr_warning ) _pr_warning ( String , ( unsigned int ) @@a2@@ , * ( const char * * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; @@result@@ = 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": "__int64", "s": 8}, "location": "r8"}, {"n": "v3", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]} | [{"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "n", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "", "t": {"T": 10}, "location": "s4"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 122 | [] |
{"name": "bpf_program__set_type", "code": "__int64 __fastcall bpf_program__set_type ( __int64 @@a1@@ , int @@a2@@ ) { __int64 @@result@@ ; @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; 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": "__int64", "s": 8}, "location": "r8"}]} | [{"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "type", "t": {"T": 1, "n": "bpf_prog_type", "s": 4}, "location": "r64"}, {"n": "", "t": {"T": 10}, "location": "r8"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 123 | [] |
{"name": "bpf_program__is_type", "code": "_BOOL8 __fastcall bpf_program__is_type ( __int64 @@a1@@ , int @@a2@@ ) { return @@a1@@ && @@a2@@ == * ( _DWORD * ) ( @@a1@@ + Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}]} | [{"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}, {"n": "type", "t": {"T": 1, "n": "bpf_prog_type", "s": 4}, "location": "r64"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 124 | [] |
{"name": "bpf_program__set_socket_filter", "code": "__int64 __fastcall bpf_program__set_socket_filter ( __int64 @@a1@@ ) { if ( ! @@a1@@ ) return Number L ; bpf_program__set_type ( @@a1@@ , Number ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} | [{"n": "prog", "t": {"T": 3, "t": "bpf_program"}, "location": "r56"}] | data1/train-shard-10.tar | 26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc_26ee5ed9897f813beae403d904d319540f7683eaabbfd36a408c376b97063cdc.jsonl | 125 | [
"{\"name\": \"bpf_program__set_type\", \"code\": \"__int64 __fastcall bpf_program__set_type ( __int64 @@a1@@ , int @@a2@@ ) { __int64 @@result@@ ; @@result@@ = @@a1@@ ; * ( _DWORD * ) ( @@a1@@ + Number ) = @@a2@@ ; 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\": \"__int64\", \"s\": 8}, \"location\": \"r8\"}]}"
] |