I am seeking for tools that can easily substitute some specific instructions in a binary file, and convert an already dynamic-linked binary together with DLLs to a single static-linked binary. I am wondering if there are existing tools to achieve it, or is there a convenient way to adjust binutils to serve this purpose. Thanks