Files
linux/include/crypto
Marco Elver dc36d55d4e crypto: Enable context analysis
Enable context analysis for crypto subsystem.

This demonstrates a larger conversion to use Clang's context
analysis. The benefit is additional static checking of locking rules,
along with better documentation.

Note the use of the __acquire_ret macro how to define an API where a
function returns a pointer to an object (struct scomp_scratch) with a
lock held. Additionally, the analysis only resolves aliases where the
analysis unambiguously sees that a variable was not reassigned after
initialization, requiring minor code changes.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20251219154418.3592607-36-elver@google.com
2026-01-05 16:43:36 +01:00
..
2026-01-05 16:43:36 +01:00
2022-12-02 18:12:40 +08:00
2023-06-05 09:36:35 +02:00
2024-04-02 10:49:38 +08:00
2019-08-05 18:40:19 -04:00
2022-04-08 16:12:46 +08:00
2023-01-06 17:15:47 +08:00