I have an object file under Linux with a lot of strings in it. I would like to replace all strings that represent a specific path in this object.
I can see all the strings I need to change using the strings
utility.
Is there a way to replace all these strings at once ?
The path I want to change is shorter, so it should be relatively easy, just adding terminating zeros at the end of the strings so it will remain the same length on the file.
I can write a short program that does this, but I wonder if there's already a tool I can use for this.