mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-05 11:10:21 +00:00
the places that normal users will see:
- command line: --tool=foo (although --skin=foo still works)
- docs: removed all traces (included renaming coregrind_skins.html to
coregrind_tools.html)
- in the usage messages
- in error messages
Also did in in some places that I judged were unlikely to cause clashes with
existing workspaces:
- in the header comments of many files (eg. "This file is part of Memcheck, a
Valgrind tool for...")
- in the regtests script
- in the .supp files
- in AUTHORS
- in README_MISSING_SYSCALL_OR_IOCTL
Also update the AUTHORS file to mention Jeremy.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2027
38 lines
1.0 KiB
C
38 lines
1.0 KiB
C
|
|
/*--------------------------------------------------------------------*/
|
|
/*--- An example tool. 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 tool");
|
|
VG_(details_copyright_author)(
|
|
"Copyright (C) 2002-2003, 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)(exitcode)
|
|
{
|
|
}
|
|
|
|
/*--------------------------------------------------------------------*/
|
|
/*--- end ex_main.c ---*/
|
|
/*--------------------------------------------------------------------*/
|