afonso360 commented on issue #5481:
A thought for the future: can we have a #[test] in function_generator.rs that tries to build a function containing one instruction for each entry in OPCODE_SIGNATURES? It'd be nice to know from CI that every insert_* function is callable with the given parameters, before spending a bunch of CPU time at OSS-Fuzz. Maybe also check that the result passes the validator, and maybe even that it compiles.
Sounds like a good idea, I'm going to give that a try!
Last updated: Nov 22 2024 at 16:03 UTC