1#ifndef __PUB_CORE_DRD_H
2#define __PUB_CORE_DRD_H
3
4
5#include "drd_basics.h"
6#include "pub_tool_basics.h"
7
8
9extern Bool DRD_(g_any_address_traced);
10
11
12void DRD_(suppression_set_trace)(const Bool trace_suppression);
13void DRD_(suppression_init)(void);
14void DRD_(start_suppression)(const Addr a1, const Addr a2,
15                             const HChar* const reason);
16void DRD_(finish_suppression)(const Addr a1, const Addr a2);
17Bool DRD_(is_suppressed)(const Addr a1, const Addr a2);
18Bool DRD_(is_any_suppressed)(const Addr a1, const Addr a2);
19void DRD_(mark_hbvar)(const Addr a1);
20Bool DRD_(range_contains_suppression_or_hbvar)(const Addr a1, const Addr a2);
21void DRD_(start_tracing_address_range)(const Addr a1, const Addr a2,
22                                       const Bool persistent);
23void DRD_(stop_tracing_address_range)(const Addr a1, const Addr a2);
24Bool DRD_(is_any_traced)(const Addr a1, const Addr a2);
25void DRD_(suppression_stop_using_mem)(const Addr a1, const Addr a2);
26
27
28static __inline__ Bool DRD_(any_address_is_traced)(void)
29{
30   return DRD_(g_any_address_traced);
31}
32
33
34#endif // __PUB_CORE_DRD_H
35