Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7 8 9 10 11 12
// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.security.MallocOverflow -verify %s // expected-no-diagnostics class A { public: A& operator<<(const A &a); }; void f() { A a = A(), b = A(); a << b; }