4 ms·
It seems to me something that could be found by some kind of valgrind-like tool - it'd be much slower than normal code but "ABI exception detected" or something
by bombcar 4y ago
It seems to me something that could be found by some kind of valgrind-like tool - it'd be much slower than normal code but "ABI exception detected" or something.
- gumby 4y agoNot worth checking for. The few people who write assembly code these days know what they are doing, and, bugs aside, the compiler knows what to do.
- titzer 4y agoThe old Russian proverb is "Trust but verify." I, for one, hate debugging asm. I do it a lot, and would prefer bugs be caught automatically, preferably soon after they are introduced.
- gumby 4y agoYou're part of a small population, and so you might not even trust the tool. It's not clear to me how to write such a tool as assembly code is the opposite of structured.
- gpderetta 4y agoAlso compilers violate the ABI when they know the violation can't be observed, so the external tool would have too many positives.
- brucedawson 4y agoInteresting conclusion given that I found two functions and a (presumed) third-party driver/what-not that were violating the ABI. One of these was causing crashes, and the other one was going to. The crashes went on for over a year and a half, so, ...