Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Jan 28, 2024
1 parent 2273dbd commit e536bc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/ELF/Header.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ OBJECT_TYPES Header::abstract_object_type() const {
case FILE_TYPE::NONE:
return OBJECT_TYPES::TYPE_NONE;
}
return OBJECT_TYPES::TYPE_NONE;
}

Header::abstract_architecture_t Header::abstract_architecture() const {
Expand Down Expand Up @@ -134,6 +135,7 @@ Header::abstract_architecture_t Header::abstract_architecture() const {
default:
return {ARCH_NONE, {}};
}
return {ARCH_NONE, {}};
}


Expand All @@ -143,6 +145,7 @@ ENDIANNESS Header::abstract_endianness() const {
case ELF_DATA::MSB: return ENDIAN_BIG;
case ELF_DATA::NONE: return ENDIAN_NONE;
}
return ENDIAN_NONE;
}

void Header::identity(const std::string& identity) {
Expand Down

0 comments on commit e536bc3

Please sign in to comment.