aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_usb_linux.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-05-16 18:42:27 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-05-17 08:46:55 +0000
commit85854296002462bd58e6e505eeb97f6e32c9d54c (patch)
tree6d2e9b860601347dd93b2c0c81821bdc71ac301b /executor/common_usb_linux.h
parent58cb0f51f67675dfee01d78c54c8bdd4ed1fbe90 (diff)
vm: call finish callback always
Always call the finish callback to make control flow consistent if VM crash/does not crash. Then users can rely on the callback being always called. Fix a bug highlighted by the extended test: currently we call extractError/callback twice when the fuzzer is preempted. If the fuzzer is preempted, extractError returns nil, which makes appendOutput return nil as well, which makes the main loop continue as if no crash/preemption happened. It will exit, but only after 5 min "no output" timeout. Most likley the output will still contain the preemption message, so no "no output" will be reported, but the additional 5 min wait is unnecessary.
Diffstat (limited to 'executor/common_usb_linux.h')
0 files changed, 0 insertions, 0 deletions