mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 10:21:20 +00:00
so that it is copied into the client space. This avoid warnings from memcheck because it doesn't think that code inside valgrind is valid. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3591
11 lines
398 B
C
11 lines
398 B
C
#include "core.h"
|
|
|
|
void VGP_(setup_redirects)(void)
|
|
{
|
|
/* Redirect vsyscalls to local versions */
|
|
VG_(add_redirect_addr_to_addr)(0xFFFFFFFFFF600000ULL,
|
|
VG_(client_trampoline_code)+VG_(tramp_gettimeofday_offset));
|
|
VG_(add_redirect_addr_to_addr)(0xFFFFFFFFFF600400ULL,
|
|
VG_(client_trampoline_code)+VG_(tramp_time_offset));
|
|
}
|