I have looked at a few source files for your current software. I have noticed that some checks for return codes are missing. Would you like to add more error handling for return values from functions like the following? - [fclose](http://en.cppreference.com/w/cpp/io/c/fclose) ⇒ [AgentBinary::WriteBinaryToFile](https://github.com/HSAFoundation/HSA-Debugger-Source-AMD/blob/9d71dfca811f59c2a64f5c9f48fc98f2a0b7f3c0/src/HSADebugAgent/AgentBinary.cpp#L615) - [signal](http://pubs.opengroup.org/onlinepubs/9699919799/functions/signal.html) ⇒ [InitHsaAgent](https://github.com/HSAFoundation/HSA-Debugger-Source-AMD/blob/9d71dfca811f59c2a64f5c9f48fc98f2a0b7f3c0/src/HSADebugAgent/HSADebugAgent.cpp#L143)