Skip to content

Conversation

@sunfishcode
Copy link
Member

This adds a simple mechanism for informing msan of memory initializations that happen within asm blocks, and uses it in fstat, read, pread, and getrandom. More functions can be added in the future.

Fixes #1531.

This adds a simple mechanism for informing msan of memory
initializations that happen within `asm` blocks, and uses it
in `fstat`, `read`, `pread`, and `getrandom`. More functions
can be added in the future.

Fixes #1531.
@sunfishcode sunfishcode merged commit 291ec97 into main Dec 23, 2025
37 of 50 checks passed
@sunfishcode sunfishcode deleted the sunfishcode/msan branch December 23, 2025 01:05
@sunfishcode
Copy link
Member Author

This is now released in rustix 1.1.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

msan finding in fstat implementation

2 participants