Skip to content

Commit 0068c8a

Browse files
committed
feat: Extend elf_osabi map
1 parent b1dd6c7 commit 0068c8a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/structures/elf.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ pub fn parse_elf_header(elf_data: &[u8]) -> Result<ELFHeader, StructureError> {
4242
(2, "NetBSD"),
4343
(3, "Linux"),
4444
(4, "GNU Hurd"),
45+
(5, "86Open"),
4546
(6, "Solaris"),
4647
(7, "AIX"),
4748
(8, "IRIX"),
@@ -55,6 +56,10 @@ pub fn parse_elf_header(elf_data: &[u8]) -> Result<ELFHeader, StructureError> {
5556
(16, "FenixOS"),
5657
(17, "Nuxi CloudABI"),
5758
(18, "OpenVOS"),
59+
(97, "ARM ABI"),
60+
(102, "Cell LV2"),
61+
(202, "Cafe OS"),
62+
(255, "embedded"),
5863
]);
5964

6065
let elf_types = HashMap::from([

0 commit comments

Comments
 (0)