Welcome to the GBF Test Portal

This was built to track decompiler and CFG progress.

Decompiler Output

Backtrace

{
  "frames": [
    {
      "line": 134,
      "file": ".\\gbf_core\\src\\decompiler\\structure_analysis\\if_region_reducer.rs",
      "function": "gbf_core::decompiler::structure_analysis::if_region_reducer::impl$1::reduce_region"
    },
    {
      "line": 564,
      "function": "gbf_core::decompiler::structure_analysis::StructureAnalysis::reduce_acyclic_region",
      "file": ".\\gbf_core\\src\\decompiler\\structure_analysis\\mod.rs"
    },
    {
      "line": 300,
      "function": "gbf_core::decompiler::structure_analysis::StructureAnalysis::execute",
      "file": ".\\gbf_core\\src\\decompiler\\structure_analysis\\mod.rs"
    },
    {
      "line": 292,
      "function": "gbf_core::decompiler::function_decompiler::FunctionDecompiler::decompile",
      "file": ".\\gbf_core\\src\\decompiler\\function_decompiler.rs"
    }
  ]
}

Context

{
  "current_block_id": {
    "index": 3,
    "address": 12043,
    "block_type": "Normal"
  },
  "current_ast_node_stack": [],
  "current_instruction": {
    "opcode": "Ret",
    "operand": null,
    "address": 12045
  }
}
function FileBrowser_Menu2.onSelect(entryid#1, text#0)
{
    lit#2 = "Upload File";
    // RegionId(2)
    // RegionId(1)
    if (!(text#0 == lit#2)) 
    {
        FileSelector_Window.requestscript = this.name;
        fn_call#8 = selectFileForUpload#7();
    }
    lit#9 = 0;
    return lit#9;
}