Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not throw warning on empty RzIL #4097

Merged
merged 1 commit into from
Jan 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading