| phrosty |
10-30-2013 12:38 AM |
Reeks of expert testimony using a shotgun approach -- i.e. a bunch of "could-be"s versus a definite "this is what caused the issue".
Don't get me wrong, I have no doubt there are bugs -- programmers are far from perfect and even the best, most careful of practices lead to some bugs happening. Coding is hard :)
The correlative of this is that understanding someone else's code is hard -- I can look at someone's code and list off a ton of "could-be"s, when they've already taken care of the corner cases in some way that I'd only realize upon a deeper analysis.
Quote:
Originally Posted by R.S-HawK
(Post 1301223)
And as a programmer, I find this embarrasing. :thumbdown:
|
The article was clearly not written by a programmer. I'd be curious to see the original technical document. This contains some very WTF wording that doesn't mean anything to a programmer:
Quote:
Toyota missed some of the calls made via pointer, missed stack usage by library and assembly functions (about 350 in total), and missed RTOS use during task switching.
|
It lists a number of things which are not bugs, but merely describe a lack of safety nets to catch certain very specific types of bugs:
Quote:
Toyota claimed the 2005 Camry's main CPU had error detecting and correcting (EDAC) RAM. It didn't.
...
Mirroring (where key data is written to redundant variables) was not always done.
...
Stack overflow. Toyota claimed only 41% of the allocated stack space was being used. Barr's investigation showed that 94% was closer to the truth. On top of that, stack-killing, MISRA-C rule-violating recursion was found
|
And some things here which could be bugs but the rest of the article leads me to think they just mean a potential for bugs -- this kind of code has been deemed attention-worthy by the software industry due to being difficult to get right and being the most common areas to find bugs:
Quote:
A litany of other faults were found in the code, including buffer overflow, unsafe casting, and race conditions between tasks.
|
|