ThrowTheSwitch / CMock

CMock - Mock/stub generator for C
http://throwtheswitch.org
MIT License
671 stars 273 forks source link

Add plugin to validate address of ptr_args #448

Open jonhenneberg opened 1 year ago

jonhenneberg commented 1 year ago

I made this plugin for a local instance of CMock a while ago, and though I'd see if there was interest in adding in general. If there is interest in it, I'll add tests and documentation for it.

Adds functions to validate the address of ptr_args when not interested in the content of the ptr, but want to validate the address is as expected.