Clone of cmock from http://git.cryptomilk.org/projects/cmocka.git/