Skip to content

Add nullable and nonnull annotations to all functions. #2004

@iphydf

Description

@iphydf

These help static analysis and ubsan. We should eventually have all
functions annotated like this with a cimple check to make sure every
pointer has an explicit nullability annotation. The nullable
annotation does nothing in GCC, but will be used by cimple to validate
that every parameter has defined nullability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low priority

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions