You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 9, 2020. It is now read-only.
Im getting overlapping regions errors with the original code as it
seems to skip sections when doing munmap.
find_region_range should iterate the tree by using RB_PREV or by going down the tree as below.
for (struct mm_region *r = leftmost;NULL != r;){
if (region_compare(&find, r) == 0){
leftmost = r;
r = RB_LEFT(r, tree);
} else
r = RB_RIGHT(r, tree);
}