Clarify file format output names
This commit is contained in:
@@ -111,7 +111,7 @@ namespace Il2CppInspector
|
|||||||
|
|
||||||
public ElfReader(Stream stream) : base(stream) { }
|
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 {
|
public override string Arch => (Elf) elf_header.e_machine switch {
|
||||||
Elf.EM_386 => "x86",
|
Elf.EM_386 => "x86",
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ namespace Il2CppInspector
|
|||||||
|
|
||||||
protected MachOReader(Stream stream) : base(stream) { }
|
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
|
public override string Arch => (MachO)header.CPUType switch
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user