#This script is designed to run with Understand - CodeCheck #Robert Gempeler - 7/19/2010 use base ("Understand::Codecheck"); use strict; use constant ERR1 => 'Use of "setjmp" macro or "longjmp" function.'; sub register_tr_text() { my $check = shift; $check->add_tr_text(ERR1); } sub name { return "17-0-5 The \"setjmp\" macro and the \"longjmp\" function shall not be used";} sub description { return "17-0-5 (Required) The \"setjmp\" macro and the \"longjmp\" function shall not be used.";} sub detailed_description { return <<"END_DESC"
Rationale
"setjmp" and "longjmp" allow the normal function call mechanisms to be bypassed, and shall not be used.