2 #ifndef __DR_PRINT_SYM_HPP__
3 #define __DR_PRINT_SYM_HPP__
12 using PrintFn = void ( * )(
const char *
const format, ... );
30 static void print(
const char *
const description,
const app_pc addr );
Sym()=delete
Disable construction.
Wrap symbols in a static class.
Definition: dr_print_sym.hpp:9
static void finish()
This function should be called when the client terminates.
Definition: dr_print_sym.cpp:26
static void init()
The setup function for dr_print_sym Must be called by the DR client before print. ...
Definition: dr_print_sym.cpp:19
static void print(const char *const description, const app_pc addr)
Print symbol information for the what is located at addr description is a description of what the add...
Definition: dr_print_sym.cpp:33
void(*)(const char *const format,...) PrintFn
For clarity of the dependency injection below.
Definition: dr_print_sym.hpp:12
static bool setup
Record if syms is already setup.
Definition: dr_print_sym.hpp:15