blob: 5f103bc821cf0e49d562be0d56b1f5374dcd9dcd [file] [log] [blame]
njn027c99c2002-09-27 10:29:51 +00001
2/*--------------------------------------------------------------------*/
nethercote137bc552003-11-14 17:47:54 +00003/*--- An example tool. ex_main.c ---*/
njn027c99c2002-09-27 10:29:51 +00004/*--------------------------------------------------------------------*/
5
6#include "vg_skin.h"
7
njn27f1a382002-11-08 15:48:16 +00008VG_DETERMINE_INTERFACE_VERSION
9
njn11c20f62002-11-22 16:10:55 +000010void SK_(pre_clo_init)()
njn027c99c2002-09-27 10:29:51 +000011{
njn810086f2002-11-14 12:42:47 +000012 VG_(details_name) ("Example");
13 VG_(details_version) ("0.0.1");
nethercote137bc552003-11-14 17:47:54 +000014 VG_(details_description) ("an example Valgrind tool");
njn810086f2002-11-14 12:42:47 +000015 VG_(details_copyright_author)(
njn0e1b5142003-04-15 14:58:06 +000016 "Copyright (C) 2002-2003, and put in the public domain, by Santa Claus.");
njn810086f2002-11-14 12:42:47 +000017 VG_(details_bug_reports_to) ("santa.claus@northpole.org");
njnd04b7c62002-10-03 14:05:52 +000018
19 /* No needs, no core events to track */
njn027c99c2002-09-27 10:29:51 +000020}
21
22void SK_(post_clo_init)(void)
23{
24}
25
26UCodeBlock* SK_(instrument)(UCodeBlock* cb, Addr a)
27{
28 return cb;
29}
30
njn7d9f94d2003-04-22 21:41:40 +000031void SK_(fini)(exitcode)
njn027c99c2002-09-27 10:29:51 +000032{
33}
34
35/*--------------------------------------------------------------------*/
36/*--- end ex_main.c ---*/
37/*--------------------------------------------------------------------*/