Arion 1.0.2-alpha
A high-performance C++ framework for emulating executable binaries.
 
Loading...
Searching...
No Matches
fs_utils.hpp File Reference
#include <arion/common/global_defs.hpp>
#include <functional>
#include <string>

Go to the source code of this file.

Namespaces

namespace  arion
 

Typedefs

using arion::RD_BIN_CALLBACK = std::function< void(std::array< BYTE, ARION_BUF_SZ > buf, ADDR off, size_t sz)>
 Callback type used for processing chunks of binary data read from a file.
 

Functions

void arion::read_bin_file (std::string file_path, ADDR off, size_t sz, RD_BIN_CALLBACK callback)
 
std::string arion::gen_tmp_path ()
 
std::string arion::md5_hash_file (std::string file_path)
 
bool arion::check_fd_status (int fd, short int &revents)