{"children":[{"children":[{"children":[],"kind":"view-node","props":{"label":"Compute"},"tag":"SectionEyebrow"},{"children":[],"kind":"view-node","props":{"help":"Recover readable source from assembly or a binary through the lifted IR.","text":"Decompiler","variant":"h1"},"tag":"Text"}],"kind":"view-node","props":{"variant":"app-hero"},"tag":"Section"},{"children":[],"kind":"view-node","props":{"html":"<nav aria-label=\"Compute pages\"><a href=\"/view/app/compute/home\">Overview</a> · <a href=\"/view/app/compute/atlas\">Atlas</a> · <a href=\"/view/app/compute/decompiler\" aria-current=\"page\">Decompiler</a> · <a href=\"/view/app/compute/script\">Script workbench</a> · <a href=\"/view/app/compute/packages\">Packages</a> · <a href=\"/view/app/compute/guide\">Guide</a> · <a href=\"/view/compute/compiler\">Compiler</a> · <a href=\"/view/compute/compiler/builds\">Retained builds</a> · <a href=\"/view/compute/compiler/tools\">Tool roster</a></nav>"},"tag":"RawHtml"},{"children":[{"children":[{"children":[],"kind":"view-node","props":{"connection":"Decompiler.Inspect","fields":[{"default":"text","kind":"hidden","name":"operation"},{"hint":"Maximum 65536 source bytes.","kind":"textarea","label":"Assembly source","name":"source","placeholder":"mov x0, #42\nadd x1, x0, #1\nret","required":true},{"default":"arm64","hint":"One of the input targets the Targets tab lists, such as arm64, x86-64 or riscv64.","kind":"text","label":"Architecture","name":"arch","required":true},{"default":"python","hint":"One of the output targets the Targets tab lists, such as python.","kind":"text","label":"Recovered source language","name":"target"}],"id":"compute-decompile-text","maxResultChars":96000,"resultReport":{"requestFields":[{"label":"Submitted assembly","path":"source"},{"label":"Architecture","path":"arch"},{"label":"Requested language","path":"target"}],"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Succeeded","path":"ok"},{"label":"Error","path":"error"},{"label":"Architecture","path":"arch"},{"label":"Target","path":"target_language"},{"label":"Functions","path":"function_count"},{"label":"IR nodes","path":"node_count"},{"label":"Recovered IR identity","path":"ir_hash"},{"label":"Decompiled source","path":"source"}],"title":"Recovered source"},{"fields":[{"label":"Native VM enabled in this host","path":"native_vm_enabled"}],"title":"Host"}],"title":"Decompile assembly"},"submitLabel":"Decompile","timeoutMs":120000,"title":"Decompile assembly"},"tag":"Form"}],"kind":"view-node","props":{"id":"assembly","label":"Assembly text"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Decompiler.Inspect","fields":[{"default":"binary","kind":"hidden","name":"operation"},{"hint":"ELF, PE, Mach-O, WASM or a Game Boy ROM, base64 encoded. Maximum 1 MiB decoded. The architecture is detected from the file.","kind":"textarea","label":"Binary as base64","name":"binary_base64","required":true},{"default":"python","hint":"One of the output targets the Targets tab lists, such as python.","kind":"text","label":"Recovered source language","name":"target"}],"id":"compute-decompile-binary","maxResultChars":96000,"resultReport":{"requestFields":[{"label":"Requested language","path":"target"}],"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Succeeded","path":"ok"},{"label":"Error","path":"error"},{"label":"Architecture","path":"arch"},{"label":"Target","path":"target_language"},{"label":"Functions","path":"function_count"},{"label":"IR nodes","path":"node_count"},{"label":"Recovered IR identity","path":"ir_hash"},{"label":"Decompiled source","path":"source"}],"title":"Recovered source"},{"fields":[{"label":"Native VM enabled in this host","path":"native_vm_enabled"}],"title":"Host"}],"title":"Decompile binary"},"submitLabel":"Decompile","timeoutMs":120000,"title":"Decompile binary"},"tag":"Form"},{"children":["Encode the file first, for example with base64 on the command line, and paste the text."],"kind":"view-node","props":{"variant":"paragraph"},"tag":"Text"}],"kind":"view-node","props":{"id":"binary","label":"Binary file"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Decompiler.Inspect","fields":[{"default":"targets","kind":"hidden","name":"operation"}],"id":"compute-decompile-targets","maxResultChars":96000,"resultReport":{"requestFields":[],"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Succeeded","path":"ok"},{"label":"Error","path":"error"},{"label":"Available input targets","path":"lift_targets"},{"label":"Available output targets","path":"emit_targets"},{"label":"Native VM enabled in this host","path":"native_vm_enabled"}],"title":"Targets this host offers"}],"title":"List targets"},"submitLabel":"List targets","timeoutMs":120000,"title":"List targets"},"tag":"Form"}],"kind":"view-node","props":{"id":"targets","label":"Targets"},"tag":"Tab"}],"kind":"view-node","props":{"defaultTab":"assembly"},"tag":"Tabs"},{"children":["Recovered source is an interpretation of the input, not equivalence evidence. Inspection does not execute the input, keep an artifact or request a round-trip check, so no result on this page is a correctness proof."],"kind":"view-node","props":{"variant":"paragraph"},"tag":"Text"},{"children":[{"children":[{"children":["Checking view availability…"],"kind":"view-node","props":{},"tag":"Text"}],"kind":"view-node","props":{"aria-label":"View availability","class":"primitive-live-payload","id":"payload-live-content-compute-compute-decompiler"},"tag":"Section"}],"kind":"view-node","props":{"id":"payload-live-compute-compute-decompiler","patchTarget":"#payload-live-content-compute-compute-decompiler","pollIntervalMs":8000,"refreshHref":"/view/payload/patch?app=Compute&view=compute.decompiler","streamUrl":"/view/payload/patch?app=Compute&view=compute.decompiler","transport":"http","transportStatus":false},"tag":"LiveSlot"}],"data":{"children":[{"children":[{"children":[],"kind":"view-node","props":{"label":"Compute"},"tag":"SectionEyebrow"},{"children":[],"kind":"view-node","props":{"help":"Recover readable source from assembly or a binary through the lifted IR.","text":"Decompiler","variant":"h1"},"tag":"Text"}],"kind":"view-node","props":{"variant":"app-hero"},"tag":"Section"},{"children":[],"kind":"view-node","props":{"html":"<nav aria-label=\"Compute pages\"><a href=\"/view/app/compute/home\">Overview</a> · <a href=\"/view/app/compute/atlas\">Atlas</a> · <a href=\"/view/app/compute/decompiler\" aria-current=\"page\">Decompiler</a> · <a href=\"/view/app/compute/script\">Script workbench</a> · <a href=\"/view/app/compute/packages\">Packages</a> · <a href=\"/view/app/compute/guide\">Guide</a> · <a href=\"/view/compute/compiler\">Compiler</a> · <a href=\"/view/compute/compiler/builds\">Retained builds</a> · <a href=\"/view/compute/compiler/tools\">Tool roster</a></nav>"},"tag":"RawHtml"},{"children":[{"children":[{"children":[],"kind":"view-node","props":{"connection":"Decompiler.Inspect","fields":[{"default":"text","kind":"hidden","name":"operation"},{"hint":"Maximum 65536 source bytes.","kind":"textarea","label":"Assembly source","name":"source","placeholder":"mov x0, #42\nadd x1, x0, #1\nret","required":true},{"default":"arm64","hint":"One of the input targets the Targets tab lists, such as arm64, x86-64 or riscv64.","kind":"text","label":"Architecture","name":"arch","required":true},{"default":"python","hint":"One of the output targets the Targets tab lists, such as python.","kind":"text","label":"Recovered source language","name":"target"}],"id":"compute-decompile-text","maxResultChars":96000,"resultReport":{"requestFields":[{"label":"Submitted assembly","path":"source"},{"label":"Architecture","path":"arch"},{"label":"Requested language","path":"target"}],"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Succeeded","path":"ok"},{"label":"Error","path":"error"},{"label":"Architecture","path":"arch"},{"label":"Target","path":"target_language"},{"label":"Functions","path":"function_count"},{"label":"IR nodes","path":"node_count"},{"label":"Recovered IR identity","path":"ir_hash"},{"label":"Decompiled source","path":"source"}],"title":"Recovered source"},{"fields":[{"label":"Native VM enabled in this host","path":"native_vm_enabled"}],"title":"Host"}],"title":"Decompile assembly"},"submitLabel":"Decompile","timeoutMs":120000,"title":"Decompile assembly"},"tag":"Form"}],"kind":"view-node","props":{"id":"assembly","label":"Assembly text"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Decompiler.Inspect","fields":[{"default":"binary","kind":"hidden","name":"operation"},{"hint":"ELF, PE, Mach-O, WASM or a Game Boy ROM, base64 encoded. Maximum 1 MiB decoded. The architecture is detected from the file.","kind":"textarea","label":"Binary as base64","name":"binary_base64","required":true},{"default":"python","hint":"One of the output targets the Targets tab lists, such as python.","kind":"text","label":"Recovered source language","name":"target"}],"id":"compute-decompile-binary","maxResultChars":96000,"resultReport":{"requestFields":[{"label":"Requested language","path":"target"}],"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Succeeded","path":"ok"},{"label":"Error","path":"error"},{"label":"Architecture","path":"arch"},{"label":"Target","path":"target_language"},{"label":"Functions","path":"function_count"},{"label":"IR nodes","path":"node_count"},{"label":"Recovered IR identity","path":"ir_hash"},{"label":"Decompiled source","path":"source"}],"title":"Recovered source"},{"fields":[{"label":"Native VM enabled in this host","path":"native_vm_enabled"}],"title":"Host"}],"title":"Decompile binary"},"submitLabel":"Decompile","timeoutMs":120000,"title":"Decompile binary"},"tag":"Form"},{"children":["Encode the file first, for example with base64 on the command line, and paste the text."],"kind":"view-node","props":{"variant":"paragraph"},"tag":"Text"}],"kind":"view-node","props":{"id":"binary","label":"Binary file"},"tag":"Tab"},{"children":[{"children":[],"kind":"view-node","props":{"connection":"Decompiler.Inspect","fields":[{"default":"targets","kind":"hidden","name":"operation"}],"id":"compute-decompile-targets","maxResultChars":96000,"resultReport":{"requestFields":[],"rootPaths":["result.connection","result","connection",""],"sections":[{"fields":[{"label":"Succeeded","path":"ok"},{"label":"Error","path":"error"},{"label":"Available input targets","path":"lift_targets"},{"label":"Available output targets","path":"emit_targets"},{"label":"Native VM enabled in this host","path":"native_vm_enabled"}],"title":"Targets this host offers"}],"title":"List targets"},"submitLabel":"List targets","timeoutMs":120000,"title":"List targets"},"tag":"Form"}],"kind":"view-node","props":{"id":"targets","label":"Targets"},"tag":"Tab"}],"kind":"view-node","props":{"defaultTab":"assembly"},"tag":"Tabs"},{"children":["Recovered source is an interpretation of the input, not equivalence evidence. Inspection does not execute the input, keep an artifact or request a round-trip check, so no result on this page is a correctness proof."],"kind":"view-node","props":{"variant":"paragraph"},"tag":"Text"},{"children":[{"children":[{"children":["Checking view availability…"],"kind":"view-node","props":{},"tag":"Text"}],"kind":"view-node","props":{"aria-label":"View availability","class":"primitive-live-payload","id":"payload-live-content-compute-compute-decompiler"},"tag":"Section"}],"kind":"view-node","props":{"id":"payload-live-compute-compute-decompiler","patchTarget":"#payload-live-content-compute-compute-decompiler","pollIntervalMs":8000,"refreshHref":"/view/payload/patch?app=Compute&view=compute.decompiler","streamUrl":"/view/payload/patch?app=Compute&view=compute.decompiler","transport":"http","transportStatus":false},"tag":"LiveSlot"}],"kind":"view-node","ok":true,"props":{},"tag":"Page"},"kind":"view-node","ok":true,"props":{},"tag":"Page"}