Skip to content

Commit

Permalink
Recognize OpenBSD-native segment types
Browse files Browse the repository at this point in the history
  • Loading branch information
jasperla committed Nov 18, 2023
1 parent 5a401ca commit 6b9bd59
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/rp/elf_struct.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,26 @@ static std::string type_to_str(const uint32_t p_type) {
return "PAX_FLAGS";
}

case 0x65a3dbe5: {
return "OPENBSD_MUTABLE";
}

case 0x65a3dbe6: {
return "OPENBSD_RANDOMIZE";
}

case 0x65a3dbe7: {
return "OPENBSD_WXNEEDED";
}

case 0x65a3dbe8: {
return "OPENBSD_NOBTCFI";
}

case 0x65a41be6: {
return "OPENBSD_BOOTDATA";
}

case 0x70000001: {
return "SHT_AMD64_UNWIND";
}
Expand Down

0 comments on commit 6b9bd59

Please sign in to comment.