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
(11) |
3
(3) |
4
(20) |
5
(16) |
6
(17) |
7
(16) |
8
(11) |
|
9
(3) |
10
(15) |
11
(16) |
12
(14) |
13
(17) |
14
(17) |
15
(18) |
|
16
(13) |
17
(17) |
18
(17) |
19
(19) |
20
(19) |
21
(14) |
22
(15) |
|
23
(66) |
24
(18) |
25
(27) |
26
(15) |
27
(12) |
28
(1) |
29
(14) |
|
30
(11) |
|
|
|
|
|
|
|
From: <sv...@va...> - 2014-11-09 21:57:30
|
Author: florian
Date: Sun Nov 9 21:57:23 2014
New Revision: 14707
Log:
Fix a bug spotted by IBM's BEAM checker in VG_(describe_IP).
In the non-XML part buf_dirname was read without observing the
know_dirinfo guard. Now fixed. Initialise buf_dirname nevertheless.
Also remove a dead assignment.
Modified:
trunk/coregrind/m_debuginfo/debuginfo.c
Modified: trunk/coregrind/m_debuginfo/debuginfo.c
==============================================================================
--- trunk/coregrind/m_debuginfo/debuginfo.c (original)
+++ trunk/coregrind/m_debuginfo/debuginfo.c Sun Nov 9 21:57:23 2014
@@ -2224,7 +2224,7 @@
const HChar *buf_srcloc;
const HChar *buf_dirname;
- Bool know_dirinfo = False;
+ Bool know_dirinfo;
Bool know_fnname;
Bool know_objname;
Bool know_srcloc;
@@ -2268,6 +2268,7 @@
vg_assert (cur_inl);
know_dirinfo = False;
+ buf_dirname = "";
// The fndn_ix and lineno for the caller of the inlined fn is in cur_inl.
if (cur_inl->fndn_ix == 0) {
buf_srcloc = "???";
@@ -2352,7 +2353,7 @@
APPEND(" (");
// Get the directory name, if any, possibly pruned, into dirname.
const HChar* dirname = NULL;
- if (VG_(sizeXA)(VG_(clo_fullpath_after)) > 0) {
+ if (know_dirinfo && VG_(sizeXA)(VG_(clo_fullpath_after)) > 0) {
Int i;
dirname = buf_dirname;
// Remove leading prefixes from the dirname.
|
|
From: <sv...@va...> - 2014-11-09 16:15:30
|
Author: florian
Date: Sun Nov 9 16:15:23 2014
New Revision: 14706
Log:
Change VG_(mkstemp) such that
(a) the 2nd argument must not be NULL
This was true anyhow and requiring it allows us to simplify the function
by eliminating the local buffer.
(b) the memory pointed to by the 2nd argument is always initialised
In the past the output file name was not initialised in case VG_(open)
failed 10 times in a row. The call sites in m_main.c and m_gdbserver/target.c
were reading the uninitialised filename unconditionally. This was spotted
by IBM's BEAM checker.
Fix call sites, eliminate some magic constants along the way.
Modified:
trunk/coregrind/m_debuginfo/readpdb.c
trunk/coregrind/m_gdbserver/target.c
trunk/coregrind/m_libcfile.c
trunk/coregrind/m_main.c
trunk/coregrind/pub_core_libcfile.h
Modified: trunk/coregrind/m_debuginfo/readpdb.c
==============================================================================
--- trunk/coregrind/m_debuginfo/readpdb.c (original)
+++ trunk/coregrind/m_debuginfo/readpdb.c Sun Nov 9 16:15:23 2014
@@ -2415,7 +2415,8 @@
/* This is a giant kludge, of the kind "you did WTF?!?", but it
works. */
Bool do_cleanup = False;
- HChar tmpname[VG_(mkstemp_fullname_bufsz)(50-1)], tmpnameroot[50];
+ HChar tmpnameroot[50]; // large enough
+ HChar tmpname[VG_(mkstemp_fullname_bufsz)(sizeof tmpnameroot - 1)];
Int fd, r;
HChar* res = NULL;
@@ -2429,7 +2430,7 @@
fd = VG_(mkstemp)( tmpnameroot, tmpname );
if (fd == -1) {
VG_(message)(Vg_UserMsg,
- "Find PDB file: Can't create /tmp file %s\n", tmpname);
+ "Find PDB file: Can't create temporary file %s\n", tmpname);
goto out;
}
do_cleanup = True;
Modified: trunk/coregrind/m_gdbserver/target.c
==============================================================================
--- trunk/coregrind/m_gdbserver/target.c (original)
+++ trunk/coregrind/m_gdbserver/target.c Sun Nov 9 16:15:23 2014
@@ -558,11 +558,14 @@
// lm_modid_offset is a magic offset, retrieved using an external program.
if (!getplatformoffset_called) {
+ getplatformoffset_called = True;
const HChar *platform = VG_PLATFORM;
const HChar *cmdformat = "%s/%s-%s -o %s";
const HChar *getoff = "getoff";
HChar outfile[VG_(mkstemp_fullname_bufsz) (VG_(strlen)(getoff))];
Int fd = VG_(mkstemp) (getoff, outfile);
+ if (fd == -1)
+ return False;
HChar cmd[ VG_(strlen)(cmdformat)
+ VG_(strlen)(VG_(libdir)) - 2
+ VG_(strlen)(getoff) - 2
@@ -617,7 +620,6 @@
ret = VG_(unlink)( outfile );
if (ret != 0)
VG_(umsg) ("error: could not unlink %s\n", outfile);
- getplatformoffset_called = True;
}
*result = lm_modid_offset;
Modified: trunk/coregrind/m_libcfile.c
==============================================================================
--- trunk/coregrind/m_libcfile.c (original)
+++ trunk/coregrind/m_libcfile.c Sun Nov 9 16:15:23 2014
@@ -760,13 +760,13 @@
Int VG_(mkstemp) ( const HChar* part_of_name, /*OUT*/HChar* fullname )
{
- HChar buf[VG_(mkstemp_fullname_bufsz)(VG_(strlen)(part_of_name))];
- Int n, tries, fd;
+ Int n, tries;
UInt seed;
SysRes sres;
const HChar *tmpdir;
vg_assert(part_of_name);
+ vg_assert(fullname);
n = VG_(strlen)(part_of_name);
vg_assert(n > 0 && n < 100);
@@ -779,23 +779,20 @@
while (True) {
if (tries++ > 10)
return -1;
- VG_(sprintf)( buf, mkstemp_format,
+ VG_(sprintf)( fullname, mkstemp_format,
tmpdir, part_of_name, VG_(random)( &seed ));
if (0)
- VG_(printf)("VG_(mkstemp): trying: %s\n", buf);
+ VG_(printf)("VG_(mkstemp): trying: %s\n", fullname);
- sres = VG_(open)(buf,
+ sres = VG_(open)(fullname,
VKI_O_CREAT|VKI_O_RDWR|VKI_O_EXCL|VKI_O_TRUNC,
VKI_S_IRUSR|VKI_S_IWUSR);
if (sr_isError(sres)) {
- VG_(umsg)("VG_(mkstemp): failed to create temp file: %s\n", buf);
+ VG_(umsg)("VG_(mkstemp): failed to create temp file: %s\n", fullname);
continue;
}
/* VG_(safe_fd) doesn't return if it fails. */
- fd = VG_(safe_fd)( sr_Res(sres) );
- if (fullname)
- VG_(strcpy)( fullname, buf );
- return fd;
+ return VG_(safe_fd)( sr_Res(sres) );
}
/* NOTREACHED */
}
Modified: trunk/coregrind/m_main.c
==============================================================================
--- trunk/coregrind/m_main.c (original)
+++ trunk/coregrind/m_main.c Sun Nov 9 16:15:23 2014
@@ -1893,7 +1893,8 @@
VG_(cl_auxv_fd) = -1;
#else
if (!need_help) {
- HChar buf[50], buf2[VG_(mkstemp_fullname_bufsz)(50-1)];
+ HChar buf[50]; // large enough
+ HChar buf2[VG_(mkstemp_fullname_bufsz)(sizeof buf - 1)];
HChar nul[1];
Int fd, r;
const HChar* exename;
Modified: trunk/coregrind/pub_core_libcfile.h
==============================================================================
--- trunk/coregrind/pub_core_libcfile.h (original)
+++ trunk/coregrind/pub_core_libcfile.h Sun Nov 9 16:15:23 2014
@@ -95,8 +95,8 @@
extern SizeT VG_(mkstemp_fullname_bufsz) ( SizeT part_of_name_len );
/* Create and open (-rw------) a tmp file name incorporating said arg.
- Returns -1 on failure, else the fd of the file. If fullname is
- non-NULL, the file's name is written into it. The number of bytes written
+ Returns -1 on failure, else the fd of the file. The file name is
+ written to the memory pointed to be fullname. The number of bytes written
is equal to VG_(mkstemp_fullname_bufsz)(VG_(strlen)(part_of_name)). */
extern Int VG_(mkstemp) ( const HChar* part_of_name, /*OUT*/HChar* fullname );
|
|
From: <sv...@va...> - 2014-11-09 14:00:00
|
Author: tom
Date: Sun Nov 9 13:59:51 2014
New Revision: 14705
Log:
Update system call lists.
Modified:
trunk/include/vki/vki-scnums-amd64-linux.h
trunk/include/vki/vki-scnums-arm-linux.h
trunk/include/vki/vki-scnums-arm64-linux.h
trunk/include/vki/vki-scnums-mips32-linux.h
trunk/include/vki/vki-scnums-mips64-linux.h
trunk/include/vki/vki-scnums-ppc32-linux.h
trunk/include/vki/vki-scnums-ppc64-linux.h
trunk/include/vki/vki-scnums-s390x-linux.h
trunk/include/vki/vki-scnums-x86-linux.h
Modified: trunk/include/vki/vki-scnums-amd64-linux.h
==============================================================================
--- trunk/include/vki/vki-scnums-amd64-linux.h (original)
+++ trunk/include/vki/vki-scnums-amd64-linux.h Sun Nov 9 13:59:51 2014
@@ -394,6 +394,15 @@
#define __NR_process_vm_readv 310
#define __NR_process_vm_writev 311
#define __NR_kcmp 312
+#define __NR_finit_module 313
+#define __NR_sched_setattr 314
+#define __NR_sched_getattr 315
+#define __NR_renameat2 316
+#define __NR_seccomp 317
+#define __NR_getrandom 318
+#define __NR_memfd_create 319
+#define __NR_kexec_file_load 320
+#define __NR_bpf 321
#endif /* __VKI_SCNUMS_AMD64_LINUX_H */
Modified: trunk/include/vki/vki-scnums-arm-linux.h
==============================================================================
--- trunk/include/vki/vki-scnums-arm-linux.h (original)
+++ trunk/include/vki/vki-scnums-arm-linux.h Sun Nov 9 13:59:51 2014
@@ -414,6 +414,14 @@
#define __NR_setns 375
#define __NR_process_vm_readv 376
#define __NR_process_vm_writev 377
+#define __NR_kcmp 378
+#define __NR_finit_module 379
+#define __NR_sched_setattr 380
+#define __NR_sched_getattr 381
+#define __NR_renameat2 382
+#define __NR_seccomp 383
+#define __NR_getrandom 384
+#define __NR_memfd_create 385
Modified: trunk/include/vki/vki-scnums-arm64-linux.h
==============================================================================
--- trunk/include/vki/vki-scnums-arm64-linux.h (original)
+++ trunk/include/vki/vki-scnums-arm64-linux.h Sun Nov 9 13:59:51 2014
@@ -307,6 +307,13 @@
#define __NR_process_vm_writev 271
#define __NR_kcmp 272
#define __NR_finit_module 273
+#define __NR_sched_setattr 274
+#define __NR_sched_getattr 275
+#define __NR_renameat2 276
+#define __NR_seccomp 277
+#define __NR_getrandom 278
+#define __NR_memfd_create 279
+#define __NR_bpf 280
#undef __NR_syscalls
#define __NR_syscalls 274
Modified: trunk/include/vki/vki-scnums-mips32-linux.h
==============================================================================
--- trunk/include/vki/vki-scnums-mips32-linux.h (original)
+++ trunk/include/vki/vki-scnums-mips32-linux.h Sun Nov 9 13:59:51 2014
@@ -382,6 +382,14 @@
#define __NR_syncfs (__NR_Linux + 342)
#define __NR_process_vm_readv (__NR_Linux + 345)
#define __NR_process_vm_writev (__NR_Linux + 346)
+#define __NR_kcmp (__NR_Linux + 347)
+#define __NR_finit_module (__NR_Linux + 348)
+#define __NR_sched_setattr (__NR_Linux + 349)
+#define __NR_sched_getattr (__NR_Linux + 350)
+#define __NR_renameat2 (__NR_Linux + 351)
+#define __NR_seccomp (__NR_Linux + 352)
+#define __NR_getrandom (__NR_Linux + 353)
+#define __NR_memfd_create (__NR_Linux + 354)
/*
* Offset of the last Linux o32 flavoured syscall
Modified: trunk/include/vki/vki-scnums-mips64-linux.h
==============================================================================
--- trunk/include/vki/vki-scnums-mips64-linux.h (original)
+++ trunk/include/vki/vki-scnums-mips64-linux.h Sun Nov 9 13:59:51 2014
@@ -348,6 +348,9 @@
#define __NR_sched_setattr (__NR_Linux + 309)
#define __NR_sched_getattr (__NR_Linux + 310)
#define __NR_renameat2 (__NR_Linux + 311)
+#define __NR_seccomp (__NR_Linux + 312)
+#define __NR_getrandom (__NR_Linux + 313)
+#define __NR_memfd_create (__NR_Linux + 314)
#endif /* __VKI_SCNUMS_MIPS64_LINUX_H */
Modified: trunk/include/vki/vki-scnums-ppc32-linux.h
==============================================================================
--- trunk/include/vki/vki-scnums-ppc32-linux.h (original)
+++ trunk/include/vki/vki-scnums-ppc32-linux.h Sun Nov 9 13:59:51 2014
@@ -395,6 +395,14 @@
#define __NR_setns 350
#define __NR_process_vm_readv 351
#define __NR_process_vm_writev 352
+#define __NR_finit_module 353
+#define __NR_kcmp 354
+#define __NR_sched_setattr 355
+#define __NR_sched_getattr 356
+#define __NR_renameat2 357
+#define __NR_seccomp 358
+#define __NR_getrandom 359
+#define __NR_memfd_create 360
#endif /* __VKI_SCNUMS_PPC32_LINUX_H */
Modified: trunk/include/vki/vki-scnums-ppc64-linux.h
==============================================================================
--- trunk/include/vki/vki-scnums-ppc64-linux.h (original)
+++ trunk/include/vki/vki-scnums-ppc64-linux.h Sun Nov 9 13:59:51 2014
@@ -387,6 +387,14 @@
#define __NR_setns 350
#define __NR_process_vm_readv 351
#define __NR_process_vm_writev 352
+#define __NR_finit_module 353
+#define __NR_kcmp 354
+#define __NR_sched_setattr 355
+#define __NR_sched_getattr 356
+#define __NR_renameat2 357
+#define __NR_seccomp 358
+#define __NR_getrandom 359
+#define __NR_memfd_create 360
#endif /* __VKI_SCNUMS_PPC64_LINUX_H */
Modified: trunk/include/vki/vki-scnums-s390x-linux.h
==============================================================================
--- trunk/include/vki/vki-scnums-s390x-linux.h (original)
+++ trunk/include/vki/vki-scnums-s390x-linux.h Sun Nov 9 13:59:51 2014
@@ -313,7 +313,10 @@
#define __NR_sched_setattr 345
#define __NR_sched_getattr 346
#define __NR_renameat2 347
-#define NR_syscalls 348
+#define __NR_seccomp 348
+#define __NR_getrandom 349
+#define __NR_memfd_create 350
+#define NR_syscalls 351
/*
* There are some system calls that are not present on 64 bit, some
Modified: trunk/include/vki/vki-scnums-x86-linux.h
==============================================================================
--- trunk/include/vki/vki-scnums-x86-linux.h (original)
+++ trunk/include/vki/vki-scnums-x86-linux.h Sun Nov 9 13:59:51 2014
@@ -384,6 +384,14 @@
#define __NR_process_vm_readv 347
#define __NR_process_vm_writev 348
#define __NR_kcmp 349
+#define __NR_finit_module 350
+#define __NR_sched_setattr 351
+#define __NR_sched_getattr 352
+#define __NR_renameat2 353
+#define __NR_seccomp 354
+#define __NR_getrandom 355
+#define __NR_memfd_create 356
+#define __NR_bpf 357
#endif /* __VKI_SCNUMS_X86_LINUX_H */
|