ovl.h

Go to the documentation of this file.
00001 #ifndef __OVL_H__
00002 #define __OVL_H__
00003 
00004 /*
00005  Copyright (c) 2006-2010 Trevor Williams
00006 
00007  This program is free software; you can redistribute it and/or modify
00008  it under the terms of the GNU General Public License as published by the Free Software
00009  Foundation; either version 2 of the License, or (at your option) any later version.
00010 
00011  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
00012  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00013  See the GNU General Public License for more details.
00014 
00015  You should have received a copy of the GNU General Public License along with this program;
00016  if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00017 */
00018 
00027 #include "defines.h"
00028 
00029 
00031 bool ovl_is_assertion_module( const func_unit* funit );
00032 
00034 bool ovl_is_coverage_point( const expression* exp );
00035 
00037 void ovl_add_assertions_to_no_score_list( bool rm_tasks );
00038 
00040 void ovl_get_funit_stats(
00041             const func_unit* funit,
00042   /*@out@*/ unsigned int*    hit,
00043   /*@out@*/ unsigned int*    excludes,
00044   /*@out@*/ unsigned int*    total
00045 );
00046 
00048 void ovl_display_verbose(
00049   FILE*            ofile,
00050   const func_unit* funit,
00051   rpt_type         rtype
00052 );
00053 
00055 void ovl_collect(
00056                  func_unit*    funit,
00057                  int           cov,
00058   /*@null out@*/ char***       inst_names,
00059   /*@out@*/      int**         excludes,
00060   /*@out@*/      unsigned int* inst_size
00061 );
00062 
00064 void ovl_get_coverage(
00065             const func_unit* funit,
00066             const char*      inst_name,
00067   /*@out@*/ char**           assert_mod,
00068   /*@out@*/ str_link**       cp_head,
00069   /*@out@*/ str_link**       cp_tail
00070 );
00071 
00072 #endif
00073 
Generated on Sun Nov 21 00:55:35 2010 for Covered by  doxygen 1.6.3