mirror of
https://github.com/Perfare/Il2CppDumper.git
synced 2025-01-10 03:27:28 -03:00
调整可访问性
This commit is contained in:
parent
9bfc58b2e7
commit
d085c45ce6
12 changed files with 14 additions and 14 deletions
|
@ -3,7 +3,7 @@ using System.Linq;
|
|||
|
||||
namespace Il2CppDumper
|
||||
{
|
||||
internal static class ArmHelper
|
||||
static class ArmHelper
|
||||
{
|
||||
public static uint decodeMov(byte[] asm)
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
namespace Il2CppDumper
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Field)]
|
||||
public class VersionAttribute : Attribute
|
||||
class VersionAttribute : Attribute
|
||||
{
|
||||
public int Min { get; set; } = 0;
|
||||
public int Max { get; set; } = 99;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
namespace Il2CppDumper
|
||||
{
|
||||
internal static class DefineConstants
|
||||
static class DefineConstants
|
||||
{
|
||||
/*
|
||||
* Field Attributes (21.1.5).
|
||||
|
|
|
@ -8,7 +8,7 @@ using Mono.Cecil.Cil;
|
|||
|
||||
namespace Il2CppDumper
|
||||
{
|
||||
class DummyAssemblyCreator
|
||||
public class DummyAssemblyCreator
|
||||
{
|
||||
Metadata metadata;
|
||||
Il2Cpp il2cpp;
|
||||
|
|
|
@ -6,7 +6,7 @@ using System.Text;
|
|||
|
||||
namespace Il2CppDumper
|
||||
{
|
||||
class Elf : Il2Cpp
|
||||
public class Elf : Il2Cpp
|
||||
{
|
||||
private Elf32_Ehdr elf_header;
|
||||
private Elf32_Phdr[] program_table_element;
|
||||
|
|
|
@ -5,7 +5,7 @@ using System.Linq;
|
|||
|
||||
namespace Il2CppDumper
|
||||
{
|
||||
abstract class Il2Cpp : MyBinaryReader
|
||||
public abstract class Il2Cpp : MyBinaryReader
|
||||
{
|
||||
private Il2CppMetadataRegistration pMetadataRegistration;
|
||||
private Il2CppCodeRegistration pCodeRegistration;
|
||||
|
|
|
@ -7,7 +7,7 @@ using static Il2CppDumper.ArmHelper;
|
|||
|
||||
namespace Il2CppDumper
|
||||
{
|
||||
class Macho : Il2Cpp
|
||||
public class Macho : Il2Cpp
|
||||
{
|
||||
private List<MachoSection> sections = new List<MachoSection>();
|
||||
private static byte[] FeatureBytes1 = { 0x0, 0x22 };//MOVS R2, #0
|
||||
|
|
|
@ -7,7 +7,7 @@ using static Il2CppDumper.ArmHelper;
|
|||
|
||||
namespace Il2CppDumper
|
||||
{
|
||||
class Macho64 : Il2Cpp
|
||||
public class Macho64 : Il2Cpp
|
||||
{
|
||||
private List<MachoSection64bit> sections = new List<MachoSection64bit>();
|
||||
private static byte[] FeatureBytes1 = { 0x2, 0x0, 0x80, 0xD2 };//MOV X2, #0
|
||||
|
|
|
@ -5,7 +5,7 @@ using System.Text;
|
|||
|
||||
namespace Il2CppDumper
|
||||
{
|
||||
class MachoSection
|
||||
public class MachoSection
|
||||
{
|
||||
public string section_name;
|
||||
public uint address;
|
||||
|
@ -14,7 +14,7 @@ namespace Il2CppDumper
|
|||
public uint end;
|
||||
}
|
||||
|
||||
class MachoSection64bit
|
||||
public class MachoSection64bit
|
||||
{
|
||||
public string section_name;
|
||||
public ulong address;
|
||||
|
@ -23,7 +23,7 @@ namespace Il2CppDumper
|
|||
public ulong end;
|
||||
}
|
||||
|
||||
class Fat
|
||||
public class Fat
|
||||
{
|
||||
public uint file_offset;
|
||||
public uint size;
|
||||
|
|
|
@ -6,7 +6,7 @@ using System.Text;
|
|||
|
||||
namespace Il2CppDumper
|
||||
{
|
||||
class MachoFat : MyBinaryReader
|
||||
public class MachoFat : MyBinaryReader
|
||||
{
|
||||
public Fat[] fats;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ using System.Text;
|
|||
|
||||
namespace Il2CppDumper
|
||||
{
|
||||
class Metadata : MyBinaryReader
|
||||
public class Metadata : MyBinaryReader
|
||||
{
|
||||
private Il2CppGlobalMetadataHeader pMetadataHdr;
|
||||
public int uiImageCount;
|
||||
|
|
|
@ -5,7 +5,7 @@ using System.Text;
|
|||
|
||||
namespace Il2CppDumper
|
||||
{
|
||||
class MyBinaryReader : BinaryReader
|
||||
public class MyBinaryReader : BinaryReader
|
||||
{
|
||||
public MyBinaryReader(Stream stream) : base(stream) { }
|
||||
|
||||
|
|
Loading…
Reference in a new issue