&gt; As far as I can tell, this prevents countries from demanding source code to a closed source product as a condition for selling into a country. Seams reasonable?<p>How could this possibly be reasonable?<p>Being able to look at the source code is a <i>huge</i> part of regulating code in life-and-death applications. Medical devices, cars, planes, train systems, etc. all need to be held to safety standards, and not allowing regulators access to the source code significantly inhibits their ability to do their job.<p>&gt; If you want to audit a closed-source program for bugs and backdoors, people have been able to do this successfully hundreds (of thousands?) of times with standard tools like debuggers, disassemblers, and automated program analysis tools. The fact that a program is closed source has not stopped anyone from researching how it works. Ask ANY security researcher if it suddenly becomes impossible.<p>First of all, there are cases where you&#x27;re just flat wrong. The Gauss virus contains an encrypted payload which is encrypted with a few system strings, meaning that when it runs in that system it will execute the encrypted code. It&#x27;s impossible to audit the encrypted code without knowing the properties of the system it&#x27;s intended to run on. Admittedly this is currently an unusual case, but given the incentives, it&#x27;s unlikely that this will remain unusual. Hiding proof of code like the code in the Volkswagen emissions scandal[2] presents a large barrier to regulation, and it&#x27;s not hard to imagine cases where it would make proving wrongdoing outright impossible.<p>Even in cases where an encrypted payload is not used, you cannot in good faith argue that the capability of auditing a binary is equivalent to the capability of auditing the source code. Yes, it&#x27;s possible in most cases, but <i>obviously</i> it&#x27;s significantly harder to audit computer generated, optimized, and decompiled assembly code than it is to audit code written in, say, C. The skill and time required to audit a binary is such that it&#x27;s cost prohibitive in most cases: in the Volkswagen case, they discovered the fraudulent code with a $50,000 study that white-box tested the code by driving the car.[3] My guess is that an audit of the C code could have revealed something like:<p><pre><code>    if(car_is_being_emissions_tested()) {
        ...
    }
</code></pre>
...and such an audit could have been done by a junior in college working at a $15&#x2F;hour internship. As these ways to cheat regulation become more sophisticated, under-funded regulatory agencies will be unable to keep up. It may be mathematically possible to audit binaries effectively, but it&#x27;s not monetarily or organizationally an effective way to do regulation.<p>In short, it&#x27;s absolutely not reasonable to tie the hands of regulators by preventing them access to the source code. Doing so is equivalent giving up on regulating a large fraction of possible anti-regulation behaviors.<p>And this is only talking about regulation, when the binary being audited is produced by a company trying to skirt regulation. Even more concerns arise when the binary being audited might be partially created by a government. The NSA has well-known capabilities in this area, and we have no reason to believe that China (where many devices in the US are manufactured) has similar capabilities or will in the near future.<p>[1] <a href="https:&#x2F;&#x2F;securelist.com&#x2F;blog&#x2F;incidents&#x2F;33561&#x2F;the-mystery-of-the-encrypted-gauss-payload-5&#x2F;" rel="nofollow">https:&#x2F;&#x2F;securelist.com&#x2F;blog&#x2F;incidents&#x2F;33561&#x2F;the-mystery-of-t...</a><p>[2] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Volkswagen_emissions_scandal" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Volkswagen_emissions_scandal</a><p>[3] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Volkswagen_emissions_scandal#U.S._testing_conducted" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Volkswagen_emissions_scandal#U...</a>