title: Patching a closed source network application to read from file
body: <p>So let me explain, I want to fuzz a closed source application named <code>Y</code> that implements a custom protocol let's name the protocol <code>X</code>. <code>Y</code> is written in C.<br />
  Is there a way to patch the <code>send/read</code> family functions to read from file instead of the socket?<br />
  Could this potentially work for the AFL/AFL++ fuzzer?<br />
  Keep in mind the application is developed for UNIX-like ecosystems.</p>