View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Macros | Enumerations | Functions
valgrind.h File Reference
#include <stdarg.h>
Include dependency graph for valgrind.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __VALGRIND_MAJOR__   3
 
#define __VALGRIND_MINOR__   8
 
#define NVALGRIND   1
 
#define VALGRIND_DO_CLIENT_REQUEST(_zzq_rlval, _zzq_default, _zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
 
#define VALGRIND_DO_CLIENT_REQUEST_STMT(_zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
 
#define VALGRIND_DO_CLIENT_REQUEST_EXPR(_zzq_default, _zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)    (_zzq_default)
 
#define VG_CONCAT4(_aa, _bb, _cc, _dd)   _aa##_bb##_cc##_dd
 
#define I_WRAP_SONAME_FNNAME_ZU(soname, fnname)   VG_CONCAT4(_vgw00000ZU_, soname, _, fnname)
 
#define I_WRAP_SONAME_FNNAME_ZZ(soname, fnname)   VG_CONCAT4(_vgw00000ZZ_, soname, _, fnname)
 
#define VALGRIND_GET_ORIG_FN(_lval)   VALGRIND_GET_NR_CONTEXT(_lval)
 
#define I_REPLACE_SONAME_FNNAME_ZU(soname, fnname)   VG_CONCAT4(_vgr00000ZU_, soname, _, fnname)
 
#define I_REPLACE_SONAME_FNNAME_ZZ(soname, fnname)   VG_CONCAT4(_vgr00000ZZ_, soname, _, fnname)
 
#define CALL_FN_v_v(fnptr)
 
#define CALL_FN_v_W(fnptr, arg1)
 
#define CALL_FN_v_WW(fnptr, arg1, arg2)
 
#define CALL_FN_v_WWW(fnptr, arg1, arg2, arg3)
 
#define CALL_FN_v_WWWW(fnptr, arg1, arg2, arg3, arg4)
 
#define CALL_FN_v_5W(fnptr, arg1, arg2, arg3, arg4, arg5)
 
#define CALL_FN_v_6W(fnptr, arg1, arg2, arg3, arg4, arg5, arg6)
 
#define CALL_FN_v_7W(fnptr, arg1, arg2, arg3, arg4, arg5, arg6, arg7)
 
#define VG_USERREQ_TOOL_BASE(a, b)   ((unsigned int)(((a)&0xff) << 24 | ((b)&0xff) << 16))
 
#define VG_IS_TOOL_USERREQ(a, b, v)   (VG_USERREQ_TOOL_BASE(a, b) == ((v)&0xffff0000))
 
#define __extension__   /* */
 
#define RUNNING_ON_VALGRIND    (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* if not */, VG_USERREQ__RUNNING_ON_VALGRIND, 0, 0, 0, 0, 0)
 
#define VALGRIND_DISCARD_TRANSLATIONS(_qzz_addr, _qzz_len)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__DISCARD_TRANSLATIONS, _qzz_addr, _qzz_len, 0, 0, 0)
 
#define VALGRIND_NON_SIMD_CALL0(_qyy_fn)    VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, VG_USERREQ__CLIENT_CALL0, _qyy_fn, 0, 0, 0, 0)
 
#define VALGRIND_NON_SIMD_CALL1(_qyy_fn, _qyy_arg1)    VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, VG_USERREQ__CLIENT_CALL1, _qyy_fn, _qyy_arg1, 0, 0, 0)
 
#define VALGRIND_NON_SIMD_CALL2(_qyy_fn, _qyy_arg1, _qyy_arg2)
 
#define VALGRIND_NON_SIMD_CALL3(_qyy_fn, _qyy_arg1, _qyy_arg2, _qyy_arg3)
 
#define VALGRIND_COUNT_ERRORS    (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, VG_USERREQ__COUNT_ERRORS, 0, 0, 0, 0, 0)
 
#define VALGRIND_MALLOCLIKE_BLOCK(addr, sizeB, rzB, is_zeroed)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MALLOCLIKE_BLOCK, addr, sizeB, rzB, is_zeroed, 0)
 
