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,
"file": ".\\gbf_core\\src\\decompiler\\structure_analysis\\mod.rs",
"function": "gbf_core::decompiler::structure_analysis::StructureAnalysis::reduce_acyclic_region"
},
{
"line": 300,
"file": ".\\gbf_core\\src\\decompiler\\structure_analysis\\mod.rs",
"function": "gbf_core::decompiler::structure_analysis::StructureAnalysis::execute"
},
{
"line": 292,
"function": "gbf_core::decompiler::function_decompiler::FunctionDecompiler::decompile",
"file": ".\\gbf_core\\src\\decompiler\\function_decompiler.rs"
}
]
}
{
"current_block_id": {
"index": 4,
"block_type": "Normal",
"address": 12013
},
"current_ast_node_stack": [],
"current_instruction": {
"opcode": "Ret",
"operand": null,
"address": 12015
}
}
function FileBrowser_FolderMenu.onSelect(entryid#1, text#0)
{
lit#3 = "Delete folder";
// RegionId(3)
// RegionId(1)
if (!(temp.text == lit#3))
{
lit#6 = "logs/";
lit#7 = "temp/";
lit#8 = "levels/";
lit#9 = null;
// RegionId(1)
// RegionId(2)
if (!(this.selectedfolder in {lit#9, lit#8, lit#7, lit#6}))
{
fn_call#11 = requestFolderDeletion#10(this.selectedfolder);
}
}
lit#12 = 0;
return lit#12;
}
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 9