libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
Namespaces | Functions
file_util.h File Reference

Functions related to operations on files. Wrappers for read/write. More...

#include <windows.h>
#include <iostream>
#include "buffer_util.h"

Go to the source code of this file.

Namespaces

namespace  peconv
 

Functions

peconv::UNALIGNED_BUF peconv::load_file (IN LPCTSTR filename, OUT size_t &r_size)
 
peconv::UNALIGNED_BUF peconv::read_from_file (IN LPCTSTR path, IN OUT size_t &read_size)
 
bool peconv::dump_to_file (IN LPCTSTR path, IN PBYTE dump_data, IN size_t dump_size)
 
void peconv::free_file (IN peconv::UNALIGNED_BUF buffer)
 
std::string peconv::get_file_name (IN const std::string full_path)
 
std::string peconv::get_directory_name (IN const std::string full_path)
 
size_t peconv::find_extension_pos (IN const std::string str)
 

Detailed Description

Functions related to operations on files. Wrappers for read/write.

Definition in file file_util.h.