29 if (!
vBuf)
return false;
45 bool readRemote(ULONGLONG module_base,
size_t pe_vsize);
61 IN OUT peconv::t_pe_dump_mode &dumpMode,
62 IN OPTIONAL
const peconv::ExportsMapper* exportsMap = NULL,
63 OUT OPTIONAL peconv::ImpsNotCovered *notCovered = NULL
84 bool _readRemote(ULONGLONG module_base,
size_t pe_vsize);
91 vBuf = peconv::alloc_aligned(pe_vsize, PAGE_READWRITE);
101 peconv::free_aligned(
vBuf);
void setRelocBase(ULONGLONG reloc_base)
bool fillFromBuffer(ULONGLONG module_base, util::ByteBuffer &data_cache)
size_t calcRemoteImgSize(ULONGLONG module_base) const
size_t getBufferSize() const
bool allocBuffer(const size_t pe_vsize)
PeBuffer(HANDLE _process_hndl, bool _is_refl)
bool _readRemote(ULONGLONG module_base, size_t pe_vsize)
bool readRemote(ULONGLONG module_base, size_t pe_vsize)
bool dumpPeToFile(IN std::string dumpFileName, IN OUT peconv::t_pe_dump_mode &dumpMode, IN OPTIONAL const peconv::ExportsMapper *exportsMap=NULL, OUT OPTIONAL peconv::ImpsNotCovered *notCovered=NULL)
ULONGLONG getModuleBase() const
bool resizeLastSection(size_t new_img_size)
bool resizeBuffer(size_t new_size)
ULONGLONG getRelocBase() const
bool dumpToFile(IN std::string dumpFileName)