Update bug status.
[valgrind.git] / memcheck / mc_replace_strmem.c
blob5f026a6a4a7b55b491e7d8963b0764a289b3c59a
2 /*--------------------------------------------------------------------*/
3 /*--- Replacements for strcpy(), memcpy() et al, which run on the ---*/
4 /*--- simulated CPU. ---*/
5 /*--- mc_replace_strmem.c ---*/
6 /*--------------------------------------------------------------------*/
8 /*
9 This file is part of MemCheck, a heavyweight Valgrind tool for
10 detecting memory errors.
12 Copyright (C) 2000-2017 Julian Seward
13 jseward@acm.org
15 This program is free software; you can redistribute it and/or
16 modify it under the terms of the GNU General Public License as
17 published by the Free Software Foundation; either version 2 of the
18 License, or (at your option) any later version.
20 This program is distributed in the hope that it will be useful, but
21 WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 General Public License for more details.
25 You should have received a copy of the GNU General Public License
26 along with this program; if not, see <http://www.gnu.org/licenses/>.
28 The GNU General Public License is contained in the file COPYING.
31 #include "pub_tool_basics.h"
32 #include "pub_tool_poolalloc.h"
33 #include "pub_tool_hashtable.h"
34 #include "pub_tool_redir.h"
35 #include "pub_tool_tooliface.h"
36 #include "pub_tool_clreq.h"
38 #include "mc_include.h"
39 #include "memcheck.h"
41 #define RECORD_OVERLAP_ERROR(s, src, dst, len) \
42 VALGRIND_DO_CLIENT_REQUEST_STMT( \
43 _VG_USERREQ__MEMCHECK_RECORD_OVERLAP_ERROR, \
44 s, src, dst, len, 0)
46 #include "../shared/vg_replace_strmem.c"