DynamoRIO / DynamoRIO/dynamorio
FAILED: 282 - code_api|tool.drcachesim.scattergather (Failed) Required regular expression not found.
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
**Describe the bug**
The ```code_api|tool.drcachesim.scattergather``` test fails with the error ```Failed Required regular expression not found.```. On inspection, I noticed that the test output was missing this statement ```AVX2/AVX-512 scatter/gather checks ok```.
Test output
```
282: Test updating the AVX2 gather mask register upon translation events
282: Test restoring the AVX2 gather scratch xmm register upon a fault
282: ---- ----
```
Expected
```
Test updating the AVX2 gather mask register upon translation events
Test restoring the AVX2 gather scratch xmm register upon a fault
AVX2/AVX-512 scatter/gather checks ok
---- ----
```
**To Reproduce**
Run this on an x86-32 build
```ctest -V -R 'tool.drcachesim.scattergather'```
The test passes if the following lines are commented out in ```suite/tests/client-interface/drx-scattergather.c```
```
intercept_signal(SIGSEGV, (handler_3_t)&signal_handler_check_xmm3, false);
test_idx32_vec[1] = 0xefffffff;
if (SIGSETJMP(mark) == 0) {
test_avx2_restore_gather_scratch_xmm_fault(ref_idx32_val32_xmm_ymm_zmm,
test_idx32_vec, scratch_xmm_val);
print("ERROR: Expected a fault\n");
}
```
Please also answer these questions:
**Expected behavior**
Test should pass
**Screenshots or Pasted Text**
**Versions**
11bf678444ba309e9d1b97f31620d67790bed53d
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.