You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow copying data pointed to by relocations in the data view #387
Currently the data view only allows you to copy the name and virtual address of symbols pointed to relocations. This means that strings cannot be copied if the relocation is inside data, even though objdiff allows copying strings pointed to by relocations in code.
So for the data view, it won't be possible to guess most data types, but strings specifically should still be possible since they don't rely on having an instruction. But the code will need to be refactored a bit so that the instruction is optional.
Activity
LagoLunatic commentedon Aug 4, 2026
Currently the code relies on having an instruction to guess the data type by the load or store instruction:
objdiff/objdiff-core/src/arch/ppc/mod.rs
Lines 370 to 374 in 9c1dad4
So for the data view, it won't be possible to guess most data types, but strings specifically should still be possible since they don't rely on having an instruction. But the code will need to be refactored a bit so that the instruction is optional.