njn | 027c99c | 2002-09-27 10:29:51 +0000 | [diff] [blame] | 1 | |
| 2 | /*--------------------------------------------------------------------*/ |
| 3 | /*--- An example skin. ex_main.c ---*/ |
| 4 | /*--------------------------------------------------------------------*/ |
| 5 | |
| 6 | #include "vg_skin.h" |
| 7 | |
njn | 27f1a38 | 2002-11-08 15:48:16 +0000 | [diff] [blame] | 8 | VG_DETERMINE_INTERFACE_VERSION |
| 9 | |
njn | 11c20f6 | 2002-11-22 16:10:55 +0000 | [diff] [blame] | 10 | void SK_(pre_clo_init)() |
njn | 027c99c | 2002-09-27 10:29:51 +0000 | [diff] [blame] | 11 | { |
njn | 810086f | 2002-11-14 12:42:47 +0000 | [diff] [blame] | 12 | VG_(details_name) ("Example"); |
| 13 | VG_(details_version) ("0.0.1"); |
| 14 | VG_(details_description) ("an example Valgrind skin"); |
| 15 | VG_(details_copyright_author)( |
njn | 0e1b514 | 2003-04-15 14:58:06 +0000 | [diff] [blame^] | 16 | "Copyright (C) 2002-2003, and put in the public domain, by Santa Claus."); |
njn | 810086f | 2002-11-14 12:42:47 +0000 | [diff] [blame] | 17 | VG_(details_bug_reports_to) ("santa.claus@northpole.org"); |
njn | d04b7c6 | 2002-10-03 14:05:52 +0000 | [diff] [blame] | 18 | |
| 19 | /* No needs, no core events to track */ |
njn | 027c99c | 2002-09-27 10:29:51 +0000 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | void SK_(post_clo_init)(void) |
| 23 | { |
| 24 | } |
| 25 | |
| 26 | UCodeBlock* SK_(instrument)(UCodeBlock* cb, Addr a) |
| 27 | { |
| 28 | return cb; |
| 29 | } |
| 30 | |
| 31 | void SK_(fini)(void) |
| 32 | { |
| 33 | } |
| 34 | |
| 35 | /*--------------------------------------------------------------------*/ |
| 36 | /*--- end ex_main.c ---*/ |
| 37 | /*--------------------------------------------------------------------*/ |