iPXE
Macros | Enumerations | Functions
valgrind.h File Reference
#include <stdarg.h>

Go to the source code of this file.

Macros

#define __VALGRIND_MAJOR__   3
 
#define __VALGRIND_MINOR__   6
 
#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 VG_CONCAT4(_aa, _bb, _cc, _dd)   _aa##_bb##_cc##_dd
 
#define I_WRAP_SONAME_FNNAME_ZU(soname, fnname)   VG_CONCAT4(_vgwZU_,soname,_,fnname)
 
#define I_WRAP_SONAME_FNNAME_ZZ(soname, fnname)   VG_CONCAT4(_vgwZZ_,soname,_,fnname)
 
#define VALGRIND_GET_ORIG_FN(_lval)   VALGRIND_GET_NR_CONTEXT(_lval)
 
#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
 
#define VALGRIND_DISCARD_TRANSLATIONS(_qzz_addr, _qzz_len)
 
#define VALGRIND_PRINTF(...)
 
#define VALGRIND_PRINTF_BACKTRACE(...)
 
#define VALGRIND_NON_SIMD_CALL0(_qyy_fn)
 
#define VALGRIND_NON_SIMD_CALL1(_qyy_fn, _qyy_arg1)
 
#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
 
#define VALGRIND_MALLOCLIKE_BLOCK(addr, sizeB, rzB, is_zeroed)
 
#define VALGRIND_FREELIKE_BLOCK(addr, rzB)
 
#define VALGRIND_CREATE_MEMPOOL(pool, rzB, is_zeroed)
 
#define VALGRIND_DESTROY_MEMPOOL(pool)
 
#define VALGRIND_MEMPOOL_ALLOC(pool, addr, size)
 
#define VALGRIND_MEMPOOL_FREE(pool, addr)
 
#define VALGRIND_MEMPOOL_TRIM(pool, addr, size)
 
#define VALGRIND_MOVE_MEMPOOL(poolA, poolB)
 
#define VALGRIND_MEMPOOL_CHANGE(pool, addrA, addrB, size)
 
#define VALGRIND_MEMPOOL_EXISTS(pool)
 
#define VALGRIND_STACK_REGISTER(start, end)
 
#define VALGRIND_STACK_DEREGISTER(id)
 
#define VALGRIND_STACK_CHANGE(id, start, end)
 
#define VALGRIND_LOAD_PDB_DEBUGINFO(fd, ptr, total_size, delta)
 

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__MALLOCLIKE_BLOCK = 0x1301,
  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
}
 

Functions

 FILE_LICENCE (BSD3)
 

Macro Definition Documentation

◆ __VALGRIND_MAJOR__

#define __VALGRIND_MAJOR__   3

Definition at line 93 of file valgrind.h.

◆ __VALGRIND_MINOR__

#define __VALGRIND_MINOR__   6

Definition at line 94 of file valgrind.h.

◆ NVALGRIND

#define NVALGRIND   1

Definition at line 145 of file valgrind.h.

◆ 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:
{ \
(_zzq_rlval) = (_zzq_default); \
}

Definition at line 160 of file valgrind.h.

◆ VG_CONCAT4

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

Definition at line 674 of file valgrind.h.

◆ I_WRAP_SONAME_FNNAME_ZU

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

Definition at line 676 of file valgrind.h.

◆ I_WRAP_SONAME_FNNAME_ZZ

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

Definition at line 679 of file valgrind.h.

◆ VALGRIND_GET_ORIG_FN

#define VALGRIND_GET_ORIG_FN (   _lval)    VALGRIND_GET_NR_CONTEXT(_lval)

Definition at line 686 of file valgrind.h.

◆ CALL_FN_v_v

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

Definition at line 691 of file valgrind.h.

◆ 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)
static unsigned int unsigned long arg1
Definition: xen.h:43

Definition at line 695 of file valgrind.h.

◆ 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)
static unsigned int unsigned long arg1
Definition: xen.h:43
static unsigned int unsigned long unsigned long arg2
Definition: xen.h:66

Definition at line 699 of file valgrind.h.

◆ 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)
static unsigned int unsigned long arg1
Definition: xen.h:43
static unsigned int unsigned long unsigned long arg2
Definition: xen.h:66
static unsigned int unsigned long unsigned long unsigned long arg3
Definition: xen.h:90

Definition at line 703 of file valgrind.h.

◆ 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)
static unsigned int unsigned long unsigned long unsigned long unsigned long arg4
Definition: xen.h:118
static unsigned int unsigned long arg1
Definition: xen.h:43
static unsigned int unsigned long unsigned long arg2
Definition: xen.h:66
static unsigned int unsigned long unsigned long unsigned long arg3
Definition: xen.h:90

Definition at line 707 of file valgrind.h.

◆ 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)
static unsigned int unsigned long unsigned long unsigned long unsigned long arg4
Definition: xen.h:118
static unsigned int unsigned long arg1
Definition: xen.h:43
static unsigned int unsigned long unsigned long unsigned long unsigned long unsigned long arg5
Definition: xen.h:148
static unsigned int unsigned long unsigned long arg2
Definition: xen.h:66
static unsigned int unsigned long unsigned long unsigned long arg3
Definition: xen.h:90

Definition at line 711 of file valgrind.h.

◆ 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)
static unsigned int unsigned long unsigned long unsigned long unsigned long arg4
Definition: xen.h:118
static unsigned int unsigned long arg1
Definition: xen.h:43
static unsigned int unsigned long unsigned long unsigned long unsigned long unsigned long arg5
Definition: xen.h:148
static unsigned int unsigned long unsigned long arg2
Definition: xen.h:66
static unsigned int unsigned long unsigned long unsigned long arg3
Definition: xen.h:90

Definition at line 715 of file valgrind.h.

◆ 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)
static unsigned int unsigned long unsigned long unsigned long unsigned long arg4
Definition: xen.h:118
static unsigned int unsigned long arg1
Definition: xen.h:43
static unsigned int unsigned long unsigned long unsigned long unsigned long unsigned long arg5
Definition: xen.h:148
static unsigned int unsigned long unsigned long arg2
Definition: xen.h:66
static unsigned int unsigned long unsigned long unsigned long arg3
Definition: xen.h:90

Definition at line 719 of file valgrind.h.

◆ VG_USERREQ_TOOL_BASE

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

Definition at line 4103 of file valgrind.h.

◆ VG_IS_TOOL_USERREQ

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

Definition at line 4105 of file valgrind.h.

◆ __extension__

#define __extension__   /* */

Definition at line 4168 of file valgrind.h.

◆ RUNNING_ON_VALGRIND

#define RUNNING_ON_VALGRIND
Value:
({unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0 /* if not */, \
0, 0, 0, 0, 0); \
_qzz_res; \
})
#define __extension__
Definition: valgrind.h:4168

Definition at line 4175 of file valgrind.h.

◆ VALGRIND_DISCARD_TRANSLATIONS

#define VALGRIND_DISCARD_TRANSLATIONS (   _qzz_addr,
  _qzz_len 
)
Value:
{unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
_qzz_addr, _qzz_len, 0, 0, 0); \
}

Definition at line 4188 of file valgrind.h.

◆ VALGRIND_PRINTF

#define VALGRIND_PRINTF (   ...)

Definition at line 4203 of file valgrind.h.

◆ VALGRIND_PRINTF_BACKTRACE

#define VALGRIND_PRINTF_BACKTRACE (   ...)

Definition at line 4204 of file valgrind.h.

◆ VALGRIND_NON_SIMD_CALL0

#define VALGRIND_NON_SIMD_CALL0 (   _qyy_fn)
Value:
({unsigned long _qyy_res; \
VALGRIND_DO_CLIENT_REQUEST(_qyy_res, 0 /* default return */, \
_qyy_fn, \
0, 0, 0, 0); \
_qyy_res; \
})
#define __extension__
Definition: valgrind.h:4168

Definition at line 4270 of file valgrind.h.

◆ VALGRIND_NON_SIMD_CALL1

#define VALGRIND_NON_SIMD_CALL1 (   _qyy_fn,
  _qyy_arg1 
)
Value:
({unsigned long _qyy_res; \
VALGRIND_DO_CLIENT_REQUEST(_qyy_res, 0 /* default return */, \
_qyy_fn, \
_qyy_arg1, 0, 0, 0); \
_qyy_res; \
})
#define __extension__
Definition: valgrind.h:4168

Definition at line 4280 of file valgrind.h.

◆ VALGRIND_NON_SIMD_CALL2

#define VALGRIND_NON_SIMD_CALL2 (   _qyy_fn,
  _qyy_arg1,
  _qyy_arg2 
)
Value:
({unsigned long _qyy_res; \
VALGRIND_DO_CLIENT_REQUEST(_qyy_res, 0 /* default return */, \
_qyy_fn, \
_qyy_arg1, _qyy_arg2, 0, 0); \
_qyy_res; \
})
#define __extension__
Definition: valgrind.h:4168

