Fix has_exceptions to check exception table

Change has_exceptions to check the exception table instead of the export table.
This commit is contained in:
Wind3x 2020-06-25 13:24:46 -07:00 committed by GitHub
parent ddc8b72e6b
commit 04c18f851e
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_;
}