#define VALGRIND_RESIZEINPLACE_BLOCK(addr, oldSizeB, newSizeB, rzB)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__RESIZEINPLACE_BLOCK, addr, oldSizeB, newSizeB, rzB, 0)
 
#define VALGRIND_FREELIKE_BLOCK(addr, rzB)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__FREELIKE_BLOCK, addr, rzB, 0, 0, 0)
 
#define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__CREATE_MEMPOOL, pool, rzB, is_zeroed, 0, 0)
 
#define VALGRIND_DESTROY_MEMPOOL(pool)   VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__DESTROY_MEMPOOL, pool, 0, 0, 0, 0)
 
#define VALGRIND_MEMPOOL_ALLOC(pool, addr, size)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MEMPOOL_ALLOC, pool, addr, size, 0, 0)
 
#define VALGRIND_MEMPOOL_FREE(pool, addr)   VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MEMPOOL_FREE, pool, addr, 0, 0, 0)
 
#define VALGRIND_MEMPOOL_TRIM(pool, addr, size)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MEMPOOL_TRIM, pool, addr, size, 0, 0)
 
#define VALGRIND_MOVE_MEMPOOL(poolA, poolB)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MOVE_MEMPOOL, poolA, poolB, 0, 0, 0)
 
#define VALGRIND_MEMPOOL_CHANGE(pool, addrA, addrB, size)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MEMPOOL_CHANGE, pool, addrA, addrB, size, 0)
 
#define VALGRIND_MEMPOOL_EXISTS(pool)    (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0, VG_USERREQ__MEMPOOL_EXISTS, pool, 0, 0, 0, 0)
 
#define VALGRIND_STACK_REGISTER(start, end)    (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0, VG_USERREQ__STACK_REGISTER, start, end, 0, 0, 0)
 
#define VALGRIND_STACK_DEREGISTER(id)   VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__STACK_DEREGISTER, id, 0, 0, 0, 0)
 
#define VALGRIND_STACK_CHANGE(id, start, end)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__STACK_CHANGE, id, start, end, 0, 0)
 
#define VALGRIND_LOAD_PDB_DEBUGINFO(fd, ptr, total_size, delta)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__LOAD_PDB_DEBUGINFO, fd, ptr, total_size, delta, 0)
 
#define VALGRIND_MAP_IP_TO_SRCLOC(addr, buf64)    (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0, VG_USERREQ__MAP_IP_TO_SRCLOC, addr, buf64, 0, 0, 0)
 
#define VALGRIND_DISABLE_ERROR_REPORTING    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__CHANGE_ERR_DISABLEMENT, 1, 0, 0, 0, 0)
 
#define VALGRIND_ENABLE_ERROR_REPORTING    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__CHANGE_ERR_DISABLEMENT, -1, 0, 0, 0, 0)
 

Enumerations

enum  Vg_ClientRequest {
  VG_USERREQ__RUNNING_ON_VALGRIND = 0x1001 , VG_USERREQ__DISCARD_TRANSLATIONS = 0x1002 , VG_USERREQ__CLIENT_CALL0 = 0x1101 , VG_USERREQ__CLIENT_CALL1 = 0x1102 ,
  VG_USERREQ__CLIENT_CALL2 = 0x1103 , VG_USERREQ__CLIENT_CALL3 = 0x1104 , VG_USERREQ__COUNT_ERRORS = 0x1201 , VG_USERREQ__GDB_MONITOR_COMMAND = 0x1202 ,
  VG_USERREQ__MALLOCLIKE_BLOCK = 0x1301 , VG_USERREQ__RESIZEINPLACE_BLOCK = 0x130b , VG_USERREQ__FREELIKE_BLOCK = 0x1302 , VG_USERREQ__CREATE_MEMPOOL = 0x1303 ,
  VG_USERREQ__DESTROY_MEMPOOL = 0x1304 , VG_USERREQ__MEMPOOL_ALLOC = 0x1305 , VG_USERREQ__MEMPOOL_FREE = 0x1306 , VG_USERREQ__MEMPOOL_TRIM = 0x1307 ,
  VG_USERREQ__MOVE_MEMPOOL = 0x1308 , VG_USERREQ__MEMPOOL_CHANGE = 0x1309 , VG_USERREQ__MEMPOOL_EXISTS = 0x130a , VG_USERREQ__PRINTF = 0x1401 ,
  VG_USERREQ__PRINTF_BACKTRACE = 0x1402 , VG_USERREQ__PRINTF_VALIST_BY_REF = 0x1403 , VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF = 0x1404 , VG_USERREQ__STACK_REGISTER = 0x1501 ,
  VG_USERREQ__STACK_DEREGISTER = 0x1502 , VG_USERREQ__STACK_CHANGE = 0x1503 , VG_USERREQ__LOAD_PDB_DEBUGINFO = 0x1601 , VG_USERREQ__MAP_IP_TO_SRCLOC = 0x1701 ,
  VG_USERREQ__CHANGE_ERR_DISABLEMENT = 0x1801 , VG_USERREQ__VEX_INIT_FOR_IRI = 0x1901
}
 

Functions

static int VALGRIND_PRINTF (const char *format,...)
 
static int VALGRIND_PRINTF_BACKTRACE (const char *format,...)
 

Macro Definition Documentation

◆ __extension__

#define __extension__   /* */

◆ __VALGRIND_MAJOR__

#define __VALGRIND_MAJOR__   3

◆ __VALGRIND_MINOR__

#define __VALGRIND_MINOR__   8

◆ CALL_FN_v_5W

#define CALL_FN_v_5W (   fnptr,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5 
)
Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_5W(_junk, fnptr, arg1, arg2, arg3, arg4, arg5); \
} while (0)

◆ CALL_FN_v_6W

#define CALL_FN_v_6W (   fnptr,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6 
)
Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_6W(_junk, fnptr, arg1, arg2, arg3, arg4, arg5, arg6); \
} while (0)

◆ CALL_FN_v_7W

#define CALL_FN_v_7W (   fnptr,
  arg1,
  arg2,
  arg3,
  arg4,
  arg5,
  arg6,
  arg7 
)
Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_7W(_junk, fnptr, arg1, arg2, arg3, arg4, arg5, arg6, arg7); \
} while (0)

◆ CALL_FN_v_v

#define CALL_FN_v_v (   fnptr)
Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_v(_junk, fnptr); \
} while (0)

◆ CALL_FN_v_W

#define CALL_FN_v_W (   fnptr,
  arg1 
)
Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_W(_junk, fnptr, arg1); \
} while (0)

◆ CALL_FN_v_WW

#define CALL_FN_v_WW (   fnptr,
  arg1,
  arg2 
)
Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_WW(_junk, fnptr, arg1, arg2); \
} while (0)

◆ CALL_FN_v_WWW

#define CALL_FN_v_WWW (   fnptr,
  arg1,
  arg2,
  arg3 
)
Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_WWW(_junk, fnptr, arg1, arg2, arg3); \
} while (0)

◆ CALL_FN_v_WWWW

#define CALL_FN_v_WWWW (   fnptr,
  arg1,
  arg2,
  arg3,
  arg4 
)
Value:
do { \
volatile unsigned long _junk; \
CALL_FN_W_WWWW(_junk, fnptr, arg1, arg2, arg3, arg4); \
} while (0)

◆ I_REPLACE_SONAME_FNNAME_ZU

#define I_REPLACE_SONAME_FNNAME_ZU (   soname,
  fnname 
)    VG_CONCAT4(_vgr00000ZU_, soname, _, fnname)

◆ I_REPLACE_SONAME_FNNAME_ZZ

#define I_REPLACE_SONAME_FNNAME_ZZ (   soname,
  fnname 
)    VG_CONCAT4(_vgr00000ZZ_, soname, _, fnname)

◆ I_WRAP_SONAME_FNNAME_ZU

#define I_WRAP_SONAME_FNNAME_ZU (   soname,
  fnname 
)    VG_CONCAT4(_vgw00000ZU_, soname, _, fnname)

◆ I_WRAP_SONAME_FNNAME_ZZ

#define I_WRAP_SONAME_FNNAME_ZZ (   soname,
  fnname 
)    VG_CONCAT4(_vgw00000ZZ_, soname, _, fnname)

◆ NVALGRIND

#define NVALGRIND   1

◆ RUNNING_ON_VALGRIND

#define RUNNING_ON_VALGRIND    (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* if not */, VG_USERREQ__RUNNING_ON_VALGRIND, 0, 0, 0, 0, 0)

◆ VALGRIND_COUNT_ERRORS

#define VALGRIND_COUNT_ERRORS    (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, VG_USERREQ__COUNT_ERRORS, 0, 0, 0, 0, 0)

◆ VALGRIND_CREATE_MEMPOOL

#define VALGRIND_CREATE_MEMPOOL (   pool,
  rzB,
  is_zeroed 
)     VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__CREATE_MEMPOOL, pool, rzB, is_zeroed, 0, 0)

◆ VALGRIND_DESTROY_MEMPOOL

#define VALGRIND_DESTROY_MEMPOOL (   pool)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__DESTROY_MEMPOOL, pool, 0, 0, 0, 0)

◆ VALGRIND_DISABLE_ERROR_REPORTING

#define VALGRIND_DISABLE_ERROR_REPORTING    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__CHANGE_ERR_DISABLEMENT, 1, 0, 0, 0, 0)

◆ VALGRIND_DISCARD_TRANSLATIONS

#define VALGRIND_DISCARD_TRANSLATIONS (   _qzz_addr,
  _qzz_len 
)     VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__DISCARD_TRANSLATIONS, _qzz_addr, _qzz_len, 0, 0, 0)

◆ VALGRIND_DO_CLIENT_REQUEST

#define VALGRIND_DO_CLIENT_REQUEST (   _zzq_rlval,
  _zzq_default,
  _zzq_request,
  _zzq_arg1,
  _zzq_arg2,
  _zzq_arg3,
  _zzq_arg4,
  _zzq_arg5 
)
Value:
do { \
(_zzq_rlval) = VALGRIND_DO_CLIENT_REQUEST_EXPR((_zzq_default), (_zzq_request), (_zzq_arg1), (_zzq_arg2), \
(_zzq_arg3), (_zzq_arg4), (_zzq_arg5)); \
} while (0)
#define VALGRIND_DO_CLIENT_REQUEST_EXPR(_zzq_default, _zzq_request, _zzq_arg1, _zzq_arg2, _zzq_arg3, _zzq_arg4, _zzq_arg5)
Definition: valgrind.h:188

◆ VALGRIND_DO_CLIENT_REQUEST_EXPR

#define VALGRIND_DO_CLIENT_REQUEST_EXPR (   _zzq_default,
  _zzq_request,
  _zzq_arg1,
  _zzq_arg2,
  _zzq_arg3,
  _zzq_arg4,
  _zzq_arg5 
)     (_zzq_default)

◆ VALGRIND_DO_CLIENT_REQUEST_STMT

#define VALGRIND_DO_CLIENT_REQUEST_STMT (   _zzq_request,
  _zzq_arg1,
  _zzq_arg2,
  _zzq_arg3,
  _zzq_arg4,
  _zzq_arg5 
)
Value:
do { \
(void)VALGRIND_DO_CLIENT_REQUEST_EXPR(0, (_zzq_request), (_zzq_arg1), (_zzq_arg2), (_zzq_arg3), (_zzq_arg4), \
(_zzq_arg5)); \
} while (0)

◆ VALGRIND_ENABLE_ERROR_REPORTING

#define VALGRIND_ENABLE_ERROR_REPORTING    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__CHANGE_ERR_DISABLEMENT, -1, 0, 0, 0, 0)

◆ VALGRIND_FREELIKE_BLOCK

#define VALGRIND_FREELIKE_BLOCK (   addr,
  rzB 
)     VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__FREELIKE_BLOCK, addr, rzB, 0, 0, 0)

◆ VALGRIND_GET_ORIG_FN

#define VALGRIND_GET_ORIG_FN (   _lval)    VALGRIND_GET_NR_CONTEXT(_lval)

◆ VALGRIND_LOAD_PDB_DEBUGINFO

#define VALGRIND_LOAD_PDB_DEBUGINFO (   fd,
  ptr,
  total_size,
  delta 
)     VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__LOAD_PDB_DEBUGINFO, fd, ptr, total_size, delta, 0)

◆ VALGRIND_MALLOCLIKE_BLOCK

#define VALGRIND_MALLOCLIKE_BLOCK (   addr,
  sizeB,
  rzB,
  is_zeroed 
)     VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MALLOCLIKE_BLOCK, addr, sizeB, rzB, is_zeroed, 0)

◆ VALGRIND_MAP_IP_TO_SRCLOC

#define VALGRIND_MAP_IP_TO_SRCLOC (   addr,
  buf64 
)     (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0, VG_USERREQ__MAP_IP_TO_SRCLOC, addr, buf64, 0, 0, 0)

◆ VALGRIND_MEMPOOL_ALLOC

#define VALGRIND_MEMPOOL_ALLOC (   pool,
  addr,
  size 
)     VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MEMPOOL_ALLOC, pool, addr, size, 0, 0)

◆ VALGRIND_MEMPOOL_CHANGE

#define VALGRIND_MEMPOOL_CHANGE (   pool,
  addrA,
  addrB,
  size 
)     VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MEMPOOL_CHANGE, pool, addrA, addrB, size, 0)

◆ VALGRIND_MEMPOOL_EXISTS

#define VALGRIND_MEMPOOL_EXISTS (   pool)     (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0, VG_USERREQ__MEMPOOL_EXISTS, pool, 0, 0, 0, 0)

◆ VALGRIND_MEMPOOL_FREE

#define VALGRIND_MEMPOOL_FREE (   pool,
  addr 
)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MEMPOOL_FREE, pool, addr, 0, 0, 0)

◆ VALGRIND_MEMPOOL_TRIM

#define VALGRIND_MEMPOOL_TRIM (   pool,
  addr,
  size 
)     VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MEMPOOL_TRIM, pool, addr, size, 0, 0)

◆ VALGRIND_MOVE_MEMPOOL

#define VALGRIND_MOVE_MEMPOOL (   poolA,
  poolB 
)     VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__MOVE_MEMPOOL, poolA, poolB, 0, 0, 0)

◆ VALGRIND_NON_SIMD_CALL0

#define VALGRIND_NON_SIMD_CALL0 (   _qyy_fn)     VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, VG_USERREQ__CLIENT_CALL0, _qyy_fn, 0, 0, 0, 0)

◆ VALGRIND_NON_SIMD_CALL1

#define VALGRIND_NON_SIMD_CALL1 (   _qyy_fn,
  _qyy_arg1 
)     VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, VG_USERREQ__CLIENT_CALL1, _qyy_fn, _qyy_arg1, 0, 0, 0)

◆ VALGRIND_NON_SIMD_CALL2

#define VALGRIND_NON_SIMD_CALL2 (   _qyy_fn,
  _qyy_arg1,
  _qyy_arg2 
)
Value:
VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, VG_USERREQ__CLIENT_CALL2, _qyy_fn, _qyy_arg1, _qyy_arg2, \
0, 0)
@ VG_USERREQ__CLIENT_CALL2
Definition: valgrind.h:3876

◆ VALGRIND_NON_SIMD_CALL3

#define VALGRIND_NON_SIMD_CALL3 (   _qyy_fn,
  _qyy_arg1,
  _qyy_arg2,
  _qyy_arg3 
)
Value:
VALGRIND_DO_CLIENT_REQUEST_EXPR(0 /* default return */, VG_USERREQ__CLIENT_CALL3, _qyy_fn, _qyy_arg1, _qyy_arg2, \
_qyy_arg3, 0)
@ VG_USERREQ__CLIENT_CALL3
Definition: valgrind.h:3877

