Open merrychap opened 3 years ago
Any plans on this feature?
Any plans on this feature?
Not right now, unless someone wants to pick it up (maybe @PulakIIIT or @yossizap ? But I can't speak for them, ofc :). We are already moving forward with various quite big refactoring involving RzBin, types, shell, hash... So I think we have our hands quite full at the moment.
Okay, got it. Thanks for the answer :+1:
I'm reviewing the issues and this indeed seems a very big win for the users. Honestly, the rizin output is really bad compared to gef. I can't understand what's in that memory, no idea at all. It shouldn't be too hard to improve the situation here. I'm going to place this for 0.4.0 so we don't forget.
I didn't see any work on this during this time, so I doubt it will be done for 0.4.0. I'm removing the milestone for now until someone starts to actively looking at this.
cc @XVilka
Is your feature request related to a problem? Please describe. When using
pxr
command for showing hexword references I'm always confused by the output. There is not enough information about values that are located inside of the memory.pxr
shows only the value, it's str representation, and the location of this value (is it stack / ld / something else). When analyzing a binary with some complex logic and structures it's not enough to see only the value in the memory (and str representation is useless). For example, it could be a stack reference to heap-allocated chunk which holds a reference to another heap chunk in its first qword:In my opinion, it would be better to show the whole memory chains in a way it's done in gef. This issue applies not only to
pxr
command but to any "telescoping" command likedrr
.Also,
gef
marks each address with the corresponding color which is also nice - it helps to understand it's eitherr-x
section orrw-
or stack or heap etcDescribe the solution you'd like
Show the whole memory chain dereferences when using telescoping commands in a way it's done in gef and also marks each address with the corresponding color (
r-x
/rw-
/rwx
/ heap / stack / etc).rizin
also outputs which instruction address is pointing to, but it's done in a non-human readable format, please consider gef-like output formatDescribe alternatives you've considered As I already said above, it would be nice to use the same approach as is used in
gef
.Additional context Compare these two stack dumps and see the big difference in the provided information by each tool: