Choosing a Formalism for Secure Coding: FSM vs. LTL