technocreatives / dbc-codegen

Generate Rust structs for messages from a dbc (CAN bus definition) file.
Apache License 2.0
43 stars 23 forks source link

Add cargo fuzz setup #27

Closed marcelbuesing closed 3 years ago

marcelbuesing commented 3 years ago

I thought it might make sense to pick some long hanging fruit now that there is the Arbitrary implementation. I see some issues with floats I think it could be because the factor in the signal value is like a step width if I understand correctly.

killercup commented 3 years ago

Looks good but I'm not sure I get the error

killercup commented 3 years ago

No harm in merging this, we can fix the errors later