This was built to track decompiler and CFG progress.
A structure analysis error occurred while decompiling the function: A structure analysis error occurred: Control flow region must have exactly two successors, found 1
{
"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"
}
]
}
{
"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;
}
Use the mouse wheel + shift to zoom in and out, and click and drag to pan.
Use the mouse wheel + shift to zoom in and out, and click and drag to pan.
Step 1 of 7