This was built to track decompiler and CFG progress.
Unexpected AstNode sub-type on stack. Expected Assignable.
{
"frames": [
{
"line": 282,
"file": ".\\gbf_core\\src\\decompiler\\function_decompiler_context.rs",
"function": "gbf_core::decompiler::function_decompiler_context::FunctionDecompilerContext::pop_assignable"
},
{
"line": 33,
"function": "gbf_core::decompiler::handlers::special_two_operand::impl$0::handle_instruction",
"file": ".\\gbf_core\\src\\decompiler\\handlers\\special_two_operand.rs"
},
{
"line": 171,
"function": "gbf_core::decompiler::function_decompiler_context::FunctionDecompilerContext::process_instruction",
"file": ".\\gbf_core\\src\\decompiler\\function_decompiler_context.rs"
},
{
"line": 467,
"function": "gbf_core::decompiler::function_decompiler::FunctionDecompiler::process_regions",
"file": ".\\gbf_core\\src\\decompiler\\function_decompiler.rs"
},
{
"line": 286,
"file": ".\\gbf_core\\src\\decompiler\\function_decompiler.rs",
"function": "gbf_core::decompiler::function_decompiler::FunctionDecompiler::decompile"
}
]
}
{
"current_block_id": {
"index": 2,
"address": 14751,
"block_type": "Normal"
},
"current_ast_node_stack": [
{
"StandaloneNode": {
"Expression": {
"Assignable": {
"MemberAccess": {
"metadata": {
"properties": {},
"comments": []
},
"node_id": 214081,
"ptr": {
"rhs": {
"Identifier": {
"metadata": {
"properties": {},
"comments": []
},
"ptr": {
"ssa_version": null,
"id": "value"
},
"node_id": 214080
}
},
"ssa_version": 7,
"lhs": {
"Identifier": {
"metadata": {
"properties": {},
"comments": []
},
"node_id": 214079,
"ptr": {
"ssa_version": null,
"id": "temp"
}
}
}
}
}
}
}
}
}
],
"current_instruction": {
"opcode": "AccessMember",
"operand": null,
"address": 14759
}
}
function onSaveRights(temp.obj)
{
temp.account = temp.obj.parent.acc;
lit#9 = 0;
temp.i = lit#9;
builtin_fn_call#12 = this.textrights.size();
while (temp.i < builtin_fn_call#12)
{
lit#13 = "ScriptedRCRightBox";
lit#15 = "checked";
// RegionId(2)
// RegionId(3)
if ((lit#13 @ temp.i).entrytype == lit#15)
{
lit#16 = "ScriptedRCRightBox";
// RegionId(3)
// RegionId(4)
if (lit#16 @ temp.i.checked)
{
lit#18 = "true";
}
// RegionId(5)
else
{
lit#19 = "false";
}
}
// RegionId(6)
else
{
lit#20 = "ScriptedRCRightBox";
}
phi<idx=1, regions=()> = phi<idx=0, regions=()>;
lit#23 = 1;
lit#24 = "%s=%s";
builtin_fn_call#25 = format(lit#24, this.textrights[temp.i][lit#23], temp.value);
builtin_fn_call#26 = temp.final.add(builtin_fn_call#25);
temp.i++;
}
fn_call#28 = ScriptedRCRightsMLEdit.getLines();
lit#29 = 0;
for (phi<idx=0, regions=()> : phi<idx=1, regions=()>)
{
builtin_fn_call#30 = temp.final.add(temp.line);
builtin_fn_call#31 = builtin_fn_call#30 + 1;
}
lit#32 = "rights";
fn_call#34 = sendtext#33(lit#32, temp.account, temp.final);
fn_call#37 = ScriptedRCRightsWindow.destroy();
lit#38 = 0;
return lit#38;
}
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 19