[RFC 05/19] ktf: Implementation of ktf support for overriding function entry and return.