Merge pull request #433 from Wind3x/patch-1

Fix has_exceptions to check exception table
This commit is contained in:
Romain 2020-07-05 12:22:56 +02:00 committed by GitHub
commit 4bbe410333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -346,7 +346,7 @@ bool Binary::has_resources(void) const {
}
bool Binary::has_exceptions(void) const {
return this->has(DATA_DIRECTORY::EXPORT_TABLE);
return this->has(DATA_DIRECTORY::EXCEPTION_TABLE);
//return this->has_exceptions_;
}