#include <drmemtrace.h>
Structure holding all the file replacement operations for passing to drmemtrace_replace_file_ops_ex().
| drmemtrace_close_file_func_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::close_file_func |
Replacement for file closing.
| drmemtrace_create_dir_func_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::create_dir_func |
Replacement for directory creation.
| void* dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::exit_arg |
Argument to exit_func.
| drmemtrace_exit_func_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::exit_func |
Called at process exit and passed exit_arg.
| drmemtrace_handoff_func_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::handoff_buf_func |
Replacement for file writing where a new buffer is used each time. Only one of this or write_file should be set. See drmemtrace_buffer_handoff().
| drmemtrace_open_file_ex_func_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::open_file_ex_func |
Replacement for file opening.
| drmemtrace_read_file_func_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::read_file_func |
Replacement for file reading.
| size_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::size |
The user must set this to the size of the structure.
| drmemtrace_write_file_func_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::write_file_func |
Replacement for file writing. Only one of this or handoff_buf should be set.