3 ms·
Hopefully any system of "code inspection" could be done by authorities, and not require the code to be public. As an example: I'm not sure, but I believe the N
by alkonaut 11y ago
Hopefully any system of "code inspection" could be done by authorities, and not require the code to be public.
As an example: I'm not sure, but I believe the Nevada Gaming Control Board inspects the source code of gambling machines in Las Vegas casinos. This doesn't mean the casinos can't have secrets in the source code, it just means that the authority sees all the secrets.
I do think however that "code inspection" for engine control units is a dead end. Writing underhanded code that appears to do X but instead does Y is so easy. (See e.g.http://www.underhanded-c.org/ http://www.underhanded-c.org/). Inspecting a 100k C-program for illegal behaviour won't be doable until the next years model is out, at which point it's time to start again.
The solution is to treat the code as a black box, and just test it as a black by casting a wide net. The problem is the reliance on simple lab tests that are easily fooled.