mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 09:00:46 +00:00
Add 2 comments for clarification ##io
This commit is contained in:
parent
08499ea67f
commit
bf29366140
@ -428,7 +428,9 @@ static void _delete_submaps_from_bank_tree(RIO *io, RIOBank *bank, RListIter *pr
|
|||||||
}
|
}
|
||||||
if (r_io_submap_to (sm) <= r_io_map_to (map)) {
|
if (r_io_submap_to (sm) <= r_io_map_to (map)) {
|
||||||
// case 3
|
// case 3
|
||||||
|
// adjust bd upper boundary to avoid overlap with existing submaps
|
||||||
r_io_submap_set_to (bd, r_io_submap_to (sm));
|
r_io_submap_set_to (bd, r_io_submap_to (sm));
|
||||||
|
// adjust sm upper boundary to avoid hitting again on sm in further iterations
|
||||||
r_io_submap_set_to (sm, r_io_submap_from (bd) - 1);
|
r_io_submap_set_to (sm, r_io_submap_from (bd) - 1);
|
||||||
r_rbtree_cont_insert (bank->submaps, bd, _find_sm_by_vaddr_cb, NULL);
|
r_rbtree_cont_insert (bank->submaps, bd, _find_sm_by_vaddr_cb, NULL);
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user