Skip to content

Commit

Permalink
Merge pull request #995 from avast/LZ_RETDEC_70
Browse files Browse the repository at this point in the history
DllFlags are now present on EXEs as well
  • Loading branch information
metthal authored Aug 3, 2021
2 parents a24638a + 89fd9c8 commit c5ab449
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions include/retdec/fileformat/file_format/pe/pe_format_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,8 @@ class PeFormatParser

bool getDllFlags(unsigned long long & dllFlags) const
{
if(peFile->imageLoader().getCharacteristics() & PeLib::PELIB_IMAGE_FILE_DLL)
{
dllFlags = peFile->imageLoader().getOptionalHeader().DllCharacteristics;
return true;
}

return false;
dllFlags = peFile->imageLoader().getOptionalHeader().DllCharacteristics;
return true;
}

bool getDataDirectoryRelative(unsigned long long index, unsigned long long &relAddr, unsigned long long &size) const
Expand Down

0 comments on commit c5ab449

Please sign in to comment.