about summary refs log tree commit diff
path: root/src/tools/miri/tests/pass-dep
AgeCommit message (Collapse)AuthorLines
2025-08-29Merge pull request #4371 from CraftSpider/duplicate-handle-testRalf Jung-6/+41
Add shim test for `DuplicateHandle`
2025-08-29Add duplicate handle test + make null lpTargetHandle an abort, not an ↵Rune Tynan-6/+41
unsupported.
2025-07-21Merge pull request #4481 from RalfJung/read-write-truncateOli Scherer-76/+147
non-deterministically truncate reads/writes
2025-07-19non-deterministically truncate reads/writesRalf Jung-76/+147
2025-07-17miri sleep tests: increase slackRalf Jung-3/+3
2025-07-06Auto merge of #141829 - dvdsk:sleep_until_linux, r=cuviper,RalfJungbors-0/+114
Specialize sleep_until implementation for unix (except mac) related tracking issue: https://github.com/rust-lang/rust/issues/113752 Supersedes https://github.com/rust-lang/rust/pull/118480 for the reasons see: https://github.com/rust-lang/rust/issues/113752#issuecomment-2902594469 Replaces the generic catch all implementation with target_os specific ones for: linux/netbsd/freebsd/android/solaris/illumos etc. Other platforms like wasi, macos/ios/tvos/watchos and windows will follow in later separate PR's (once this is merged).
2025-07-06sleep_until: add clock_nanosleep support to Miridvdsk-0/+114
The clock_nanosleep support is there to allow code using `sleep_until` to run under Miri. Therefore the implementation is minimal. - Only the clocks REALTIME and MONOTONIC are supported. The first is supported simply because it was trivial to add not because it was needed for sleep_until. - The only supported flag combinations are no flags or TIMER_ABSTIME only. If an unsupported flag combination or clock is passed in this throws unsupported.
2025-06-30linux futex: fix for val > i32::MAXRalf Jung-0/+5
2025-06-29Add shims for `gettid`-esque functionsTrevor Gross-0/+183
Various platforms provide a function to return the current OS thread ID, but they all use a slightly different name. Add shims for these functions for Apple, FreeBSD, and Windows, with tests to account for those and a few more platforms that are not yet supported by Miri. The syscall and extern symbol is included as well on Linux. These should be useful in general but will also help support printing the OS thread ID in panic messages [1]. [1]: https://github.com/rust-lang/rust/pull/115746 Squashed commit from Ralf: try_from_scalar: extend comment
2025-06-07test_dup: ensure the FDs remain in sync even after dup'ingRalf Jung-2/+3
2025-06-01tweak comment and use a weaker fenceRalf Jung-1/+4
2025-06-01Make sure to sync on file-io.rs tokio testNoratrieb-0/+1
Tokio `AsyncWriteExt::write` doesn't actually ensure that the contents have written, it just *starts* the write operation. To ensure that the file has actually been written, we need to `sync_all` first.
2025-06-01Fix tokio/file-io.rs test relying on `read`/`write` not being shortNoratrieb-3/+3
The test did `write` and `read` and hoped that it would read/write everything, which doesn't always happen and caused CI failures. Switch to `write_all` and `read_to_end` to make it more reliable.
2025-05-27Merge pull request #4212 from tiif/setflRalf Jung-0/+100
Support F_GETFL and F_SETFL for fcntl
2025-05-27Support F_GETFL and F_SETFL for fcntltiif-0/+100
2025-05-22Implement file read/write on WindowsRune Tynan-8/+89
2025-05-21Implement FreeBSD syscall cpuset_getaffinity.LorrensP-2158466-0/+51
2025-05-18Merge pull request #4322 from tiif/move_testRalf Jung-0/+4
Add more comments to libc-fs-with-isolation test
2025-05-18Add more comment to libc-fs-with-isolation testtiif-0/+4
2025-04-29add -Zmiri-deterministic-concurrency flag and use it for concurrency testsRalf Jung-11/+11
2025-04-29Merge pull request #4272 from geetanshjuneja/schedulingRalf Jung-11/+11
Make thread scheduling fully random
2025-04-29Added random schedulinggeetanshjuneja-11/+11
2025-04-11Implement DeleteFileWRune Tynan-4/+21
2025-04-10Merge pull request #4261 from CraftSpider/windows-rtl-to-dosRalf Jung-1/+10
Implement RtlNtStatusToDosError and shim test for it
2025-04-10Implement RtlNtStatusToDosError and shim test for itRune Tynan-1/+10
2025-04-10Merge pull request #4209 from LorrensP-2158466/freebsd_futexRalf Jung-0/+260
Implement FreeBSD syscall _umtx_op for futex support
2025-04-10feature: implement WAIT & WAKE operations of FreeBSD _umtx_op syscall for ↵LorrensP-2158466-0/+260
Futex support
2025-04-08Implement trivial file operations - opening and closing handles. Just enough ↵Rune Tynan-0/+198
to get file metadata.
2025-04-04Solaris does not have flockRalf Jung-0/+1
2025-04-04fix windows_join_multipleRalf Jung-2/+8
2025-03-27run a few more concurrency tests on aarch64-linux-androidRalf Jung-3/+3
2025-02-26Resolve more FIXMEstiif-6/+2
2025-02-21Resolve some FIXME from socketpair testtiif-6/+2
2025-02-06allow code to call geteuid()Slava Barinov-0/+5
2025-02-02Merge pull request #4142 from joboet/apple-futexRalf Jung-0/+276
shim Apple's futex primitives
2025-02-02shim Apple's futex primitivesjoboet-0/+276
This is necessary to unblock rust-lang/rust#122408. The documentation for these is available [here](https://developer.apple.com/documentation/os/os_sync_wait_on_address?language=objc). Because the futex wait operations (`os_sync_wait_on_address` et al.) return the number of remaining waiters after returning, this required some changes to the common futex infrastructure, which I've changed to take a callback instead of precalculating the return values.
2025-02-01Test getrandom 0.3Eduardo Sánchez Muñoz-1/+3
2025-02-01fmtThe Miri Cronjob Bot-12/+12
2025-01-26make linux-futex test less flakyRalf Jung-3/+2
2025-01-13Illumos: Added epoll and eventfdYoh Deadfall-3/+8
2025-01-12turns out Solarish targets support our entire test suiteRalf Jung-2/+1
2025-01-11Supported fioclex for ioctl on macosgeetanshjuneja-0/+20
2025-01-10Switched FreeBSD to pthread_setname_npYoh Deadfall-30/+24
2024-12-18Merge pull request #4072 from tiif/blockopOli Scherer-0/+50
Implement blocking unnamed_socket
2024-12-19Implement blocking unnamed_sockettiif-0/+50
2024-12-12Improve timezone handling in 'localtime_r()' using 'allocate_bytes()'shamb0-16/+219
Signed-off-by: shamb0 <r.raajey@gmail.com>
2024-12-04fmtThe Miri Cronjob Bot-1/+5
2024-12-04Merge from rustcThe Miri Cronjob Bot-10/+7
2024-12-02Use c"lit" for CStrings without unwrapKornel-10/+7
2024-11-26Merge pull request #4059 from tiif/fixtestOli Scherer-7/+0
Simplify thread blocking tests