blob: 9ce82413ecf46c9f212c908a2e78120674612047 [file] [log] [blame]
njn25e49d8e72002-09-23 09:36:25 +00001
2/*--------------------------------------------------------------------*/
nethercote137bc552003-11-14 17:47:54 +00003/*--- CoreCheck: a tool reporting errors detected in core. ---*/
njnc9539842002-10-02 13:26:35 +00004/*--- cc_main.c ---*/
njn25e49d8e72002-09-23 09:36:25 +00005/*--------------------------------------------------------------------*/
6
7/*
nethercote137bc552003-11-14 17:47:54 +00008 This file is part of CoreCheck, a rudimentary Valgrind tool for
njnc9539842002-10-02 13:26:35 +00009 detecting certain basic program errors.
njn25e49d8e72002-09-23 09:36:25 +000010
nethercotebb1c9912004-01-04 16:43:23 +000011 Copyright (C) 2002-2004 Nicholas Nethercote
njn25e49d8e72002-09-23 09:36:25 +000012 njn25@cam.ac.uk
13
14 This program is free software; you can redistribute it and/or
15 modify it under the terms of the GNU General Public License as
16 published by the Free Software Foundation; either version 2 of the
17 License, or (at your option) any later version.
18
19 This program is distributed in the hope that it will be useful, but
20 WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 General Public License for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with this program; if not, write to the Free Software
26 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
27 02111-1307, USA.
28
29 The GNU General Public License is contained in the file COPYING.
30*/
31
32#include "vg_skin.h"
33
njn810086f2002-11-14 12:42:47 +000034void SK_(pre_clo_init)(void)
njn25e49d8e72002-09-23 09:36:25 +000035{
njn810086f2002-11-14 12:42:47 +000036 VG_(details_name) ("Coregrind");
37 VG_(details_version) (NULL);
38 VG_(details_description) ("a rudimentary error detector");
39 VG_(details_copyright_author)(
nethercotebb1c9912004-01-04 16:43:23 +000040 "Copyright (C) 2002-2004, and GNU GPL'd, by Nicholas Nethercote.");
nethercote421281e2003-11-20 16:20:55 +000041 VG_(details_bug_reports_to) (VG_BUGS_TO);
njn25e49d8e72002-09-23 09:36:25 +000042
njn810086f2002-11-14 12:42:47 +000043 VG_(needs_core_errors)();
njn25e49d8e72002-09-23 09:36:25 +000044
45 /* No core events to track */
46}
47
fitzhardinge98abfc72003-12-16 02:05:15 +000048VG_DETERMINE_INTERFACE_VERSION(SK_(pre_clo_init), 0)
49
njn25e49d8e72002-09-23 09:36:25 +000050void SK_(post_clo_init)(void)
51{
52}
53
54UCodeBlock* SK_(instrument)(UCodeBlock* cb, Addr a)
55{
56 return cb;
57}
58
njn7d9f94d2003-04-22 21:41:40 +000059void SK_(fini)(Int exitcode)
njn25e49d8e72002-09-23 09:36:25 +000060{
61}
62
63/*--------------------------------------------------------------------*/
njn25cac76cb2002-09-23 11:21:57 +000064/*--- end cc_main.c ---*/
njn25e49d8e72002-09-23 09:36:25 +000065/*--------------------------------------------------------------------*/