You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
(15) |
2
(17) |
3
(23) |
4
(13) |
5
(7) |
6
(8) |
7
(9) |
|
8
(8) |
9
(31) |
10
(31) |
11
(19) |
12
(11) |
13
(38) |
14
(14) |
|
15
(8) |
16
(11) |
17
(7) |
18
(17) |
19
(12) |
20
(12) |
21
(17) |
|
22
(19) |
23
(33) |
24
(42) |
25
(37) |
26
(23) |
27
(27) |
28
(27) |
|
29
(16) |
30
(52) |
31
(33) |
|
|
|
|
|
From: Nicholas N. <nj...@ca...> - 2004-08-18 23:12:21
|
CVS commit by nethercote:
Rename VGOFF_(tls) to VGOFF_(tls_ptr) to make it clear it's not the same as
ThreadState.tls.
M +1 -1 vg_include.h 1.233
M +1 -1 vg_ldt.c 1.16
M +2 -2 vg_main.c 1.194
M +8 -8 vg_scheduler.c 1.170
--- valgrind/coregrind/vg_include.h #1.232:1.233
@@ -1615,5 +1615,5 @@ extern Int VGOFF_(ldt);
/* This thread's TLS pointer. */
-extern Int VGOFF_(tls);
+extern Int VGOFF_(tls_ptr);
/* Nb: Most helper offsets are in include/vg_skin.h, for use by tools */
--- valgrind/coregrind/vg_ldt.c #1.15:1.16
@@ -201,5 +201,5 @@ Addr VG_(do_useseg) ( UInt seg_selector,
/* Come up with a suitable GDT entry. We look at the thread's TLS
array, which is pointed to by a VG_(baseBlock) entry. */
- the_tls = (VgLdtEntry*)VG_(baseBlock)[VGOFF_(tls)];
+ the_tls = (VgLdtEntry*)VG_(baseBlock)[VGOFF_(tls_ptr)];
base = (Addr)wine_ldt_get_base ( &the_tls[seg_selector-VKI_GDT_TLS_MIN] );
limit = (UInt)wine_ldt_get_limit ( &the_tls[seg_selector-VKI_GDT_TLS_MIN] );
--- valgrind/coregrind/vg_main.c #1.193:1.194
@@ -2104,5 +2104,5 @@ Int VGOFF_(m_dflag) = INVALID_OFFSET;
Int VGOFF_(m_ssestate) = INVALID_OFFSET;
Int VGOFF_(ldt) = INVALID_OFFSET;
-Int VGOFF_(tls) = INVALID_OFFSET;
+Int VGOFF_(tls_ptr) = INVALID_OFFSET;
Int VGOFF_(m_cs) = INVALID_OFFSET;
Int VGOFF_(m_ss) = INVALID_OFFSET;
@@ -2375,5 +2375,5 @@ static void init_baseBlock ( Addr client
/* TLS pointer: pretend the root thread has no TLS array for now. */
- VGOFF_(tls) = alloc_BaB_1_set((UInt)NULL);
+ VGOFF_(tls_ptr) = alloc_BaB_1_set((UInt)NULL);
/* segment registers */
--- valgrind/coregrind/vg_scheduler.c #1.169:1.170
@@ -297,5 +297,5 @@ static void load_thread_state ( ThreadId
VG_(baseBlock)[VGOFF_(ldt)] = (UInt)VG_(threads)[tid].ldt;
- VG_(baseBlock)[VGOFF_(tls)] = (UInt)VG_(threads)[tid].tls;
+ VG_(baseBlock)[VGOFF_(tls_ptr)] = (UInt)VG_(threads)[tid].tls;
VG_(baseBlock)[VGOFF_(m_cs)] = VG_(threads)[tid].m_cs;
VG_(baseBlock)[VGOFF_(m_ss)] = VG_(threads)[tid].m_ss;
@@ -384,11 +384,11 @@ static void save_thread_state ( ThreadId
VG_(threads)[tid].tls. This printf happens iff the following
assertion fails. */
- if ((void*)VG_(threads)[tid].tls != (void*)VG_(baseBlock)[VGOFF_(tls)])
- VG_(printf)("VG_(threads)[%d].tls=%p VG_(baseBlock)[VGOFF_(tls)]=%p\n",
+ if ((void*)VG_(threads)[tid].tls != (void*)VG_(baseBlock)[VGOFF_(tls_ptr)])
+ VG_(printf)("VG_(threads)[%d].tls=%p VG_(baseBlock)[VGOFF_(tls_ptr)]=%p\n",
tid, (void*)VG_(threads)[tid].tls,
- (void*)VG_(baseBlock)[VGOFF_(tls)]);
+ (void*)VG_(baseBlock)[VGOFF_(tls_ptr)]);
vg_assert((void*)VG_(threads)[tid].tls
- == (void*)VG_(baseBlock)[VGOFF_(tls)]);
+ == (void*)VG_(baseBlock)[VGOFF_(tls_ptr)]);
VG_(threads)[tid].m_cs = VG_(baseBlock)[VGOFF_(m_cs)];
@@ -441,5 +441,5 @@ static void save_thread_state ( ThreadId
/* Fill it up with junk. */
VG_(baseBlock)[VGOFF_(ldt)] = junk;
- VG_(baseBlock)[VGOFF_(tls)] = junk;
+ VG_(baseBlock)[VGOFF_(tls_ptr)] = junk;
VG_(baseBlock)[VGOFF_(m_cs)] = junk;
VG_(baseBlock)[VGOFF_(m_ss)] = junk;
@@ -587,5 +587,5 @@ void VG_(scheduler_init) ( void )
vg_tid_currently_in_baseBlock = tid_main;
vg_tid_last_in_baseBlock = tid_main;
- VG_(baseBlock)[VGOFF_(tls)] = (UInt)VG_(threads)[tid_main].tls;
+ VG_(baseBlock)[VGOFF_(tls_ptr)] = (UInt)VG_(threads)[tid_main].tls;
save_thread_state ( tid_main );
@@ -1923,5 +1923,5 @@ void do__apply_in_new_thread ( ThreadId
/* Initialise the thread's TLS array */
VG_(clear_TLS_for_thread)( VG_(threads)[tid].tls );
- VG_(baseBlock)[VGOFF_(tls)] = (UInt)VG_(threads)[tid].tls;
+ VG_(baseBlock)[VGOFF_(tls_ptr)] = (UInt)VG_(threads)[tid].tls;
save_thread_state(tid);
|
|
From: Nicholas N. <nj...@ca...> - 2004-08-18 22:26:12
|
CVS commit by nethercote:
Remove 3 identical and self-admittedly spurious assertions.
M +0 -6 addrcheck/ac_main.c 1.65
M +1 -5 helgrind/hg_main.c 1.81
M +0 -5 memcheck/mc_main.c 1.51
--- valgrind/addrcheck/ac_main.c #1.64:1.65
@@ -185,11 +185,5 @@ static AcSecMap* alloc_secondary_map ( _
/* Mark all bytes as invalid access and invalid value. */
-
- /* It just happens that a AcSecMap occupies exactly 18 pages --
- although this isn't important, so the following assert is
- spurious. */
- sk_assert(0 == (sizeof(AcSecMap) % VKI_BYTES_PER_PAGE));
map = (AcSecMap *)VG_(shadow_alloc)(sizeof(AcSecMap));
-
for (i = 0; i < 8192; i++)
map->abits[i] = VGM_BYTE_INVALID; /* Invalid address */
--- valgrind/helgrind/hg_main.c #1.80:1.81
@@ -493,10 +493,6 @@ ESecMap* alloc_secondary_map ( __attribu
//PROF_EVENT(10); PPP
- /* It just happens that a SecMap occupies exactly 18 pages --
- although this isn't important, so the following assert is
- spurious. (SSS: not true for ESecMaps -- they're 16 pages) */
- sk_assert(0 == (sizeof(ESecMap) % VKI_BYTES_PER_PAGE));
+ // Mark all words as virgin.
map = (ESecMap *)VG_(shadow_alloc)(sizeof(ESecMap));
-
for (i = 0; i < ESEC_MAP_WORDS; i++)
map->swords[i] = virgin_sword;
--- valgrind/memcheck/mc_main.c #1.50:1.51
@@ -150,9 +150,4 @@ static SecMap* alloc_secondary_map ( __a
/* Mark all bytes as invalid access and invalid value. */
-
- /* It just happens that a SecMap occupies exactly 18 pages --
- although this isn't important, so the following assert is
- spurious. */
- sk_assert(0 == (sizeof(SecMap) % VKI_BYTES_PER_PAGE));
map = (SecMap *)VG_(shadow_alloc)(sizeof(SecMap));
|
|
From: Jeremy F. <je...@go...> - 2004-08-18 17:19:17
|
On Wed, 2004-08-18 at 14:56 +0100, Nicholas Nethercote wrote:
> Hi,
>
> In PRE(mount), we don't do anything for the 5th argument ('data'). Should
> we do a pre_mem_read_asciiz? Or does it depend on the file type?
Yeah, it's totally filesystem dependent. Some (most) filesystems treat
it as a string, but some (smb, I think) pass a binary structure.
So the best we can do is ignore it - I don't think we can even
reasonably check that its a properly formed pointer, or completely
defined, since we don't know if its a) being used, or b) being cast to
an int type.
J
|
|
From: Tom H. <th...@cy...> - 2004-08-18 16:35:21
|
In message <Pin...@he...>
Nicholas Nethercote <nj...@ca...> wrote:
> On Wed, 18 Aug 2004, Tom Hughes wrote:
>
>> The trick you're missing is that VG_(threads)[tid].tls is effectively
>> a pointer to the three TLS descriptors - it is only that pointer which
>> is held in the base block, not the actual TLS descriptors themselves
>> as they are quite large.
>
> Right... then I think VGOFF_(tls) should be renamed VGOFF_(tls_ptr) or
> VGOFF_(tls_array_ptr) to make this clear. Anyone disagree?
Fine by me.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|
|
From: Nicholas N. <nj...@ca...> - 2004-08-18 16:32:27
|
On Wed, 18 Aug 2004, Tom Hughes wrote: > The trick you're missing is that VG_(threads)[tid].tls is effectively > a pointer to the three TLS descriptors - it is only that pointer which > is held in the base block, not the actual TLS descriptors themselves > as they are quite large. Right... then I think VGOFF_(tls) should be renamed VGOFF_(tls_ptr) or VGOFF_(tls_array_ptr) to make this clear. Anyone disagree? N |
|
From: Nicholas N. <nj...@ca...> - 2004-08-18 16:11:24
|
Hi,
I'm confused about ThreadState.tls. The field declaration in the
ThreadState type (vg_include.h) looks like:
/* TLS table. This consists of a small number (currently 3) of
entries from the Global Descriptor Table. */
VgLdtEntry tls[VKI_GDT_TLS_ENTRIES];
but in vg_scheduler.c everywhere .tls is treated like a single word,
rather than an array of multiple elements.
eg. in load_thread_state():
VG_(baseBlock)[VGOFF_(tls)] = (UInt)VG_(threads)[tid].tls;
Is this buggy, or am I missing something?
N
|
|
From: Nicholas N. <nj...@ca...> - 2004-08-18 14:42:10
|
CVS commit by nethercote:
Cleaned up the syscall wrappers a bit:
- corrected a few mistakes, eg. when printing them out, in prototypes
- made printing of "%p(%s)" args consistent
- removed 'sizeof_struct_user_fpxregs_struct' from PRE(ptrace)/POST(ptrace)
- allowing for the two different versions of open()
M +36 -54 vg_syscalls.c 1.126
--- valgrind/coregrind/vg_syscalls.c #1.125:1.126
@@ -1031,31 +1031,5 @@ PRE(ptrace)
{
/* long ptrace (enum __ptrace_request request, pid_t pid,
- void *addr, void *data); ... sort of. */
- /* Sigh ... the /usr/include/sys/user.h on R H 6.2 doesn't
- define struct user_fpxregs_struct. On the basis that it
- is defined as follows on my R H 7.2 (glibc-2.2.4) box,
- I kludge it.
-
- struct user_fpxregs_struct
- {
- unsigned short int cwd;
- unsigned short int swd;
- unsigned short int twd;
- unsigned short int fop;
- long int fip;
- long int fcs;
- long int foo;
- long int fos;
- long int mxcsr;
- long int reserved;
- long int st_space[32]; 8*16 bytes for each FP-reg = 128 bytes
- long int xmm_space[32]; 8*16 bytes for each XMM-reg = 128 bytes
- long int padding[56];
- };
- */
- const Int sizeof_struct_user_fpxregs_struct
- = sizeof(unsigned short) * (1 + 1 + 1 + 1)
- + sizeof(long int) * (1 + 1 + 1 + 1 + 1 + 1 + 32 + 32 + 56);
-
+ void *addr, void *data); */
MAYBE_PRINTF("ptrace ( %d, %d, %p, %p )\n", arg1,arg2,arg3,arg4);
switch (arg1) {
@@ -1070,5 +1044,5 @@ PRE(ptrace)
case 18: /* PTRACE_GETFPXREGS */
SYSCALL_TRACK( pre_mem_write, tid, "ptrace(getfpxregs)", arg4,
- sizeof_struct_user_fpxregs_struct);
+ sizeof(struct user_fxsr_struct) );
break;
case 1: case 2: case 3: /* PTRACE_PEEK{TEXT,DATA,USER} */
@@ -1086,5 +1060,5 @@ PRE(ptrace)
case 19: /* PTRACE_SETFPXREGS */
SYSCALL_TRACK( pre_mem_read, tid, "ptrace(setfpxregs)", arg4,
- sizeof_struct_user_fpxregs_struct);
+ sizeof(struct user_fxsr_struct) );
break;
default:
@@ -1095,8 +1069,4 @@ PRE(ptrace)
POST(ptrace)
{
- const Int sizeof_struct_user_fpxregs_struct
- = sizeof(unsigned short) * (1 + 1 + 1 + 1)
- + sizeof(long int) * (1 + 1 + 1 + 1 + 1 + 1 + 32 + 32 + 56);
-
switch (arg1) {
case 12: /* PTRACE_GETREGS */
@@ -1110,5 +1080,5 @@ POST(ptrace)
case 18: /* PTRACE_GETFPXREGS */
VG_TRACK( post_mem_write, arg4,
- sizeof_struct_user_fpxregs_struct);
+ sizeof(struct user_fxsr_struct) );
break;
case 1: case 2: case 3: /* PTRACE_PEEK{TEXT,DATA,USER} */
@@ -1122,5 +1092,8 @@ POST(ptrace)
PRE(mount)
{
- MAYBE_PRINTF( "mount( %p, %p, %p )\n" ,arg1,arg2,arg3);
+ // int mount(const char *source, const char *target,
+ // const char *filesystemtype, unsigned long mountflags,
+ // const void *data);
+ MAYBE_PRINTF( "mount( %p, %p, %p, %p, %p )\n" ,arg1,arg2,arg3);
SYSCALL_TRACK( pre_mem_read_asciiz, tid,"mount(specialfile)",arg1);
SYSCALL_TRACK( pre_mem_read_asciiz, tid,"mount(dir)",arg2);
@@ -1552,6 +1525,6 @@ PRE(mlockall)
PRE(munlockall)
{
- /* int munlock(const void * addr, size_t len) */
- MAYBE_PRINTF("munlock ( %p, %d )\n", arg1, arg2);
+ /* int munlockall(void) */
+ MAYBE_PRINTF("munlockall()\n");
}
@@ -1638,8 +1611,8 @@ POST(sendfile64)
PRE(pwrite64)
{
- /* ssize_t pwrite (int fd, const void *buf, size_t nbytes,
- off_t offset); */
- MAYBE_PRINTF("pwrite64 ( %d, %p, %d, %d )\n", arg1, arg2, arg3, arg4);
- SYSCALL_TRACK( pre_mem_read, tid, "pwrite(buf)", arg2, arg3 );
+ // ssize_t pwrite64(int fd, const void *buf, size_t nbytes, loff_t offset);
+ MAYBE_PRINTF("pwrite64 ( %d, %p, %d, %lld )\n",
+ arg1, arg2, arg3, arg4|((ULong) arg5 << 32));
+ SYSCALL_TRACK( pre_mem_read, tid, "pwrite64(buf)", arg2, arg3 );
}
@@ -1671,6 +1644,7 @@ PRE(getsid)
PRE(pread64)
{
- /* ssize_t pread64(int fd, void *buf, size_t count, off_t offset); */
- MAYBE_PRINTF("pread ( %d, %p, %d, %d ) ...\n",arg1,arg2,arg3,arg4);
+ /* ssize_t pread64(int fd, void *buf, size_t count, loff_t offset); */
+ MAYBE_PRINTF("pread ( %d, %p, %d, %lld )\n",
+ arg1, arg2, arg3, arg4|((ULong) arg5 << 32));
SYSCALL_TRACK( pre_mem_write, tid, "pread(buf)", arg2, arg3 );
}
@@ -1854,5 +1828,5 @@ PRE(execve)
/* If we got here, then the execve failed. We've already made too much of a mess
of ourselves to continue, so we have to abort. */
- VG_(message)(Vg_UserMsg, "execve(%p \"%s\", %p, %p) failed, errno %d",
+ VG_(message)(Vg_UserMsg, "execve(%p(%s), %p, %p) failed, errno %d",
arg1, arg1, arg2, arg3, -res);
VG_(core_panic)("EXEC FAILED: I can't recover from execve() failing, so I'm dying.\n"
@@ -2193,5 +2167,7 @@ POSTALIAS(getgroups32, getgroups);
PRE(getcwd)
{
- /* char *getcwd(char *buf, size_t size); (but see comment below) */
+ // Note that this prototype is the kernel one, with a different return
+ // type to the glibc one!
+ /* long getcwd(char *buf, size_t size); */
MAYBE_PRINTF("getcwd ( %p, %d )\n",arg1,arg2);
SYSCALL_TRACK( pre_mem_write, tid, "getcwd(buf)", arg1, arg2 );
@@ -4069,5 +4045,5 @@ PRE(lstat)
{
/* int lstat(const char *file_name, struct stat *buf); */
- MAYBE_PRINTF("lstat ( %p \"%s\", %p )\n",arg1,arg1,arg2);
+ MAYBE_PRINTF("lstat ( %p(%s), %p )\n",arg1,arg1,arg2);
SYSCALL_TRACK( pre_mem_read_asciiz, tid, "lstat(file_name)", arg1 );
SYSCALL_TRACK( pre_mem_write, tid, "lstat(buf)", arg2,
@@ -4085,5 +4061,5 @@ PRE(lstat64)
{
/* int lstat64(const char *file_name, struct stat64 *buf); */
- MAYBE_PRINTF("lstat64 ( %p \"%s\", %p )\n",arg1,arg1,arg2);
+ MAYBE_PRINTF("lstat64 ( %p(%s), %p )\n",arg1,arg1,arg2);
SYSCALL_TRACK( pre_mem_read_asciiz, tid, "lstat64(file_name)", arg1 );
SYSCALL_TRACK( pre_mem_write, tid, "lstat64(buf)", arg2,
@@ -4285,6 +4261,12 @@ PRE(_newselect)
PRE(open)
{
+ /* int open(const char *pathname, int flags, mode_t mode); */
+ if (arg2 & VKI_O_CREAT) {
+ /* int open(const char *pathname, int flags, mode_t mode); */
+ MAYBE_PRINTF("open ( %p(%s), %d, %d ) --> ",arg1,arg1,arg2,arg3);
+ } else {
/* int open(const char *pathname, int flags); */
MAYBE_PRINTF("open ( %p(%s), %d ) --> ",arg1,arg1,arg2);
+ }
SYSCALL_TRACK( pre_mem_read_asciiz, tid, "open(pathname)", arg1 );
}
@@ -5099,5 +5081,5 @@ POST(statfs)
PRE(statfs64)
{
- /* int statfs64(const char *path, struct statfs *buf); */
+ /* int statfs64(const char *path, struct statfs64 *buf); */
MAYBE_PRINTF("statfs64 ( %p, %p )\n",arg1,arg2);
SYSCALL_TRACK( pre_mem_read_asciiz, tid, "statfs64(path)", arg1 );
@@ -5192,6 +5174,6 @@ POST(times)
PRE(truncate)
{
- /* int truncate(const char *path, size_t length); */
- MAYBE_PRINTF("truncate ( %p \"%s\", %d )\n", arg1,arg1,arg2);
+ /* int truncate(const char *path, off_t length); */
+ MAYBE_PRINTF("truncate ( %p(%s), %d )\n", arg1,arg1,arg2);
SYSCALL_TRACK( pre_mem_read_asciiz, tid, "truncate(path)", arg1 );
}
@@ -5206,5 +5188,5 @@ PRE(unlink)
{
/* int unlink(const char *pathname) */
- MAYBE_PRINTF("unlink ( %p \"%s\" )\n",arg1, arg1);
+ MAYBE_PRINTF("unlink ( %p(%s) )\n",arg1, arg1);
SYSCALL_TRACK( pre_mem_read_asciiz, tid, "unlink(pathname)", arg1 );
}
@@ -5703,5 +5685,5 @@ PRE(mq_unlink)
{
/* int mq_unlink(const char *name) */
- MAYBE_PRINTF("mq_unlink ( %p \"%s\" )\n",arg1, arg1);
+ MAYBE_PRINTF("mq_unlink ( %p(%s) )\n",arg1, arg1);
SYSCALL_TRACK( pre_mem_read_asciiz, tid, "mq_unlink(name)", arg1 );
}
|
|
From: Nicholas N. <nj...@ca...> - 2004-08-18 14:15:09
|
On Wed, 18 Aug 2004, Tom Hughes wrote:
>> In PRE(mount), we don't do anything for the 5th argument ('data').
>> Should we do a pre_mem_read_asciiz? Or does it depend on the file
>> type?
>
> The manual page says:
>
> The data argument is interpreted by the different file systems. Typi-
> cally it is a string of comma-separated options understood by this file
> system. See mount(8) for details of the options available for each
> filesystem type.
Yes, I saw that, but I didn't find it (or mount(8)) very illuminating.
N
|
|
From: Nicholas N. <nj...@ca...> - 2004-08-18 13:57:02
|
Hi,
In PRE(mount), we don't do anything for the 5th argument ('data'). Should
we do a pre_mem_read_asciiz? Or does it depend on the file type?
N
|
|
From: Tom H. <th...@cy...> - 2004-08-18 08:11:41
|
CVS commit by thughes: Minor rejigging of includes to help compilation on Debian systems. M +1 -1 configure.in 1.116 M +2 -2 coregrind/vg_unsafe.h 1.33 --- valgrind/configure.in #1.115:1.116 @@ -332,5 +332,5 @@ # Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/socket.h sys/statfs.h sys/time.h sys/endian.h endian.h termios.h unistd.h utime.h linux/fb.h linux/mii.h mqueue.h]) +AC_CHECK_HEADERS([fcntl.h stdlib.h string.h sys/socket.h sys/statfs.h sys/time.h sys/endian.h endian.h termios.h unistd.h utime.h linux/fb.h linux/mii.h mqueue.h linux/compiler.h]) # Checks for typedefs, structures, and compiler characteristics. --- valgrind/coregrind/vg_unsafe.h #1.32:1.33 @@ -51,9 +51,9 @@ #include <net/if_arp.h> /* for struct arpreq */ #include <net/route.h> /* for struct rtentry */ -#ifdef KERNEL_2_6 +#ifdef HAVE_LINUX_COMPILER_H #include <linux/compiler.h> /* for __user definition */ #endif -#include <asm/ipc.h> /* for struct ipc_kludge */ #include <linux/msg.h> /* for struct msgbuf */ +#include <asm/ipc.h> /* for struct ipc_kludge */ #include <linux/sem.h> /* for struct sembuf */ |
|
From: Tom H. <th...@cy...> - 2004-08-18 03:14:30
|
Nightly build on standard ( Red Hat 7.2 ) started at 2004-08-18 03:00:02 BST Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow errs1: valgrind -q ./errs1 execve: valgrind -q ./execve execve2: valgrind -q --trace-children=yes ./execve2 exitprog: valgrind -q ./exitprog fpeflags: valgrind -q ./fpeflags fprw: valgrind -q ./fprw fwrite: valgrind -q ./fwrite inits: valgrind -q ./inits inline: valgrind -q ./inline insn_basic: valgrind -q ./../../none/tests/insn_basic insn_cmov: valgrind -q ./../../none/tests/insn_cmov insn_fpu: valgrind -q ./../../none/tests/insn_fpu insn_mmx: valgrind -q ./../../none/tests/insn_mmx insn_mmxext: valgrind -q ./../../none/tests/insn_mmxext insn_sse: valgrind -q ./../../none/tests/insn_sse malloc1: valgrind -q ./malloc1 malloc2: valgrind -q ./malloc2 malloc3: valgrind -q ./malloc3 Could not read `malloc3.stderr.exp' make: *** [regtest] Error 2 |
|
From: <js...@ac...> - 2004-08-18 02:56:10
|
Nightly build on phoenix ( SuSE 9.1 ) started at 2004-08-18 03:50:00 BST Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow sem: valgrind ./sem semlimit: valgrind ./semlimit sha1_test: valgrind ./sha1_test shortpush: valgrind ./shortpush shorts: valgrind ./shorts smc1: valgrind ./smc1 susphello: valgrind ./susphello syscall-restart1: valgrind ./syscall-restart1 syscall-restart2: valgrind ./syscall-restart2 system: valgrind ./system yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 173 tests, 4 stderr failures, 0 stdout failures ================= corecheck/tests/as_mmap (stderr) corecheck/tests/fdleak_fcntl (stderr) memcheck/tests/writev (stderr) memcheck/tests/zeropage (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <to...@co...> - 2004-08-18 02:39:56
|
Nightly build on dunsmere ( Fedora Core 2 ) started at 2004-08-18 03:20:02 BST Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow smc1: valgrind ./smc1 susphello: valgrind ./susphello syscall-restart1: valgrind ./syscall-restart1 syscall-restart2: valgrind ./syscall-restart2 system: valgrind ./system yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 178 tests, 8 stderr failures, 1 stdout failure ================= corecheck/tests/fdleak_cmsg (stderr) corecheck/tests/fdleak_fcntl (stderr) corecheck/tests/fdleak_ipv4 (stderr) corecheck/tests/fdleak_socketpair (stderr) memcheck/tests/buflen_check (stderr) memcheck/tests/execve (stderr) memcheck/tests/execve2 (stderr) memcheck/tests/writev (stderr) none/tests/exec-sigmask (stdout) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2004-08-18 02:19:35
|
Nightly build on audi ( Red Hat 9 ) started at 2004-08-18 03:15:01 BST Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow shorts: valgrind ./shorts smc1: valgrind ./smc1 susphello: valgrind ./susphello syscall-restart1: valgrind ./syscall-restart1 syscall-restart2: valgrind ./syscall-restart2 system: valgrind ./system yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 178 tests, 8 stderr failures, 0 stdout failures ================= corecheck/tests/fdleak_cmsg (stderr) corecheck/tests/fdleak_fcntl (stderr) corecheck/tests/fdleak_ipv4 (stderr) corecheck/tests/fdleak_socketpair (stderr) memcheck/tests/buflen_check (stderr) memcheck/tests/execve (stderr) memcheck/tests/execve2 (stderr) memcheck/tests/writev (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2004-08-18 02:13:18
|
Nightly build on ginetta ( Red Hat 8.0 ) started at 2004-08-18 03:10:02 BST Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow seg_override: valgrind ./seg_override sem: valgrind ./sem semlimit: valgrind ./semlimit sha1_test: valgrind ./sha1_test shortpush: valgrind ./shortpush shorts: valgrind ./shorts smc1: valgrind ./smc1 susphello: valgrind ./susphello syscall-restart1: valgrind ./syscall-restart1 syscall-restart2: valgrind ./syscall-restart2 system: valgrind ./system yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 178 tests, 3 stderr failures, 0 stdout failures ================= helgrind/tests/race (stderr) helgrind/tests/race2 (stderr) memcheck/tests/writev (stderr) make: *** [regtest] Error 1 |
|
From: Tom H. <th...@cy...> - 2004-08-18 02:08:16
|
Nightly build on alvis ( Red Hat 7.3 ) started at 2004-08-18 03:05:01 BST Checking out source tree ... done Configuring ... done Building ... done Running regression tests ... done Last 20 lines of log.verbose follow susphello: valgrind ./susphello syscall-restart1: valgrind ./syscall-restart1 syscall-restart2: valgrind ./syscall-restart2 system: valgrind ./system yield: valgrind ./yield -- Finished tests in none/tests ---------------------------------------- == 178 tests, 9 stderr failures, 1 stdout failure ================= addrcheck/tests/toobig-allocs (stderr) helgrind/tests/deadlock (stderr) helgrind/tests/race (stderr) helgrind/tests/race2 (stderr) memcheck/tests/badjump (stderr) memcheck/tests/brk (stderr) memcheck/tests/error_counts (stdout) memcheck/tests/new_nothrow (stderr) memcheck/tests/toobig-allocs (stderr) memcheck/tests/writev (stderr) make: *** [regtest] Error 1 |
|
From: Nicholas N. <nj...@ca...> - 2004-08-18 00:30:35
|
CVS commit by nethercote: Added ICPLD, 3Delight. M +11 -4 users.html 1.73 --- devel-home/valgrind/users.html #1.72:1.73 @@ -104,5 +104,5 @@ <dt><a href="http://atlas.web.cern.ch/Atlas/Welcome.html">Atlas</a> and <a href="http://cmsinfo.cern.ch/Welcome.html">CMS</a> experiments at - <a href="http://www.cern.ch">CERN</a>'s + <a href="http://www.cern.ch/">CERN</a>'s <a href="http://lhc-new-homepage.web.cern.ch/lhc-new-homepage/">Large Hadron Collider</a> @@ -146,5 +146,5 @@ <dd>A Beowulf grid simulator. -<dt><a href="http://zori.aspuru.com">Zori</a> +<dt><a href="http://zori.aspuru.com/">Zori</a> <dd>A GPL quantum Monte Carlo (QMC) program. </dl> @@ -181,4 +181,8 @@ <dd>A collection of utilities, libraries, and scripting interfaces for performing image processing. + +<dt><a href="http://www.3delight.com/">3Delight</a> +<dd>A fast RenderMan-compliant renderer. + </dl> @@ -340,6 +344,9 @@ <dd>X Window compression software. -<dt><a href="http://www.open1x.org">Xsupplicant</a> +<dt><a href="http://www.open1x.org/">Xsupplicant</a> <dd>An 802.1X client for Linux. + +<dt><a href="http://icpld.northernmost.org/">ICPLD</a> +<dd>A network connection performance monitor. </dl> @@ -399,5 +406,5 @@ <dd>A free instant messaging service. -<dt><a href="http://www.powerdns.com">PowerDNS</a> +<dt><a href="http://www.powerdns.com/">PowerDNS</a> <dd>A modern, advanced and high performance authoritative-only nameserver. |