wait. paste and ctrl-v both fail, but ctrl-shift-v brings up an ARE YOU SURE? and then ignores the highlight and pastes it at the cursor?
what?!
Top-level
wait. paste and ctrl-v both fail, but ctrl-shift-v brings up an ARE YOU SURE? and then ignores the highlight and pastes it at the cursor? what?! 9 comments
@foone oh, right, yes. you have to hit C on the instructions to clear them first, then overwrite. it's rather tedious. I guess I could always write a python script. It does have that. Still, it seems like this sort of thing should be easier. Maybe this is an unusual need? I dunno. I'm patching a game as I go. to be clear, the clipboard-binary viewer thing does work, it's just tedious. You have to clear existing decompilation for the area you're writing to, then re-decompile it. @foone Never used ghidra, but you're describing the most basic hex editor functionality I can imagine. 🤔 @jens yeah. it's really that it's not a hex editor, it just has some very basic hex editing abilities in it. and they're not good. @foone I actually already did that for the same exact reason. My solution is utter ass, but it is marginally faster to use than Ghidra is. I couldn't figure out the Ghidra API in my blind rage, so it's standalone, and worse for it. https://github.com/ParzivalWolfram/RapidRelinker |
fuck me, it's just a completely confused error message:
it's saying "not enough space" because it can't find enough UNDEFINED BYTES. It's stopping you from writing over code.
motherfucker.