status-im / nim-drchaos

A powerful and easy-to-use fuzzing framework in Nim for C/C++/Obj-C targets
Other
68 stars 3 forks source link

Add support for destructor-based container types #12

Closed planetis-m closed 2 years ago

planetis-m commented 2 years ago

Currently fails with:

drchaos/mutator.nim(276, 13) Error: type mismatch: got <ptr UncheckedArray[float32], Sampler[system.int], Rand, int>
but expected one of: ...
planetis-m commented 2 years ago

my bad mutator must be overloaded instead.

planetis-m commented 2 years ago

Compile errors in the mutate proc are hidden! Makes it difficult to diagnose the real issue.