/* Check that nobody has spuriously claimed that the first or
last 16 pages of memory have become accessible [...] */
if (VG_(needs).sanity_checks) {
- VGP_PUSHCC(VgpSkinCheapSanity);
+ VGP_PUSHCC(VgpToolCheapSanity);
vg_assert(SK_(cheap_sanity_check)());
- VGP_POPCC(VgpSkinCheapSanity);
+ VGP_POPCC(VgpToolCheapSanity);
}
/* --- Now some more expensive checks. ---*/
VG_(sanity_check_tt_tc)();
if (VG_(needs).sanity_checks) {
- VGP_PUSHCC(VgpSkinExpensiveSanity);
+ VGP_PUSHCC(VgpToolExpensiveSanity);
vg_assert(SK_(expensive_sanity_check)());
- VGP_POPCC(VgpSkinExpensiveSanity);
+ VGP_POPCC(VgpToolExpensiveSanity);
}
/*
if ((sanity_fast_count % 500) == 0) VG_(mallocSanityCheckAll)();
/* Do any pre-syscall actions */
if (VG_(needs).syscall_wrapper) {
- VGP_PUSHCC(VgpSkinSysWrap);
+ VGP_PUSHCC(VgpToolSysWrap);
tst->sys_pre_res = SK_(pre_syscall)(tid, syscallno, mayBlock);
- VGP_POPCC(VgpSkinSysWrap);
+ VGP_POPCC(VgpToolSysWrap);
}
PRINT("SYSCALL[%d,%d](%3d)%s%s:",
pre's than post's)
*/
if (VG_(needs).syscall_wrapper) {
- VGP_PUSHCC(VgpSkinSysWrap);
+ VGP_PUSHCC(VgpToolSysWrap);
SK_(post_syscall)(tid, syscallno, pre_res, res, /*isBlocking*/True); // did block
- VGP_POPCC(VgpSkinSysWrap);
+ VGP_POPCC(VgpToolSysWrap);
}
}
VGP_POPCC(VgpImprove);
}
- /* Skin's instrumentation (Nb: must set VG_(print_codegen) in case
+ /* Tool's instrumentation (Nb: must set VG_(print_codegen) in case
SK_(instrument) looks at it. */
VG_(print_codegen) = DECIDE_IF_PRINTING_CODEGEN_FOR_PHASE(3);
VGP_PUSHCC(VgpInstrument);
VgpPrintHp,
VgpPrintXPts,
}
- VgpSkinCC;
+ VgpToolCC;
/*------------------------------------------------------------*/
/*--- Statistics ---*/