diff --git "a/datasets/conan/FTXUI.json" "b/datasets/conan/FTXUI.json" new file mode 100644--- /dev/null +++ "b/datasets/conan/FTXUI.json" @@ -0,0 +1 @@ +{"commit_hash": "cdf28903a7781f97ba94d30b79c3a4b0c97ccce7", "data": [{"file": "/src/analysis/FTXUI/src/ftxui/screen/string.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::IsFullWidth(uint param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "IsFullWidth", "assembly": [], "code": "bool IsFullWidth(uint32_t ucs) {\n if (ucs < 0x0300) // Quick path: // NOLINT\n return false;\n\n return Bisearch(ucs, g_full_width_characters);\n}\n", "authors": {"Arthur Sonzogni": 1.0}, "leading_author": "Arthur Sonzogni", "total_score": 143.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::CodepointToWordBreakProperty(uint param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "CodepointToWordBreakProperty", "assembly": [], "code": "WordBreakProperty CodepointToWordBreakProperty(uint32_t codepoint) {\n WordBreakPropertyInterval interval = {0, 0, WBP::ALetter};\n std::ignore = Bisearch(codepoint, g_word_break_intervals, &interval);\n return interval.property;\n}\n", "authors": {"Arthur Sonzogni": 1.0}, "leading_author": "Arthur Sonzogni", "total_score": 227.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::string_width(basic_string *param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "string_width", "assembly": [], "code": "int string_width(const std::string& input) {\n int width = 0;\n size_t start = 0;\n while (start < input.size()) {\n uint32_t codepoint = 0;\n if (!EatCodePoint(input, start, &start, &codepoint)) {\n continue;\n }\n\n if (IsControl(codepoint)) {\n continue;\n }\n\n if (IsCombining(codepoint)) {\n continue;\n }\n\n if (IsFullWidth(codepoint)) {\n width += 2;\n continue;\n }\n\n width += 1;\n }\n return width;\n}\n", "authors": {"Arthur Sonzogni": 1.0}, "leading_author": "Arthur Sonzogni", "total_score": 424.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::GlyphPrevious(basic_string *param_1,ulong param_2)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "GlyphPrevious", "assembly": [], "code": "size_t GlyphPrevious(const std::string& input, size_t start) {\n while (true) {\n if (start == 0) {\n return 0;\n }\n start--;\n\n // Skip the UTF8 continuation bytes.\n if ((input[start] & 0b1100'0000) == 0b1000'0000) {\n continue;\n }\n\n uint32_t codepoint = 0;\n size_t end = 0;\n const bool eaten = EatCodePoint(input, start, &end, &codepoint);\n\n // Ignore invalid, control characters and combining characters.\n if (!eaten || IsControl(codepoint) || IsCombining(codepoint)) {\n continue;\n }\n\n return start;\n }\n}\n", "authors": {"Arthur Sonzogni": 1.0}, "leading_author": "Arthur Sonzogni", "total_score": 528.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::GlyphNext(basic_string *param_1,ulong param_2)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "GlyphNext", "assembly": [], "code": "size_t GlyphNext(const std::string& input, size_t start) {\n bool glyph_found = false;\n while (start < input.size()) {\n size_t end = 0;\n uint32_t codepoint = 0;\n const bool eaten = EatCodePoint(input, start, &end, &codepoint);\n\n // Ignore invalid, control characters and combining characters.\n if (!eaten || IsControl(codepoint) || IsCombining(codepoint)) {\n start = end;\n continue;\n }\n\n // We eat the beginning of the next glyph. If we are eating the one\n // requested, return its start position immediately.\n if (glyph_found) {\n return static_cast(start);\n }\n\n // Otherwise, skip this glyph and iterate:\n glyph_found = true;\n start = end;\n }\n return static_cast(input.size());\n}\n", "authors": {"Arthur Sonzogni": 1.0}, "leading_author": "Arthur Sonzogni", "total_score": 723.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::to_string(basic_string *param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "to_string", "assembly": [], "code": "std::string to_string(const std::wstring& s) {\n std::string out;\n\n size_t i = 0;\n uint32_t codepoint = 0;\n while (EatCodePoint(s, i, &i, &codepoint)) {\n // Code point <-> UTF-8 conversion\n //\n // \u250f\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2533\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2513\n // \u2503Byte 1 \u2503Byte 2 \u2503Byte 3 \u2503Byte 4 \u2503\n // \u2521\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2547\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2529\n // \u25020xxxxxxx\u2502 \u2502 \u2502 \u2502\n // \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n // \u2502110xxxxx\u250210xxxxxx\u2502 \u2502 \u2502\n // \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n // \u25021110xxxx\u250210xxxxxx\u250210xxxxxx\u2502 \u2502\n // \u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n // \u250211110xxx\u250210xxxxxx\u250210xxxxxx\u250210xxxxxx\u2502\n // \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n\n // 1 byte UTF8\n if (codepoint <= 0b000'0000'0111'1111) { // NOLINT\n const uint8_t p1 = codepoint;\n out.push_back(p1); // NOLINT\n continue;\n }\n\n // 2 bytes UTF8\n if (codepoint <= 0b000'0111'1111'1111) { // NOLINT\n uint8_t p2 = codepoint & 0b111111; // NOLINT\n codepoint >>= 6; // NOLINT\n uint8_t p1 = codepoint; // NOLINT\n out.push_back(0b11000000 + p1); // NOLINT\n out.push_back(0b10000000 + p2); // NOLINT\n continue;\n }\n\n // 3 bytes UTF8\n if (codepoint <= 0b1111'1111'1111'1111) { // NOLINT\n uint8_t p3 = codepoint & 0b111111; // NOLINT\n codepoint >>= 6; // NOLINT\n uint8_t p2 = codepoint & 0b111111; // NOLINT\n codepoint >>= 6; // NOLINT\n uint8_t p1 = codepoint; // NOLINT\n out.push_back(0b11100000 + p1); // NOLINT\n out.push_back(0b10000000 + p2); // NOLINT\n out.push_back(0b10000000 + p3); // NOLINT\n continue;\n }\n\n // 4 bytes UTF8\n if (codepoint <= 0b1'0000'1111'1111'1111'1111) { // NOLINT\n uint8_t p4 = codepoint & 0b111111; // NOLINT\n codepoint >>= 6; // NOLINT\n uint8_t p3 = codepoint & 0b111111; // NOLINT\n codepoint >>= 6; // NOLINT\n uint8_t p2 = codepoint & 0b111111; // NOLINT\n codepoint >>= 6; // NOLINT\n uint8_t p1 = codepoint; // NOLINT\n out.push_back(0b11110000 + p1); // NOLINT\n out.push_back(0b10000000 + p2); // NOLINT\n out.push_back(0b10000000 + p3); // NOLINT\n out.push_back(0b10000000 + p4); // NOLINT\n continue;\n }\n\n // Something else?\n }\n return out;\n}\n", "authors": {"Arthur Sonzogni": 0.0172022070756248, "Arthur Sonzogni (slow/sick)": 0.9785783836416748, "wflohry": 0.004219409282700422}, "leading_author": "Arthur Sonzogni (slow/sick)", "total_score": 3081.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/composite_decorator.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::vcenter(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "vcenter", "assembly": [], "code": "Element vcenter(Element child) {\n return vbox(filler(), std::move(child), filler());\n}\n", "authors": {"ArthurSonzogni": 0.38823529411764707, "Arthur Sonzogni": 0.611764705882353}, "leading_author": "Arthur Sonzogni", "total_score": 85.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::center(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "center", "assembly": [], "code": "Element center(Element child) {\n return hcenter(vcenter(std::move(child)));\n}\n", "authors": {"ArthurSonzogni": 0.6842105263157895, "Arthur Sonzogni": 0.3157894736842105}, "leading_author": "ArthurSonzogni", "total_score": 76.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/hbox.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::hbox(vector param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "hbox", "assembly": [], "code": "Element hbox(Elements children) {\n return std::make_shared(std::move(children));\n}\n", "authors": {"ArthurSonzogni": 0.4367816091954023, "Arthur Sonzogni": 0.5632183908045977}, "leading_author": "Arthur Sonzogni", "total_score": 87.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/automerge.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::automerge(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "automerge", "assembly": [], "code": "Element automerge(Element child) {\n class Impl : public NodeDecorator {\n public:\n using NodeDecorator::NodeDecorator;\n\n void Render(Screen& screen) override {\n for (int y = box_.y_min; y <= box_.y_max; ++y) {\n for (int x = box_.x_min; x <= box_.x_max; ++x) {\n screen.PixelAt(x, y).automerge = true;\n }\n }\n Node::Render(screen);\n }\n };\n\n return std::make_shared(std::move(child));\n}\n", "authors": {"Arthur Sonzogni": 1.0}, "leading_author": "Arthur Sonzogni", "total_score": 423.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/border.cpp", "functions": [{"p_code_refined": ["(unique, 0x1000005c, 8) INT_ADD (register, 0x110, 8) , (const, 0x28, 8)", "(unique, 0xc300, 8) LOAD (const, 0x1b1, 4) , (unique, 0x4f00, 8)", "(unique, 0x4f00, 8) CAST (unique, 0x1000005c, 8)", " --- CALL (ram, 0x1d9660, 8) , (register, 0x38, 8)", "(register, 0x110, 8) INDIRECT (register, 0x110, 8) , (const, 0x29, 4)", "(stack, 0xffffffffffffffe0, 8) INDIRECT (unique, 0xc300, 8) , (const, 0x29, 4)", "(unique, 0x3100, 8) PTRSUB (register, 0x38, 8) , (const, 0x48, 8)", "(unique, 0x3100, 8) PTRSUB (register, 0x20, 8) , (const, 0xffffffffffffffdf, 8)", " --- CALL (ram, 0x1f3758, 8) , (unique, 0x3100, 8) , (unique, 0x3100, 8)", "(register, 0x110, 8) INDIRECT (register, 0x110, 8) , (const, 0x35, 4)", "(stack, 0xffffffffffffffe0, 8) INDIRECT (stack, 0xffffffffffffffe0, 8) , (const, 0x35, 4)", "(unique, 0x10000064, 8) INT_ADD (register, 0x110, 8) , (const, 0x28, 8)", "(unique, 0xc300, 8) LOAD (const, 0x1b1, 4) , (unique, 0x4f00, 8)", "(register, 0x206, 1) INT_NOTEQUAL (stack, 0xffffffffffffffe0, 8) , (unique, 0xc300, 8)", "(unique, 0x4f00, 8) CAST (unique, 0x10000064, 8)", " --- CBRANCH (ram, 0x1f21cb, 1) , (register, 0x206, 1)", " --- CALL (ram, 0x1d7940, 8)", " --- RETURN (const, 0x1, 4)", "(stack, 0xffffffffffffffe0, 8) INDIRECT (stack, 0xffffffffffffffe0, 8) , (const, 0x48, 4)", "(register, 0x0, 8) COPY (register, 0x38, 8)", " --- RETURN (const, 0x0, 8) , (register, 0x0, 8)"], "raw": ["f30f1efa", "55", "4889e5", "53", "4883ec28", "48897dd8", "64488b042528000000", "488945e8", "31c0", "488b45d8", "4889c7", "e8e074feff", "488b45d8", "488d5048", "488d45e7", "4889c6", "4889d7", "e8c1150000", "eb1e", "488b45e8", "644833042528000000", "7405", "e87557feff", "488b45d8", "4883c428", "5b", "5d", "c3"], "c_code": "\n/* WARNING: Unknown calling convention */\n\nButtonOption * ftxui::ButtonOption::Border(void)\n\n{\n ButtonOption *in_RDI;\n long in_FS_OFFSET;\n ButtonOption *option;\n local_21;\n long local_20;\n \n local_20 = *(long *)(in_FS_OFFSET + 0x28);\n ButtonOption(in_RDI);\n /* try { // try from 001f2192 to 001f2196 has its CatchHandler @ 001f2199 */\n std::function(const_ftxui::EntryState&)>::\n operator=_>\n (&in_RDI->transform,&local_21);\n if (local_20 != *(long *)(in_FS_OFFSET + 0x28)) {\n /* WARNING: Subroutine does not return */\n __stack_chk_fail();\n }\n return in_RDI;\n}\n\n", "p_code": ["array(ghidra.program.model.pcode.PcodeOp)", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0xf000, 8) COPY (register, 0x28, 8), (register, 0x20, 8) INT_SUB (register, 0x20, 8) , (const, 0x8, 8), --- STORE (const, 0x1b1, 8) , (register, 0x20, 8) , (unique, 0xf000, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(register, 0x28, 8) COPY (register, 0x20, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0xf000, 8) COPY (register, 0x18, 8), (register, 0x20, 8) INT_SUB (register, 0x20, 8) , (const, 0x8, 8), --- STORE (const, 0x1b1, 8) , (register, 0x20, 8) , (unique, 0xf000, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(register, 0x200, 1) INT_LESS (register, 0x20, 8) , (const, 0x28, 8), (register, 0x20b, 1) INT_SBORROW (register, 0x20, 8) , (const, 0x28, 8), (register, 0x20, 8) INT_SUB (register, 0x20, 8) , (const, 0x28, 8), (register, 0x207, 1) INT_SLESS (register, 0x20, 8) , (const, 0x0, 8), (register, 0x206, 1) INT_EQUAL (register, 0x20, 8) , (const, 0x0, 8), (unique, 0x13480, 8) INT_AND (register, 0x20, 8) , (const, 0xff, 8), (unique, 0x13500, 1) POPCOUNT (unique, 0x13480, 8), (unique, 0x13580, 1) INT_AND (unique, 0x13500, 1) , (const, 0x1, 1), (register, 0x202, 1) INT_EQUAL (unique, 0x13580, 1) , (const, 0x0, 1)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0x3100, 8) INT_ADD (register, 0x28, 8) , (const, 0xffffffffffffffd8, 8), (unique, 0x5500, 8) COPY (register, 0x38, 8), --- STORE (const, 0x1b1, 4) , (unique, 0x3100, 8) , (unique, 0x5500, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0x4f00, 8) INT_ADD (register, 0x110, 8) , (const, 0x28, 8), (unique, 0xc300, 8) LOAD (const, 0x1b1, 4) , (unique, 0x4f00, 8), (register, 0x0, 8) COPY (unique, 0xc300, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0x3100, 8) INT_ADD (register, 0x28, 8) , (const, 0xffffffffffffffe8, 8), (unique, 0x5500, 8) COPY (register, 0x0, 8), --- STORE (const, 0x1b1, 4) , (unique, 0x3100, 8) , (unique, 0x5500, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(register, 0x200, 1) COPY (const, 0x0, 1), (register, 0x20b, 1) COPY (const, 0x0, 1), (register, 0x0, 4) INT_XOR (register, 0x0, 4) , (register, 0x0, 4), (register, 0x0, 8) INT_ZEXT (register, 0x0, 4), (register, 0x207, 1) INT_SLESS (register, 0x0, 4) , (const, 0x0, 4), (register, 0x206, 1) INT_EQUAL (register, 0x0, 4) , (const, 0x0, 4), (unique, 0x13480, 4) INT_AND (register, 0x0, 4) , (const, 0xff, 4), (unique, 0x13500, 1) POPCOUNT (unique, 0x13480, 4), (unique, 0x13580, 1) INT_AND (unique, 0x13500, 1) , (const, 0x1, 1), (register, 0x202, 1) INT_EQUAL (unique, 0x13580, 1) , (const, 0x0, 1)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0x3100, 8) INT_ADD (register, 0x28, 8) , (const, 0xffffffffffffffd8, 8), (unique, 0xc300, 8) LOAD (const, 0x1b1, 4) , (unique, 0x3100, 8), (register, 0x0, 8) COPY (unique, 0xc300, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(register, 0x38, 8) COPY (register, 0x0, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(register, 0x20, 8) INT_SUB (register, 0x20, 8) , (const, 0x8, 8), --- STORE (const, 0x1b1, 8) , (register, 0x20, 8) , (const, 0x1f2180, 8), --- CALL (ram, 0x1d9660, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0x3100, 8) INT_ADD (register, 0x28, 8) , (const, 0xffffffffffffffd8, 8), (unique, 0xc300, 8) LOAD (const, 0x1b1, 4) , (unique, 0x3100, 8), (register, 0x0, 8) COPY (unique, 0xc300, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0x3100, 8) INT_ADD (register, 0x0, 8) , (const, 0x48, 8), (register, 0x10, 8) COPY (unique, 0x3100, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0x3100, 8) INT_ADD (register, 0x28, 8) , (const, 0xffffffffffffffe7, 8), (register, 0x0, 8) COPY (unique, 0x3100, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(register, 0x30, 8) COPY (register, 0x0, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(register, 0x38, 8) COPY (register, 0x10, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(register, 0x20, 8) INT_SUB (register, 0x20, 8) , (const, 0x8, 8), --- STORE (const, 0x1b1, 8) , (register, 0x20, 8) , (const, 0x1f2197, 8), --- CALL (ram, 0x1f3758, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [ --- BRANCH (ram, 0x1f21b7, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0x3100, 8) INT_ADD (register, 0x28, 8) , (const, 0xffffffffffffffe8, 8), (unique, 0xc300, 8) LOAD (const, 0x1b1, 4) , (unique, 0x3100, 8), (register, 0x0, 8) COPY (unique, 0xc300, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0x4f00, 8) INT_ADD (register, 0x110, 8) , (const, 0x28, 8), (register, 0x200, 1) COPY (const, 0x0, 1), (register, 0x20b, 1) COPY (const, 0x0, 1), (unique, 0xc300, 8) LOAD (const, 0x1b1, 4) , (unique, 0x4f00, 8), (register, 0x0, 8) INT_XOR (register, 0x0, 8) , (unique, 0xc300, 8), (register, 0x207, 1) INT_SLESS (register, 0x0, 8) , (const, 0x0, 8), (register, 0x206, 1) INT_EQUAL (register, 0x0, 8) , (const, 0x0, 8), (unique, 0x13480, 8) INT_AND (register, 0x0, 8) , (const, 0xff, 8), (unique, 0x13500, 1) POPCOUNT (unique, 0x13480, 8), (unique, 0x13580, 1) INT_AND (unique, 0x13500, 1) , (const, 0x1, 1), (register, 0x202, 1) INT_EQUAL (unique, 0x13580, 1) , (const, 0x0, 1)])", "array(ghidra.program.model.pcode.PcodeOp, [ --- CBRANCH (ram, 0x1f21cb, 8) , (register, 0x206, 1)])", "array(ghidra.program.model.pcode.PcodeOp, [(register, 0x20, 8) INT_SUB (register, 0x20, 8) , (const, 0x8, 8), --- STORE (const, 0x1b1, 8) , (register, 0x20, 8) , (const, 0x1f21cb, 8), --- CALL (ram, 0x1d7940, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0x3100, 8) INT_ADD (register, 0x28, 8) , (const, 0xffffffffffffffd8, 8), (unique, 0xc300, 8) LOAD (const, 0x1b1, 4) , (unique, 0x3100, 8), (register, 0x0, 8) COPY (unique, 0xc300, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(register, 0x200, 1) INT_CARRY (register, 0x20, 8) , (const, 0x28, 8), (register, 0x20b, 1) INT_SCARRY (register, 0x20, 8) , (const, 0x28, 8), (register, 0x20, 8) INT_ADD (register, 0x20, 8) , (const, 0x28, 8), (register, 0x207, 1) INT_SLESS (register, 0x20, 8) , (const, 0x0, 8), (register, 0x206, 1) INT_EQUAL (register, 0x20, 8) , (const, 0x0, 8), (unique, 0x13480, 8) INT_AND (register, 0x20, 8) , (const, 0xff, 8), (unique, 0x13500, 1) POPCOUNT (unique, 0x13480, 8), (unique, 0x13580, 1) INT_AND (unique, 0x13500, 1) , (const, 0x1, 1), (register, 0x202, 1) INT_EQUAL (unique, 0x13580, 1) , (const, 0x0, 1)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0x3c380, 8) COPY (const, 0x0, 8), (unique, 0x3c380, 8) LOAD (const, 0x1b1, 8) , (register, 0x20, 8), (register, 0x20, 8) INT_ADD (register, 0x20, 8) , (const, 0x8, 8), (register, 0x18, 8) COPY (unique, 0x3c380, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(unique, 0x3c380, 8) COPY (const, 0x0, 8), (unique, 0x3c380, 8) LOAD (const, 0x1b1, 8) , (register, 0x20, 8), (register, 0x20, 8) INT_ADD (register, 0x20, 8) , (const, 0x8, 8), (register, 0x28, 8) COPY (unique, 0x3c380, 8)])", "array(ghidra.program.model.pcode.PcodeOp, [(register, 0x288, 8) LOAD (const, 0x1b1, 8) , (register, 0x20, 8), (register, 0x20, 8) INT_ADD (register, 0x20, 8) , (const, 0x8, 8), --- RETURN (register, 0x288, 8)])"], "name": "Border", "assembly": ["ENDBR64", "PUSH RBP", "MOV RBP,RSP", "PUSH RBX", "SUB RSP,0x28", "MOV qword ptr [RBP + -0x28],RDI", "MOV RAX,qword ptr FS:[0x28]", "MOV qword ptr [RBP + -0x18],RAX", "XOR EAX,EAX", "MOV RAX,qword ptr [RBP + -0x28]", "MOV RDI,RAX", "CALL 0x001d9660", "MOV RAX,qword ptr [RBP + -0x28]", "LEA RDX,[RAX + 0x48]", "LEA RAX,[RBP + -0x19]", "MOV RSI,RAX", "MOV RDI,RDX", "CALL 0x001f3758", "JMP 0x001f21b7", "MOV RAX,qword ptr [RBP + -0x18]", "XOR RAX,qword ptr FS:[0x28]", "JZ 0x001f21cb", "CALL 0x001d7940", "MOV RAX,qword ptr [RBP + -0x28]", "ADD RSP,0x28", "POP RBX", "POP RBP", "RET"], "code": " Border(Elements children,\n BorderStyle style,\n std::optional foreground_color = std::nullopt)\n : Node(std::move(children)),\n charset_(simple_border_charset[style]),\n foreground_color_(foreground_color) {} // NOLINT\n", "authors": {"Arthur Sonzogni": 0.8740157480314961, "ArthurSonzogni": 0.12598425196850394}, "leading_author": "Arthur Sonzogni", "total_score": 254.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::border(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "border", "assembly": [], "code": "Element border(Element child) {\n return std::make_shared(unpack(std::move(child)), ROUNDED);\n}\n", "authors": {"ArthurSonzogni": 0.3069306930693069, "Arthur Sonzogni": 0.693069306930693}, "leading_author": "Arthur Sonzogni", "total_score": 101.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::borderLight(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "borderLight", "assembly": [], "code": "Element borderLight(Element child) {\n return std::make_shared(unpack(std::move(child)), LIGHT);\n}\n", "authors": {"Arthur Sonzogni": 1.0}, "leading_author": "Arthur Sonzogni", "total_score": 104.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::borderEmpty(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "borderEmpty", "assembly": [], "code": "Element borderEmpty(Element child) {\n return std::make_shared(unpack(std::move(child)), EMPTY);\n}\n", "authors": {"Arthur Sonzogni": 1.0}, "leading_author": "Arthur Sonzogni", "total_score": 104.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::window(shared_ptr param_1,shared_ptr param_2)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "window", "assembly": [], "code": "Element window(Element title, Element content) {\n return std::make_shared(unpack(std::move(content), std::move(title)),\n ROUNDED);\n}\n", "authors": {"ArthurSonzogni": 0.4853801169590643, "Arthur Sonzogni": 0.5146198830409356}, "leading_author": "Arthur Sonzogni", "total_score": 171.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/flex.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::filler(void)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "filler", "assembly": [], "code": "Element filler() {\n return std::make_shared(function_flex);\n}\n", "authors": {"ArthurSonzogni": 0.5, "Arthur Sonzogni": 0.5}, "leading_author": "ArthurSonzogni", "total_score": 66.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::xflex(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "xflex", "assembly": [], "code": "Element xflex(Element child) {\n return std::make_shared(function_xflex, std::move(child));\n}\n", "authors": {"ArthurSonzogni": 1.0}, "leading_author": "ArthurSonzogni", "total_score": 97.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::yflex(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "yflex", "assembly": [], "code": "Element yflex(Element child) {\n return std::make_shared(function_yflex, std::move(child));\n}\n", "authors": {"ArthurSonzogni": 1.0}, "leading_author": "ArthurSonzogni", "total_score": 97.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/reflect.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::reflect(Box *param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "reflect", "assembly": [], "code": "Decorator reflect(Box& box) {\n return [&](Element child) -> Element {\n return std::make_shared(std::move(child), box);\n };\n}\n", "authors": {"ArthurSonzogni": 1.0}, "leading_author": "ArthurSonzogni", "total_score": 134.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/separator.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::separatorHSelector(float param_1,float param_2,Color param_3,Color param_4)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "separatorHSelector", "assembly": [], "code": "Element separatorHSelector(float left,\n float right,\n Color unselected_color,\n Color selected_color) {\n class Impl : public Node {\n public:\n Impl(float left, float right, Color selected_color, Color unselected_color)\n : left_(left),\n right_(right),\n unselected_color_(unselected_color),\n selected_color_(selected_color) {}\n void ComputeRequirement() override {\n requirement_.min_x = 1;\n requirement_.min_y = 1;\n }\n\n void Render(Screen& screen) override {\n if (box_.y_max < box_.y_min) {\n return;\n }\n\n // This are the two location with an empty demi-cell.\n int demi_cell_left = int(left_ * 2.F - 1.F); // NOLINT\n int demi_cell_right = int(right_ * 2.F + 2.F); // NOLINT\n\n const int y = box_.y_min;\n for (int x = box_.x_min; x <= box_.x_max; ++x) {\n Pixel& pixel = screen.PixelAt(x, y);\n\n const int a = (x - box_.x_min) * 2;\n const int b = a + 1;\n const bool a_empty = demi_cell_left == a || demi_cell_right == a;\n const bool b_empty = demi_cell_left == b || demi_cell_right == b;\n\n if (!a_empty && !b_empty) {\n pixel.character = \"\u2500\";\n pixel.automerge = true;\n } else {\n pixel.character = a_empty ? \"\u2576\" : \"\u2574\"; // NOLINT\n pixel.automerge = false;\n }\n\n if (demi_cell_left <= a && b <= demi_cell_right) {\n pixel.foreground_color = selected_color_;\n } else {\n pixel.foreground_color = unselected_color_;\n }\n }\n }\n\n float left_;\n float right_;\n Color unselected_color_;\n Color selected_color_;\n };\n return std::make_shared(left, right, unselected_color, selected_color);\n}\n", "authors": {"Arthur Sonzogni": 1.0}, "leading_author": "Arthur Sonzogni", "total_score": 1754.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::separatorVSelector(float param_1,float param_2,Color param_3,Color param_4)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "separatorVSelector", "assembly": [], "code": "Element separatorVSelector(float up,\n float down,\n Color unselected_color,\n Color selected_color) {\n class Impl : public Node {\n public:\n Impl(float up, float down, Color unselected_color, Color selected_color)\n : up_(up),\n down_(down),\n unselected_color_(unselected_color),\n selected_color_(selected_color) {}\n void ComputeRequirement() override {\n requirement_.min_x = 1;\n requirement_.min_y = 1;\n }\n\n void Render(Screen& screen) override {\n if (box_.x_max < box_.x_min) {\n return;\n }\n\n // This are the two location with an empty demi-cell.\n const int demi_cell_up = int(up_ * 2 - 1);\n const int demi_cell_down = int(down_ * 2 + 2);\n\n const int x = box_.x_min;\n for (int y = box_.y_min; y <= box_.y_max; ++y) {\n Pixel& pixel = screen.PixelAt(x, y);\n\n const int a = (y - box_.y_min) * 2;\n const int b = a + 1;\n const bool a_empty = demi_cell_up == a || demi_cell_down == a;\n const bool b_empty = demi_cell_up == b || demi_cell_down == b;\n\n if (!a_empty && !b_empty) {\n pixel.character = \"\u2502\";\n pixel.automerge = true;\n } else {\n pixel.character = a_empty ? \"\u2577\" : \"\u2575\"; // NOLINT\n pixel.automerge = false;\n }\n\n if (demi_cell_up <= a && b <= demi_cell_down) {\n pixel.foreground_color = selected_color_;\n } else {\n pixel.foreground_color = unselected_color_;\n }\n }\n }\n\n float up_;\n float down_;\n Color unselected_color_;\n Color selected_color_;\n };\n return std::make_shared(up, down, unselected_color, selected_color);\n}\n", "authors": {"Arthur Sonzogni": 1.0}, "leading_author": "Arthur Sonzogni", "total_score": 1701.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/vbox.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::vbox(vector param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "vbox", "assembly": [], "code": "Element vbox(Elements children) {\n return std::make_shared(std::move(children));\n}\n", "authors": {"ArthurSonzogni": 0.4367816091954023, "Arthur Sonzogni": 0.5632183908045977}, "leading_author": "Arthur Sonzogni", "total_score": 87.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/linear_gradient.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::Color::Interpolate(float param_1,Color *param_2,Color *param_3)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "Interpolate", "assembly": [], "code": "Color Interpolate(const LinearGradientNormalized& gradient, float t) {\n // Find the right color in the gradient's stops.\n size_t i = 1;\n while (true) {\n if (i > gradient.positions.size()) {\n const float half = 0.5F;\n return Color::Interpolate(half, gradient.colors.back(),\n gradient.colors.back());\n }\n if (t <= gradient.positions[i]) {\n break;\n }\n ++i;\n }\n\n const float t0 = gradient.positions[i - 1];\n const float t1 = gradient.positions[i - 0];\n const float tt = (t - t0) / (t1 - t0);\n\n const Color& c0 = gradient.colors[i - 1];\n const Color& c1 = gradient.colors[i - 0];\n const Color& cc = Color::Interpolate(tt, c0, c1);\n\n return cc;\n}\n", "authors": {"Vinicius Moura Longaray": 0.9520348837209303, "ArthurSonzogni": 0.04796511627906977}, "leading_author": "Vinicius Moura Longaray", "total_score": 688.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/inverted.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::inverted(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "inverted", "assembly": [], "code": "Element inverted(Element child) {\n return std::make_shared(std::move(child));\n}\n", "authors": {"ArthurSonzogni": 0.4318181818181818, "Arthur Sonzogni": 0.5681818181818182}, "leading_author": "Arthur Sonzogni", "total_score": 88.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/underlined.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::underlined(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "underlined", "assembly": [], "code": "Element underlined(Element child) {\n return std::make_shared(std::move(child));\n}\n", "authors": {"ArthurSonzogni": 0.43478260869565216, "Arthur Sonzogni": 0.5652173913043478}, "leading_author": "Arthur Sonzogni", "total_score": 92.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/gauge.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::gaugeDirection(float param_1,Direction param_2)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "gaugeDirection", "assembly": [], "code": "Element gaugeDirection(float progress, Direction direction) {\n return std::make_shared(progress, direction);\n}\n", "authors": {"Arthur Sonzogni": 1.0}, "leading_author": "Arthur Sonzogni", "total_score": 116.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/dim.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::dim(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "dim", "assembly": [], "code": "Element dim(Element child) {\n return std::make_shared(std::move(child));\n}\n", "authors": {"ArthurSonzogni": 0.4230769230769231, "Arthur Sonzogni": 0.5769230769230769}, "leading_author": "Arthur Sonzogni", "total_score": 78.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/util.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::nothing(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "nothing", "assembly": [], "code": "Element nothing(Element element) {\n return element;\n}\n", "authors": {"Arthur Sonzogni": 0.9807692307692307, "ArthurSonzogni": 0.019230769230769232}, "leading_author": "Arthur Sonzogni", "total_score": 52.0, "unique": true}, {"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::emptyElement(void)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "emptyElement", "assembly": [], "code": "Element emptyElement() {\n class Impl : public Node {\n void ComputeRequirement() override {\n requirement_.min_x = 0;\n requirement_.min_y = 0;\n }\n };\n return std::make_unique();\n}\n", "authors": {"Arthur Sonzogni": 0.9948453608247423, "Lobanova Valeriia": 0.005154639175257732}, "leading_author": "Arthur Sonzogni", "total_score": 194.0, "unique": true}]}, {"file": "/src/analysis/FTXUI/src/ftxui/dom/frame.cpp", "functions": [{"p_code_refined": [" --- RETURN (const, 0x1, 4)"], "raw": [], "c_code": "\n/* WARNING: Control flow encountered bad instruction data */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid ftxui::select(shared_ptr param_1)\n\n{\n /* WARNING: Bad instruction - Truncating control flow here */\n halt_baddata();\n}\n\n", "p_code": [], "name": "select", "assembly": [], "code": "Element select(Element child) {\n return std::make_shared