调整可访问性

This commit is contained in:
Perfare 2018-01-06 09:42:27 +08:00
parent 9bfc58b2e7
commit d085c45ce6
12 changed files with 14 additions and 14 deletions

View file

@ -3,7 +3,7 @@ using System.Linq;
namespace Il2CppDumper
{
internal static class ArmHelper
static class ArmHelper
{
public static uint decodeMov(byte[] asm)
{

View file

@ -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;

View file

@ -1,6 +1,6 @@
namespace Il2CppDumper
{
internal static class DefineConstants
static class DefineConstants
{
/*
* Field Attributes (21.1.5).

View file

@ -8,7 +8,7 @@ using Mono.Cecil.Cil;
namespace Il2CppDumper
{
class DummyAssemblyCreator
public class DummyAssemblyCreator
{
Metadata metadata;
Il2Cpp il2cpp;

View file

@ -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;

View file

@ -5,7 +5,7 @@ using System.Linq;
namespace Il2CppDumper
{
abstract class Il2Cpp : MyBinaryReader
public abstract class Il2Cpp : MyBinaryReader
{
private Il2CppMetadataRegistration pMetadataRegistration;
private Il2CppCodeRegistration pCodeRegistration;

View file

@ -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

View file

@ -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

View file

@ -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;

View file

@ -6,7 +6,7 @@ using System.Text;
namespace Il2CppDumper
{
class MachoFat : MyBinaryReader
public class MachoFat : MyBinaryReader
{
public Fat[] fats;

View file

@ -6,7 +6,7 @@ using System.Text;
namespace Il2CppDumper
{
class Metadata : MyBinaryReader
public class Metadata : MyBinaryReader
{
private Il2CppGlobalMetadataHeader pMetadataHdr;
public int uiImageCount;

View file

@ -5,7 +5,7 @@ using System.Text;
namespace Il2CppDumper
{
class MyBinaryReader : BinaryReader
public class MyBinaryReader : BinaryReader
{
public MyBinaryReader(Stream stream) : base(stream) { }