rizinorg / rizin

UNIX-like reverse engineering framework and command-line toolset.
https://rizin.re
GNU Lesser General Public License v3.0
2.72k stars 363 forks source link

Projects don't save map offset #3967

Open karliss opened 1 year ago

karliss commented 1 year ago

Work environment

Questions Answers
OS/arch/bits (mandatory) ArchLinux x68_64
File format of the file you reverse (mandatory) raw
Architecture/bits of the file (mandatory) arm thumb (probably affects most)
rizin -v full output, not truncated (mandatory) rizin 0.7.0 @ linux-x86-64 commit: 444000416cc929d4ce67116a46eaeee1d8a5b4fd

Expected behavior

After loading project raw binary is mapped at the same address it was when saving.

This is important when working with raw MCU firmware binaries. This already annoying while working with single file, and would be even worse if i wanted to map multiple files for main firmware, bootloader and builtin bootloader.

Actual behavior

Binary is mapped at 0

Steps to reproduce the behavior

Additional Logs, screenshots, source code, configuration dump, ...

karliss commented 1 year ago

I guess it's related to #713 . Were there any progress towards it?

XVilka commented 1 year ago

Not really, it wasn't touched since. Serialization of all of RzIO is big task because of various inherently different modes. But it's possible to do the basic subset serialization first, for the most common tasks.

On Sun, Nov 12, 2023, 13:26 karliss @.***> wrote:

I guess it's related to #713 https://github.com/rizinorg/rizin/issues/713 . Were there any progress towards it?

— Reply to this email directly, view it on GitHub https://github.com/rizinorg/rizin/issues/3967#issuecomment-1807008878, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABRT7ONQ7SX3JV2DTFLRN3YEBMYXAVCNFSM6AAAAAA7DTIKXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGAYDQOBXHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>