Skip to content

Commit

Permalink
Do not throw warning on empty RzIL (#4097)
Browse files Browse the repository at this point in the history
  • Loading branch information
XVilka authored Jan 13, 2024
1 parent acace32 commit 1b69ae6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions librz/core/cmd/cmd_analysis.c
Original file line number Diff line number Diff line change
Expand Up @@ -5657,6 +5657,11 @@ RZ_API void rz_core_analysis_bytes_il(RZ_NONNULL RzCore *core, RZ_NONNULL const
rz_analysis_op_fini(&op);
break;
}
// Just empty RzIL
if (!op.il_op) {
RZ_LOG_DEBUG("Empty IL at 0x%08" PFMT64x "...\n", core->offset + idx);
break;
}

rz_strbuf_init(&sb);
rz_il_op_effect_stringify(op.il_op, &sb, pretty);
Expand Down

0 comments on commit 1b69ae6

Please sign in to comment.