Issue 182521
Summary implement an `errno` "fuzzer"
Labels new issue
Assignees
Reporter firewave
    Inspired by an off-hand comment in https://github.com/llvm/llvm-project/pull/178836#discussion_r2808955751.

To ensure code properly handles calls which can fail and provide `errno` it might make sense to implement a "fuzzer" which randomly fails such checks during execution.

The most sensible use case (and probably the one to start with) would be calls which can fail and need to be re-tried.

Possible tunables for this would be:
- the call(s) to fail
- the `errno` values to fail with
- the frequency to fail with (a percentage or interval)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to