Dark Star (1974)
A group of scientists are sent on a mission to destroy unstable planets. Twenty years into their mission, they have to battle their alien mascot as well as a "sensitive" and intelligent bombing device that starts to question the meaning of its existence.
Some information and/or images in this header may be provided either partially or in full from The Movie Database.