DynamoRIO
|
dynamorio::drmemtrace::drmemtrace_replace_file_ops_t Struct Reference
#include <drmemtrace.h>
Detailed Description
Structure holding all the file replacement operations for passing to drmemtrace_replace_file_ops_ex().
Field Documentation
◆ close_file_func
drmemtrace_close_file_func_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::close_file_func |
Replacement for file closing.
◆ create_dir_func
drmemtrace_create_dir_func_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::create_dir_func |
Replacement for directory creation.
◆ exit_arg
void* dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::exit_arg |
Argument to exit_func
.
◆ exit_func
drmemtrace_exit_func_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::exit_func |
Called at process exit and passed exit_arg
.
◆ handoff_buf_func
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().
◆ open_file_ex_func
drmemtrace_open_file_ex_func_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::open_file_ex_func |
Replacement for file opening.
◆ read_file_func
drmemtrace_read_file_func_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::read_file_func |
Replacement for file reading.
◆ size
size_t dynamorio::drmemtrace::drmemtrace_replace_file_ops_t::size |
The user must set this to the size of the structure.
◆ write_file_func
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.
The documentation for this struct was generated from the following file:
- /home/runner/work/dynamorio/dynamorio/build_release-64/clients/include/drmemtrace/drmemtrace.h