-- this could happen with buggy syscall wrappers. Today
(2001-04-26) had precisely such a problem with
__NR_setitimer. */
- vg_assert(VG_(first_and_last_secondaries_look_plausible));
+ vg_assert(VG_(first_and_last_secondaries_look_plausible)());
VGP_POPCC;
}
/* Check that nobody has spuriously claimed that the first or
last 16 pages of memory have become accessible [...] */
- vg_assert(VG_(first_and_last_secondaries_look_plausible));
+ vg_assert(VG_(first_and_last_secondaries_look_plausible)());
}
/* --- Now some more expensive checks. ---*/
-- this could happen with buggy syscall wrappers. Today
(2001-04-26) had precisely such a problem with
__NR_setitimer. */
- vg_assert(VG_(first_and_last_secondaries_look_plausible));
+ vg_assert(VG_(first_and_last_secondaries_look_plausible)());
VGP_POPCC;
}
/* Check that nobody has spuriously claimed that the first or
last 16 pages of memory have become accessible [...] */
- vg_assert(VG_(first_and_last_secondaries_look_plausible));
+ vg_assert(VG_(first_and_last_secondaries_look_plausible)());
}
/* --- Now some more expensive checks. ---*/
/* Since buggy syscall wrappers sometimes break this, we may as well
check ourselves. */
- if (! VG_(first_and_last_secondaries_look_plausible))
+ if (! VG_(first_and_last_secondaries_look_plausible)())
sane_before_call = False;
/* the syscall no is in %eax. For syscalls with <= 5 args,
/* { void zzzmemscan(void); zzzmemscan(); } */
- if (! VG_(first_and_last_secondaries_look_plausible))
+ if (! VG_(first_and_last_secondaries_look_plausible)())
sane_before_call = False;
if (sane_before_call && (!sane_after_call)) {
VGP_PUSHCC(VgpSyscall);
if (res != NULL
- && ! VG_(first_and_last_secondaries_look_plausible))
+ && ! VG_(first_and_last_secondaries_look_plausible)())
sane_before_post = False;
switch (syscallno) {
}
if (res != NULL) { /* only check after syscall */
- if (! VG_(first_and_last_secondaries_look_plausible))
+ if (! VG_(first_and_last_secondaries_look_plausible)())
sane_after_post = False;
if (sane_before_post && (!sane_after_post)) {