diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-04-18 09:09:32 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-04-30 09:36:03 +0000 |
| commit | b55e33926118ca417bb0ce0c76ceec7c220f65bc (patch) | |
| tree | 5741e99424e39b090bd3a4689929f74c3949078a /executor/executor_windows.h | |
| parent | f10afd6936523834f5b3297e9771b19a8f0edcb5 (diff) | |
pkg/ipc: make it possible to change EnvFlags between executions
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.
Diffstat (limited to 'executor/executor_windows.h')
0 files changed, 0 insertions, 0 deletions