◆ VALGRIND_RESIZEINPLACE_BLOCK

#define VALGRIND_RESIZEINPLACE_BLOCK (   addr,
  oldSizeB,
  newSizeB,
  rzB 
)     VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__RESIZEINPLACE_BLOCK, addr, oldSizeB, newSizeB, rzB, 0)

◆ VALGRIND_STACK_CHANGE

#define VALGRIND_STACK_CHANGE (   id,
  start,
  end 
)     VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__STACK_CHANGE, id, start, end, 0, 0)

◆ VALGRIND_STACK_DEREGISTER

#define VALGRIND_STACK_DEREGISTER (   id)    VALGRIND_DO_CLIENT_REQUEST_STMT(VG_USERREQ__STACK_DEREGISTER, id, 0, 0, 0, 0)

◆ VALGRIND_STACK_REGISTER

#define VALGRIND_STACK_REGISTER (   start,
  end 
)     (unsigned)VALGRIND_DO_CLIENT_REQUEST_EXPR(0, VG_USERREQ__STACK_REGISTER, start, end, 0, 0, 0)

◆ VG_CONCAT4

#define VG_CONCAT4 (   _aa,
  _bb,
  _cc,
  _dd 
)    _aa##_bb##_cc##_dd

◆ VG_IS_TOOL_USERREQ

#define VG_IS_TOOL_USERREQ (   a,
  b,
 
)    (VG_USERREQ_TOOL_BASE(a, b) == ((v)&0xffff0000))

◆ VG_USERREQ_TOOL_BASE

#define VG_USERREQ_TOOL_BASE (   a,
 
)    ((unsigned int)(((a)&0xff) << 24 | ((b)&0xff) << 16))

Enumeration Type Documentation

◆ Vg_ClientRequest

Enumerator
VG_USERREQ__RUNNING_ON_VALGRIND 
VG_USERREQ__DISCARD_TRANSLATIONS 
VG_USERREQ__CLIENT_CALL0 
VG_USERREQ__CLIENT_CALL1 
VG_USERREQ__CLIENT_CALL2 
VG_USERREQ__CLIENT_CALL3 
VG_USERREQ__COUNT_ERRORS 
VG_USERREQ__GDB_MONITOR_COMMAND 
VG_USERREQ__MALLOCLIKE_BLOCK 
VG_USERREQ__RESIZEINPLACE_BLOCK 
VG_USERREQ__FREELIKE_BLOCK 
VG_USERREQ__CREATE_MEMPOOL 
VG_USERREQ__DESTROY_MEMPOOL 
VG_USERREQ__MEMPOOL_ALLOC 
VG_USERREQ__MEMPOOL_FREE 
VG_USERREQ__MEMPOOL_TRIM 
VG_USERREQ__MOVE_MEMPOOL 
VG_USERREQ__MEMPOOL_CHANGE 
VG_USERREQ__MEMPOOL_EXISTS 
VG_USERREQ__PRINTF 
VG_USERREQ__PRINTF_BACKTRACE 
VG_USERREQ__PRINTF_VALIST_BY_REF 
VG_USERREQ__PRINTF_BACKTRACE_VALIST_BY_REF 
VG_USERREQ__STACK_REGISTER 
VG_USERREQ__STACK_DEREGISTER 
VG_USERREQ__STACK_CHANGE 
VG_USERREQ__LOAD_PDB_DEBUGINFO 
VG_USERREQ__MAP_IP_TO_SRCLOC 
VG_USERREQ__CHANGE_ERR_DISABLEMENT 
VG_USERREQ__VEX_INIT_FOR_IRI 

Function Documentation

◆ VALGRIND_PRINTF()

static int VALGRIND_PRINTF ( const char *  format,
  ... 
)
static

◆ VALGRIND_PRINTF_BACKTRACE()

static int VALGRIND_PRINTF_BACKTRACE ( const char *  format,
  ... 
)
static