Clarify file format output names

This commit is contained in:
Katy Coe
2019-10-28 22:42:02 +01:00
parent be2bc858af
commit f178acccbd
2 changed files with 2 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ namespace Il2CppInspector
public ElfReader(Stream stream) : base(stream) { }
public override string Format => "ELF";
public override string Format => Bits == 32 ? "ELF" : "ELF64";
public override string Arch => (Elf) elf_header.e_machine switch {
Elf.EM_386 => "x86",

View File

@@ -61,7 +61,7 @@ namespace Il2CppInspector
protected MachOReader(Stream stream) : base(stream) { }
public override string Format => "Mach-O";
public override string Format => "Mach-O " + (Bits == 32 ? "32-bit" : "64-bit");
public override string Arch => (MachO)header.CPUType switch
{