mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Minor refinements:
* h_main.c: handle a few more syscalls * exp-ptrcheck.supp: ignore errors in glibc's getenv -- is highly optimised * pc_common.c: fix small error in error message printing --> 3_4_BRANCH git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9061
This commit is contained in:
parent
98c1569aff
commit
a0bf8f8271
@ -42,3 +42,9 @@
|
||||
obj:/*lib*/ld-2.*so*
|
||||
obj:/*lib*/ld-2.*so*
|
||||
}
|
||||
|
||||
{
|
||||
I think this is glibc's ultra optimised getenv doing 2 byte reads
|
||||
exp-ptrcheck:SorG
|
||||
fun:getenv
|
||||
}
|
||||
|
||||
@ -2215,6 +2215,7 @@ static void setup_post_syscall_table ( void )
|
||||
ADD(0, __NR_fcntl64);
|
||||
# endif
|
||||
ADD(0, __NR_fdatasync);
|
||||
ADD(0, __NR_flock);
|
||||
ADD(0, __NR_fstat);
|
||||
# if defined(__NR_fstat64)
|
||||
ADD(0, __NR_fstat64);
|
||||
@ -2269,6 +2270,7 @@ static void setup_post_syscall_table ( void )
|
||||
ADD(0, __NR_inotify_init);
|
||||
ADD(0, __NR_inotify_rm_watch);
|
||||
ADD(0, __NR_ioctl); // ioctl -- assuming no pointers returned
|
||||
ADD(0, __NR_ioprio_get);
|
||||
ADD(0, __NR_kill);
|
||||
ADD(0, __NR_link);
|
||||
# if defined(__NR_listen)
|
||||
@ -2281,6 +2283,7 @@ static void setup_post_syscall_table ( void )
|
||||
# endif
|
||||
ADD(0, __NR_madvise);
|
||||
ADD(0, __NR_mkdir);
|
||||
ADD(0, __NR_mlock);
|
||||
ADD(0, __NR_mprotect);
|
||||
ADD(0, __NR_munmap); // die_mem_munmap already called, segment remove);
|
||||
ADD(0, __NR_nanosleep);
|
||||
@ -2312,6 +2315,15 @@ static void setup_post_syscall_table ( void )
|
||||
ADD(0, __NR_sched_setscheduler);
|
||||
ADD(0, __NR_sched_yield);
|
||||
ADD(0, __NR_select);
|
||||
# if defined(__NR_semctl)
|
||||
ADD(0, __NR_semctl);
|
||||
# endif
|
||||
# if defined(__NR_semget)
|
||||
ADD(0, __NR_semget);
|
||||
# endif
|
||||
# if defined(__NR_semop)
|
||||
ADD(0, __NR_semop);
|
||||
# endif
|
||||
# if defined(__NR_sendto)
|
||||
ADD(0, __NR_sendto);
|
||||
# endif
|
||||
|
||||
@ -397,7 +397,7 @@ void pc_pp_Error ( Error* err )
|
||||
VG_(pp_ExeContext)( VG_(get_error_where)(err) );
|
||||
|
||||
VG_(message)(Vg_UserMsg, " Address %#lx is %ld bytes inside a "
|
||||
"%ld-byte block alloc'd",
|
||||
"%ld-byte block free'd",
|
||||
lo, lo-Seg__addr(seglo),
|
||||
Seg__size(seglo) );
|
||||
VG_(pp_ExeContext)(Seg__where(seglo));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user