3 ms·
Static checker can work in principle on binary code. Alternatively, one can annotate API the library provides for the static checker. This is especially feasibl
by fpoling 9y ago
Static checker can work in principle on binary code. Alternatively, one can annotate API the library provides for the static checker. This is especially feasible with C where API types and usage is typically rather simple. Clearly, this implies trusting API to be implemented correctly or at least using the static checker to prove that memory-safety bugs are originated in the library, not in the application code.