add pre/post-invoke around calls we need to guard for longjmps