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
(3) |
2
|
3
(5) |
4
(9) |
5
(4) |
6
|
|
7
(1) |
8
(8) |
9
(8) |
10
(12) |
11
(12) |
12
(10) |
13
(4) |
|
14
(8) |
15
(9) |
16
(16) |
17
(12) |
18
(5) |
19
(5) |
20
(5) |
|
21
|
22
(13) |
23
(5) |
24
(13) |
25
(1) |
26
(3) |
27
(3) |
|
28
|
29
(1) |
30
(3) |
31
(9) |
|
|
|
|
From: <sv...@va...> - 2017-05-22 15:22:12
|
Author: petarj
Date: Mon May 22 16:22:06 2017
New Revision: 3382
Log:
mips: implement missing case for Iop_Not64
Add missing implementation of Iop_Not64 in iselInt64Expr_wrk.
Patch by Aleksandar Rikalo.
Modified:
trunk/priv/host_mips_isel.c
Modified: trunk/priv/host_mips_isel.c
==============================================================================
--- trunk/priv/host_mips_isel.c (original)
+++ trunk/priv/host_mips_isel.c Mon May 22 16:22:06 2017
@@ -2945,6 +2945,19 @@
return;
}
+ case Iop_Not64: {
+ HReg tLo = newVRegI(env);
+ HReg tHi = newVRegI(env);
+ iselInt64Expr(&tHi, &tLo, env, e->Iex.Unop.arg);
+ addInstr(env, MIPSInstr_Alu(Malu_NOR, tLo, tLo, MIPSRH_Reg(tLo)));
+ addInstr(env, MIPSInstr_Alu(Malu_NOR, tHi, tHi, MIPSRH_Reg(tHi)));
+
+ *rHi = tHi;
+ *rLo = tLo;
+
+ return;
+ }
+
default:
vex_printf("UNARY: No such op: ");
ppIROp(e->Iex.Unop.op);
|
|
From: <sv...@va...> - 2017-05-22 15:14:13
|
Author: petarj
Date: Mon May 22 16:14:06 2017
New Revision: 3381
Log:
mips: fix set_MIPS_rounding_mode()
Do not override input argument. This fixes issues seen with CSE.
Patch by Tamara Vlahovic.
Modified:
trunk/priv/host_mips_isel.c
Modified: trunk/priv/host_mips_isel.c
==============================================================================
--- trunk/priv/host_mips_isel.c (original)
+++ trunk/priv/host_mips_isel.c Mon May 22 16:14:06 2017
@@ -284,7 +284,7 @@
addInstr(env, MIPSInstr_Shft(Mshft_SLL, True, tmp, irrm,
MIPSRH_Imm(False, 1)));
addInstr(env, MIPSInstr_Alu(Malu_XOR, tmp, irrm, MIPSRH_Reg(tmp)));
- addInstr(env, MIPSInstr_Alu(Malu_AND, irrm, tmp, MIPSRH_Imm(False, 3)));
+ addInstr(env, MIPSInstr_Alu(Malu_AND, tmp, tmp, MIPSRH_Imm(False, 3)));
/* save old value of FCSR */
addInstr(env, MIPSInstr_MfFCSR(fcsr_old));
sub_from_sp(env, 8); /* Move SP down 8 bytes */
@@ -294,7 +294,7 @@
addInstr(env, MIPSInstr_Store(4, am_addr, fcsr_old, mode64));
/* set new value of FCSR */
- addInstr(env, MIPSInstr_MtFCSR(irrm));
+ addInstr(env, MIPSInstr_MtFCSR(tmp));
}
static void set_MIPS_rounding_default(ISelEnv * env)
|
|
From: Julian S. <js...@ac...> - 2017-05-22 13:04:48
|
On 22/05/17 14:53, Petar Jovanovic wrote: > I have got a few MIPS specific changes (in VEX/priv/host_mips_isel.c) that > should go in. I can commit it this afternoon - would that work? Yes, that's fine, or some time tomorrow is also OK. J |
|
From: Petar J. <mip...@gm...> - 2017-05-22 12:53:55
|
On Mon, May 22, 2017 at 11:26 AM, Julian Seward <js...@ac...> wrote:
> I plan to make branches for the 3.13 release ({VEX,VALGRIND}_3_13_BRANCH)
> in the afternoon (CET+1) of Weds 24 May -- that is, in just over 48 hours
> from now. If you have any changes which really need to go in 3.13, speak
> up now.
>
I have got a few MIPS specific changes (in VEX/priv/host_mips_isel.c) that
should go in. I can commit it this afternoon - would that work?
As of the release, when do you plan to do it? Android folks may be
interested to pull it into AOSP instead of cherrypicking some (mostly MIPS
specific) changes.
Petar
|
|
From: <sv...@va...> - 2017-05-22 12:21:26
|
Author: petarj
Date: Mon May 22 13:21:18 2017
New Revision: 3380
Log:
mips32: add Iex_ITE implementation for floating point numbers
Add missing case in Iex_ITE implementation for floating point numbers on
mips32.
Modified:
trunk/priv/host_mips_isel.c
Modified: trunk/priv/host_mips_isel.c
==============================================================================
--- trunk/priv/host_mips_isel.c (original)
+++ trunk/priv/host_mips_isel.c Mon May 22 13:21:18 2017
@@ -3385,18 +3385,17 @@
/* --------- ITE --------- */
if (e->tag == Iex_ITE) {
- if (ty == Ity_F64
- && typeOfIRExpr(env->type_env, e->Iex.ITE.cond) == Ity_I1) {
- vassert(mode64);
- HReg r0 = iselFltExpr(env, e->Iex.ITE.iffalse);
- HReg r1 = iselFltExpr(env, e->Iex.ITE.iftrue);
- HReg r_cond = iselWordExpr_R(env, e->Iex.ITE.cond);
- HReg r_dst = newVRegF(env);
- addInstr(env, MIPSInstr_FpUnary(Mfp_MOVD, r_dst, r0));
- addInstr(env, MIPSInstr_MoveCond(MFpMoveCond_movnd, r_dst, r1,
- r_cond));
- return r_dst;
- }
+ vassert(typeOfIRExpr(env->type_env, e->Iex.ITE.cond) == Ity_I1);
+ HReg r0 = iselFltExpr(env, e->Iex.ITE.iffalse);
+ HReg r1 = iselFltExpr(env, e->Iex.ITE.iftrue);
+ HReg r_cond = iselWordExpr_R(env, e->Iex.ITE.cond);
+ HReg r_dst = newVRegF(env);
+ addInstr(env, MIPSInstr_FpUnary((ty == Ity_F64) ? Mfp_MOVD : Mfp_MOVS,
+ r_dst, r0));
+ addInstr(env, MIPSInstr_MoveCond((ty == Ity_F64) ? MFpMoveCond_movnd :
+ MFpMoveCond_movns,
+ r_dst, r1, r_cond));
+ return r_dst;
}
vex_printf("iselFltExpr(mips): No such tag(0x%x)\n", e->tag);
|
|
From: Julian S. <js...@ac...> - 2017-05-22 09:27:07
|
Hi,
I plan to make branches for the 3.13 release ({VEX,VALGRIND}_3_13_BRANCH)
in the afternoon (CET+1) of Weds 24 May -- that is, in just over 48 hours
from now. If you have any changes which really need to go in 3.13, speak
up now. Otherwise, please hold off committing changes until after the
branch is made.
Apart from documentation fixes, the only thing I would like to land for 3.13
now is bug 379525 (Support more x86 nop opcodes), assuming a suitable patch
+ test case can be assembled in time.
J
|
|
From: <sv...@va...> - 2017-05-22 09:04:01
|
Author: sewardj
Date: Mon May 22 10:03:54 2017
New Revision: 3379
Log:
Allow "sub.w reg, sp, reg, lsl #N" for N in 0 .. 5 rather than N in 0 .. 3.
Fixes bug 379890. (jeu...@gm...)
Modified:
trunk/priv/guest_arm_toIR.c
Modified: trunk/priv/guest_arm_toIR.c
==============================================================================
--- trunk/priv/guest_arm_toIR.c (original)
+++ trunk/priv/guest_arm_toIR.c Mon May 22 10:03:54 2017
@@ -21153,10 +21153,10 @@
&& rD != 15 && rN == 13 && imm5 <= 31 && how == 0) {
valid = True;
}
- /* also allow "sub.w reg, sp, reg lsl #N for N=0,1,2 or 3
+ /* also allow "sub.w reg, sp, reg lsl #N for N=0 .. 5
(T1) "SUB (SP minus register) */
if (!valid && INSN0(8,5) == BITS4(1,1,0,1) // sub
- && rD != 15 && rN == 13 && imm5 <= 3 && how == 0) {
+ && rD != 15 && rN == 13 && imm5 <= 5 && how == 0) {
valid = True;
}
if (valid) {
|
|
From: <sv...@va...> - 2017-05-22 08:53:45
|
Author: sewardj
Date: Mon May 22 09:53:37 2017
New Revision: 16408
Log:
Enable reading of inlined unwind info for exp-dhat. n-i-bz.
Modified:
trunk/coregrind/m_main.c
Modified: trunk/coregrind/m_main.c
==============================================================================
--- trunk/coregrind/m_main.c (original)
+++ trunk/coregrind/m_main.c Mon May 22 09:53:37 2017
@@ -1407,7 +1407,8 @@
# if !defined(VGO_darwin)
if (0 == VG_(strcmp)(VG_(clo_toolname), "memcheck")
|| 0 == VG_(strcmp)(VG_(clo_toolname), "helgrind")
- || 0 == VG_(strcmp)(VG_(clo_toolname), "drd")) {
+ || 0 == VG_(strcmp)(VG_(clo_toolname), "drd")
+ || 0 == VG_(strcmp)(VG_(clo_toolname), "exp-dhat")) {
/* Change the default setting. Later on (just below)
main_process_cmd_line_options should pick up any
user-supplied setting for it and will override the default
|
|
From: <sv...@va...> - 2017-05-22 08:50:13
|
Author: sewardj
Date: Mon May 22 09:50:07 2017
New Revision: 16407
Log:
Make the message "brk segment overflow in thread #%u: can't grow to %#lx"
be printed only once, rather than every time it happens. Also make it
not be printed in silent mode (-q).
Modified:
trunk/coregrind/m_syswrap/syswrap-generic.c
Modified: trunk/coregrind/m_syswrap/syswrap-generic.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-generic.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-generic.c Mon May 22 09:50:07 2017
@@ -1322,16 +1322,29 @@
vg_assert(delta > 0);
vg_assert(VG_IS_PAGE_ALIGNED(delta));
- Bool overflow;
+ Bool overflow = False;
if (! VG_(am_extend_into_adjacent_reservation_client)( aseg->start, delta,
&overflow)) {
- if (overflow)
- VG_(umsg)("brk segment overflow in thread #%u: can't grow to %#lx\n",
- tid, newbrkP);
- else
- VG_(umsg)("Cannot map memory to grow brk segment in thread #%u "
- "to %#lx\n", tid, newbrkP);
- VG_(umsg)("(see section Limitations in user manual)\n");
+ if (overflow) {
+ static Bool alreadyComplained = False;
+ if (!alreadyComplained) {
+ alreadyComplained = True;
+ if (VG_(clo_verbosity) > 0) {
+ VG_(umsg)("brk segment overflow in thread #%u: "
+ "can't grow to %#lx\n",
+ tid, newbrkP);
+ VG_(umsg)("(see section Limitations in user manual)\n");
+ VG_(umsg)("NOTE: further instances of this message "
+ "will not be shown\n");
+ }
+ }
+ } else {
+ if (VG_(clo_verbosity) > 0) {
+ VG_(umsg)("Cannot map memory to grow brk segment in thread #%u "
+ "to %#lx\n", tid, newbrkP);
+ VG_(umsg)("(see section Limitations in user manual)\n");
+ }
+ }
goto bad;
}
|
|
From: <sv...@va...> - 2017-05-22 08:47:31
|
Author: sewardj
Date: Mon May 22 09:47:24 2017
New Revision: 16406
Log:
Increase the size of the translation cache to keep up with the demands
of running modern large applications:
* the maximum number of sectors is increased from 24 to 48
* the default number of sectors is increased from 16 to 32 on all targets
except Android
* the default number of sectors is increased from 6 to 12 on Android targets
Modified:
trunk/coregrind/pub_core_transtab.h
Modified: trunk/coregrind/pub_core_transtab.h
==============================================================================
--- trunk/coregrind/pub_core_transtab.h (original)
+++ trunk/coregrind/pub_core_transtab.h Mon May 22 09:47:24 2017
@@ -66,20 +66,20 @@
/* Limits for number of sectors the TC is divided into. If you need a larger
overall translation cache, increase MAX_N_SECTORS. */
#define MIN_N_SECTORS 2
-#define MAX_N_SECTORS 24
+#define MAX_N_SECTORS 48
/* Default for the nr of sectors, if not overridden by command line.
On Android, space is limited, so try to get by with fewer sectors.
- On other platforms we can go to town. 16 sectors gives theoretical
- capacity of about 440MB of JITted code in 1.05 million translations
+ On other platforms we can go to town. 32 sectors gives theoretical
+ capacity of about 880MB of JITted code in 2.1 million translations
(realistically, about 2/3 of that) for Memcheck. */
#if defined(VGPV_arm_linux_android) \
|| defined(VGPV_x86_linux_android) \
|| defined(VGPV_mips32_linux_android) \
|| defined(VGPV_arm64_linux_android)
-# define N_SECTORS_DEFAULT 6
+# define N_SECTORS_DEFAULT 12
#else
-# define N_SECTORS_DEFAULT 16
+# define N_SECTORS_DEFAULT 32
#endif
extern
@@ -116,6 +116,7 @@
extern void VG_(print_tt_tc_stats) ( void );
extern UInt VG_(get_bbs_translated) ( void );
+extern UInt VG_(get_bbs_discarded_or_dumped) ( void );
/* Add to / search the auxiliary, small, unredirected translation
table. */
|
|
From: <sv...@va...> - 2017-05-22 08:41:14
|
Author: sewardj
Date: Mon May 22 09:41:07 2017
New Revision: 16405
Log:
Fix order of strings in a warning message, that has always been wrong.
n-i-bz.
Modified:
trunk/coregrind/m_libcprint.c
Modified: trunk/coregrind/m_libcprint.c
==============================================================================
--- trunk/coregrind/m_libcprint.c (original)
+++ trunk/coregrind/m_libcprint.c Mon May 22 09:41:07 2017
@@ -378,8 +378,8 @@
VG_(umsg)("Failed to connect to %slogging server '%s'.\n"
"%s will be sent to stderr instead.\n",
(is_xml) ? "XML " : "",
- (is_xml) ? "XML output" : "Logging messages",
- clo_fname_unexpanded);
+ clo_fname_unexpanded,
+ (is_xml) ? "XML output" : "Logging messages");
/* We don't change anything here. */
vg_assert(sink->fd == 2);
vg_assert(sink->type == VgLogTo_Fd);
|
|
From: <sv...@va...> - 2017-05-22 08:30:05
|
Author: sewardj
Date: Mon May 22 09:29:58 2017
New Revision: 16404
Log:
Documents --sim-hints=fallback-llsc. Pertains to bug 369459.
Modified:
trunk/docs/xml/manual-core.xml
Modified: trunk/docs/xml/manual-core.xml
==============================================================================
--- trunk/docs/xml/manual-core.xml (original)
+++ trunk/docs/xml/manual-core.xml Mon May 22 09:29:58 2017
@@ -2127,6 +2127,39 @@
functionality with completely proprietary semantics may report
large number of false positives.</para>
</listitem>
+ <listitem>
+ <para><option>fallback-llsc: </option>(MIPS and ARM64 only): Enables
+ an alternative implementation of Load-Linked (LL) and
+ Store-Conditional (SC) instructions. The standard implementation
+ gives more correct behaviour, but can cause indefinite looping on
+ certain processor implementations that are intolerant of extra
+ memory references between LL and SC. So far this is known only to
+ happen on Cavium 3 cores.
+
+ You should not need to use this flag, since the relevant cores are
+ detected at startup and the alternative implementation is
+ automatically enabled if necessary. There is no equivalent
+ anti-flag: you cannot force-disable the alternative
+ implementation, if it is automatically enabled.
+
+ The underlying problem exists because the "standard"
+ implementation of LL and SC is done by copying through LL and SC
+ instructions into the instrumented code. However, tools may
+ insert extra instrumentation memory references in between the LL
+ and SC instructions. These memory references are not present in
+ the original uninstrumented code, and their presence in the
+ instrumented code can cause the SC instructions to persistently
+ fail, leading to indefinite looping in LL-SC blocks.
+
+ The alternative implementation gives correct behaviour of LL and
+ SC instructions between threads in a process, up to and including
+ the ABA scenario. It also gives correct behaviour between a
+ Valgrinded thread and a non-Valgrinded thread running in a
+ different process, that communicate via shared memory, but only up
+ to and including correct CAS behaviour -- in this case the ABA
+ scenario may not be correctly handled.
+ </para>
+ </listitem>
</itemizedlist>
</listitem>
</varlistentry>
|
|
From: <sv...@va...> - 2017-05-22 07:53:18
|
Author: sewardj
Date: Mon May 22 08:53:04 2017
New Revision: 16403
Log:
Bug 379966 - WARNING: unhandled amd64-linux syscall: 313 (finit_module).
Patch from Bartosz Golaszewski (bar...@gm...).
Modified:
trunk/coregrind/m_syswrap/priv_syswrap-linux.h
trunk/coregrind/m_syswrap/syswrap-amd64-linux.c
trunk/coregrind/m_syswrap/syswrap-linux.c
Modified: trunk/coregrind/m_syswrap/priv_syswrap-linux.h
==============================================================================
--- trunk/coregrind/m_syswrap/priv_syswrap-linux.h (original)
+++ trunk/coregrind/m_syswrap/priv_syswrap-linux.h Mon May 22 08:53:04 2017
@@ -273,6 +273,7 @@
// Linux specific (kernel modules)
DECL_TEMPLATE(linux, sys_init_module);
+DECL_TEMPLATE(linux, sys_finit_module);
DECL_TEMPLATE(linux, sys_delete_module);
// Linux-specific (oprofile-related)
Modified: trunk/coregrind/m_syswrap/syswrap-amd64-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-amd64-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-amd64-linux.c Mon May 22 08:53:04 2017
@@ -832,7 +832,7 @@
LINXY(__NR_process_vm_readv, sys_process_vm_readv), // 310
LINX_(__NR_process_vm_writev, sys_process_vm_writev),// 311
LINX_(__NR_kcmp, sys_kcmp), // 312
-// LIN__(__NR_finit_module, sys_ni_syscall), // 313
+ LINX_(__NR_finit_module, sys_finit_module), // 313
// LIN__(__NR_sched_setattr, sys_ni_syscall), // 314
// LIN__(__NR_sched_getattr, sys_ni_syscall), // 315
Modified: trunk/coregrind/m_syswrap/syswrap-linux.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-linux.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-linux.c Mon May 22 08:53:04 2017
@@ -5722,6 +5722,17 @@
PRE_MEM_RASCIIZ( "init_module(uargs)", ARG3 );
}
+PRE(sys_finit_module)
+{
+ *flags |= SfMayBlock;
+
+ PRINT("sys_finit_module ( %lx, %#lx(\"%s\"), %lx )",
+ ARG1, ARG2, (HChar*)ARG2, ARG3);
+ PRE_REG_READ3(long, "finit_module",
+ int, fd, const char *, params, int, flags);
+ PRE_MEM_RASCIIZ("finit_module(params)", ARG2);
+}
+
PRE(sys_delete_module)
{
*flags |= SfMayBlock;
|