mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-24 13:49:50 +00:00
Fix radiff2 tests
This commit is contained in:
parent
482f72a5b9
commit
6797120239
@ -61,7 +61,7 @@ R_API int r_anal_diff_fingerprint_bb(RAnal *anal, RAnalBlock *bb) {
|
||||
free (bb->fingerprint);
|
||||
return false;
|
||||
}
|
||||
if (anal->iob.read_at (anal->iob.io, bb->addr, buf, bb->size) == bb->size) {
|
||||
if (anal->iob.read_at (anal->iob.io, bb->addr, buf, bb->size)) {
|
||||
memcpy (bb->fingerprint, buf, bb->size);
|
||||
if (anal->diff_ops) { // diff using only the opcode
|
||||
if (!(op = r_anal_op_new ())) {
|
||||
|
Loading…
Reference in New Issue
Block a user