Stability, hyperbolicity, and zero localization of functions