test: Add a fuzzing harness for heap allocator#931
test: Add a fuzzing harness for heap allocator#931nathaniel-brough wants to merge 3 commits intomicrosoft:devfrom
Conversation
Signed-off-by: Nathaniel Brough <nathaniel.brough@gmail.com>
|
@microsoft-github-policy-service agree |
|
This is very cool! Thanks Nathaniel (and apologies for the late reply). I would like to merge it in:
Best Daan |
|
@microsoft-github-policy-service agree |
No worries mate!
I don't seem to be able to get access to the build logs. But it looks like you've fixed it anyway.
There isn't yet no. This fuzzer should be able to generate its own though. You just have to give it a corpus directory. e.g. ./fuzz-random-alloc -max_len=10000 corpus We can manually add entries to the corpus, if you think it'd be worthwhile using a specific sequence of allocations. By manually adding to the corpus, you sort of give the fuzzer a hint as to what would be a "good" input. In terms of adding it to the regular test pipeline. I'd recommend two approaches. Both integrate well together but can be used independently as well.
I'm happy to go ahead and integrate either/both of those if you are interested? |
No description provided.