Home | History | Annotate | Download | only in drd
      1 /* -*- mode: C; c-basic-offset: 3; indent-tabs-mode: nil; -*- */
      2 #ifndef __PUB_CORE_DRD_H
      3 #define __PUB_CORE_DRD_H
      4 
      5 
      6 #include "drd_basics.h"
      7 #include "pub_tool_basics.h"
      8 
      9 
     10 extern Bool DRD_(g_any_address_traced);
     11 
     12 
     13 void DRD_(suppression_set_trace)(const Bool trace_suppression);
     14 void DRD_(suppression_init)(void);
     15 void DRD_(start_suppression)(const Addr a1, const Addr a2,
     16                              const char* const reason);
     17 void DRD_(finish_suppression)(const Addr a1, const Addr a2);
     18 Bool DRD_(is_suppressed)(const Addr a1, const Addr a2);
     19 Bool DRD_(is_any_suppressed)(const Addr a1, const Addr a2);
     20 void DRD_(mark_hbvar)(const Addr a1);
     21 Bool DRD_(range_contains_suppression_or_hbvar)(const Addr a1, const Addr a2);
     22 void DRD_(start_tracing_address_range)(const Addr a1, const Addr a2);
     23 void DRD_(stop_tracing_address_range)(const Addr a1, const Addr a2);
     24 Bool DRD_(is_any_traced)(const Addr a1, const Addr a2);
     25 void DRD_(suppression_stop_using_mem)(const Addr a1, const Addr a2);
     26 
     27 
     28 static __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