Open s1gse9v opened 3 weeks ago
I might get around to fix this myself, but I would appreciate some pointers on how the rebasing is implemented
I might get around to fix this myself, but I would appreciate some pointers on how the rebasing is implemented
Sorry for the late answer. The rebasing is implemented in multiple files, and you can see them in the stacktrace. Looking at the stacktrace my blind guess that it wasn't removed from the skyline after it was freed, see io->map_skyline
When trying to use
obr
to rebase a binary, a heap-use-after-free occurs. This happens with various binaries and offsets.Work environment
rizin -v
full output, not truncated (mandatory)Expected behavior
obr
should rebase the program to the given address.Actual behavior
A heap-use-after-free occurs, leading to a segmentation fault.
Steps to reproduce the behavior
cat
is attached as a poc: cat.zipAsan output