aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_ext_test.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/ipc: move executor common_ext testDmitry Vyukov2024-05-081-63/+0
| | | | | | | | Move the test from executor to pkg/ipc to prevent import cycle in the next change. pkg/ipc looks like the most reasonable place for it (besides executor), it already builds executor binary. The test cannot be moved to pkg/csource b/c it will create csource<->ipc cycle.
* executor: make flatrpc build for C++Dmitry Vyukov2024-05-031-6/+1
|
* pkg/ipc: make it possible to change EnvFlags between executionsDmitry Vyukov2024-04-301-1/+1
| | | | | | | | | | | | | | | | Pass EnvFlags into Exec instead of New. This allows to change EnvFlags between executions. Change of EnvFlags forces executor process restart since it uses EnvFlags during setup. Currently this is intended to be NFC since we always pass the same EnvFlags. In future this will allow to (1) reduce part of the VM checking procedure to execution of programs with different options (e.g. we can probe for coverage/comparisons support, probe different sandboxes, etc); (2) use it during fuzzing/reproduction, e.g. we can check if the crash reproduces under setuid sandbox, or execute some fuzzing programs in significantly different modes.
* executor: skip executor tests on systems with BrokenCompilerGreg Steuck2024-04-051-0/+5
| | | | | OpenBSD in particular is not compatible with TestOS expectation of having a syscall function.
* executor: add setup_ext_test extension pointDmitry Vyukov2022-11-011-0/+29
| | | | | The extension point allows to setup the test process in a custom way without overwriting any of the existing files.
* executor: test extension pointsDmitry Vyukov2022-11-011-0/+34
Test that extension points keep stable interface and work.