mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-09 05:10:23 +00:00
100 bytes (added VG_DEFAULT_TRANS_SIZEB). Took the now-unnecessary settings out of Nulgrind and CoreCheck. Also made .avg_translation_sizeB a UInt (from an Int), to avoid possibility of negatives. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1413
38 lines
1.0 KiB
C
38 lines
1.0 KiB
C
|
|
/*--------------------------------------------------------------------*/
|
|
/*--- 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");
|
|
|
|
/* 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 ---*/
|
|
/*--------------------------------------------------------------------*/
|