If a stream operation is encountered with unknown stream (to the checker)
the stream is recognized and added to the data structure.
(Instead of ignoring the call.)
This patch in only here for reference purposes, to not forget that this can be a useful feature. Probably at a later time we can think about this problem again and adapt this change to the StreamChecker at that time. The problem is that if we find a stream function call without a stream open call, the stream was opened presumably at another function. So it is assumable that the other function (where it was opened) handles some of the stream calls and error handling, probably together with the current function, so analysing the current function only may produce wrong results (but still it is possible to discover real errors). (And if we have luck the current function is inlined from that other function.)
Maybe SawOpened or ExplicitlyOpened?