Update Rizin (#2522)

This commit is contained in:
Florian Märkl 2020-12-17 20:13:30 +01:00 committed by GitHub
parent df02332695
commit 0574c50981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
rizin

@ -1 +1 @@
Subproject commit 8af2c6aa9bba10a310a77ecef82d44ee80aeb470
Subproject commit 7114d3cec72e25a5ca0f7f58ec25fc195c25fc11

View File

@ -1183,7 +1183,7 @@ RVA CutterCore::getLastFunctionInstruction(RVA addr)
return RVA_INVALID;
}
RzAnalysisBlock *lastBB = (RzAnalysisBlock *)rz_list_last(fcn->bbs);
return lastBB ? lastBB->addr + rz_analysis_bb_offset_inst(lastBB, lastBB->ninstr-1) : RVA_INVALID;
return lastBB ? rz_analysis_block_get_op_addr(lastBB, lastBB->ninstr-1) : RVA_INVALID;
}
QString CutterCore::cmdFunctionAt(QString addr)