Formats: Add DefaultFilename property

This commit is contained in:
Katy Coe
2020-12-09 17:34:38 +01:00
parent 90fa9cf193
commit 7e25fa9d1d
8 changed files with 18 additions and 0 deletions

View File

@@ -115,6 +115,8 @@ namespace Il2CppInspector
public ElfReader(Stream stream) : base(stream) { }
public override string DefaultFilename => "libil2cpp.so";
public override string Format => Bits == 32 ? "ELF" : "ELF64";
public override string Arch => (Elf) elf_header.e_machine switch {