Definition at line 4290 of file valgrind.h.

◆ VALGRIND_NON_SIMD_CALL3

#define VALGRIND_NON_SIMD_CALL3 (   _qyy_fn,
  _qyy_arg1,
  _qyy_arg2,
  _qyy_arg3 
)
Value:
({unsigned long _qyy_res; \
VALGRIND_DO_CLIENT_REQUEST(_qyy_res, 0 /* default return */, \
_qyy_fn, \
_qyy_arg1, _qyy_arg2, \
_qyy_arg3, 0); \
_qyy_res; \
})
#define __extension__
Definition: valgrind.h:4168

Definition at line 4300 of file valgrind.h.

◆ VALGRIND_COUNT_ERRORS

#define VALGRIND_COUNT_ERRORS
Value:
({unsigned int _qyy_res; \
VALGRIND_DO_CLIENT_REQUEST(_qyy_res, 0 /* default return */, \
0, 0, 0, 0, 0); \
_qyy_res; \
})
#define __extension__
Definition: valgrind.h:4168

Definition at line 4315 of file valgrind.h.

◆ VALGRIND_MALLOCLIKE_BLOCK

#define VALGRIND_MALLOCLIKE_BLOCK (   addr,
  sizeB,
  rzB,
  is_zeroed 
)
Value:
{unsigned int __unused _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
addr, sizeB, rzB, is_zeroed, 0); \
}
u32 addr
Definition: sky2.h:8
#define __unused
Declare a variable or data structure as unused.
Definition: compiler.h:573

Definition at line 4411 of file valgrind.h.

◆ VALGRIND_FREELIKE_BLOCK

#define VALGRIND_FREELIKE_BLOCK (   addr,
  rzB 
)
Value:
{unsigned int __unused _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
addr, rzB, 0, 0, 0); \
}
u32 addr
Definition: sky2.h:8
#define __unused
Declare a variable or data structure as unused.
Definition: compiler.h:573

Definition at line 4421 of file valgrind.h.

◆ VALGRIND_CREATE_MEMPOOL

#define VALGRIND_CREATE_MEMPOOL (   pool,
  rzB,
  is_zeroed 
)
Value:
{unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
pool, rzB, is_zeroed, 0, 0); \
}
timer_init & pool
Definition: pool.h:65

Definition at line 4429 of file valgrind.h.

◆ VALGRIND_DESTROY_MEMPOOL

#define VALGRIND_DESTROY_MEMPOOL (   pool)
Value:
{unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
pool, 0, 0, 0, 0); \
}
timer_init & pool
Definition: pool.h:65

Definition at line 4437 of file valgrind.h.

◆ VALGRIND_MEMPOOL_ALLOC

#define VALGRIND_MEMPOOL_ALLOC (   pool,
  addr,
  size 
)
Value:
{unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
pool, addr, size, 0, 0); \
}
timer_init & pool
Definition: pool.h:65
u32 addr
Definition: sky2.h:8
uint8_t size
Entry size (in 32-bit words)
Definition: ena.h:16

Definition at line 4445 of file valgrind.h.

◆ VALGRIND_MEMPOOL_FREE

#define VALGRIND_MEMPOOL_FREE (   pool,
  addr 
)
Value:
{unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
pool, addr, 0, 0, 0); \
}
timer_init & pool
Definition: pool.h:65
u32 addr
Definition: sky2.h:8

Definition at line 4453 of file valgrind.h.

◆ VALGRIND_MEMPOOL_TRIM

#define VALGRIND_MEMPOOL_TRIM (   pool,
  addr,
  size 
)
Value:
{unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
pool, addr, size, 0, 0); \
}
timer_init & pool
Definition: pool.h:65
u32 addr
Definition: sky2.h:8
uint8_t size
Entry size (in 32-bit words)
Definition: ena.h:16

Definition at line 4461 of file valgrind.h.

◆ VALGRIND_MOVE_MEMPOOL

#define VALGRIND_MOVE_MEMPOOL (   poolA,
  poolB 
)
Value:
{unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
poolA, poolB, 0, 0, 0); \
}

Definition at line 4469 of file valgrind.h.

◆ VALGRIND_MEMPOOL_CHANGE

#define VALGRIND_MEMPOOL_CHANGE (   pool,
  addrA,
  addrB,
  size 
)
Value:
{unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
pool, addrA, addrB, size, 0); \
}
timer_init & pool
Definition: pool.h:65
uint8_t size
Entry size (in 32-bit words)
Definition: ena.h:16

