blob: deac4d595b31d15a6c8053fa5f9dfc3c8e6b163b [file] [log] [blame]
/*--------------------------------------------------------------------*/
/*--- An example skin. ex_main.c ---*/
/*--------------------------------------------------------------------*/
#include "vg_skin.h"
VG_DETERMINE_INTERFACE_VERSION
void SK_(pre_clo_init)()
{
VG_(details_name) ("Example");
VG_(details_version) ("0.0.1");
VG_(details_description) ("an example Valgrind skin");
VG_(details_copyright_author)(
"Copyright (C) 2002, and put in the public domain, by Santa Claus.");
VG_(details_bug_reports_to) ("santa.claus@northpole.org");
/* Adjust this to be closer to reality once you have your skin
working. */
VG_(details_avg_translation_sizeB) ( 100 );
/* No needs, no core events to track */
}
void SK_(post_clo_init)(void)
{
}
UCodeBlock* SK_(instrument)(UCodeBlock* cb, Addr a)
{
return cb;
}
void SK_(fini)(void)
{
}
/*--------------------------------------------------------------------*/
/*--- end ex_main.c ---*/
/*--------------------------------------------------------------------*/