Skip to content

Initialize TLS parameters for __msan_memset() and friends in the compiler #63

@ramosian-glider

Description

@ramosian-glider

It may make sense to emit stores to param_tls and param_origin_tls directly in the compiler for calls to __msan_memset() for KMSAN, so that it's possible to e.g. propagate the state of uninitialized consant byte or report errors on uninitialized pointer/size arguments.

This cannot be done for MSan, because __msan_memset may be called from the userspace RTL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions