7 #ifndef RETDEC_FILEFORMAT_FILE_FORMAT_PE_PE_TEMPLATE_AUX_H
8 #define RETDEC_FILEFORMAT_FILE_FORMAT_PE_PE_TEMPLATE_AUX_H
10 #include "retdec/pelib/PeLib.h"
22 template<
int bits>
bool peSectionName(
const PeLib::PeHeaderT<bits> &peHeader, std::string &name,
unsigned long long sectionIndex)
24 if(sectionIndex >= peHeader.getNumberOfSections())
29 name = peHeader.getSectionNameFromStringTable(sectionIndex);
32 name = peHeader.getSectionName(sectionIndex);
Definition: archive_wrapper.h:19