I want to write some data to the ELF binary. I have tried to use this r2pipe function r = r2pipe.open('binary', flags=['-w']
How can I add some strings to ELF binary by using r2pipe binary write mode function? Sorry for this stupid question.
Any advice and simple example is appreciated.
r2 = r2pipe.open("ncc1", flags=['-w'])
r2.write("HELLO world")
r2.close()```
Result: AttributeError: 'open' object has no attribute 'write'