radareorg / radare2

UNIX-like reverse engineering framework and command-line toolset
https://www.radare.org/
GNU Lesser General Public License v3.0
20.66k stars 3k forks source link

what is going on in op #10507

Closed radare closed 6 years ago

radare commented 6 years ago
screen shot 2018-06-27 at 00 41 51
radare commented 6 years ago

| op [fd] prioritize given fd (see also ob)

radare commented 6 years ago

only happens with 3, the other fds are set properly

radare commented 6 years ago

current problem is that only have lot of maps everytime we change the priority of a file with associated bininfo. the bug is in ob code (we also need to decide proper syntax for ob, obb and obo.

Comments are welcome

radare commented 6 years ago

cc @ret2libc @condret

this is also very related to the RIOSection killification

radare commented 6 years ago

and the thing is. why we want to have multiple maps with the exact same info? i vote for avoiding dupped maps

screen shot 2018-06-27 at 13 47 10
ret2libc commented 6 years ago

What's the test binary? Anyway, I see a use case for duplicated maps, but they shouldn't be created for no reason. I think the user should be able to explicitly duplicated a map, but in this case it seems just a bug.

radare commented 6 years ago

On 27 Jun 2018, at 14:34, Riccardo Schirone notifications@github.com wrote:

What's the test binary?

Happens in any binary

Anyway, I see a use case for duplicated maps, but they shouldn't be created for no reason. I think the user should be able to explicitly duplicated a map, but in this case it seems just a bug.

Well its calling to reload all the bininfo which implies creating maps

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.