mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-24 16:23:49 +00:00
fix #2443
This commit is contained in:
parent
0131971e11
commit
fcf4a5f081
@ -632,7 +632,8 @@ static int cb_iova(void *user, void *data) {
|
||||
RConfigNode *node = (RConfigNode *) data;
|
||||
if (node->i_value != core->io->va) {
|
||||
core->io->va = node->i_value;
|
||||
r_core_block_read (core, 0);
|
||||
if (r_io_desc_get (core->io, core->io->raised)) //ugly fix for r2 -d ... "r2 is going to die soon ..."
|
||||
r_core_block_read (core, 0);
|
||||
// reload symbol information
|
||||
if (r_list_length (r_bin_get_sections (core->bin))>0)
|
||||
r_core_cmd0 (core, ".ia*");
|
||||
|
@ -294,8 +294,10 @@ R_API int r_io_read_internal(RIO *io, ut8 *buf, int len) {
|
||||
read_from = io->desc->plugin->name;
|
||||
bytes_read = io->desc->plugin->read (io, io->desc, buf, len);
|
||||
} else if (!io->desc) {
|
||||
if (io->files && r_list_length (io->files) != 0)
|
||||
if (io->files && r_list_length (io->files) != 0) {
|
||||
eprintf ("Something really bad has happened, and r2 is going to die soon. sorry! :-(\n");
|
||||
r_sys_backtrace ();
|
||||
}
|
||||
read_from = "FAILED";
|
||||
bytes_read = 0;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user