代码混淆

This commit is contained in:
lishuo committed 2023-04-14 15:51:28 +08:00
1 parent a149a7c08e
commit fb75ff5318
73 files changed
+3006 -8

No files matched your search

+65 -1
View File
@@ -11,6 +11,25 @@ PluginImporter:
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Android: 0
Exclude Editor: 0
Exclude Linux64: 0
Exclude OSXUniversal: 0
Exclude Win: 0
Exclude Win64: 1
Exclude WindowsStoreApps: 0
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 1
settings:
CPU: ARMv7
- first:
Any:
second:
@@ -18,10 +37,55 @@ PluginImporter:
settings: {}
- first:
Editor: Editor
second:
enabled: 1
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
Standalone: Linux64
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: OSXUniversal
second:
enabled: 1
settings:
CPU: x86_64
- first:
Standalone: Win
second:
enabled: 1
settings:
CPU: x86
- first:
Standalone: Win64
second:
enabled: 0
settings:
DefaultValueInitialized: true
CPU: None
- first:
Windows Store Apps: WindowsStoreApps
second:
enabled: 1
settings:
CPU: X86
DontProcess: false
PlaceholderPath:
SDK: AnySDK
ScriptingBackend: AnyScriptingBackend
- first:
iPhone: iOS
second:
enabled: 1
settings:
AddToEmbeddedBinaries: false
CPU: AnyCPU
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:
+9
View File
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 19b5fde17c327fc47b67f5109de2b5c1
folderAsset: yes
timeCreated: 1456430305
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
+9
View File
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: eadea68d080befc40bf4a084b6e50974
folderAsset: yes
timeCreated: 1456430305
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2015,2016 Beebyte Limited. All rights reserved.
*/
using System;
namespace Beebyte.Obfuscator
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
public class DoNotFakeAttribute: System.Attribute
{
public DoNotFakeAttribute()
{
}
}
}
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 04b72297763b2b248a299450309ef5c3
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,7 @@
namespace Beebyte.Obfuscator
{
public enum MessageCode
{
UnityReflectionMethodNotFound
}
}
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: b489aabd28c6fcd47ba0e3800e63c008
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2016 Beebyte Limited. All rights reserved.
*/
using System;
namespace Beebyte.Obfuscator
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class)]
public class ObfuscateLiteralsAttribute : System.Attribute
{
public ObfuscateLiteralsAttribute()
{
}
}
}
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: eeac2113ec2cb364fa42782c57e2c802
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,27 @@
/*
* Copyright (c) 2015,2016 Beebyte Limited. All rights reserved.
*/
using System;
namespace Beebyte.Obfuscator
{
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface|AttributeTargets.Struct|AttributeTargets.Method|AttributeTargets.Enum|AttributeTargets.Field|AttributeTargets.Property|AttributeTargets.Delegate)]
public class RenameAttribute : System.Attribute
{
private readonly string target;
private RenameAttribute()
{
}
public RenameAttribute(string target)
{
this.target = target;
}
public string GetTarget()
{
return target;
}
}
}
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 82b8519c2b68ec346a26608597706bb6
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2016 Beebyte Limited. All rights reserved.
*/
using System;
namespace Beebyte.Obfuscator
{
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface|AttributeTargets.Struct|AttributeTargets.Method|AttributeTargets.Enum|AttributeTargets.Field|AttributeTargets.Property|AttributeTargets.Event|AttributeTargets.Delegate)]
public class ReplaceLiteralsWithNameAttribute : System.Attribute
{
public ReplaceLiteralsWithNameAttribute()
{
}
}
}
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: deaebd23fa7658a449def3d74a4cb94f
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2015,2016 Beebyte Limited. All rights reserved.
*/
using System;
namespace Beebyte.Obfuscator
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Event | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Delegate)]
public class SkipAttribute : System.Attribute
{
public SkipAttribute()
{
}
}
}
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 03318b5bebc7dc74cbb8a77069562661
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2015,2016 Beebyte Limited. All rights reserved.
*/
using System;
namespace Beebyte.Obfuscator
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Field | AttributeTargets.Parameter | AttributeTargets.Event | AttributeTargets.Enum | AttributeTargets.Property | AttributeTargets.Delegate)]
public class SkipRenameAttribute : System.Attribute
{
public SkipRenameAttribute()
{
}
}
}
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 2288ab70b40614240a9d8b9992e32b5d
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1 @@
// Deprecated - See SuppressLogAttribute.cs
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 0dd28f0e347550542af285906ff2b7b6
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,24 @@
using System;
namespace Beebyte.Obfuscator
{
/**
* Suppresses certain messages (usually warnings) that the Obfuscator can output.
*/
[AttributeUsage(AttributeTargets.Method)]
public class SuppressLogAttribute : System.Attribute
{
#pragma warning disable 414
private readonly MessageCode _messageCode;
#pragma warning restore 414
private SuppressLogAttribute()
{
}
public SuppressLogAttribute(MessageCode messageCode)
{
_messageCode = messageCode;
}
}
}
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 127983f6e52ffcd48b32ca6570834a69
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: