I have a program and I like to know if the assigment of a value is correct, but when I try to run in debug mode and with an argument it sends this error:

$ r2 -d ./col "`python -c "print '\x41'*16+'\xEC\x09\xDD\x21'"`"
INValid fd
Cannot open '0����U' for writing.

This why maybe happen?


  • 1
    What version of r2 do you use? This command works for me in a simple program that prints argv[1]. Anyway, you better check rarun2 for such tasks. – Megabeets Apr 4 '18 at 4:47
  • My bad, after trying and keep search in google, I see that radare don't allow the backticks: github.com/radare/radare2/issues/8499, in the issue explain use better $() instead of the backticks `. thanks. – Cristino Apr 4 '18 at 17:30

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.