src
stringlengths
11
425k
codeart
stringlengths
257
560k
int und_build_packet_param(const char *content, char *param, int param_len) { int len = 0; UND_PTR_SANITY_CHECK(content, UND_PARAM_ERR); UND_PTR_SANITY_CHECK(param, UND_PARAM_ERR); UND_PARAM_RANGE_SANITY_CHECK(param_len, UND_REPORT_BUF_LEN_MAX, 1, UND_PARAM_ERR); len = aos_snprintf(param, param_len, UND_REPORT_PARAM_FMT, content); return len; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_488817", "function_addr": 4753431, "binary_name": "8637b53fba300d2bbda36edc905b4ce0ac17bbe93b75784d9e0ff8ef770869f2.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 30h"], [3, "mov [rbp+var_18], rdi"], [4, "mov [rbp+var_20], rsi"], [5, "mov [rbp+var_24], edx"], [6, "mov [rbp+var_4], 0"], [7, "cmp [rbp+var_18], 0"], [8, "jnz short loc_48883F"], [9, "mov eax, 0FFFFFFFDh"], [10, "jmp short locret_488889"], [11, "cmp [rbp+var_20], 0"], [12, "jnz short loc_48884D"], [13, "mov eax, 0FFFFFFFDh"], [14, "jmp short locret_488889"], [15, "cmp [rbp+var_24], 600h"], [16, "jg short loc_48885C"], [17, "cmp [rbp+var_24], 0"], [18, "jg short loc_488863"], [19, "mov eax, 0FFFFFFFDh"], [20, "jmp short locret_488889"], [21, "mov rdx, [rbp+var_18]"], [22, "mov esi, [rbp+var_24]"], [23, "mov rax, [rbp+var_20]"], [24, "mov rcx, rdx"], [25, "mov edx, offset aPSModelFormatS"], [26, "mov rdi, rax"], [27, "mov eax, 0"], [28, "call sub_48C81F"], [29, "mov [rbp+var_4], eax"], [30, "mov eax, [rbp+var_4]"], [31, "leave"], [32, "retn"]], "data_dep": [[7, 3], [8, 7], [11, 4], [12, 11], [15, 5], [16, 15], [17, 5], [18, 17], [21, 3], [22, 5], [23, 4], [24, 21], [26, 23], [29, 28], [30, 29], [32, 9], [32, 30], [32, 13], [32, 19]]}
void center_mode_action(char * ctx_name, char * opt_name, char * param, int nb_values, char ** values, int nb_opt_data, void ** opt_data, int nb_ctx_data, void ** ctx_data) { win_t * win = opt_data[0]; win->center = 1; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_40ECC8", "function_addr": 4254920, "binary_name": "e6951f37e53aa26b8cc1158f7a801b19b5050181eb2932e812d0435a1aa23f66.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "mov [rbp+var_18], rdi"], [3, "mov [rbp+var_20], rsi"], [4, "mov [rbp+var_28], rdx"], [5, "mov [rbp+var_2C], ecx"], [6, "mov [rbp+var_38], r8"], [7, "mov [rbp+var_30], r9d"], [8, "mov rax, [rbp+arg_0]"], [9, "mov rax, [rax]"], [10, "mov [rbp+var_8], rax"], [11, "mov rax, [rbp+var_8]"], [12, "mov byte ptr [rax+75h], 1"], [13, "nop"], [14, "pop rbp"], [15, "retn"]], "data_dep": [[9, 8], [10, 9], [11, 10], [12, 11], [14, 0], [15, 11]]}
mpack_type_t mpack_node_type(mpack_node_t node) { if (mpack_node_error(node) != mpack_ok) return mpack_type_nil; return node.data->type; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_40770F", "function_addr": 4224783, "binary_name": "552648330d8e56cb3c091c2c1c2e19c4189791830acc232658290a0e8dbf3e96.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 10h"], [3, "mov rax, rdi"], [4, "mov rcx, rsi"], [5, "mov rdx, rcx"], [6, "mov [rbp+var_10], rax"], [7, "mov [rbp+var_8], rdx"], [8, "mov rdx, [rbp+var_10]"], [9, "mov rax, [rbp+var_8]"], [10, "mov rdi, rdx"], [11, "mov rsi, rax"], [12, "call sub_409CDC"], [13, "test eax, eax"], [14, "jz short loc_407746"], [15, "mov eax, 1"], [16, "jmp short locret_40774C"], [17, "mov rax, [rbp+var_10]"], [18, "mov eax, [rax]"], [19, "leave"], [20, "retn"]], "data_dep": [[5, 4], [6, 3], [7, 5], [8, 6], [9, 7], [10, 8], [11, 9], [13, 12], [14, 13], [17, 6], [18, 17], [20, 18], [20, 15]]}
static void Cmd_Eyeposition (void) { // rotate points into frame of reference so model points down the positive x // axis GetToken (false); model.eyeposition[1] = atof (token); GetToken (false); model.eyeposition[0] = -atof (token); GetToken (false); model.eyeposition[2] = atof (token); }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_4098D5", "function_addr": 4233429, "binary_name": "26fcc7733e4182cd7dd55c3d72406c180f70d9ab8f1f03c3852f8b9cfe1416e4.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "mov edi, 0"], [3, "call sub_403043"], [4, "mov edi, offset byte_410980"], [5, "call _atof"], [6, "cvtsd2ss xmm0, xmm0"], [7, "movss cs:dword_1413448, xmm0"], [8, "mov edi, 0"], [9, "call sub_403043"], [10, "mov edi, offset byte_410980"], [11, "call _atof"], [12, "cvtsd2ss xmm0, xmm0"], [13, "movss xmm1, cs:dword_40C0A0"], [14, "xorps xmm0, xmm1"], [15, "movss cs:dword_1413444, xmm0"], [16, "mov edi, 0"], [17, "call sub_403043"], [18, "mov edi, offset byte_410980"], [19, "call _atof"], [20, "cvtsd2ss xmm0, xmm0"], [21, "movss cs:dword_141344C, xmm0"], [22, "nop"], [23, "pop rbp"], [24, "retn"]], "data_dep": [[7, 6], [12, 6], [14, 13], [14, 12], [15, 14], [20, 14], [21, 20], [23, 0], [24, 19]]}
void ConvertHeaderBytes(ipc_msg_hdr *hdr) { hdr->version = htonl(hdr->version); hdr->datalen = htonl(hdr->datalen); hdr->ipc_flags = htonl(hdr->ipc_flags); hdr->op = htonl(hdr->op ); hdr->reg_index = htonl(hdr->reg_index); }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_409680", "function_addr": 4232832, "binary_name": "5315d423f79afb83f749d4d734d1dde80b0f439f410fcfb4b4bf9fe5a60ff93d.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 10h"], [3, "mov [rbp+var_8], rdi"], [4, "mov rax, [rbp+var_8]"], [5, "mov eax, [rax]"], [6, "mov edi, eax"], [7, "call _htonl"], [8, "mov rdx, [rbp+var_8]"], [9, "mov [rdx], eax"], [10, "mov rax, [rbp+var_8]"], [11, "mov eax, [rax+4]"], [12, "mov edi, eax"], [13, "call _htonl"], [14, "mov rdx, [rbp+var_8]"], [15, "mov [rdx+4], eax"], [16, "mov rax, [rbp+var_8]"], [17, "mov eax, [rax+8]"], [18, "mov edi, eax"], [19, "call _htonl"], [20, "mov rdx, [rbp+var_8]"], [21, "mov [rdx+8], eax"], [22, "mov rax, [rbp+var_8]"], [23, "mov eax, [rax+0Ch]"], [24, "mov edi, eax"], [25, "call _htonl"], [26, "mov rdx, [rbp+var_8]"], [27, "mov [rdx+0Ch], eax"], [28, "mov rax, [rbp+var_8]"], [29, "mov eax, [rax+18h]"], [30, "mov edi, eax"], [31, "call _htonl"], [32, "mov rdx, [rbp+var_8]"], [33, "mov [rdx+18h], eax"], [34, "nop"], [35, "leave"], [36, "retn"]], "data_dep": [[4, 3], [5, 4], [6, 5], [8, 3], [9, 8], [9, 7], [10, 3], [11, 10], [11, 9], [12, 11], [14, 3], [15, 14], [15, 13], [16, 3], [17, 15], [17, 16], [18, 17], [20, 3], [21, 19], [21, 20], [22, 3], [23, 22], [23, 21], [24, 23], [26, 3], [27, 25], [27, 26], [28, 3], [29, 28], [29, 27], [30, 29], [32, 3], [33, 32], [33, 31], [36, 31]]}
static void fifo_push_bg_row(GB_fifo_t *fifo, uint8_t lower, uint8_t upper, uint8_t palette, bool bg_priority, bool flip_x) { assert(fifo->size == 0); fifo->size = 8; if (!flip_x) { unrolled for (unsigned i = 0; i < 8; i++) { fifo->fifo[i] = (GB_fifo_item_t) { (lower >> 7) | ((upper >> 7) << 1), palette, 0, bg_priority, }; lower <<= 1; upper <<= 1; } } else { unrolled for (unsigned i = 0; i < 8; i++) { fifo->fifo[i] = (GB_fifo_item_t) { (lower & 1) | ((upper & 1) << 1), palette, 0, bg_priority, }; lower >>= 1; upper >>= 1; } } }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_4168FE", "function_addr": 4286718, "binary_name": "276536b89cc3e58f9e6dd34cde9d9d4ba21328c5a859320d5e06460e1ec2c7de.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 30h"], [3, "mov [rbp+var_18], rdi"], [4, "mov eax, ecx"], [5, "mov edi, r9d"], [6, "mov ecx, esi"], [7, "mov [rbp+var_1C], cl"], [8, "mov [rbp+var_20], dl"], [9, "mov [rbp+var_24], al"], [10, "mov eax, r8d"], [11, "mov [rbp+var_28], al"], [12, "mov eax, edi"], [13, "mov [rbp+var_2C], al"], [14, "mov rax, [rbp+var_18]"], [15, "movzx eax, byte ptr [rax+21h]"], [16, "test al, al"], [17, "jz short loc_41694A"], [18, "mov ecx, offset aFifoPushBgRow"], [19, "mov edx, 21h "], [20, "mov esi, offset aCoreDisplayC"], [21, "mov edi, offset aFifoSize0"], [22, "call ___assert_fail"], [23, "mov rax, [rbp+var_18]"], [24, "mov byte ptr [rax+21h], 8"], [25, "movzx eax, [rbp+var_2C]"], [26, "xor eax, 1"], [27, "test al, al"], [28, "jz short loc_4169CA"], [29, "mov [rbp+var_4], 0"], [30, "jmp short loc_4169BD"], [31, "movzx eax, [rbp+var_1C]"], [32, "shr al, 7"], [33, "mov edx, eax"], [34, "movzx eax, [rbp+var_20]"], [35, "shr al, 7"], [36, "movzx eax, al"], [37, "add eax, eax"], [38, "or eax, edx"], [39, "mov ecx, eax"], [40, "mov rax, [rbp+var_18]"], [41, "mov edx, [rbp+var_4]"], [42, "mov [rax+rdx*4], cl"], [43, "mov rax, [rbp+var_18]"], [44, "mov edx, [rbp+var_4]"], [45, "movzx ecx, [rbp+var_24]"], [46, "mov [rax+rdx*4+1], cl"], [47, "mov rax, [rbp+var_18]"], [48, "mov edx, [rbp+var_4]"], [49, "mov byte ptr [rax+rdx*4+2], 0"], [50, "mov rax, [rbp+var_18]"], [51, "mov edx, [rbp+var_4]"], [52, "movzx ecx, [rbp+var_28]"], [53, "mov [rax+rdx*4+3], cl"], [54, "shl [rbp+var_1C], 1"], [55, "shl [rbp+var_20], 1"], [56, "add [rbp+var_4], 1"], [57, "cmp [rbp+var_4], 7"], [58, "setbe al"], [59, "test al, al"], [60, "jnz short loc_416966"], [61, "jmp short loc_416A32"], [62, "mov [rbp+var_8], 0"], [63, "jmp short loc_416A27"], [64, "movzx eax, [rbp+var_1C]"], [65, "and eax, 1"], [66, "mov edx, eax"], [67, "movzx eax, [rbp+var_20]"], [68, "add eax, eax"], [69, "and eax, 2"], [70, "or eax, edx"], [71, "mov ecx, eax"], [72, "mov rax, [rbp+var_18]"], [73, "mov edx, [rbp+var_8]"], [74, "mov [rax+rdx*4], cl"], [75, "mov rax, [rbp+var_18]"], [76, "mov edx, [rbp+var_8]"], [77, "movzx ecx, [rbp+var_24]"], [78, "mov [rax+rdx*4+1], cl"], [79, "mov rax, [rbp+var_18]"], [80, "mov edx, [rbp+var_8]"], [81, "mov byte ptr [rax+rdx*4+2], 0"], [82, "mov rax, [rbp+var_18]"], [83, "mov edx, [rbp+var_8]"], [84, "movzx ecx, [rbp+var_28]"], [85, "mov [rax+rdx*4+3], cl"], [86, "shr [rbp+var_1C], 1"], [87, "shr [rbp+var_20], 1"], [88, "add [rbp+var_8], 1"], [89, "cmp [rbp+var_8], 7"], [90, "setbe al"], [91, "test al, al"], [92, "jnz short loc_4169D3"], [93, "nop"], [94, "leave"], [95, "retn"]], "data_dep": [[7, 6], [9, 4], [11, 10], [12, 5], [13, 12], [14, 3], [15, 14], [16, 15], [17, 16], [23, 3], [24, 23], [25, 13], [26, 25], [27, 26], [28, 27], [31, 7], [31, 54], [32, 31], [33, 32], [34, 55], [34, 8], [35, 34], [36, 35], [37, 36], [38, 33], [38, 37], [39, 38], [40, 3], [41, 29], [41, 56], [42, 39], [42, 40], [43, 3], [44, 29], [44, 56], [45, 9], [46, 43], [46, 45], [47, 3], [48, 29], [48, 56], [49, 47], [50, 3], [51, 29], [51, 56], [52, 11], [53, 50], [53, 52], [54, 7], [54, 54], [55, 8], [55, 55], [56, 29], [56, 56], [57, 29], [57, 56], [58, 27], [58, 57], [58, 50], [59, 58], [60, 59], [64, 7], [64, 86], [65, 64], [66, 65], [67, 8], [67, 87], [68, 67], [69, 68], [70, 66], [70, 69], [71, 70], [72, 3], [73, 62], [73, 88], [74, 72], [74, 71], [75, 3], [76, 88], [76, 62], [77, 9], [78, 77], [78, 75], [79, 3], [80, 88], [80, 62], [81, 79], [82, 3], [83, 62], [83, 88], [84, 11], [85, 82], [85, 84], [86, 7], [86, 86], [87, 8], [87, 87], [88, 88], [88, 62], [89, 88], [89, 62], [90, 89], [90, 82], [90, 27], [91, 90], [92, 91], [95, 59], [95, 91]]}
int test_subscribe_options_messageArrived(void* context, char* topicName, int topicLen, MQTTClient_message* message) { int subsidcount = 0, i = 0, subsid = -1; MyLog(LOGA_DEBUG, "Callback: message received on topic %s is %.*s.", topicName, message->payloadlen, (char*)(message->payload)); assert("Message structure version should be 1", message->struct_version == 1, "message->struct_version was %d", message->struct_version); if (message->struct_version == 1) { const int props_count = 0; MyLog(LOGA_INFO, "Message properties:"); logProperties(&message->properties); } test_subscribe_options_globals.messages_arrived++; if (test_subscribe_options_globals.messages_arrived == 1) { subsidcount = MQTTProperties_propertyCount(&message->properties, MQTTPROPERTY_CODE_SUBSCRIPTION_IDENTIFIER); assert("Subsidcount is i", subsidcount == 1, "subsidcount is not correct %d\n", subsidcount); subsid = MQTTProperties_getNumericValueAt(&message->properties, MQTTPROPERTY_CODE_SUBSCRIPTION_IDENTIFIER, 0); assert("Subsid is 2", subsid == 2, "subsid is not correct %d\n", subsid); } MQTTClient_free(topicName); MQTTClient_freeMessage(&message); return 1; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_407B39", "function_addr": 4225849, "binary_name": "cb0b70fcac8f2551fc8f6070bb8195eef129dee0b5380abcd9d8d4d8fd996940.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 30h"], [3, "mov [rbp+var_18], rdi"], [4, "mov [rbp+var_20], rsi"], [5, "mov [rbp+var_24], edx"], [6, "mov [rbp+var_30], rcx"], [7, "mov [rbp+var_4], 0"], [8, "mov [rbp+var_8], 0"], [9, "mov [rbp+var_C], 0FFFFFFFFh"], [10, "mov rax, [rbp+var_30]"], [11, "mov rcx, [rax+10h]"], [12, "mov rax, [rbp+var_30]"], [13, "mov edx, [rax+8]"], [14, "mov rax, [rbp+var_20]"], [15, "mov r8, rcx"], [16, "mov ecx, edx"], [17, "mov rdx, rax"], [18, "mov esi, offset aCallbackMessag"], [19, "mov edi, 0"], [20, "mov eax, 0"], [21, "call sub_402D58"], [22, "mov rax, [rbp+var_30]"], [23, "mov edx, [rax+4]"], [24, "mov rax, [rbp+var_30]"], [25, "mov eax, [rax+4]"], [26, "cmp eax, 1"], [27, "setz al"], [28, "movzx eax, al"], [29, "mov r9d, edx"], [30, "mov r8d, offset aMessageStructV"], [31, "mov ecx, eax"], [32, "mov edx, offset aMessageStructu"], [33, "mov esi, 5E1h"], [34, "mov edi, offset aSrcTestTest10C"], [35, "mov eax, 0"], [36, "call sub_403081"], [37, "mov rax, [rbp+var_30]"], [38, "mov eax, [rax+4]"], [39, "cmp eax, 1"], [40, "jnz short loc_407C06"], [41, "mov [rbp+var_10], 0"], [42, "mov esi, offset aMessagePropert"], [43, "mov edi, 1"], [44, "mov eax, 0"], [45, "call sub_402D58"], [46, "mov rax, [rbp+var_30]"], [47, "add rax, 28h "], [48, "mov rdi, rax"], [49, "call sub_4031F1"], [50, "mov eax, cs:dword_40D308"], [51, "add eax, 1"], [52, "mov cs:dword_40D308, eax"], [53, "mov eax, cs:dword_40D308"], [54, "cmp eax, 1"], [55, "jnz loc_407CBB"], [56, "mov rax, [rbp+var_30]"], [57, "add rax, 28h "], [58, "mov esi, 0Bh"], [59, "mov rdi, rax"], [60, "call _MQTTProperties_propertyCount"], [61, "mov [rbp+var_4], eax"], [62, "cmp [rbp+var_4], 1"], [63, "setz al"], [64, "movzx eax, al"], [65, "mov edx, [rbp+var_4]"], [66, "mov r9d, edx"], [67, "mov r8d, offset aSubsidcountIsN"], [68, "mov ecx, eax"], [69, "mov edx, offset aSubsidcountIsI"], [70, "mov esi, 5EFh"], [71, "mov edi, offset aSrcTestTest10C"], [72, "mov eax, 0"], [73, "call sub_403081"], [74, "mov rax, [rbp+var_30]"], [75, "add rax, 28h "], [76, "mov edx, 0"], [77, "mov esi, 0Bh"], [78, "mov rdi, rax"], [79, "call _MQTTProperties_getNumericValueAt"], [80, "mov [rbp+var_C], eax"], [81, "cmp [rbp+var_C], 2"], [82, "setz al"], [83, "movzx eax, al"], [84, "mov edx, [rbp+var_C]"], [85, "mov r9d, edx"], [86, "mov r8d, offset aSubsidIsNotCor"], [87, "mov ecx, eax"], [88, "mov edx, offset aSubsidIs2"], [89, "mov esi, 5F2h"], [90, "mov edi, offset aSrcTestTest10C"], [91, "mov eax, 0"], [92, "call sub_403081"], [93, "mov rax, [rbp+var_20]"], [94, "mov rdi, rax"], [95, "call _MQTTClient_free"], [96, "lea rax, [rbp+var_30]"], [97, "mov rdi, rax"], [98, "call _MQTTClient_freeMessage"], [99, "mov eax, 1"], [100, "leave"], [101, "retn"]], "data_dep": [[10, 6], [11, 10], [12, 6], [13, 12], [14, 4], [15, 11], [16, 13], [17, 14], [22, 6], [23, 22], [24, 6], [25, 24], [26, 25], [27, 25], [27, 26], [28, 27], [29, 23], [31, 28], [37, 6], [38, 37], [39, 38], [40, 39], [46, 6], [47, 46], [48, 47], [51, 50], [52, 51], [53, 52], [54, 53], [55, 54], [56, 6], [57, 56], [59, 57], [61, 60], [62, 61], [63, 62], [63, 60], [64, 63], [65, 61], [66, 65], [68, 64], [74, 6], [75, 74], [78, 75], [80, 79], [81, 80], [82, 81], [82, 79], [83, 82], [84, 80], [85, 84], [87, 83], [93, 4], [94, 93], [96, 95], [96, 6], [97, 96], [101, 99]]}
void lv_chart_set_zoom_y(lv_obj_t * obj, uint16_t zoom_y) { LV_ASSERT_OBJ(obj, MY_CLASS); lv_chart_t * chart = (lv_chart_t *)obj; if(chart->zoom_y == zoom_y) return; chart->zoom_y = zoom_y; lv_obj_refresh_self_size(obj); /*Be the chart doesn't remain scrolled out*/ lv_obj_readjust_scroll(obj, LV_ANIM_OFF); lv_obj_invalidate(obj); }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_45DF99", "function_addr": 4579225, "binary_name": "53faff7486da2db257c0486a573e49eb3e70656a42b3e2ad40ce428af0925783.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 20h"], [3, "mov [rbp+var_18], rdi"], [4, "mov eax, esi"], [5, "mov [rbp+var_1C], ax"], [6, "mov rax, [rbp+var_18]"], [7, "mov [rbp+var_8], rax"], [8, "mov rax, [rbp+var_8]"], [9, "movzx eax, word ptr [rax+0B2h]"], [10, "cmp [rbp+var_1C], ax"], [11, "jz short loc_45DFFE"], [12, "mov rax, [rbp+var_8]"], [13, "movzx edx, [rbp+var_1C]"], [14, "mov [rax+0B2h], dx"], [15, "mov rax, [rbp+var_18]"], [16, "mov rdi, rax"], [17, "call sub_41F992"], [18, "mov rax, [rbp+var_18]"], [19, "mov esi, 0"], [20, "mov rdi, rax"], [21, "call sub_4236C6"], [22, "mov rax, [rbp+var_18]"], [23, "mov rdi, rax"], [24, "call sub_4205DF"], [25, "jmp short locret_45DFFF"], [26, "nop"], [27, "leave"], [28, "retn"]], "data_dep": [[5, 4], [6, 3], [7, 6], [8, 7], [9, 8], [10, 9], [10, 5], [11, 10], [12, 7], [13, 5], [14, 13], [14, 12], [15, 3], [16, 15], [18, 3], [20, 18], [22, 3], [23, 22], [28, 9], [28, 24]]}
ustime_t s2e_updateMuxtime(s2ctx_t* s2ctx, double muxstime, ustime_t now) { if( now == 0 ) now = rt_getTime(); s2ctx->muxtime = muxstime; s2ctx->reftime = now; return now; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_416847", "function_addr": 4286535, "binary_name": "3e34965c13508885b6b154f2c30077490ddbf23ac2d63f3c173f3ad61b227c59.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 20h"], [3, "mov [rbp+var_8], rdi"], [4, "movsd [rbp+var_10], xmm0"], [5, "mov [rbp+var_18], rsi"], [6, "cmp [rbp+var_18], 0"], [7, "jnz short loc_416871"], [8, "mov eax, 0"], [9, "call sub_40FF1B"], [10, "mov [rbp+var_18], rax"], [11, "mov rax, [rbp+var_8]"], [12, "movsd xmm0, [rbp+var_10]"], [13, "movsd qword ptr [rax+9930h], xmm0"], [14, "mov rax, [rbp+var_8]"], [15, "mov rdx, [rbp+var_18]"], [16, "mov [rax+9938h], rdx"], [17, "mov rax, [rbp+var_18]"], [18, "leave"], [19, "retn"]], "data_dep": [[6, 5], [7, 6], [10, 9], [11, 3], [12, 4], [13, 12], [13, 11], [14, 3], [15, 5], [15, 10], [16, 15], [16, 14], [17, 10], [17, 5], [19, 17]]}
int jas_stream_flushbuf(jas_stream_t *stream, int c) { int len; int n; /* The stream should not be in an error or EOF state. */ if ((stream->flags_ & (JAS_STREAM_ERRMASK)) != 0) { return EOF; } /* The stream must be open for writing. */ if ((stream->openmode_ & (JAS_STREAM_WRITE | JAS_STREAM_APPEND)) == 0) { return EOF; } /* The buffer should not currently be in use for reading. */ assert(!(stream->bufmode_ & JAS_STREAM_RDBUF)); /* Note: Do not use the quantity stream->cnt to determine the number of characters in the buffer! Depending on how this function was called, the stream->cnt value may be "off-by-one". */ len = stream->ptr_ - stream->bufstart_; if (len > 0) { n = (*stream->ops_->write_)(stream->obj_, (char *) stream->bufstart_, len); if (n != len) { stream->flags_ |= JAS_STREAM_ERR; return EOF; } } stream->cnt_ = stream->bufsize_; stream->ptr_ = stream->bufstart_; stream->bufmode_ |= JAS_STREAM_WRBUF; if (c != EOF) { assert(stream->cnt_ > 0); return jas_stream_putc2(stream, c); } return 0; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_40A258", "function_addr": 4235864, "binary_name": "f4745e82b1d0cff651d46375754e6291357312b85b3ec537e20de9075c6972a9.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 20h"], [3, "mov [rbp+var_18], rdi"], [4, "mov [rbp+var_1C], esi"], [5, "mov rax, [rbp+var_18]"], [6, "mov eax, [rax+8]"], [7, "and eax, 7"], [8, "test eax, eax"], [9, "jz short loc_40A27F"], [10, "mov eax, 0FFFFFFFFh"], [11, "jmp locret_40A40A"], [12, "mov rax, [rbp+var_18]"], [13, "mov eax, [rax]"], [14, "and eax, 6"], [15, "test eax, eax"], [16, "jnz short loc_40A296"], [17, "mov eax, 0FFFFFFFFh"], [18, "jmp locret_40A40A"], [19, "mov rax, [rbp+var_18]"], [20, "mov eax, [rax+4]"], [21, "and eax, 10h"], [22, "test eax, eax"], [23, "jz short loc_40A2BD"], [24, "mov ecx, offset aJasStreamFlush"], [25, "mov edx, 32Ch"], [26, "mov esi, offset aJasStreamC"], [27, "mov edi, offset aStreamBufmodeJ_1"], [28, "call ___assert_fail"], [29, "mov rax, [rbp+var_18]"], [30, "mov rdx, [rax+28h]"], [31, "mov rax, [rbp+var_18]"], [32, "mov rcx, [rax+18h]"], [33, "mov rax, rdx"], [34, "sub rax, rcx"], [35, "mov [rbp+var_4], eax"], [36, "cmp [rbp+var_4], 0"], [37, "jle short loc_40A32C"], [38, "mov rax, [rbp+var_18]"], [39, "mov rax, [rax+48h]"], [40, "mov r8, [rax+8]"], [41, "mov rax, [rbp+var_18]"], [42, "mov rcx, [rax+18h]"], [43, "mov rax, [rbp+var_18]"], [44, "mov rax, [rax+50h]"], [45, "mov edx, [rbp+var_4]"], [46, "mov rsi, rcx"], [47, "mov rdi, rax"], [48, "call r8"], [49, "mov [rbp+var_8], eax"], [50, "mov eax, [rbp+var_8]"], [51, "cmp eax, [rbp+var_4]"], [52, "jz short loc_40A32C"], [53, "mov rax, [rbp+var_18]"], [54, "mov eax, [rax+8]"], [55, "or eax, 2"], [56, "mov edx, eax"], [57, "mov rax, [rbp+var_18]"], [58, "mov [rax+8], edx"], [59, "mov eax, 0FFFFFFFFh"], [60, "jmp locret_40A40A"], [61, "mov rax, [rbp+var_18]"], [62, "mov edx, [rax+20h]"], [63, "mov rax, [rbp+var_18]"], [64, "mov [rax+30h], edx"], [65, "mov rax, [rbp+var_18]"], [66, "mov rdx, [rax+18h]"], [67, "mov rax, [rbp+var_18]"], [68, "mov [rax+28h], rdx"], [69, "mov rax, [rbp+var_18]"], [70, "mov eax, [rax+4]"], [71, "or eax, 20h"], [72, "mov edx, eax"], [73, "mov rax, [rbp+var_18]"], [74, "mov [rax+4], edx"], [75, "cmp [rbp+var_1C], 0FFFFFFFFh"], [76, "jz loc_40A405"], [77, "mov rax, [rbp+var_18]"], [78, "mov eax, [rax+30h]"], [79, "test eax, eax"], [80, "jg short loc_40A38B"], [81, "mov ecx, offset aJasStreamFlush"], [82, "mov edx, 340h"], [83, "mov esi, offset aJasStreamC"], [84, "mov edi, offset aStreamCnt0"], [85, "call ___assert_fail"], [86, "mov rax, [rbp+var_18]"], [87, "mov eax, [rax+4]"], [88, "or eax, 20h"], [89, "mov edx, eax"], [90, "mov rax, [rbp+var_18]"], [91, "mov [rax+4], edx"], [92, "mov rax, [rbp+var_18]"], [93, "mov eax, [rax+30h]"], [94, "lea edx, [rax-1]"], [95, "mov rax, [rbp+var_18]"], [96, "mov [rax+30h], edx"], [97, "mov rax, [rbp+var_18]"], [98, "mov eax, [rax+30h]"], [99, "test eax, eax"], [100, "jns short loc_40A3D0"], [101, "mov eax, [rbp+var_1C]"], [102, "movzx edx, al"], [103, "mov rax, [rbp+var_18]"], [104, "mov esi, edx"], [105, "mov rdi, rax"], [106, "call sub_40A258"], [107, "jmp short locret_40A40A"], [108, "mov rax, [rbp+var_18]"], [109, "mov rax, [rax+58h]"], [110, "lea rdx, [rax+1]"], [111, "mov rax, [rbp+var_18]"], [112, "mov [rax+58h], rdx"], [113, "mov rax, [rbp+var_18]"], [114, "mov rax, [rax+28h]"], [115, "lea rcx, [rax+1]"], [116, "mov rdx, [rbp+var_18]"], [117, "mov [rdx+28h], rcx"], [118, "mov edx, [rbp+var_1C]"], [119, "mov [rax], dl"], [120, "movzx eax, byte ptr [rax]"], [121, "movzx eax, al"], [122, "jmp short locret_40A40A"], [123, "mov eax, 0"], [124, "leave"], [125, "retn"]], "data_dep": [[5, 3], [6, 5], [7, 6], [8, 7], [9, 8], [12, 3], [13, 12], [14, 13], [15, 14], [16, 15], [19, 3], [20, 19], [21, 20], [22, 21], [23, 22], [29, 3], [30, 29], [31, 3], [32, 31], [33, 30], [34, 32], [34, 33], [35, 34], [36, 35], [37, 36], [38, 3], [39, 38], [40, 39], [41, 3], [42, 41], [43, 3], [44, 43], [45, 35], [46, 42], [47, 44], [48, 40], [49, 48], [50, 49], [51, 50], [51, 35], [52, 51], [53, 3], [54, 53], [55, 54], [56, 55], [57, 3], [58, 56], [58, 57], [61, 3], [62, 61], [63, 3], [64, 62], [64, 63], [65, 3], [66, 64], [66, 65], [67, 3], [68, 66], [68, 67], [69, 3], [70, 68], [70, 69], [71, 70], [72, 71], [73, 3], [74, 73], [74, 72], [75, 4], [76, 75], [77, 3], [78, 68], [78, 77], [78, 74], [78, 64], [79, 78], [80, 79], [86, 3], [87, 64], [87, 91], [87, 68], [87, 86], [87, 74], [87, 96], [88, 87], [89, 88], [90, 3], [91, 89], [91, 90], [92, 3], [93, 92], [93, 64], [93, 91], [94, 89], [94, 91], [94, 93], [95, 3], [96, 95], [96, 94], [97, 3], [98, 96], [98, 97], [99, 98], [100, 99], [101, 4], [102, 101], [103, 3], [104, 102], [105, 103], [108, 3], [109, 108], [109, 117], [109, 74], [109, 96], [109, 119], [109, 64], [109, 91], [109, 112], [109, 68], [110, 68], [110, 109], [110, 74], [110, 117], [110, 119], [110, 94], [110, 112], [110, 96], [110, 64], [110, 91], [111, 3], [112, 111], [112, 110], [113, 3], [114, 113], [114, 112], [114, 68], [115, 32], [115, 112], [115, 114], [115, 42], [116, 3], [117, 116], [117, 115], [118, 4], [119, 114], [119, 118], [120, 119], [120, 114], [121, 120], [125, 121], [125, 59], [125, 123], [125, 106], [125, 17], [125, 10]]}
void correlation(int m, int n, DATA_TYPE POLYBENCH_2D(data, M, N, m, n), DATA_TYPE POLYBENCH_1D(mean, M, m), DATA_TYPE POLYBENCH_1D(stddev, M, m), DATA_TYPE POLYBENCH_2D(symmat, M, N, m, n)) { int i, j, j1, j2; // Determine mean of column vectors of input data matrix for (j = 0; j < _PB_M; j++) { mean[j] = 0.0; for (i = 0; i < _PB_N; i++) { mean[j] += data[i][j]; } mean[j] /= (DATA_TYPE)FLOAT_N; } // Determine standard deviations of column vectors of data matrix. for (j = 0; j < _PB_M; j++) { stddev[j] = 0.0; for (i = 0; i < _PB_N; i++) { stddev[j] += (data[i][j] - mean[j]) * (data[i][j] - mean[j]); } stddev[j] /= FLOAT_N; stddev[j] = sqrt_of_array_cell(stddev, j); stddev[j] = stddev[j] <= EPS ? 1.0 : stddev[j]; } // Center and reduce the column vectors. for (i = 0; i < _PB_N; i++) { for (j = 0; j < _PB_M; j++) { data[i][j] -= mean[j]; data[i][j] /= (sqrt(FLOAT_N)*stddev[j]) ; } } // Calculate the m * m correlation matrix. for (j1 = 0; j1 < _PB_M-1; j1++) { symmat[j1][j1] = 1.0; for (j2 = j1+1; j2 < _PB_M; j2++) { symmat[j1][j2] = 0.0; for (i = 0; i < _PB_N; i++) { symmat[j1][j2] += (data[i][j1] * data[i][j2]); } symmat[j2][j1] = symmat[j1][j2]; } } symmat[M-1][M-1] = 1.0; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_402403", "function_addr": 4203523, "binary_name": "e5947eea74c6f56514e595b811de108ed7c6d93746b5f47c6c4d65f2ce4e71aa.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 40h"], [3, "mov [rbp+var_14], edi"], [4, "mov [rbp+var_18], esi"], [5, "mov [rbp+var_20], rdx"], [6, "mov [rbp+var_28], rcx"], [7, "mov [rbp+var_30], r8"], [8, "mov [rbp+var_38], r9"], [9, "mov [rbp+var_8], 0"], [10, "jmp loc_4024EF"], [11, "mov eax, [rbp+var_8]"], [12, "cdqe"], [13, "lea rdx, ds:0[rax*4]"], [14, "mov rax, [rbp+var_28]"], [15, "add rax, rdx"], [16, "pxor xmm0, xmm0"], [17, "movss dword ptr [rax], xmm0"], [18, "mov [rbp+var_4], 0"], [19, "jmp short loc_4024A7"], [20, "mov eax, [rbp+var_8]"], [21, "cdqe"], [22, "lea rdx, ds:0[rax*4]"], [23, "mov rax, [rbp+var_28]"], [24, "add rax, rdx"], [25, "movss xmm1, dword ptr [rax]"], [26, "mov eax, [rbp+var_4]"], [27, "cdqe"], [28, "shl rax, 0Dh"], [29, "mov rdx, rax"], [30, "mov rax, [rbp+var_20]"], [31, "add rdx, rax"], [32, "mov eax, [rbp+var_8]"], [33, "cdqe"], [34, "movss xmm0, dword ptr [rdx+rax*4]"], [35, "mov eax, [rbp+var_8]"], [36, "cdqe"], [37, "lea rdx, ds:0[rax*4]"], [38, "mov rax, [rbp+var_28]"], [39, "add rax, rdx"], [40, "addss xmm0, xmm1"], [41, "movss dword ptr [rax], xmm0"], [42, "add [rbp+var_4], 1"], [43, "mov eax, [rbp+var_4]"], [44, "cmp eax, [rbp+var_18]"], [45, "jl short loc_402452"], [46, "mov eax, [rbp+var_8]"], [47, "cdqe"], [48, "lea rdx, ds:0[rax*4]"], [49, "mov rax, [rbp+var_28]"], [50, "add rax, rdx"], [51, "movss xmm0, dword ptr [rax]"], [52, "mov eax, [rbp+var_8]"], [53, "cdqe"], [54, "lea rdx, ds:0[rax*4]"], [55, "mov rax, [rbp+var_28]"], [56, "add rax, rdx"], [57, "movss xmm1, cs:dword_4034E4"], [58, "divss xmm0, xmm1"], [59, "movss dword ptr [rax], xmm0"], [60, "add [rbp+var_8], 1"], [61, "mov eax, [rbp+var_8]"], [62, "cmp eax, [rbp+var_14]"], [63, "jl loc_40242D"], [64, "mov [rbp+var_8], 0"], [65, "jmp loc_4026E7"], [66, "mov eax, [rbp+var_8]"], [67, "cdqe"], [68, "lea rdx, ds:0[rax*4]"], [69, "mov rax, [rbp+var_30]"], [70, "add rax, rdx"], [71, "pxor xmm0, xmm0"], [72, "movss dword ptr [rax], xmm0"], [73, "mov [rbp+var_4], 0"], [74, "jmp loc_4025E0"], [75, "mov eax, [rbp+var_8]"], [76, "cdqe"], [77, "lea rdx, ds:0[rax*4]"], [78, "mov rax, [rbp+var_30]"], [79, "add rax, rdx"], [80, "movss xmm1, dword ptr [rax]"], [81, "mov eax, [rbp+var_4]"], [82, "cdqe"], [83, "shl rax, 0Dh"], [84, "mov rdx, rax"], [85, "mov rax, [rbp+var_20]"], [86, "add rdx, rax"], [87, "mov eax, [rbp+var_8]"], [88, "cdqe"], [89, "movss xmm0, dword ptr [rdx+rax*4]"], [90, "mov eax, [rbp+var_8]"], [91, "cdqe"], [92, "lea rdx, ds:0[rax*4]"], [93, "mov rax, [rbp+var_28]"], [94, "add rax, rdx"], [95, "movss xmm3, dword ptr [rax]"], [96, "movaps xmm2, xmm0"], [97, "subss xmm2, xmm3"], [98, "mov eax, [rbp+var_4]"], [99, "cdqe"], [100, "shl rax, 0Dh"], [101, "mov rdx, rax"], [102, "mov rax, [rbp+var_20]"], [103, "add rdx, rax"], [104, "mov eax, [rbp+var_8]"], [105, "cdqe"], [106, "movss xmm0, dword ptr [rdx+rax*4]"], [107, "mov eax, [rbp+var_8]"], [108, "cdqe"], [109, "lea rdx, ds:0[rax*4]"], [110, "mov rax, [rbp+var_28]"], [111, "add rax, rdx"], [112, "movss xmm3, dword ptr [rax]"], [113, "subss xmm0, xmm3"], [114, "mulss xmm0, xmm2"], [115, "mov eax, [rbp+var_8]"], [116, "cdqe"], [117, "lea rdx, ds:0[rax*4]"], [118, "mov rax, [rbp+var_30]"], [119, "add rax, rdx"], [120, "addss xmm0, xmm1"], [121, "movss dword ptr [rax], xmm0"], [122, "add [rbp+var_4], 1"], [123, "mov eax, [rbp+var_4]"], [124, "cmp eax, [rbp+var_18]"], [125, "jl loc_40252F"], [126, "mov eax, [rbp+var_8]"], [127, "cdqe"], [128, "lea rdx, ds:0[rax*4]"], [129, "mov rax, [rbp+var_30]"], [130, "add rax, rdx"], [131, "movss xmm0, dword ptr [rax]"], [132, "cvtss2sd xmm0, xmm0"], [133, "movsd xmm1, cs:qword_4034F0"], [134, "divsd xmm0, xmm1"], [135, "mov eax, [rbp+var_8]"], [136, "cdqe"], [137, "lea rdx, ds:0[rax*4]"], [138, "mov rax, [rbp+var_30]"], [139, "add rax, rdx"], [140, "cvtsd2ss xmm0, xmm0"], [141, "movss dword ptr [rax], xmm0"], [142, "mov eax, [rbp+var_8]"], [143, "cdqe"], [144, "lea rdx, ds:0[rax*4]"], [145, "mov rax, [rbp+var_30]"], [146, "add rax, rdx"], [147, "movss xmm0, dword ptr [rax]"], [148, "pxor xmm4, xmm4"], [149, "cvtss2sd xmm4, xmm0"], [150, "movq rax, xmm4"], [151, "movq xmm0, rax"], [152, "call _sqrt"], [153, "mov eax, [rbp+var_8]"], [154, "cdqe"], [155, "lea rdx, ds:0[rax*4]"], [156, "mov rax, [rbp+var_30]"], [157, "add rax, rdx"], [158, "cvtsd2ss xmm0, xmm0"], [159, "movss dword ptr [rax], xmm0"], [160, "mov eax, [rbp+var_8]"], [161, "cdqe"], [162, "lea rdx, ds:0[rax*4]"], [163, "mov rax, [rbp+var_30]"], [164, "add rax, rdx"], [165, "movss xmm0, dword ptr [rax]"], [166, "pxor xmm1, xmm1"], [167, "cvtss2sd xmm1, xmm0"], [168, "movsd xmm0, cs:qword_4034F8"], [169, "comisd xmm0, xmm1"], [170, "jb short loc_4026B3"], [171, "movss xmm0, cs:dword_4034EC"], [172, "jmp short loc_4026CB"], [173, "mov eax, [rbp+var_8]"], [174, "cdqe"], [175, "lea rdx, ds:0[rax*4]"], [176, "mov rax, [rbp+var_30]"], [177, "add rax, rdx"], [178, "movss xmm0, dword ptr [rax]"], [179, "mov eax, [rbp+var_8]"], [180, "cdqe"], [181, "lea rdx, ds:0[rax*4]"], [182, "mov rax, [rbp+var_30]"], [183, "add rax, rdx"], [184, "movss dword ptr [rax], xmm0"], [185, "add [rbp+var_8], 1"], [186, "mov eax, [rbp+var_8]"], [187, "cmp eax, [rbp+var_14]"], [188, "jl loc_402507"], [189, "mov [rbp+var_4], 0"], [190, "jmp loc_4027E7"], [191, "mov [rbp+var_8], 0"], [192, "jmp loc_4027D7"], [193, "mov eax, [rbp+var_4]"], [194, "cdqe"], [195, "shl rax, 0Dh"], [196, "mov rdx, rax"], [197, "mov rax, [rbp+var_20]"], [198, "add rdx, rax"], [199, "mov eax, [rbp+var_8]"], [200, "cdqe"], [201, "movss xmm0, dword ptr [rdx+rax*4]"], [202, "mov eax, [rbp+var_8]"], [203, "cdqe"], [204, "lea rdx, ds:0[rax*4]"], [205, "mov rax, [rbp+var_28]"], [206, "add rax, rdx"], [207, "movss xmm1, dword ptr [rax]"], [208, "mov eax, [rbp+var_4]"], [209, "cdqe"], [210, "shl rax, 0Dh"], [211, "mov rdx, rax"], [212, "mov rax, [rbp+var_20]"], [213, "add rdx, rax"], [214, "subss xmm0, xmm1"], [215, "mov eax, [rbp+var_8]"], [216, "cdqe"], [217, "movss dword ptr [rdx+rax*4], xmm0"], [218, "mov eax, [rbp+var_8]"], [219, "cdqe"], [220, "lea rdx, ds:0[rax*4]"], [221, "mov rax, [rbp+var_30]"], [222, "add rax, rdx"], [223, "movss xmm0, dword ptr [rax]"], [224, "pxor xmm1, xmm1"], [225, "cvtss2sd xmm1, xmm0"], [226, "movsd xmm0, cs:qword_403500"], [227, "mulsd xmm1, xmm0"], [228, "mov eax, [rbp+var_4]"], [229, "cdqe"], [230, "shl rax, 0Dh"], [231, "mov rdx, rax"], [232, "mov rax, [rbp+var_20]"], [233, "add rdx, rax"], [234, "mov eax, [rbp+var_8]"], [235, "cdqe"], [236, "movss xmm0, dword ptr [rdx+rax*4]"], [237, "cvtss2sd xmm0, xmm0"], [238, "divsd xmm0, xmm1"], [239, "mov eax, [rbp+var_4]"], [240, "cdqe"], [241, "shl rax, 0Dh"], [242, "mov rdx, rax"], [243, "mov rax, [rbp+var_20]"], [244, "add rdx, rax"], [245, "cvtsd2ss xmm0, xmm0"], [246, "mov eax, [rbp+var_8]"], [247, "cdqe"], [248, "movss dword ptr [rdx+rax*4], xmm0"], [249, "add [rbp+var_8], 1"], [250, "mov eax, [rbp+var_8]"], [251, "cmp eax, [rbp+var_14]"], [252, "jl loc_40270B"], [253, "add [rbp+var_4], 1"], [254, "mov eax, [rbp+var_4]"], [255, "cmp eax, [rbp+var_18]"], [256, "jl loc_4026FF"], [257, "mov [rbp+var_C], 0"], [258, "jmp loc_40293A"], [259, "mov eax, [rbp+var_C]"], [260, "cdqe"], [261, "shl rax, 0Dh"], [262, "mov rdx, rax"], [263, "mov rax, [rbp+var_38]"], [264, "add rdx, rax"], [265, "mov eax, [rbp+var_C]"], [266, "cdqe"], [267, "movss xmm0, cs:dword_4034EC"], [268, "movss dword ptr [rdx+rax*4], xmm0"], [269, "mov eax, [rbp+var_C]"], [270, "add eax, 1"], [271, "mov [rbp+var_10], eax"], [272, "jmp loc_40292A"], [273, "mov eax, [rbp+var_C]"], [274, "cdqe"], [275, "shl rax, 0Dh"], [276, "mov rdx, rax"], [277, "mov rax, [rbp+var_38]"], [278, "add rdx, rax"], [279, "mov eax, [rbp+var_10]"], [280, "cdqe"], [281, "pxor xmm0, xmm0"], [282, "movss dword ptr [rdx+rax*4], xmm0"], [283, "mov [rbp+var_4], 0"], [284, "jmp loc_4028DF"], [285, "mov eax, [rbp+var_C]"], [286, "cdqe"], [287, "shl rax, 0Dh"], [288, "mov rdx, rax"], [289, "mov rax, [rbp+var_38]"], [290, "add rdx, rax"], [291, "mov eax, [rbp+var_10]"], [292, "cdqe"], [293, "movss xmm1, dword ptr [rdx+rax*4]"], [294, "mov eax, [rbp+var_4]"], [295, "cdqe"], [296, "shl rax, 0Dh"], [297, "mov rdx, rax"], [298, "mov rax, [rbp+var_20]"], [299, "add rdx, rax"], [300, "mov eax, [rbp+var_C]"], [301, "cdqe"], [302, "movss xmm2, dword ptr [rdx+rax*4]"], [303, "mov eax, [rbp+var_4]"], [304, "cdqe"], [305, "shl rax, 0Dh"], [306, "mov rdx, rax"], [307, "mov rax, [rbp+var_20]"], [308, "add rdx, rax"], [309, "mov eax, [rbp+var_10]"], [310, "cdqe"], [311, "movss xmm0, dword ptr [rdx+rax*4]"], [312, "mulss xmm0, xmm2"], [313, "mov eax, [rbp+var_C]"], [314, "cdqe"], [315, "shl rax, 0Dh"], [316, "mov rdx, rax"], [317, "mov rax, [rbp+var_38]"], [318, "add rdx, rax"], [319, "addss xmm0, xmm1"], [320, "mov eax, [rbp+var_10]"], [321, "cdqe"], [322, "movss dword ptr [rdx+rax*4], xmm0"], [323, "add [rbp+var_4], 1"], [324, "mov eax, [rbp+var_4]"], [325, "cmp eax, [rbp+var_18]"], [326, "jl loc_40285F"], [327, "mov eax, [rbp+var_C]"], [328, "cdqe"], [329, "shl rax, 0Dh"], [330, "mov rdx, rax"], [331, "mov rax, [rbp+var_38]"], [332, "lea rcx, [rdx+rax]"], [333, "mov eax, [rbp+var_10]"], [334, "cdqe"], [335, "shl rax, 0Dh"], [336, "mov rdx, rax"], [337, "mov rax, [rbp+var_38]"], [338, "add rdx, rax"], [339, "mov eax, [rbp+var_10]"], [340, "cdqe"], [341, "movss xmm0, dword ptr [rcx+rax*4]"], [342, "mov eax, [rbp+var_C]"], [343, "cdqe"], [344, "movss dword ptr [rdx+rax*4], xmm0"], [345, "add [rbp+var_10], 1"], [346, "mov eax, [rbp+var_10]"], [347, "cmp eax, [rbp+var_14]"], [348, "jl loc_402832"], [349, "add [rbp+var_C], 1"], [350, "mov eax, [rbp+var_14]"], [351, "sub eax, 1"], [352, "cmp [rbp+var_C], eax"], [353, "jl loc_4027FF"], [354, "mov rax, [rbp+var_38]"], [355, "add rax, 0FFE000h"], [356, "movss xmm0, cs:dword_4034EC"], [357, "movss dword ptr [rax+1FFCh], xmm0"], [358, "nop"], [359, "leave"], [360, "retn"]], "data_dep": [[11, 9], [11, 60], [13, 54], [14, 6], [15, 14], [15, 13], [17, 15], [17, 16], [20, 9], [20, 60], [22, 37], [22, 13], [23, 6], [24, 22], [24, 23], [25, 24], [25, 41], [25, 59], [25, 17], [26, 42], [26, 18], [28, 26], [29, 28], [30, 5], [31, 29], [31, 30], [32, 60], [32, 9], [34, 32], [34, 41], [34, 59], [34, 17], [35, 60], [35, 9], [37, 31], [38, 6], [39, 38], [39, 37], [40, 25], [40, 34], [41, 40], [41, 39], [42, 42], [42, 18], [43, 42], [43, 18], [44, 4], [44, 43], [45, 44], [46, 60], [46, 9], [48, 37], [48, 13], [49, 6], [50, 48], [50, 49], [51, 50], [51, 59], [51, 17], [51, 41], [52, 9], [52, 60], [54, 48], [55, 6], [56, 55], [56, 54], [58, 57], [58, 51], [59, 58], [59, 56], [60, 9], [60, 60], [61, 9], [61, 60], [62, 3], [62, 61], [63, 62], [66, 64], [66, 185], [68, 54], [68, 181], [69, 7], [70, 68], [70, 69], [72, 71], [72, 70], [75, 64], [75, 185], [77, 117], [77, 68], [78, 7], [79, 78], [79, 77], [80, 79], [80, 159], [80, 41], [80, 121], [80, 59], [80, 72], [80, 184], [80, 17], [80, 141], [81, 73], [81, 122], [83, 81], [84, 83], [85, 5], [86, 85], [86, 84], [87, 64], [87, 185], [89, 59], [89, 72], [89, 184], [89, 17], [89, 141], [89, 159], [89, 121], [89, 87], [89, 41], [90, 64], [90, 185], [92, 86], [93, 6], [94, 93], [94, 92], [95, 59], [95, 72], [95, 184], [95, 17], [95, 141], [95, 121], [95, 94], [95, 159], [95, 41], [96, 89], [97, 95], [97, 96], [98, 73], [98, 122], [100, 98], [101, 100], [102, 5], [103, 102], [103, 101], [104, 64], [104, 185], [106, 59], [106, 72], [106, 184], [106, 17], [106, 141], [106, 104], [106, 159], [106, 41], [106, 121], [107, 64], [107, 185], [109, 103], [110, 6], [111, 110], [111, 109], [112, 159], [112, 41], [112, 121], [112, 111], [112, 59], [112, 72], [112, 184], [112, 17], [112, 141], [113, 112], [113, 106], [114, 97], [114, 113], [115, 64], [115, 185], [117, 109], [118, 7], [119, 118], [119, 117], [120, 114], [120, 80], [121, 119], [121, 120], [122, 73], [122, 122], [123, 73], [123, 122], [124, 123], [124, 4], [125, 124], [126, 64], [126, 185], [128, 68], [128, 117], [129, 7], [130, 128], [130, 129], [131, 41], [131, 130], [131, 17], [131, 59], [131, 72], [131, 184], [131, 141], [131, 159], [131, 121], [132, 131], [134, 133], [134, 132], [135, 185], [135, 64], [137, 128], [138, 7], [139, 138], [139, 137], [140, 134], [141, 140], [141, 139], [142, 64], [142, 185], [144, 137], [145, 7], [146, 145], [146, 144], [147, 146], [147, 141], [149, 147], [149, 148], [150, 149], [151, 150], [153, 64], [153, 185], [155, 144], [156, 7], [157, 156], [157, 155], [158, 151], [159, 158], [159, 157], [160, 64], [160, 185], [162, 155], [163, 7], [164, 163], [164, 162], [165, 164], [165, 159], [167, 166], [167, 165], [169, 167], [169, 168], [170, 164], [173, 64], [173, 185], [175, 162], [176, 7], [177, 176], [177, 175], [178, 141], [178, 159], [178, 121], [178, 177], [178, 41], [178, 17], [178, 59], [178, 72], [178, 184], [179, 64], [179, 185], [181, 162], [181, 175], [182, 7], [183, 182], [183, 181], [184, 183], [184, 178], [184, 171], [185, 64], [185, 185], [186, 64], [186, 185], [187, 186], [187, 3], [188, 187], [193, 253], [193, 189], [195, 193], [196, 195], [197, 5], [198, 197], [198, 196], [199, 191], [199, 249], [201, 17], [201, 199], [201, 217], [201, 59], [201, 72], [201, 184], [201, 141], [201, 159], [201, 248], [201, 121], [201, 41], [202, 191], [202, 249], [204, 198], [205, 6], [206, 205], [206, 204], [207, 41], [207, 59], [207, 17], [207, 217], [207, 72], [207, 184], [207, 206], [207, 141], [207, 159], [207, 248], [207, 121], [208, 253], [208, 189], [210, 208], [211, 210], [212, 5], [213, 212], [213, 211], [214, 207], [214, 201], [215, 249], [215, 191], [217, 215], [217, 214], [218, 191], [218, 249], [220, 213], [221, 7], [222, 221], [222, 220], [223, 59], [223, 222], [223, 217], [223, 184], [225, 224], [225, 223], [227, 226], [227, 225], [228, 253], [228, 189], [230, 228], [231, 230], [232, 5], [233, 232], [233, 231], [234, 249], [234, 191], [236, 217], [236, 234], [237, 236], [238, 237], [238, 227], [239, 253], [239, 189], [241, 239], [242, 241], [243, 5], [244, 243], [244, 242], [245, 238], [246, 191], [246, 249], [248, 245], [248, 246], [249, 191], [249, 249], [250, 249], [250, 191], [251, 3], [251, 250], [252, 251], [253, 189], [253, 253], [254, 189], [254, 253], [255, 4], [255, 254], [256, 255], [259, 349], [259, 257], [261, 259], [262, 261], [263, 8], [264, 263], [264, 262], [265, 257], [265, 349], [268, 265], [268, 267], [269, 257], [269, 349], [270, 269], [271, 270], [273, 257], [273, 349], [275, 273], [276, 275], [277, 8], [278, 277], [278, 276], [279, 271], [279, 345], [282, 279], [282, 281], [285, 257], [285, 349], [287, 285], [288, 287], [289, 8], [290, 289], [290, 288], [291, 345], [291, 271], [293, 248], [293, 72], [293, 322], [293, 141], [293, 159], [293, 121], [293, 344], [293, 217], [293, 41], [293, 59], [293, 184], [293, 17], [293, 282], [293, 291], [293, 268], [294, 283], [294, 323], [296, 294], [297, 296], [298, 5], [299, 298], [299, 297], [300, 349], [300, 257], [302, 217], [302, 41], [302, 59], [302, 72], [302, 184], [302, 17], [302, 282], [302, 300], [302, 268], [302, 141], [302, 248], [302, 322], [302, 159], [302, 121], [302, 344], [303, 283], [303, 323], [305, 303], [306, 305], [307, 5], [308, 306], [308, 307], [309, 345], [309, 271], [311, 121], [311, 344], [311, 217], [311, 41], [311, 59], [311, 184], [311, 17], [311, 282], [311, 309], [311, 268], [311, 141], [311, 248], [311, 72], [311, 322], [311, 159], [312, 302], [312, 311], [313, 257], [313, 349], [315, 313], [316, 315], [317, 8], [318, 317], [318, 316], [319, 312], [319, 293], [320, 345], [320, 271], [322, 320], [322, 319], [323, 283], [323, 323], [324, 283], [324, 323], [325, 4], [325, 324], [326, 325], [327, 349], [327, 257], [329, 327], [330, 329], [331, 8], [332, 217], [332, 41], [332, 59], [332, 72], [332, 184], [332, 17], [332, 282], [332, 268], [332, 141], [332, 248], [332, 332], [332, 322], [332, 331], [332, 159], [332, 121], [332, 344], [333, 271], [333, 345], [335, 333], [336, 335], [337, 8], [338, 337], [338, 336], [339, 345], [339, 271], [341, 121], [341, 344], [341, 339], [341, 217], [341, 41], [341, 59], [341, 184], [341, 17], [341, 282], [341, 268], [341, 141], [341, 248], [341, 72], [341, 322], [341, 159], [342, 257], [342, 349], [344, 342], [344, 341], [345, 345], [345, 271], [346, 345], [346, 271], [347, 346], [347, 3], [348, 347], [349, 257], [349, 349], [350, 3], [351, 350], [352, 349], [352, 257], [352, 351], [353, 352], [354, 8], [355, 354], [357, 356], [357, 355], [360, 355]]}
static size_t char_hash(const char_array_t a) { return m_core_hash (a, strlen(a)); }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_40AAE8", "function_addr": 4238056, "binary_name": "69576dcc9c0b8188ddef8cfe961ea18d51e245ccdd99a4a73fef54835fd70e69.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 10h"], [3, "mov [rbp+s], rdi"], [4, "mov rax, [rbp+s]"], [5, "mov rdi, rax"], [6, "call _strlen"], [7, "mov rdx, rax"], [8, "mov rax, [rbp+s]"], [9, "mov rsi, rdx"], [10, "mov rdi, rax"], [11, "call sub_402418"], [12, "leave"], [13, "retn"]], "data_dep": [[4, 3], [5, 4], [7, 6], [8, 3], [9, 7], [10, 8], [13, 11]]}
void ana_warning_ex(const char *f, const char *fn, int ln, const char* format, ...) { if(isatty(2)) fprintf(stderr, ANSI_COLOR_YELLOW "warning: %s:%s:%d: ", f, fn, ln); else fprintf(stderr, "warning: %s:%s:%d: ", f, fn, ln); va_list args; va_start (args, format); vfprintf (stderr, format, args); va_end (args); if(isatty(2)) fprintf(stderr, ANSI_COLOR_RESET "\n"); else fprintf(stderr, "\n"); fflush(stderr); }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "ana_warning_ex", "function_addr": 4397575, "binary_name": "7f8fdbfe20124f7322debebf1c23d92dc74249e8d5be79082850282d54cea596.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 0F0h"], [3, "mov [rbp+var_D8], rdi"], [4, "mov [rbp+var_E0], rsi"], [5, "mov [rbp+var_E4], edx"], [6, "mov [rbp+format], rcx"], [7, "mov [rbp+var_90], r8"], [8, "mov [rbp+var_88], r9"], [9, "test al, al"], [10, "jz short loc_431A5F"], [11, "movaps [rbp+var_80], xmm0"], [12, "movaps [rbp+var_70], xmm1"], [13, "movaps [rbp+var_60], xmm2"], [14, "movaps [rbp+var_50], xmm3"], [15, "movaps [rbp+var_40], xmm4"], [16, "movaps [rbp+var_30], xmm5"], [17, "movaps [rbp+var_20], xmm6"], [18, "movaps [rbp+var_10], xmm7"], [19, "mov edi, 2"], [20, "call _isatty"], [21, "test eax, eax"], [22, "jz short loc_431A9F"], [23, "mov rax, cs:stderr"], [24, "mov esi, [rbp+var_E4]"], [25, "mov rcx, [rbp+var_E0]"], [26, "mov rdx, [rbp+var_D8]"], [27, "mov r8d, esi"], [28, "mov esi, offset a33mwarningSSD"], [29, "mov rdi, rax"], [30, "mov eax, 0"], [31, "call _fprintf"], [32, "jmp short loc_431ACF"], [33, "mov rax, cs:stderr"], [34, "mov esi, [rbp+var_E4]"], [35, "mov rcx, [rbp+var_E0]"], [36, "mov rdx, [rbp+var_D8]"], [37, "mov r8d, esi"], [38, "mov esi, offset aWarningSSD"], [39, "mov rdi, rax"], [40, "mov eax, 0"], [41, "call _fprintf"], [42, "mov [rbp+arg], 20h "], [43, "mov [rbp+var_C4], 30h "], [44, "lea rax, [rbp+arg_0]"], [45, "mov [rbp+var_C0], rax"], [46, "lea rax, [rbp+var_B0]"], [47, "mov [rbp+var_B8], rax"], [48, "mov rax, cs:stderr"], [49, "lea rdx, [rbp+arg]"], [50, "mov rcx, [rbp+format]"], [51, "mov rsi, rcx"], [52, "mov rdi, rax"], [53, "call _vfprintf"], [54, "mov edi, 2"], [55, "call _isatty"], [56, "test eax, eax"], [57, "jz short loc_431B4A"], [58, "mov rax, cs:stderr"], [59, "mov rcx, rax"], [60, "mov edx, 5"], [61, "mov esi, 1"], [62, "mov edi, offset a0m"], [63, "call _fwrite"], [64, "jmp short loc_431B5E"], [65, "mov rax, cs:stderr"], [66, "mov rsi, rax"], [67, "mov edi, 0Ah"], [68, "call _fputc"], [69, "mov rax, cs:stderr"], [70, "mov rdi, rax"], [71, "call _fflush"], [72, "nop"], [73, "leave"], [74, "retn"]], "data_dep": [[10, 9], [21, 20], [22, 21], [24, 5], [25, 4], [26, 3], [27, 24], [29, 23], [34, 5], [35, 4], [36, 3], [37, 34], [39, 33], [44, 41], [44, 31], [45, 44], [46, 44], [47, 46], [49, 26], [49, 36], [49, 42], [50, 6], [51, 50], [52, 48], [56, 55], [57, 56], [59, 58], [66, 65], [70, 69], [74, 71]]}
static void prvTestAbortingTaskDelayUntil( void ) { TickType_t xTimeAtStart, xLastBlockTime; BaseType_t xReturned; /* Note the time before the delay so the length of the delay is known. */ xTimeAtStart = xTaskGetTickCount(); /* Take a copy of the time as it is updated in the call to * xTaskDelayUntil() but its original value is needed to determine the actual * time spend in the Blocked state. */ xLastBlockTime = xTimeAtStart; /* This first delay should just time out. */ xReturned = xTaskDelayUntil( &xLastBlockTime, xMaxBlockTime ); prvCheckExpectedTimeIsWithinAnAcceptableMargin( xTimeAtStart, xMaxBlockTime ); configASSERT( xReturned == pdTRUE ); /* Remove compiler warning about value being set but not used in the case * configASSERT() is not defined. */ ( void ) xReturned; /* This second delay should be aborted by the primary task half way * through. Again take a copy of the time as it is updated in the call to * vTaskDelayUntil() buts its original value is needed to determine the amount * of time actually spent in the Blocked state. This uses vTaskDelayUntil() * in place of xTaskDelayUntil() for test coverage. */ xTimeAtStart = xTaskGetTickCount(); xLastBlockTime = xTimeAtStart; vTaskDelayUntil( &xLastBlockTime, xMaxBlockTime ); prvCheckExpectedTimeIsWithinAnAcceptableMargin( xTimeAtStart, xHalfMaxBlockTime ); /* As with the other tests, the third block period should not time out. */ xTimeAtStart = xTaskGetTickCount(); xLastBlockTime = xTimeAtStart; xReturned = xTaskDelayUntil( &xLastBlockTime, xMaxBlockTime ); prvCheckExpectedTimeIsWithinAnAcceptableMargin( xTimeAtStart, xMaxBlockTime ); configASSERT( xReturned == pdTRUE ); /* Remove compiler warning about value being set but not used in the case * configASSERT() is not defined. */ ( void ) xReturned; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_4121F7", "function_addr": 4268535, "binary_name": "42ad5a794bbb241401a8ce4ae490bc4dd9219aacbfc2ced321b55b2ba0b9f7e9.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 20h"], [3, "call sub_40DC33"], [4, "mov [rbp+var_8], rax"], [5, "mov rax, [rbp+var_8]"], [6, "mov [rbp+var_18], rax"], [7, "mov edx, 64h "], [8, "lea rax, [rbp+var_18]"], [9, "mov rsi, rdx"], [10, "mov rdi, rax"], [11, "call sub_40CA5B"], [12, "mov [rbp+var_10], rax"], [13, "mov edx, 64h "], [14, "mov rax, [rbp+var_8]"], [15, "mov rsi, rdx"], [16, "mov rdi, rax"], [17, "call sub_412A2D"], [18, "cmp [rbp+var_10], 1"], [19, "jz short loc_412252"], [20, "mov esi, 138h"], [21, "mov edi, offset aUsrSrcRepoFree_6"], [22, "call sub_4038C9"], [23, "call sub_40DC33"], [24, "mov [rbp+var_8], rax"], [25, "mov rax, [rbp+var_8]"], [26, "mov [rbp+var_18], rax"], [27, "mov edx, 64h "], [28, "lea rax, [rbp+var_18]"], [29, "mov rsi, rdx"], [30, "mov rdi, rax"], [31, "call sub_40CA5B"], [32, "mov edx, 32h "], [33, "mov rax, [rbp+var_8]"], [34, "mov rsi, rdx"], [35, "mov rdi, rax"], [36, "call sub_412A2D"], [37, "call sub_40DC33"], [38, "mov [rbp+var_8], rax"], [39, "mov rax, [rbp+var_8]"], [40, "mov [rbp+var_18], rax"], [41, "mov edx, 64h "], [42, "lea rax, [rbp+var_18]"], [43, "mov rsi, rdx"], [44, "mov rdi, rax"], [45, "call sub_40CA5B"], [46, "mov [rbp+var_10], rax"], [47, "mov edx, 64h "], [48, "mov rax, [rbp+var_8]"], [49, "mov rsi, rdx"], [50, "mov rdi, rax"], [51, "call sub_412A2D"], [52, "cmp [rbp+var_10], 1"], [53, "jz short loc_4122DE"], [54, "mov esi, 14Dh"], [55, "mov edi, offset aUsrSrcRepoFree_6"], [56, "call sub_4038C9"], [57, "nop"], [58, "leave"], [59, "retn"]], "data_dep": [[4, 3], [5, 4], [6, 5], [8, 6], [8, 5], [9, 7], [10, 8], [12, 11], [14, 4], [15, 13], [16, 14], [18, 12], [19, 18], [24, 23], [25, 24], [26, 25], [28, 26], [28, 25], [29, 27], [30, 28], [33, 24], [34, 32], [35, 33], [38, 37], [39, 38], [40, 39], [42, 39], [42, 40], [43, 41], [44, 42], [46, 45], [48, 38], [49, 47], [50, 48], [52, 46], [53, 52], [59, 51], [59, 56]]}
LUALIB_API void luaL_pushmodule (lua_State *L, const char *modname, int sizehint) { luaL_findtable(L, LUA_REGISTRYINDEX, "_LOADED", 1); /* get _LOADED table */ lua_getfield(L, -1, modname); /* get _LOADED[modname] */ if (!lua_istable(L, -1)) { /* not found? */ lua_pop(L, 1); /* remove previous result */ /* try global variable (and create one if it does not exist) */ lua_pushglobaltable(L); if (luaL_findtable(L, 0, modname, sizehint) != NULL) luaL_error(L, "name conflict for module " LUA_QS, modname); lua_pushvalue(L, -1); lua_setfield(L, -3, modname); /* _LOADED[modname] = new table */ } lua_remove(L, -2); /* remove _LOADED table */ }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "luaL_pushmodule", "function_addr": 4750513, "binary_name": "4a8063503b00e2daa87f12503db0823933ebfcd9010aa37d6cf2d80cb8e76487.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 20h"], [3, "mov [rbp+var_8], rdi"], [4, "mov [rbp+var_10], rsi"], [5, "mov [rbp+var_14], edx"], [6, "mov rax, [rbp+var_8]"], [7, "mov ecx, 1"], [8, "mov edx, offset aLoaded"], [9, "mov esi, 0FFF0B9D8h"], [10, "mov rdi, rax"], [11, "call sub_487B00"], [12, "mov rdx, [rbp+var_10]"], [13, "mov rax, [rbp+var_8]"], [14, "mov esi, 0FFFFFFFFh"], [15, "mov rdi, rax"], [16, "call lua_getfield"], [17, "mov rax, [rbp+var_8]"], [18, "mov esi, 0FFFFFFFFh"], [19, "mov rdi, rax"], [20, "call lua_type"], [21, "cmp eax, 5"], [22, "jz loc_487D92"], [23, "mov rax, [rbp+var_8]"], [24, "mov esi, 0FFFFFFFEh"], [25, "mov rdi, rax"], [26, "call lua_settop"], [27, "mov rax, [rbp+var_8]"], [28, "mov edx, 2"], [29, "mov esi, 0FFF0B9D8h"], [30, "mov rdi, rax"], [31, "call lua_rawgeti"], [32, "mov ecx, [rbp+var_14]"], [33, "mov rdx, [rbp+var_10]"], [34, "mov rax, [rbp+var_8]"], [35, "mov esi, 0"], [36, "mov rdi, rax"], [37, "call sub_487B00"], [38, "test rax, rax"], [39, "jz short loc_487D6C"], [40, "mov rdx, [rbp+var_10]"], [41, "mov rax, [rbp+var_8]"], [42, "mov esi, offset aNameConflictFo"], [43, "mov rdi, rax"], [44, "mov eax, 0"], [45, "call luaL_error"], [46, "mov rax, [rbp+var_8]"], [47, "mov esi, 0FFFFFFFFh"], [48, "mov rdi, rax"], [49, "call lua_pushvalue"], [50, "mov rdx, [rbp+var_10]"], [51, "mov rax, [rbp+var_8]"], [52, "mov esi, 0FFFFFFFDh"], [53, "mov rdi, rax"], [54, "call lua_setfield"], [55, "mov rax, [rbp+var_8]"], [56, "mov esi, 0FFFFFFFEh"], [57, "mov rdi, rax"], [58, "call lua_remove"], [59, "nop"], [60, "leave"], [61, "retn"]], "data_dep": [[6, 3], [10, 6], [12, 4], [13, 3], [15, 13], [17, 3], [19, 17], [21, 20], [22, 21], [23, 3], [25, 23], [27, 3], [30, 27], [32, 5], [33, 4], [34, 3], [36, 34], [38, 37], [39, 38], [40, 4], [41, 3], [43, 41], [46, 3], [48, 46], [50, 4], [51, 3], [53, 51], [55, 3], [57, 55], [61, 58]]}
void usage(char *pname) { fprintf(stderr, "%s: [-v] cache_size(in GB) vol_size(in GB)\n", pname); exit(1); }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_401162", "function_addr": 4198754, "binary_name": "1c16b5900aad37eb9bdf4c258f2d413f5a10821715d4c402469b3ed9ee8da998.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 10h"], [3, "mov [rbp+var_8], rdi"], [4, "mov rax, cs:stderr"], [5, "mov rdx, [rbp+var_8]"], [6, "mov esi, offset format"], [7, "mov rdi, rax"], [8, "mov eax, 0"], [9, "call _fprintf"], [10, "mov edi, 1"], [11, "call _exit"]], "data_dep": [[5, 3], [7, 4]]}
void OH_DirectIndirectLong (const OpcDesc* D attribute ((unused))) { Error ("Not implemented"); }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_405647", "function_addr": 4216391, "binary_name": "28aeaecdf61b5658652bdb4f4092bdfa01457a1c58e1006fdfb00089d2b32a3b.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 10h"], [3, "mov [rbp+var_8], rdi"], [4, "mov edi, offset aNotImplemented"], [5, "mov eax, 0"], [6, "call sub_4016EA"]], "data_dep": []}
static void run_test(void (*test)(), const char *test_name) { set_up(); test(); printf(" PASS %s\n", test_name); tear_down(); }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_40A041", "function_addr": 4235329, "binary_name": "3ea9fe412513452ecfcdb9f65c225de567b42640d8292b8ce2bd1b01a4b01330.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 10h"], [3, "mov [rbp+var_8], rdi"], [4, "mov [rbp+var_10], rsi"], [5, "mov eax, 0"], [6, "call sub_402DBB"], [7, "mov rdx, [rbp+var_8]"], [8, "mov eax, 0"], [9, "call rdx"], [10, "mov rax, [rbp+var_10]"], [11, "mov rsi, rax"], [12, "mov edi, offset format"], [13, "mov eax, 0"], [14, "call _printf"], [15, "mov eax, 0"], [16, "call sub_402DEB"], [17, "nop"], [18, "leave"], [19, "retn"]], "data_dep": [[7, 3], [9, 7], [10, 4], [11, 10], [19, 16]]}
void lv_txt_get_size(lv_point_t * size_res, const char * text, const lv_font_t * font, lv_coord_t letter_space, lv_coord_t line_space, lv_coord_t max_width, lv_text_flag_t flag) { size_res->x = 0; size_res->y = 0; if(text == NULL) return; if(font == NULL) return; if(flag & LV_TEXT_FLAG_EXPAND) max_width = LV_COORD_MAX; uint32_t line_start = 0; uint32_t new_line_start = 0; uint16_t letter_height = lv_font_get_line_height(font); /*Calc. the height and longest line*/ while(text[line_start] != '\0') { new_line_start += _lv_txt_get_next_line(&text[line_start], font, letter_space, max_width, NULL, flag); if((unsigned long)size_res->y + (unsigned long)letter_height + (unsigned long)line_space > LV_MAX_OF(lv_coord_t)) { LV_LOG_WARN("integer overflow while calculating text height"); return; } else { size_res->y += letter_height; size_res->y += line_space; } /*Calculate the longest line*/ lv_coord_t act_line_length = lv_txt_get_width(&text[line_start], new_line_start - line_start, font, letter_space, flag); size_res->x = LV_MAX(act_line_length, size_res->x); line_start = new_line_start; } /*Make the text one line taller if the last character is '\n' or '\r'*/ if((line_start != 0) && (text[line_start - 1] == '\n' || text[line_start - 1] == '\r')) { size_res->y += letter_height + line_space; } /*Correction with the last line space or set the height manually if the text is empty*/ if(size_res->y == 0) size_res->y = letter_height; else size_res->y -= line_space; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_41740B", "function_addr": 4289547, "binary_name": "1ba19119f39f257e698158d43e5d3674346db96601f10ff9792919370406ff3a.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 40h"], [3, "mov [rbp+var_18], rdi"], [4, "mov [rbp+var_20], rsi"], [5, "mov [rbp+var_28], rdx"], [6, "mov eax, ecx"], [7, "mov ecx, r8d"], [8, "mov edx, r9d"], [9, "mov esi, [rbp+arg_0]"], [10, "mov [rbp+var_2C], ax"], [11, "mov eax, ecx"], [12, "mov [rbp+var_30], ax"], [13, "mov eax, edx"], [14, "mov [rbp+var_34], ax"], [15, "mov eax, esi"], [16, "mov [rbp+var_38], al"], [17, "mov rax, [rbp+var_18]"], [18, "mov word ptr [rax], 0"], [19, "mov rax, [rbp+var_18]"], [20, "mov word ptr [rax+2], 0"], [21, "cmp [rbp+var_20], 0"], [22, "jz loc_41760A"], [23, "cmp [rbp+var_28], 0"], [24, "jz loc_41760D"], [25, "movzx eax, [rbp+var_38]"], [26, "and eax, 2"], [27, "test eax, eax"], [28, "jz short loc_417479"], [29, "mov [rbp+var_34], 1FFFh"], [30, "mov [rbp+var_4], 0"], [31, "mov [rbp+var_8], 0"], [32, "mov rax, [rbp+var_28]"], [33, "mov rdi, rax"], [34, "call sub_417393"], [35, "mov [rbp+var_A], ax"], [36, "jmp loc_41756E"], [37, "movzx esi, [rbp+var_38]"], [38, "movsx ecx, [rbp+var_34]"], [39, "movsx edx, [rbp+var_2C]"], [40, "mov edi, [rbp+var_4]"], [41, "mov rax, [rbp+var_20]"], [42, "add rdi, rax"], [43, "mov rax, [rbp+var_28]"], [44, "mov r9d, esi"], [45, "mov r8d, 0"], [46, "mov rsi, rax"], [47, "call sub_417859"], [48, "add [rbp+var_8], eax"], [49, "mov rax, [rbp+var_18]"], [50, "movzx eax, word ptr [rax+2]"], [51, "movsx rdx, ax"], [52, "movzx eax, [rbp+var_A]"], [53, "add rdx, rax"], [54, "movsx rax, [rbp+var_30]"], [55, "add rax, rdx"], [56, "cmp rax, 7FFFh"], [57, "ja loc_417610"], [58, "mov rax, [rbp+var_18]"], [59, "movzx eax, word ptr [rax+2]"], [60, "mov edx, eax"], [61, "movzx eax, [rbp+var_A]"], [62, "add eax, edx"], [63, "mov edx, eax"], [64, "mov rax, [rbp+var_18]"], [65, "mov [rax+2], dx"], [66, "mov rax, [rbp+var_18]"], [67, "movzx eax, word ptr [rax+2]"], [68, "mov edx, eax"], [69, "movzx eax, [rbp+var_30]"], [70, "add eax, edx"], [71, "mov edx, eax"], [72, "mov rax, [rbp+var_18]"], [73, "mov [rax+2], dx"], [74, "movzx esi, [rbp+var_38]"], [75, "movsx ecx, [rbp+var_2C]"], [76, "mov eax, [rbp+var_8]"], [77, "sub eax, [rbp+var_4]"], [78, "mov edi, [rbp+var_4]"], [79, "mov rdx, [rbp+var_20]"], [80, "add rdi, rdx"], [81, "mov rdx, [rbp+var_28]"], [82, "mov r8d, esi"], [83, "mov esi, eax"], [84, "call sub_417AA6"], [85, "mov [rbp+var_C], ax"], [86, "mov rax, [rbp+var_18]"], [87, "movzx eax, word ptr [rax]"], [88, "cmp [rbp+var_C], ax"], [89, "cmovge ax, [rbp+var_C]"], [90, "mov edx, eax"], [91, "mov rax, [rbp+var_18]"], [92, "mov [rax], dx"], [93, "mov eax, [rbp+var_8]"], [94, "mov [rbp+var_4], eax"], [95, "mov edx, [rbp+var_4]"], [96, "mov rax, [rbp+var_20]"], [97, "add rax, rdx"], [98, "movzx eax, byte ptr [rax]"], [99, "test al, al"], [100, "jnz loc_41749C"], [101, "cmp [rbp+var_4], 0"], [102, "jz short loc_4175D5"], [103, "mov eax, [rbp+var_4]"], [104, "sub eax, 1"], [105, "mov edx, eax"], [106, "mov rax, [rbp+var_20]"], [107, "add rax, rdx"], [108, "movzx eax, byte ptr [rax]"], [109, "cmp al, 0Ah"], [110, "jz short loc_4175B5"], [111, "mov eax, [rbp+var_4]"], [112, "sub eax, 1"], [113, "mov edx, eax"], [114, "mov rax, [rbp+var_20]"], [115, "add rax, rdx"], [116, "movzx eax, byte ptr [rax]"], [117, "cmp al, 0Dh"], [118, "jnz short loc_4175D5"], [119, "mov rax, [rbp+var_18]"], [120, "movzx eax, word ptr [rax+2]"], [121, "mov ecx, eax"], [122, "movzx edx, [rbp+var_30]"], [123, "movzx eax, [rbp+var_A]"], [124, "add eax, edx"], [125, "add eax, ecx"], [126, "mov edx, eax"], [127, "mov rax, [rbp+var_18]"], [128, "mov [rax+2], dx"], [129, "mov rax, [rbp+var_18]"], [130, "movzx eax, word ptr [rax+2]"], [131, "test ax, ax"], [132, "jnz short loc_4175F0"], [133, "movzx edx, [rbp+var_A]"], [134, "mov rax, [rbp+var_18]"], [135, "mov [rax+2], dx"], [136, "jmp short locret_417611"], [137, "mov rax, [rbp+var_18]"], [138, "movzx eax, word ptr [rax+2]"], [139, "movzx edx, [rbp+var_30]"], [140, "sub eax, edx"], [141, "mov edx, eax"], [142, "mov rax, [rbp+var_18]"], [143, "mov [rax+2], dx"], [144, "jmp short locret_417611"], [145, "nop"], [146, "jmp short locret_417611"], [147, "nop"], [148, "jmp short locret_417611"], [149, "nop"], [150, "leave"], [151, "retn"]], "data_dep": [[10, 6], [11, 7], [12, 11], [13, 8], [14, 13], [15, 9], [16, 15], [17, 3], [18, 17], [19, 3], [20, 19], [21, 4], [22, 21], [23, 5], [24, 23], [25, 16], [26, 25], [27, 26], [28, 27], [32, 5], [33, 32], [35, 34], [37, 16], [38, 29], [38, 14], [39, 10], [40, 30], [40, 94], [41, 4], [42, 41], [42, 40], [43, 5], [44, 37], [46, 43], [48, 47], [48, 31], [48, 48], [49, 3], [50, 20], [50, 49], [50, 65], [50, 92], [50, 73], [50, 18], [51, 50], [52, 35], [53, 52], [53, 51], [54, 12], [55, 54], [55, 53], [56, 55], [57, 56], [58, 3], [59, 73], [59, 18], [59, 20], [59, 65], [59, 92], [59, 58], [60, 59], [61, 35], [62, 60], [62, 61], [63, 62], [64, 3], [65, 63], [65, 64], [66, 3], [67, 65], [67, 66], [68, 67], [69, 12], [70, 68], [70, 69], [71, 70], [72, 3], [73, 71], [73, 72], [74, 16], [75, 10], [76, 48], [77, 76], [77, 30], [77, 94], [78, 30], [78, 94], [79, 4], [80, 78], [80, 79], [81, 5], [82, 74], [83, 77], [85, 84], [86, 3], [87, 73], [87, 18], [87, 86], [87, 92], [88, 85], [88, 87], [89, 88], [89, 85], [90, 89], [91, 3], [92, 90], [92, 91], [93, 48], [94, 93], [95, 30], [95, 94], [96, 4], [97, 95], [97, 96], [98, 92], [98, 73], [98, 18], [98, 20], [98, 65], [98, 97], [99, 98], [100, 99], [101, 30], [101, 94], [102, 101], [103, 30], [103, 94], [104, 103], [105, 104], [106, 4], [107, 106], [107, 105], [108, 20], [108, 107], [108, 65], [108, 92], [108, 73], [108, 18], [109, 108], [110, 109], [111, 30], [111, 94], [112, 111], [113, 112], [114, 4], [115, 114], [115, 113], [116, 65], [116, 115], [116, 92], [116, 18], [116, 73], [116, 20], [117, 116], [118, 117], [119, 3], [120, 92], [120, 119], [120, 128], [120, 73], [120, 18], [120, 20], [120, 65], [121, 120], [122, 12], [123, 35], [124, 122], [124, 123], [125, 121], [125, 124], [126, 125], [127, 3], [128, 126], [128, 127], [129, 3], [130, 92], [130, 128], [130, 73], [130, 18], [130, 20], [130, 65], [130, 129], [131, 130], [132, 131], [133, 35], [134, 3], [135, 133], [135, 134], [137, 3], [138, 128], [138, 73], [138, 18], [138, 137], [138, 20], [138, 143], [138, 65], [138, 92], [139, 12], [140, 139], [140, 138], [141, 140], [142, 3], [143, 142], [143, 141], [151, 134], [151, 19], [151, 55], [151, 142]]}
static void GenerateNal(IRbspWriter* writer, AL_TBitStreamLite* bitstream, AL_NalUnit* nal, AL_TStreamMetaData* pMeta, uint32_t uFlags) { int start = getBytesOffset(bitstream); int size = WriteNal(writer, bitstream, nal); /* we should always be able to write the configuration nals as we reserved * enough space for them */ assert(size >= 0); AddSection(pMeta, start, size, uFlags); }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_483F6B", "function_addr": 4734827, "binary_name": "44e8aed08fe933b793e356a871e8f31cdd3a534e9dca1fb63610d519aee2b0ea.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 40h"], [3, "mov [rbp+var_18], rdi"], [4, "mov [rbp+var_20], rsi"], [5, "mov [rbp+var_28], rdx"], [6, "mov [rbp+var_30], rcx"], [7, "mov [rbp+var_34], r8d"], [8, "mov rax, [rbp+var_20]"], [9, "mov rdi, rax"], [10, "call sub_483E11"], [11, "mov [rbp+var_4], eax"], [12, "mov rdx, [rbp+var_28]"], [13, "mov rcx, [rbp+var_20]"], [14, "mov rax, [rbp+var_18]"], [15, "mov rsi, rcx"], [16, "mov rdi, rax"], [17, "call sub_483EA0"], [18, "mov [rbp+var_8], eax"], [19, "cmp [rbp+var_8], 0"], [20, "jns short loc_483FD5"], [21, "lea rcx, aGeneratenal"], [22, "mov edx, 5Eh "], [23, "lea rsi, aLibEncodeSecti"], [24, "lea rdi, aSize0"], [25, "call ___assert_fail"], [26, "mov edx, [rbp+var_8]"], [27, "mov esi, [rbp+var_4]"], [28, "mov ecx, [rbp+var_34]"], [29, "mov rax, [rbp+var_30]"], [30, "mov rdi, rax"], [31, "call sub_483DBC"], [32, "nop"], [33, "leave"], [34, "retn"]], "data_dep": [[8, 4], [9, 8], [11, 10], [12, 5], [13, 4], [14, 3], [15, 13], [16, 14], [18, 17], [19, 18], [20, 19], [21, 13], [23, 15], [24, 16], [26, 18], [27, 11], [28, 7], [29, 6], [30, 29], [34, 31]]}
static inline void add_cigar(const mem_opt_t *opt, mem_aln_t *p, kstring_t *str, int which) { int i; if (p->n_cigar) { // aligned for (i = 0; i < p->n_cigar; ++i) { int c = p->cigar[i]&0xf; if (!(opt->flag&MEM_F_SOFTCLIP) && !p->is_alt && (c == 3 || c == 4)) c = which? 4 : 3; // use hard clipping for supplementary alignments kputw(p->cigar[i]>>4, str); kputc("MIDSH"[c], str); } } else kputc('*', str); // having a coordinate but unaligned (e.g. when copy_mate is true) }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_44F63A", "function_addr": 4519482, "binary_name": "5ea9f9c54079c7f4b8eaa0e7140af6562134c5adc9cce337d10805b6c5752ec2.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 30h"], [3, "mov [rbp+var_18], rdi"], [4, "mov [rbp+var_20], rsi"], [5, "mov [rbp+var_28], rdx"], [6, "mov [rbp+var_2C], ecx"], [7, "mov rax, [rbp+var_20]"], [8, "mov eax, [rax+14h]"], [9, "test eax, eax"], [10, "jz loc_44F724"], [11, "mov [rbp+var_4], 0"], [12, "jmp loc_44F712"], [13, "mov rax, [rbp+var_20]"], [14, "mov rdx, [rax+18h]"], [15, "mov eax, [rbp+var_4]"], [16, "cdqe"], [17, "shl rax, 2"], [18, "add rax, rdx"], [19, "mov eax, [rax]"], [20, "and eax, 0Fh"], [21, "mov [rbp+var_8], eax"], [22, "mov rax, [rbp+var_18]"], [23, "mov eax, [rax+3Ch]"], [24, "and eax, 200h"], [25, "test eax, eax"], [26, "jnz short loc_44F6C8"], [27, "mov rax, [rbp+var_20]"], [28, "movzx eax, byte ptr [rax+10h]"], [29, "and eax, 2"], [30, "test al, al"], [31, "jnz short loc_44F6C8"], [32, "cmp [rbp+var_8], 3"], [33, "jz short loc_44F6B3"], [34, "cmp [rbp+var_8], 4"], [35, "jnz short loc_44F6C8"], [36, "cmp [rbp+var_2C], 0"], [37, "jz short loc_44F6C0"], [38, "mov eax, 4"], [39, "jmp short loc_44F6C5"], [40, "mov eax, 3"], [41, "mov [rbp+var_8], eax"], [42, "mov rax, [rbp+var_20]"], [43, "mov rdx, [rax+18h]"], [44, "mov eax, [rbp+var_4]"], [45, "cdqe"], [46, "shl rax, 2"], [47, "add rax, rdx"], [48, "mov eax, [rax]"], [49, "shr eax, 4"], [50, "mov edx, eax"], [51, "mov rax, [rbp+var_28]"], [52, "mov rsi, rax"], [53, "mov edi, edx"], [54, "call sub_439D5B"], [55, "mov eax, [rbp+var_8]"], [56, "cdqe"], [57, "movzx eax, ds:byte_469C5B[rax]"], [58, "movsx eax, al"], [59, "mov rdx, [rbp+var_28]"], [60, "mov rsi, rdx"], [61, "mov edi, eax"], [62, "call sub_439BEF"], [63, "add [rbp+var_4], 1"], [64, "mov rax, [rbp+var_20]"], [65, "mov eax, [rax+14h]"], [66, "cmp [rbp+var_4], eax"], [67, "jl loc_44F66C"], [68, "jmp short loc_44F735"], [69, "mov rax, [rbp+var_28]"], [70, "mov rsi, rax"], [71, "mov edi, 2Ah "], [72, "call sub_439BEF"], [73, "nop"], [74, "leave"], [75, "retn"]], "data_dep": [[7, 4], [8, 7], [9, 8], [10, 9], [13, 4], [14, 13], [15, 63], [15, 11], [17, 15], [18, 17], [18, 14], [19, 18], [20, 19], [21, 20], [22, 3], [23, 22], [24, 23], [25, 24], [26, 25], [27, 4], [28, 27], [29, 28], [30, 29], [31, 30], [32, 21], [33, 32], [34, 21], [35, 34], [36, 6], [37, 36], [41, 40], [41, 38], [42, 4], [43, 42], [44, 63], [44, 11], [46, 44], [47, 46], [47, 43], [48, 47], [49, 48], [50, 49], [51, 5], [52, 51], [53, 50], [55, 41], [55, 21], [58, 57], [59, 5], [60, 59], [61, 58], [63, 63], [63, 11], [64, 4], [65, 64], [66, 63], [66, 11], [66, 65], [67, 66], [69, 5], [70, 69], [75, 72], [75, 65]]}
void bdf_ResetMax(void) { bdf_char_max_width = 0; bdf_char_max_height = 0; bdf_char_max_x = 0; bdf_char_max_y = 0; bdf_delta_max_x = 0; bdf_delta_max_y = 0; bdf_char_min_x = 0; bdf_char_min_y = 0; bdf_delta_min_x = 0; bdf_delta_min_y = 0; bdf_glyph_data_max_len = 0; bdf_char_max_ascent = 0; bdf_char_xascent = 0; bdf_char_xdescent = 0; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_4018EB", "function_addr": 4200683, "binary_name": "4bd07b1fddb917ded3dbeed51101a5766be187676212ea81a3371ac4e3a89d44.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "mov cs:dword_42486C, 0"], [3, "mov cs:dword_424884, 0"], [4, "mov cs:dword_42488C, 0"], [5, "mov cs:dword_424898, 0"], [6, "mov cs:dword_4248A4, 0"], [7, "mov cs:dword_4248B0, 0"], [8, "mov cs:dword_424890, 0"], [9, "mov cs:dword_42489C, 0"], [10, "mov cs:dword_4248A8, 0"], [11, "mov cs:dword_4248B4, 0"], [12, "mov cs:dword_4248BC, 0"], [13, "mov cs:dword_424880, 0"], [14, "mov cs:dword_424878, 0"], [15, "mov cs:dword_42487C, 0"], [16, "nop"], [17, "pop rbp"], [18, "retn"]], "data_dep": [[17, 0]]}
static int query_buffer_size(__u64 *buffer_size) { FILE *f; f = fopen(ioctl_devfs, "rb"); if (!f) return -EINVAL; fread(buffer_size, sizeof(__u64), 1, f); fclose(f); return EXIT_SUCCESS; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_401605", "function_addr": 4199941, "binary_name": "fc962af895ccfb94c41ff9d7f04eccd599463af591671023af44230c6f9578f3.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 20h"], [3, "mov [rbp+ptr], rdi"], [4, "mov rax, cs:filename"], [5, "mov esi, offset modes"], [6, "mov rdi, rax"], [7, "call _fopen"], [8, "mov [rbp+stream], rax"], [9, "cmp [rbp+stream], 0"], [10, "jnz short loc_401637"], [11, "mov eax, 0FFFFFFEAh"], [12, "jmp short locret_401665"], [13, "mov rdx, [rbp+stream]"], [14, "mov rax, [rbp+ptr]"], [15, "mov rcx, rdx"], [16, "mov edx, 1"], [17, "mov esi, 8"], [18, "mov rdi, rax"], [19, "call _fread"], [20, "mov rax, [rbp+stream]"], [21, "mov rdi, rax"], [22, "call _fclose"], [23, "mov eax, 0"], [24, "leave"], [25, "retn"]], "data_dep": [[6, 4], [8, 7], [9, 8], [10, 9], [13, 8], [14, 3], [15, 13], [18, 14], [20, 8], [21, 20], [25, 23], [25, 11]]}
long int to_signed_long( unsigned long int value ) { long int signed_value = value; if (value >> 31) signed_value |= -1 << 31; return signed_value; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_4019D3", "function_addr": 4200915, "binary_name": "c283910ea3fac8d6dcd04f2f80992ffe7e7debb581199446850c02a5606342ba.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "mov [rbp+var_18], rdi"], [3, "mov rax, [rbp+var_18]"], [4, "mov [rbp+var_8], rax"], [5, "mov rax, [rbp+var_18]"], [6, "shr rax, 1Fh"], [7, "test rax, rax"], [8, "jz short loc_4019F8"], [9, "or [rbp+var_8], 0FFFFFFFF80000000h"], [10, "mov rax, [rbp+var_8]"], [11, "pop rbp"], [12, "retn"]], "data_dep": [[3, 2], [4, 3], [5, 2], [6, 5], [7, 6], [8, 7], [9, 4], [10, 4], [10, 9], [11, 0], [12, 10]]}
yrmcds_error yrmcds_getk(yrmcds* c, const char* key, size_t key_len, int quiet, uint32_t* serial) { if( c == NULL || key == NULL || key_len == 0 ) return YRMCDS_BAD_ARGUMENT; if( c->text_mode ) return yrmcds_text_get(c, key, key_len, quiet, serial); return send_command(c, quiet ? YRMCDS_CMD_GETKQ : YRMCDS_CMD_GETK, 0, serial, key_len, key, 0, NULL, 0, NULL); }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_408125", "function_addr": 4227365, "binary_name": "c14e4a23af97c05c132af727554ffbc40c808655512247badf0f63aaac8465be.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 30h"], [3, "mov [rbp+var_8], rdi"], [4, "mov [rbp+var_10], rsi"], [5, "mov [rbp+var_18], rdx"], [6, "mov [rbp+var_1C], ecx"], [7, "mov [rbp+var_28], r8"], [8, "cmp [rbp+var_8], 0"], [9, "jz short loc_408155"], [10, "cmp [rbp+var_10], 0"], [11, "jz short loc_408155"], [12, "cmp [rbp+var_18], 0"], [13, "jnz short loc_40815C"], [14, "mov eax, 2"], [15, "jmp short locret_4081CD"], [16, "mov rax, [rbp+var_8]"], [17, "mov eax, [rax+6Ch]"], [18, "test eax, eax"], [19, "jz short loc_408187"], [20, "mov rdi, [rbp+var_28]"], [21, "mov ecx, [rbp+var_1C]"], [22, "mov rdx, [rbp+var_18]"], [23, "mov rsi, [rbp+var_10]"], [24, "mov rax, [rbp+var_8]"], [25, "mov r8, rdi"], [26, "mov rdi, rax"], [27, "call sub_409A2E"], [28, "jmp short locret_4081CD"], [29, "cmp [rbp+var_1C], 0"], [30, "jz short loc_408194"], [31, "mov edi, 0Dh"], [32, "jmp short loc_408199"], [33, "mov edi, 0Ch"], [34, "mov rsi, [rbp+var_10]"], [35, "mov rcx, [rbp+var_18]"], [36, "mov rdx, [rbp+var_28]"], [37, "mov rax, [rbp+var_8]"], [38, "push 0"], [39, "push 0"], [40, "push 0"], [41, "push 0"], [42, "mov r9, rsi"], [43, "mov r8, rcx"], [44, "mov rcx, rdx"], [45, "mov edx, 0"], [46, "mov esi, edi"], [47, "mov rdi, rax"], [48, "call sub_407B22"], [49, "add rsp, 20h"], [50, "leave"], [51, "retn"]], "data_dep": [[8, 3], [9, 8], [10, 4], [11, 10], [12, 5], [13, 12], [16, 3], [17, 16], [18, 17], [19, 18], [20, 7], [21, 6], [22, 5], [23, 4], [24, 3], [25, 20], [26, 24], [29, 6], [30, 29], [34, 4], [35, 5], [36, 7], [37, 3], [42, 34], [43, 35], [44, 36], [46, 33], [46, 31], [47, 37], [49, 2], [51, 27], [51, 48], [51, 14]]}
int main(int argc, char **argv) { static const struct optparse_long global[] = { #if ENCHIVE_OPTION_AGENT {"agent", 'a', OPTPARSE_OPTIONAL}, {"no-agent", 'A', OPTPARSE_NONE}, #endif {"pinentry", 'e', OPTPARSE_OPTIONAL}, {"pubkey", 'p', OPTPARSE_REQUIRED}, {"seckey", 's', OPTPARSE_REQUIRED}, {"version", 'V', OPTPARSE_NONE}, {"help", 'h', OPTPARSE_NONE}, {0, 0, 0} }; int option; char *command; struct optparse options[1]; optparse_init(options, argv); options->permute = 0; (void)argc; while ((option = optparse_long(options, global, 0)) != -1) { switch (option) { #if ENCHIVE_OPTION_AGENT case 'a': if (options->optarg) { char *arg = options->optarg; char *endptr; errno = 0; global_agent_timeout = strtol(arg, &endptr, 10); if (*endptr || errno) fatal("invalid --agent argument -- %s", arg); } else global_agent_timeout = ENCHIVE_AGENT_TIMEOUT; break; case 'A': global_agent_timeout = 0; break; #endif case 'e': if (options->optarg) pinentry_path = options->optarg; else pinentry_path = STR(ENCHIVE_PINENTRY_DEFAULT); break; case 'p': global_pubkey = options->optarg; break; case 's': global_seckey = options->optarg; break; case 'h': print_usage(stdout); exit(EXIT_SUCCESS); break; case 'V': print_version(); exit(EXIT_SUCCESS); break; default: fatal("%s", options->errmsg); } } command = optparse_arg(options); options->permute = 1; if (!command) { fprintf(stderr, "enchive: missing command\n"); print_usage(stderr); exit(EXIT_FAILURE); } #ifdef _WIN32 /* Set stdin/stdout to binary mode. */ _setmode(0, 0x8000); _setmode(1, 0x8000); #endif switch (parse_command(command)) { case COMMAND_UNKNOWN: case COMMAND_AMBIGUOUS: fprintf(stderr, "enchive: unknown command, %s\n", command); print_usage(stderr); exit(EXIT_FAILURE); break; case COMMAND_KEYGEN: command_keygen(options); break; case COMMAND_FINGERPRINT: command_fingerprint(options); break; case COMMAND_ARCHIVE: command_archive(options); break; case COMMAND_EXTRACT: command_extract(options); break; } cleanup_free(); return 0; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "main", "function_addr": 4220451, "binary_name": "c4a3096d0db326a6a2a748070554dbfe7f1dd49f63830595967d5513b90de38c.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 0A0h"], [3, "mov [rbp+var_94], edi"], [4, "mov [rbp+var_A0], rsi"], [5, "mov rdx, [rbp+var_A0]"], [6, "lea rax, [rbp+var_80]"], [7, "mov rsi, rdx"], [8, "mov rdi, rax"], [9, "call sub_402553"], [10, "mov [rbp+var_78], 0"], [11, "jmp loc_406787"], [12, "mov eax, [rbp+var_4]"], [13, "sub eax, 41h "], [14, "cmp eax, 32h"], [15, "ja def_406676"], [16, "mov eax, eax"], [17, "mov rax, ds:jpt_406676[rax*8]"], [18, "jmp rax"], [19, "mov rax, [rbp+var_68]"], [20, "test rax, rax"], [21, "jz short loc_4066ED"], [22, "mov rax, [rbp+var_68]"], [23, "mov [rbp+nptr], rax"], [24, "call ___errno_location"], [25, "mov dword ptr [rax], 0"], [26, "lea rcx, [rbp+endptr]"], [27, "mov rax, [rbp+nptr]"], [28, "mov edx, 0Ah"], [29, "mov rsi, rcx"], [30, "mov rdi, rax"], [31, "call _strtol"], [32, "mov cs:dword_410310, eax"], [33, "mov rax, [rbp+endptr]"], [34, "movzx eax, byte ptr [rax]"], [35, "test al, al"], [36, "jnz short loc_4066D2"], [37, "call ___errno_location"], [38, "mov eax, [rax]"], [39, "test eax, eax"], [40, "jz loc_406787"], [41, "mov rax, [rbp+nptr]"], [42, "mov rsi, rax"], [43, "mov edi, offset aInvalidAgentAr"], [44, "mov eax, 0"], [45, "call sub_403175"], [46, "jmp loc_406787"], [47, "mov cs:dword_410310, 384h"], [48, "jmp loc_406787"], [49, "mov cs:dword_410310, 0"], [50, "jmp short loc_406787"], [51, "mov rax, [rbp+var_68]"], [52, "test rax, rax"], [53, "jz short loc_40671E"], [54, "mov rax, [rbp+var_68]"], [55, "mov cs:arg, rax"], [56, "jmp short loc_406787"], [57, "mov cs:arg, offset aPinentry"], [58, "jmp short loc_406787"], [59, "mov rax, [rbp+var_68]"], [60, "mov cs:qword_410300, rax"], [61, "jmp short loc_406787"], [62, "mov rax, [rbp+var_68]"], [63, "mov cs:qword_410308, rax"], [64, "jmp short loc_406787"], [65, "mov rax, cs:stdout"], [66, "mov rdi, rax"], [67, "call sub_4065F2"], [68, "mov edi, 0"], [69, "call _exit"], [70, "call sub_406612"], [71, "mov edi, 0"], [72, "call _exit"], [73, "lea rax, [rbp+var_80]"], [74, "add rax, 20h "], [75, "mov rsi, rax"], [76, "mov edi, offset aS"], [77, "mov eax, 0"], [78, "call sub_403175"], [79, "lea rax, [rbp+var_80]"], [80, "mov edx, 0"], [81, "mov esi, offset off_40D380"], [82, "mov rdi, rax"], [83, "call sub_402DB4"], [84, "mov [rbp+var_4], eax"], [85, "cmp [rbp+var_4], 0FFFFFFFFh"], [86, "jnz loc_40665D"], [87, "lea rax, [rbp+var_80]"], [88, "mov rdi, rax"], [89, "call sub_402AAB"], [90, "mov [rbp+var_10], rax"], [91, "mov [rbp+var_78], 1"], [92, "cmp [rbp+var_10], 0"], [93, "jnz short loc_4067FF"], [94, "mov rax, cs:stderr"], [95, "mov rcx, rax"], [96, "mov edx, 19h"], [97, "mov esi, 1"], [98, "mov edi, offset aEnchiveMissing"], [99, "call _fwrite"], [100, "mov rax, cs:stderr"], [101, "mov rdi, rax"], [102, "call sub_4065F2"], [103, "mov edi, 1"], [104, "call _exit"], [105, "mov rax, [rbp+var_10]"], [106, "mov rdi, rax"], [107, "call sub_405877"], [108, "add eax, 2"], [109, "cmp eax, 5"], [110, "ja short def_40681D"], [111, "mov eax, eax"], [112, "mov rax, ds:jpt_40681D[rax*8]"], [113, "jmp rax"], [114, "mov rax, cs:stderr"], [115, "mov rdx, [rbp+var_10]"], [116, "mov esi, offset aEnchiveUnknown"], [117, "mov rdi, rax"], [118, "mov eax, 0"], [119, "call _fprintf"], [120, "mov rax, cs:stderr"], [121, "mov rdi, rax"], [122, "call sub_4065F2"], [123, "mov edi, 1"], [124, "call _exit"], [125, "lea rax, [rbp+var_80]"], [126, "mov rdi, rax"], [127, "call sub_4058FF"], [128, "jmp short def_40681D"], [129, "lea rax, [rbp+var_80]"], [130, "mov rdi, rax"], [131, "call sub_405E14"], [132, "jmp short def_40681D"], [133, "lea rax, [rbp+var_80]"], [134, "mov rdi, rax"], [135, "call sub_405EB6"], [136, "jmp short def_40681D"], [137, "lea rax, [rbp+var_80]"], [138, "mov rdi, rax"], [139, "call sub_4061EB"], [140, "nop"], [141, "call sub_40313A"], [142, "mov eax, 0"], [143, "leave"], [144, "retn"]], "data_dep": [[5, 4], [7, 5], [8, 6], [12, 84], [13, 12], [14, 13], [15, 14], [16, 13], [18, 17], [20, 19], [21, 20], [23, 22], [25, 24], [26, 26], [27, 23], [29, 26], [30, 27], [32, 31], [34, 25], [34, 33], [35, 34], [36, 35], [38, 25], [38, 37], [39, 38], [40, 39], [41, 23], [42, 41], [52, 51], [53, 52], [55, 54], [60, 59], [63, 62], [66, 65], [73, 17], [73, 13], [74, 73], [75, 74], [79, 39], [79, 54], [79, 20], [79, 17], [79, 59], [79, 62], [79, 52], [79, 9], [82, 79], [84, 83], [85, 84], [86, 85], [87, 83], [88, 87], [90, 89], [92, 90], [93, 92], [95, 94], [101, 100], [105, 90], [106, 105], [108, 107], [109, 108], [110, 109], [111, 108], [113, 112], [115, 90], [117, 114], [121, 120], [125, 112], [126, 125], [129, 112], [130, 129], [133, 112], [134, 133], [137, 112], [138, 137], [144, 142]]}
void iscsi_update_conn_stats_tx(struct iscsi_connection *conn, int size, int opcode) { conn->stats.txdata_octets += (uint64_t)size; if (unlikely(opcode < 0)) return; if (opcode == ISCSI_OP_SCSI_DATA_IN) conn->stats.datain_pdus++; else if (opcode == ISCSI_OP_SCSI_CMD_RSP) conn->stats.scsirsp_pdus++; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "iscsi_update_conn_stats_tx", "function_addr": 4229193, "binary_name": "06b05d82dec9870e8b7ae0397f41b35df72003047fadef58765b37b6dc5de195.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "mov [rbp+var_8], rdi"], [3, "mov [rbp+var_C], esi"], [4, "mov [rbp+var_10], edx"], [5, "mov rax, [rbp+var_8]"], [6, "mov rdx, [rax+270h]"], [7, "mov eax, [rbp+var_C]"], [8, "cdqe"], [9, "add rdx, rax"], [10, "mov rax, [rbp+var_8]"], [11, "mov [rax+270h], rdx"], [12, "mov eax, [rbp+var_10]"], [13, "shr eax, 1Fh"], [14, "movzx eax, al"], [15, "test rax, rax"], [16, "jnz short loc_4088C1"], [17, "cmp [rbp+var_10], 25h "], [18, "jnz short loc_4088A2"], [19, "mov rax, [rbp+var_8]"], [20, "mov eax, [rax+2B0h]"], [21, "lea edx, [rax+1]"], [22, "mov rax, [rbp+var_8]"], [23, "mov [rax+2B0h], edx"], [24, "jmp short loc_4088C2"], [25, "cmp [rbp+var_10], 21h "], [26, "jnz short loc_4088C2"], [27, "mov rax, [rbp+var_8]"], [28, "mov eax, [rax+2A4h]"], [29, "lea edx, [rax+1]"], [30, "mov rax, [rbp+var_8]"], [31, "mov [rax+2A4h], edx"], [32, "jmp short loc_4088C2"], [33, "nop"], [34, "pop rbp"], [35, "retn"]], "data_dep": [[5, 2], [6, 5], [7, 3], [9, 7], [9, 6], [10, 2], [11, 10], [11, 9], [12, 4], [13, 12], [14, 13], [15, 14], [16, 15], [17, 4], [18, 17], [19, 2], [20, 11], [20, 23], [20, 19], [21, 9], [21, 11], [21, 23], [21, 20], [22, 2], [23, 22], [23, 21], [25, 4], [26, 25], [27, 2], [28, 27], [28, 11], [28, 31], [29, 28], [29, 31], [29, 9], [29, 11], [30, 2], [31, 29], [31, 30], [34, 0], [35, 30], [35, 22], [35, 15]]}
void pic16_write_panel(uint32_t region, uint32_t address, uint32_t *panel, uint32_t panel_size) { uint32_t h, l, i; uint16_t word; switch (pic16_map[pic16_index].datasheet) { case DS39687E: /* PIC18LF27J53 */ h = pic16_map[pic16_index].p9; /* minimum 1.2 or 3.5ms */ l = 0; break; default:h = pic16_map[pic16_index].p9; l = pic16_map[pic16_index].p10; break; } #if 0 pic16_write_enable(); /* BSF EECON1, WREN */ #endif pic16_set_table_pointer(address); for (i = 0; i < (panel_size - 2); i += 2) { word = (panel[i + 1] << 8) | panel[i]; pic16_table_write_post_increment_2(word); } word = (panel[i + 1] << 8) | panel[i]; pic16_table_write_start_programming(word); pic16_core_instruction_nopp(h, l); /* PANEL PROGRAM */ #if 0 pic16_write_disable(); /* BCF EECON1, WREN */ #endif }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_410BC4", "function_addr": 4262852, "binary_name": "d5cac42be9875efcb6972b80950aacef186fc23bb0003aa70f675eb5be5bf40c.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "sub rsp, 30h"], [3, "mov [rbp+var_14], edi"], [4, "mov [rbp+var_18], esi"], [5, "mov [rbp+var_20], rdx"], [6, "mov [rbp+var_24], ecx"], [7, "mov eax, cs:dword_471360"], [8, "mov eax, eax"], [9, "imul rax, 22Ch"], [10, "add rax, 45972Ch"], [11, "mov eax, [rax]"], [12, "cmp eax, 9B07h"], [13, "jnz short loc_410C1A"], [14, "mov eax, cs:dword_471360"], [15, "mov eax, eax"], [16, "imul rax, 22Ch"], [17, "add rax, 459734h"], [18, "mov eax, [rax]"], [19, "mov [rbp+var_4], eax"], [20, "mov [rbp+var_8], 0"], [21, "jmp short loc_410C4F"], [22, "mov eax, cs:dword_471360"], [23, "mov eax, eax"], [24, "imul rax, 22Ch"], [25, "add rax, 459734h"], [26, "mov eax, [rax]"], [27, "mov [rbp+var_4], eax"], [28, "mov eax, cs:dword_471360"], [29, "mov eax, eax"], [30, "imul rax, 22Ch"], [31, "add rax, 45973Ch"], [32, "mov eax, [rax]"], [33, "mov [rbp+var_8], eax"], [34, "nop"], [35, "mov eax, [rbp+var_18]"], [36, "mov edi, eax"], [37, "call sub_40FDFF"], [38, "mov [rbp+var_C], 0"], [39, "jmp short loc_410CA9"], [40, "mov eax, [rbp+var_C]"], [41, "add eax, 1"], [42, "mov eax, eax"], [43, "lea rdx, ds:0[rax*4]"], [44, "mov rax, [rbp+var_20]"], [45, "add rax, rdx"], [46, "mov eax, [rax]"], [47, "shl eax, 8"], [48, "mov edx, eax"], [49, "mov eax, [rbp+var_C]"], [50, "lea rcx, ds:0[rax*4]"], [51, "mov rax, [rbp+var_20]"], [52, "add rax, rcx"], [53, "mov eax, [rax]"], [54, "or eax, edx"], [55, "mov [rbp+var_E], ax"], [56, "movzx eax, [rbp+var_E]"], [57, "mov edi, eax"], [58, "call sub_40FBD6"], [59, "add [rbp+var_C], 2"], [60, "mov eax, [rbp+var_24]"], [61, "sub eax, 2"], [62, "cmp [rbp+var_C], eax"], [63, "jb short loc_410C62"], [64, "mov eax, [rbp+var_C]"], [65, "add eax, 1"], [66, "mov eax, eax"], [67, "lea rdx, ds:0[rax*4]"], [68, "mov rax, [rbp+var_20]"], [69, "add rax, rdx"], [70, "mov eax, [rax]"], [71, "shl eax, 8"], [72, "mov edx, eax"], [73, "mov eax, [rbp+var_C]"], [74, "lea rcx, ds:0[rax*4]"], [75, "mov rax, [rbp+var_20]"], [76, "add rax, rcx"], [77, "mov eax, [rax]"], [78, "or eax, edx"], [79, "mov [rbp+var_E], ax"], [80, "movzx eax, [rbp+var_E]"], [81, "mov edi, eax"], [82, "call sub_40FC06"], [83, "mov edx, [rbp+var_8]"], [84, "mov eax, [rbp+var_4]"], [85, "mov esi, edx"], [86, "mov edi, eax"], [87, "call sub_40FAA5"], [88, "nop"], [89, "leave"], [90, "retn"]], "data_dep": [[8, 7], [9, 8], [10, 9], [11, 10], [12, 11], [13, 12], [15, 14], [16, 15], [17, 16], [18, 17], [19, 18], [23, 22], [24, 23], [25, 24], [26, 25], [27, 26], [29, 28], [30, 29], [31, 30], [32, 31], [33, 32], [35, 4], [36, 35], [40, 59], [40, 38], [41, 40], [42, 41], [43, 48], [44, 5], [45, 43], [45, 44], [46, 45], [47, 46], [48, 47], [49, 59], [49, 38], [50, 50], [51, 5], [52, 51], [52, 50], [53, 52], [54, 53], [54, 48], [55, 54], [56, 55], [57, 56], [59, 59], [59, 38], [60, 6], [61, 60], [62, 59], [62, 61], [62, 38], [63, 62], [64, 59], [64, 38], [65, 64], [66, 65], [67, 48], [68, 5], [69, 67], [69, 68], [70, 69], [71, 70], [72, 71], [73, 59], [73, 38], [74, 50], [75, 5], [76, 74], [76, 75], [77, 76], [78, 77], [78, 72], [79, 78], [80, 79], [81, 80], [83, 20], [83, 33], [84, 19], [84, 27], [85, 83], [86, 84], [90, 87]]}
static uint8_t movc_a_indir_a_pc(struct em8051 *aCPU) { uint16_t address = PC + 1 + ACC; ACC = CODEMEM(address); PC++; return 0; }
{"metadata": {"project_name": "lmpa-bins-ret", "function_name": "sub_40651F", "function_addr": 4220191, "binary_name": "18ff9bd9c1637b628af63c86f48edfbee6b6b7371ac92f808a17f2cbb8eb4fe5.elf_extract.pkl\n"}, "code": [[0, "push rbp"], [1, "mov rbp, rsp"], [2, "mov [rbp+var_18], rdi"], [3, "mov rax, [rbp+var_18]"], [4, "movzx edx, word ptr [rax+128h]"], [5, "mov rax, [rbp+var_18]"], [6, "movzx eax, byte ptr [rax+108h]"], [7, "movzx eax, al"], [8, "add eax, edx"], [9, "add eax, 1"], [10, "mov [rbp+var_2], ax"], [11, "mov rax, [rbp+var_18]"], [12, "mov rdx, [rax]"], [13, "mov rax, [rbp+var_18]"], [14, "movzx eax, word ptr [rax+8]"], [15, "and ax, [rbp+var_2]"], [16, "movzx eax, ax"], [17, "add rax, rdx"], [18, "movzx edx, byte ptr [rax]"], [19, "mov rax, [rbp+var_18]"], [20, "mov [rax+108h], dl"], [21, "mov rax, [rbp+var_18]"], [22, "movzx eax, word ptr [rax+128h]"], [23, "lea edx, [rax+1]"], [24, "mov rax, [rbp+var_18]"], [25, "mov [rax+128h], dx"], [26, "mov eax, 0"], [27, "pop rbp"], [28, "retn"]], "data_dep": [[3, 2], [4, 3], [5, 2], [6, 5], [7, 6], [8, 4], [8, 7], [9, 8], [10, 9], [11, 2], [12, 11], [13, 2], [14, 13], [15, 14], [15, 10], [16, 15], [17, 12], [17, 16], [18, 17], [19, 2], [20, 19], [20, 18], [21, 2], [22, 20], [22, 21], [23, 22], [23, 18], [23, 20], [24, 2], [25, 23], [25, 24], [27, 0], [28, 26]]}