I'm implementing the 'B' command, aliased as 'Baddr' this is used to
redefine the 'base-address'.

This can be really useful when modifying disk binaries from a on-memory
process.

This command can be useful too when analysing raw blobs and you want to
set a reference point.

All absolute addresses substract the base-address and all the shown values
adds the baddr value. This is:

> B 0x8048000 ; set 0x8048000 to the current seek
> s 0x8048300 ; will seek on 0x300 on the disk file

you can use negative values for achieving different bases.

> B -0x400   ; base address is -0x400
> s 0        ; will seek to 0x400

Hope to finish the patch today and submit't to the pvc repo.

I'm brave these days and I want to abandon the git repo O:)

--panake

_______________________________________________
radare mailing list
[email protected]
https://lists.nopcode.org/mailman/listinfo/radare

Reply via email to