4
0
mirror of https://github.com/QuasarApp/LIEF.git synced 2025-05-03 23:59:33 +00:00

Merge pull request 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

@ -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_;
}