Hi all, I am Yannik, an independent developer in Germany. I ran a small study on the public upstream MAVLink C library (c_library_v2, commit 56f6435e). ArduPilot builds its MAVLink code from its own fork (ArduPilot/mavlink), so the exact code differs, and I make no claim about ArduPilot itself. I post this because the parser helpers have the same origin, and I would like to learn how you test this part.
What I did: I planted 40 small controlled changes (mutations) into the parser and checked whether my own test programs noticed them. They noticed 22 and missed 18. Of the 18 that survived, 15 produce a visible difference when probed directly, and 3 produced no difference in my attempts, so I treat them as equivalence candidates, not as proven equivalent.
I wrote this up with a one page report and a per mutation table (mutation, triggering input, first observable divergence, observation point needed, whether the existing tests caught it). The report is hash chained so you can check that nothing was edited afterwards. The same study is being discussed on the PX4 forum: How do you check that your tests notice changes in MAVLink input handling? - Spotlight - Dronecode Forum | Open Source Drone Development
My question for ArduPilot developers: how do you check that your tests notice changes in MAVLink input handling (parsing, signing, message length checks)? Do you use mutation testing, fuzzing, or something else, and where do you see the gaps?
Limits of the study: it covers one upstream version and my own test programs, not the ArduPilot test suite, and one result (22 of 40) is not yet stable between runs.