mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
Support and test mincore() on Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10368
This commit is contained in:
parent
03e20d86b7
commit
7eb329d028
@ -7064,7 +7064,7 @@ const SyscallTableEntry ML_(syscall_table)[] = {
|
||||
GENX_(__NR_madvise, sys_madvise),
|
||||
_____(VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(76)), // old vhangup
|
||||
_____(VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(77)), // old vlimit
|
||||
// _____(__NR_mincore),
|
||||
GENXY(__NR_mincore, sys_mincore),
|
||||
GENXY(__NR_getgroups, sys_getgroups),
|
||||
// _____(__NR_setgroups), // 80
|
||||
GENX_(__NR_getpgrp, sys_getpgrp),
|
||||
|
||||
@ -160,7 +160,10 @@ int main(void)
|
||||
|
||||
GO_UNIMP(77, "old vlimit");
|
||||
|
||||
// __NR_mincore 78
|
||||
// __NR_mincore 218
|
||||
GO(__NR_mincore, 218, "3s 1m");
|
||||
SY(__NR_mincore, x0, x0+40960, x0); FAIL;
|
||||
|
||||
// __NR_getgroups 79
|
||||
// __NR_setgroups 80
|
||||
// __NR_getpgrp 81
|
||||
|
||||
@ -235,6 +235,22 @@ Syscall param chown(path) points to unaddressable byte(s)
|
||||
(77): old vlimit
|
||||
-----------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
x200004e(218): __NR_mincore 3s 1m
|
||||
-----------------------------------------------------
|
||||
|
||||
Syscall param mincore(start) contains uninitialised byte(s)
|
||||
...
|
||||
|
||||
Syscall param mincore(length) contains uninitialised byte(s)
|
||||
...
|
||||
|
||||
Syscall param mincore(vec) contains uninitialised byte(s)
|
||||
...
|
||||
|
||||
Syscall param mincore(vec) points to unaddressable byte(s)
|
||||
...
|
||||
Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
||||
-----------------------------------------------------
|
||||
(78): old wait
|
||||
-----------------------------------------------------
|
||||
-----------------------------------------------------
|
||||
@ -615,6 +631,9 @@ Syscall param stat_extended(buf) points to unaddressable byte(s)
|
||||
...
|
||||
Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
||||
|
||||
More than 100 errors detected. Subsequent errors
|
||||
will still be recorded, but in less detail than before.
|
||||
|
||||
Syscall param stat_extended(fsacl_size) points to unaddressable byte(s)
|
||||
...
|
||||
Address 0x........ is not stack'd, malloc'd or (recently) free'd
|
||||
@ -632,9 +651,6 @@ Syscall param lstat_extended(file_name) contains uninitialised byte(s)
|
||||
Syscall param lstat_extended(buf) contains uninitialised byte(s)
|
||||
...
|
||||
|
||||
More than 100 errors detected. Subsequent errors
|
||||
will still be recorded, but in less detail than before.
|
||||
|
||||
Syscall param lstat_extended(fsacl) contains uninitialised byte(s)
|
||||
...
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user