Closed jlevon closed 2 years ago
Thanos: I refactored to share the negotiate code. I think trying to go any further would actually complicate things more - I don't want to add too much more to tran API.
I do not like the fact that this code around VFU_TRANS_PIPE will be part of regular builds although used only for testing. Can we somehow extract it out and build only in case for AFL testing?
I don't want this to regress (not build) as we make changes though. I could add a build option, and only set it for "make pre-push" (or if explicitly given) ? Would that be better?
I don't want this to regress (not build) as we make changes though. I could add a build option, and only set it for "make pre-push" (or if explicitly given) ? Would that be better?
Yes that would be better to build only in case if explicitly asked or pre-push. Thanks
@swapnili @tmakatos ok now?
AFL expects to be able to start a process and write to it for fuzzing, so going through unix domain socket doesn't work (easily).
Yeah, at least negotiate has a ton of duplication, let me take a look at fixing this.