Open XVilka opened 3 years ago
I'm removing this from 0.3.0, because there is not a proposed solution yet. I think to move this forward we should propose concrete rizin commands/output with examples.
I would like to suggest, iA where A could stand for "all" - ii , ir , is ?
The output would look something like:
[0x00001040]> iA
ii |
ir | is |
---|---|---|
nth vaddr bind type lib name | paddr target type | vaddr size |
1 0x00000000 | ||
2 0x000eefbee | ||
3 0.00xx0x0x0 |
(pardon my terrible formatting as I have done it by hand.) But I hope I was able to get the idea across.
To be honest it is not clear to me what @XVilka is suggesting exactly. Could you provide more details about this and a concrete example of what you had in mind?
Currently Rizin parses the contents of
rel.dyn
for the symbols but the information is available only in the flag values or relocations (ir
output). I think, if we also expose this information inis
orii
output or some new command, it would become some binary analysis easier. Please note, thatsym.
andrel.dyn
, even PLT/GOT all could have different values for these, so we should handle this situation gracefully, maybe showing all possible values in a separate columnsThis is the current output of Rizin:
Describe the solution you'd like
We need to show the addresses parsed from
rel.dyn
. I suggest to combine information fromii
,ir
,is
into one table with multiple columns for the symbols that are presented in all three. Not sure in what command to put this output.Additional context
This is what IDA Pro 7.6 shows:
readelf output:
objdump output:
sample_f_noplt.so.zip