Definition at line 4477 of file valgrind.h.

◆ VALGRIND_MEMPOOL_EXISTS

#define VALGRIND_MEMPOOL_EXISTS (   pool)
Value:
({unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
pool, 0, 0, 0, 0); \
_qzz_res; \
})
timer_init & pool
Definition: pool.h:65
#define __extension__
Definition: valgrind.h:4168

Definition at line 4485 of file valgrind.h.

◆ VALGRIND_STACK_REGISTER

#define VALGRIND_STACK_REGISTER (   start,
  end 
)
Value:
({unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
start, end, 0, 0, 0); \
_qzz_res; \
})
uint32_t start
Starting offset.
Definition: netvsc.h:12
uint32_t end
Ending offset.
Definition: netvsc.h:18
#define __extension__
Definition: valgrind.h:4168

Definition at line 4495 of file valgrind.h.

◆ VALGRIND_STACK_DEREGISTER

#define VALGRIND_STACK_DEREGISTER (   id)
Value:
{unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
id, 0, 0, 0, 0); \
}

Definition at line 4506 of file valgrind.h.

◆ VALGRIND_STACK_CHANGE

#define VALGRIND_STACK_CHANGE (   id,
  start,
  end 
)
Value:
{unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
id, start, end, 0, 0); \
}
uint32_t start
Starting offset.
Definition: netvsc.h:12
uint32_t end
Ending offset.
Definition: netvsc.h:18

Definition at line 4514 of file valgrind.h.

◆ VALGRIND_LOAD_PDB_DEBUGINFO

#define VALGRIND_LOAD_PDB_DEBUGINFO (   fd,
  ptr,
  total_size,
  delta 
)
Value:
{unsigned int _qzz_res; \
VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \
fd, ptr, total_size, delta, 0); \
}

Definition at line 4522 of file valgrind.h.

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__MALLOCLIKE_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 

Definition at line 4112 of file valgrind.h.

4115 
4116  /* These allow any function to be called from the simulated
4117  CPU but run on the real CPU. Nb: the first arg passed to
4118  the function is always the ThreadId of the running
4119  thread! So CLIENT_CALL0 actually requires a 1 arg
4120  function, etc. */
4121  VG_USERREQ__CLIENT_CALL0 = 0x1101,
4122  VG_USERREQ__CLIENT_CALL1 = 0x1102,
4123  VG_USERREQ__CLIENT_CALL2 = 0x1103,
4124  VG_USERREQ__CLIENT_CALL3 = 0x1104,
4125 
4126  /* Can be useful in regression testing suites -- eg. can
4127  send Valgrind's output to /dev/null and still count
4128  errors. */
4129  VG_USERREQ__COUNT_ERRORS = 0x1201,
4130 
4131  /* These are useful and can be interpreted by any tool that
4132  tracks malloc() et al, by using vg_replace_malloc.c. */
4134  VG_USERREQ__FREELIKE_BLOCK = 0x1302,
4135  /* Memory pool support. */
4136  VG_USERREQ__CREATE_MEMPOOL = 0x1303,
4137  VG_USERREQ__DESTROY_MEMPOOL = 0x1304,
4138  VG_USERREQ__MEMPOOL_ALLOC = 0x1305,
4139  VG_USERREQ__MEMPOOL_FREE = 0x1306,
4140  VG_USERREQ__MEMPOOL_TRIM = 0x1307,
4141  VG_USERREQ__MOVE_MEMPOOL = 0x1308,
4142  VG_USERREQ__MEMPOOL_CHANGE = 0x1309,
4143  VG_USERREQ__MEMPOOL_EXISTS = 0x130a,
4144 
4145  /* Allow printfs to valgrind log. */
4146  /* The first two pass the va_list argument by value, which
4147  assumes it is the same size as or smaller than a UWord,
4148  which generally isn't the case. Hence are deprecated.
4149  The second two pass the vargs by reference and so are
4150  immune to this problem. */
4151  /* both :: char* fmt, va_list vargs (DEPRECATED) */
4152  VG_USERREQ__PRINTF = 0x1401,
4154  /* both :: char* fmt, va_list* vargs */
4157 
4158  /* Stack support. */
4159  VG_USERREQ__STACK_REGISTER = 0x1501,
4161  VG_USERREQ__STACK_CHANGE = 0x1503,
4162 
4163  /* Wine support */
4165  } Vg_ClientRequest;
Vg_ClientRequest
Definition: valgrind.h:4112

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( BSD3  )