blob: 0f57ddcceff7a449c57da3c9f52b4bbda4cb5fcc [file] [log] [blame]
njn027c99c2002-09-27 10:29:51 +00001
2/*--------------------------------------------------------------------*/
3/*--- An example skin. ex_main.c ---*/
4/*--------------------------------------------------------------------*/
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");
14 VG_(details_description) ("an example Valgrind skin");
15 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
31void SK_(fini)(void)
32{
33}
34
35/*--------------------------------------------------------------------*/
36/*--- end ex_main.c ---*/
37/*--------------------------------------------------------------------*/