Red = gun barrel. Not target-able.
Green = the rest of the gun. Definately target-able.
In this picture, everything except for the red bit is a valid target - including that pipe on top of the gun (which would be a recoil buffer on a real gun but seems to serve no purpose on this one)