'Unable to write entire contents' in new mapped views
I'm not sure what exactly the process here should look like but I'd expect to be able to do the following:
- Open a new mapped view.
- Paste in some code.
- Rebase that code.
Currently when I try to do step 2 I get a pop up error 'Unable to write entire contents'
Yeah this is known -- right now the code creates a segment in the mapped view with a size zero. The issue is not fixed because I do not have a good fix for it, I dunno what size should we use instead of zero
Is there another issue tracking this? Its not hard to come up with a good size. sizeof(paste_buffer), or page-aligned(sizeof(paste_buffer)) would be reasonable decisions. zero isn't a reasonable decision.
The basic workflow for this should be resolved now. See https://github.com/Vector35/binaryninja-api/issues/5186#issuecomment-3066323965
Fixed in 5.1.7927-dev.