I can think of some vendors who offer source sharing agreements on their closed products for auditing purposes. I'd speculate Boeing would offer the same if the contract is valuable enough, especially if its DoD writing the check.
Unless you are given the full build chain and deploy to your own devices, there is little guarantee the software you were given is actually the one running on your devices.