Re: [RFC] Detecting unchecked return values (with SmPL)?

From: Markus Elfring

Date: Tue Dec 01 2026 - 07:01:05 EST


> CWE-252: Unchecked Return Value

How will development interests evolve further if it could be determined also
with the help of another script variant (like the following) for the semantic
patch language that the software “Linux next-20261130” contains unchecked
function calls in 24 source files according to a single selected identifier?

@display@
@@
*devm_pm_runtime_enable(...);


How can such information be integrated better into coccicheck script variations?

Regards,
Markus