-
-
Notifications
You must be signed in to change notification settings - Fork 57
Description
To make replaying compliant with privacy in production: you could have a HTTP server by default run without tracing, but if you see a request with a special flag (indicating "this user is trying to help reproduce a bug, and fully consents to data recording as part of that)" come in, you enable recording from there, capturing all known state and also a trace from there until the request is done, where you stop recording, and output the file, to be sent off to a logging server
(will need to finish figuring out how to record certain areas / threads / time slices of programs)
When recording mode is letting a whitelisted FFI call go through, let's use a checksum to make sure that the incoming data is actually the same as when the recorded run happened.
(Thanks to 5225225 for these ideas!)