{ "jsonrpc": "2.0", "result": { "content": [ { "type": "text", "text": "{\"metadata\":{\"path\":\"/private/ajax/bios/HR650X_3647_AJAX_BIOS_ORIGINAL.pe_structured/pe_files/0387_TrEEPei_398419b1597f/TrEEPei.efi.i64\",\"module\":\"TrEEPei.efi\",\"arch\":\"32\",\"base_address\":\"0xffe0de28\",\"image_size\":\"0x98e0\",\"md5\":\"3e572d0662af2cf8b6d586691cbb2897\",\"sha256\":\"398419b1597f9f8019c6bdd0a25168e09ff0e7c90129804ff02380f28215d943\"},\"statistics\":{\"total_functions\":110,\"named_functions\":60,\"library_functions\":0,\"unnamed_functions\":50,\"total_strings\":116,\"total_segments\":6},\"segments\":[{\"name\":\"HEADER\",\"start\":\"0xffe0de28\",\"end\":\"0xffe0e088\",\"size\":\"0x260\",\"permissions\":\"---\"},{\"name\":\".text\",\"start\":\"0xffe0e088\",\"end\":\"0xffe16388\",\"size\":\"0x8300\",\"permissions\":\"rx\"},{\"name\":\".rdata\",\"start\":\"0xffe16388\",\"end\":\"0xffe173c8\",\"size\":\"0x1040\",\"permissions\":\"r\"},{\"name\":\".data\",\"start\":\"0xffe173c8\",\"end\":\"0xffe17508\",\"size\":\"0x140\",\"permissions\":\"rw\"},{\"name\":\".reloc\",\"start\":\"0xffe17508\",\"end\":\"0xffe17708\",\"size\":\"0x200\",\"permissions\":\"r\"},{\"name\":\"GAP\",\"start\":\"0xffe17708\",\"end\":\"0xffe17e28\",\"size\":\"0x720\",\"permissions\":\"rw\"}],\"entrypoints\":[{\"addr\":\"0xffe0e1e4\",\"name\":\"_ModuleEntryPoint\",\"ordinal\":4292927972}],\"interesting_strings\":[{\"addr\":\"0xffe16388\",\"string\":\"\\nASSERT_EFI_ERROR (Status = %r)\\n\",\"xref_count\":4},{\"addr\":\"0xffe16d9c\",\"string\":\"Buffer != ((void *) 0)\",\"xref_count\":4},{\"addr\":\"0xffe17144\",\"string\":\"e:\\\\hs\\\\AmiModulePkg\\\\TCG2\\\\CRB_lib\\\\Tpm20CRBLib.c\",\"xref_count\":4},{\"addr\":\"0xffe16820\",\"string\":\"TrEETisPeiTransmit :: Status = %r\\n\",\"xref_count\":3},{\"addr\":\"0xffe16844\",\"string\":\"TrEECRBPeiTransmit :: Status = %r\\n\",\"xref_count\":3},{\"addr\":\"0xffe16e1c\",\"string\":\"e:\\\\hs\\\\MdePkg\\\\Library\\\\BaseLib\\\\Unaligned.c\",\"xref_count\":3},{\"addr\":\"0xffe163ac\",\"string\":\"!EFI_ERROR (Status)\",\"xref_count\":2},{\"addr\":\"0xffe163c0\",\"string\":\"%02x \",\"xref_count\":2},{\"addr\":\"0xffe164e4\",\"string\":\" PeiTrEEExtend Buffer = %x \\n\",\"xref_count\":2},{\"addr\":\"0xffe165f4\",\"string\":\" Tpm2SequenceUpdate results = %r \\n\",\"xref_count\":2},{\"addr\":\"0xffe16a70\",\"string\":\"Calling SelectAndLockInterface\\n\",\"xref_count\":2},{\"addr\":\"0xffe16cc0\",\"string\":\"e:\\\\hs\\\\MdePkg\\\\Library\\\\BaseMemoryLibRepStr\\\\CopyMemWrapper.c\",\"xref_count\":2},{\"addr\":\"0xffe17118\",\"string\":\"(Length - 1) <= (0xFFFFFFFF - StartAddress)\",\"xref_count\":2},{\"addr\":\"0xffe17174\",\"string\":\"(Length - 1) <= (0xFFFFFFFF - (UINTN) Buffer)\",\"xref_count\":2},{\"addr\":\"0xffe163cc\",\"string\":\"%04x :\",\"xref_count\":1}],\"interesting_functions\":[{\"addr\":\"0xffe10514\",\"name\":\"DebugPrint\",\"size\":42,\"xref_count\":71,\"callee_count\":2,\"type\":\"complex\"},{\"addr\":\"0xffe103e1\",\"name\":\"CopyMemChecked\",\"size\":113,\"xref_count\":30,\"callee_count\":3,\"type\":\"complex\"},{\"addr\":\"0xffe10573\",\"name\":\"SwapBytes32\",\"size\":25,\"xref_count\":25,\"callee_count\":0,\"type\":\"leaf\"},{\"addr\":\"0xffe104e3\",\"name\":\"GetDebugLib\",\"size\":49,\"xref_count\":14,\"callee_count\":1,\"type\":\"wrapper\"},{\"addr\":\"0xffe10452\",\"name\":\"AllocatePool\",\"size\":62,\"xref_count\":13,\"callee_count\":2,\"type\":\"complex\"},{\"addr\":\"0xffe1055c\",\"name\":\"DebugAssertThunk\",\"size\":3,\"xref_count\":13,\"callee_count\":0,\"type\":\"thunk\"},{\"addr\":\"0xffe15723\",\"name\":\"Tpm20MapHashAlg\",\"size\":60,\"xref_count\":11,\"callee_count\":1,\"type\":\"wrapper\"},{\"addr\":\"0xffe15a52\",\"name\":\"Tpm20ProgressLog\",\"size\":27,\"xref_count\":10,\"callee_count\":1,\"type\":\"wrapper\"},{\"addr\":\"0xffe15c8e\",\"name\":\"Tpm20GetDeviceType\",\"size\":91,\"xref_count\":10,\"callee_count\":2,\"type\":\"complex\"},{\"addr\":\"0xffe1055f\",\"name\":\"DebugIsDebuggerPresent\",\"size\":6,\"xref_count\":9,\"callee_count\":0,\"type\":\"thunk\"},{\"addr\":\"0xffe10683\",\"name\":\"DebugPrintNumber\",\"size\":71,\"xref_count\":9,\"callee_count\":1,\"type\":\"wrapper\"},{\"addr\":\"0xffe105b3\",\"name\":\"SwapBytes16\",\"size\":47,\"xref_count\":8,\"callee_count\":1,\"type\":\"wrapper\"},{\"addr\":\"0xffe103af\",\"name\":\"GetBootServicesTable\",\"size\":50,\"xref_count\":6,\"callee_count\":2,\"type\":\"complex\"},{\"addr\":\"0xffe1053e\",\"name\":\"DebugAssert\",\"size\":30,\"xref_count\":6,\"callee_count\":1,\"type\":\"wrapper\"},{\"addr\":\"0xffe155ba\",\"name\":\"Tpm20GetHashFromDigest\",\"size\":55,\"xref_count\":6,\"callee_count\":0,\"type\":\"leaf\"}],\"imports_by_category\":{\"crypto\":[],\"network\":[],\"file_io\":[],\"process\":[],\"registry\":[],\"other\":[]},\"call_graph_summary\":{\"total_edges\":394,\"max_depth_estimate\":null,\"root_functions\":[\"PeiServicesLocatePpi\",\"SetMem32\",\"CompareMem\",\"_ModuleEntryPoint\",\"TrEEGetInterfaceInfo\",\"TrEECRBPeiTransmit\",\"TrEECRBTransmitInner\",\"TrEETransmitTisOrCrb\",\"TrEETransmitPrep\",\"TrEEParseResponse\",\"TrEEHashSequenceExtend\",\"TrEEPeiEntry\"],\"leaf_functions_count\":27}}" } ], "structuredContent": { "metadata": { "path": "/private/ajax/bios/HR650X_3647_AJAX_BIOS_ORIGINAL.pe_structured/pe_files/0387_TrEEPei_398419b1597f/TrEEPei.efi.i64", "module": "TrEEPei.efi", "arch": "32", "base_address": "0xffe0de28", "image_size": "0x98e0", "md5": "3e572d0662af2cf8b6d586691cbb2897", "sha256": "398419b1597f9f8019c6bdd0a25168e09ff0e7c90129804ff02380f28215d943" }, "statistics": { "total_functions": 110, "named_functions": 60, "library_functions": 0, "unnamed_functions": 50, "total_strings": 116, "total_segments": 6 }, "segments": [ { "name": "HEADER", "start": "0xffe0de28", "end": "0xffe0e088", "size": "0x260", "permissions": "---" }, { "name": ".text", "start": "0xffe0e088", "end": "0xffe16388", "size": "0x8300", "permissions": "rx" }, { "name": ".rdata", "start": "0xffe16388", "end": "0xffe173c8", "size": "0x1040", "permissions": "r" }, { "name": ".data", "start": "0xffe173c8", "end": "0xffe17508", "size": "0x140", "permissions": "rw" }, { "name": ".reloc", "start": "0xffe17508", "end": "0xffe17708", "size": "0x200", "permissions": "r" }, { "name": "GAP", "start": "0xffe17708", "end": "0xffe17e28", "size": "0x720", "permissions": "rw" } ], "entrypoints": [ { "addr": "0xffe0e1e4", "name": "_ModuleEntryPoint", "ordinal": 4292927972 } ], "interesting_strings": [ { "addr": "0xffe16388", "string": "\nASSERT_EFI_ERROR (Status = %r)\n", "xref_count": 4 }, { "addr": "0xffe16d9c", "string": "Buffer != ((void *) 0)", "xref_count": 4 }, { "addr": "0xffe17144", "string": "e:\\hs\\AmiModulePkg\\TCG2\\CRB_lib\\Tpm20CRBLib.c", "xref_count": 4 }, { "addr": "0xffe16820", "string": "TrEETisPeiTransmit :: Status = %r\n", "xref_count": 3 }, { "addr": "0xffe16844", "string": "TrEECRBPeiTransmit :: Status = %r\n", "xref_count": 3 }, { "addr": "0xffe16e1c", "string": "e:\\hs\\MdePkg\\Library\\BaseLib\\Unaligned.c", "xref_count": 3 }, { "addr": "0xffe163ac", "string": "!EFI_ERROR (Status)", "xref_count": 2 }, { "addr": "0xffe163c0", "string": "%02x ", "xref_count": 2 }, { "addr": "0xffe164e4", "string": " PeiTrEEExtend Buffer = %x \n", "xref_count": 2 }, { "addr": "0xffe165f4", "string": " Tpm2SequenceUpdate results = %r \n", "xref_count": 2 }, { "addr": "0xffe16a70", "string": "Calling SelectAndLockInterface\n", "xref_count": 2 }, { "addr": "0xffe16cc0", "string": "e:\\hs\\MdePkg\\Library\\BaseMemoryLibRepStr\\CopyMemWrapper.c", "xref_count": 2 }, { "addr": "0xffe17118", "string": "(Length - 1) <= (0xFFFFFFFF - StartAddress)", "xref_count": 2 }, { "addr": "0xffe17174", "string": "(Length - 1) <= (0xFFFFFFFF - (UINTN) Buffer)", "xref_count": 2 }, { "addr": "0xffe163cc", "string": "%04x :", "xref_count": 1 } ], "interesting_functions": [ { "addr": "0xffe10514", "name": "DebugPrint", "size": 42, "xref_count": 71, "callee_count": 2, "type": "complex" }, { "addr": "0xffe103e1", "name": "CopyMemChecked", "size": 113, "xref_count": 30, "callee_count": 3, "type": "complex" }, { "addr": "0xffe10573", "name": "SwapBytes32", "size": 25, "xref_count": 25, "callee_count": 0, "type": "leaf" }, { "addr": "0xffe104e3", "name": "GetDebugLib", "size": 49, "xref_count": 14, "callee_count": 1, "type": "wrapper" }, { "addr": "0xffe10452", "name": "AllocatePool", "size": 62, "xref_count": 13, "callee_count": 2, "type": "complex" }, { "addr": "0xffe1055c", "name": "DebugAssertThunk", "size": 3, "xref_count": 13, "callee_count": 0, "type": "thunk" }, { "addr": "0xffe15723", "name": "Tpm20MapHashAlg", "size": 60, "xref_count": 11, "callee_count": 1, "type": "wrapper" }, { "addr": "0xffe15a52", "name": "Tpm20ProgressLog", "size": 27, "xref_count": 10, "callee_count": 1, "type": "wrapper" }, { "addr": "0xffe15c8e", "name": "Tpm20GetDeviceType", "size": 91, "xref_count": 10, "callee_count": 2, "type": "complex" }, { "addr": "0xffe1055f", "name": "DebugIsDebuggerPresent", "size": 6, "xref_count": 9, "callee_count": 0, "type": "thunk" }, { "addr": "0xffe10683", "name": "DebugPrintNumber", "size": 71, "xref_count": 9, "callee_count": 1, "type": "wrapper" }, { "addr": "0xffe105b3", "name": "SwapBytes16", "size": 47, "xref_count": 8, "callee_count": 1, "type": "wrapper" }, { "addr": "0xffe103af", "name": "GetBootServicesTable", "size": 50, "xref_count": 6, "callee_count": 2, "type": "complex" }, { "addr": "0xffe1053e", "name": "DebugAssert", "size": 30, "xref_count": 6, "callee_count": 1, "type": "wrapper" }, { "addr": "0xffe155ba", "name": "Tpm20GetHashFromDigest", "size": 55, "xref_count": 6, "callee_count": 0, "type": "leaf" } ], "imports_by_category": { "crypto": [], "network": [], "file_io": [], "process": [], "registry": [], "other": [] }, "call_graph_summary": { "total_edges": 394, "max_depth_estimate": null, "root_functions": [ "PeiServicesLocatePpi", "SetMem32", "CompareMem", "_ModuleEntryPoint", "TrEEGetInterfaceInfo", "TrEECRBPeiTransmit", "TrEECRBTransmitInner", "TrEETransmitTisOrCrb", "TrEETransmitPrep", "TrEEParseResponse", "TrEEHashSequenceExtend", "TrEEPeiEntry" ], "leaf_functions_count": 27 } }, "isError": false }, "id": 1 }