Home | History | Annotate | Download | only in drd
      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 
      9 extern Bool DRD_(g_any_address_traced);
     10 
     11 
     12 void DRD_(suppression_set_trace)(const Bool trace_suppression);
     13 void DRD_(suppression_init)(void);
     14 void DRD_(start_suppression)(const Addr a1, const Addr a2,
     15                              const HChar* const reason);
     16 void DRD_(finish_suppression)(const Addr a1, const Addr a2);
     17 Bool DRD_(is_suppressed)(const Addr a1, const Addr a2);
     18 Bool DRD_(is_any_suppressed)(const Addr a1, const Addr a2);
     19 void DRD_(mark_hbvar)(const Addr a1);
     20 Bool DRD_(range_contains_suppression_or_hbvar)(const Addr a1, const Addr a2);
     21 void DRD_(start_tracing_address_range)(const Addr a1, const Addr a2,
     22                                        const Bool persistent);
     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