If the tested function is less than 16 bytes and is not aligned.
A nearby function (the beginning of the next function is located with the following address) is tested.
Result:
In the backup will be copied replaced instruction and will be incorrectly restored.
Next native call of the function will cause "segmentation fault".
Fix: https://github.com/dascandy/hippomocks/pull/99 Solution: The restoring of functions must be done in back order.
Maybe the container "list" could be replaced to "stack".