Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions descriptions/SDK.UnityCoreCLR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[**CoreCLR**](https://docs.unity3d.com/Manual/scripting-backends.html) is one of Unity's scripting backends, running C# scripts on Microsoft's .NET runtime instead of Mono.
1 change: 1 addition & 0 deletions descriptions/SDK.UnityIL2CPPNet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[**IL2CPP**](https://docs.unity3d.com/Manual/IL2CPP.html) is one of Unity's possible backend that converts MSIL (Microsoft Intermediate Language) code (for example, C# code in scripts) based on the .net BCL into C++ code and then uses this code to create a binary file.
2 changes: 2 additions & 0 deletions rules.ini
Original file line number Diff line number Diff line change
Expand Up @@ -383,12 +383,14 @@ Tobii = (?:^|/)Tobii
trueSKY = (?:^|/)TrueSky(?:PluginRender_MT|PluginRender_MD|UI_MD)\.dll$
Ultraleap = (?:^|/)LeapC?\.dll$
UnityBurst = (?:^|/)lib_burst_generated\.(?:dll|so|bundle)$
UnityCoreCLR = (?:^|/)(?:[^/]+_Data|Contents/(?:Resources/)?Data)/Managed/Unity\.Private\.Scripting\.dll$

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking at the generated test strings, this regex isn't great
just looking for Managed/Unity.Private.Scripting.dll isn't enough?

UnityEntities[] = (?:^|/)Unity\.Entities\.dll$
UnityEntities[] = (?:^|/)StreamingAssets/SubScenes/
UnityEntities[] = (?:^|/)StreamingAssets/EntityScenes/
UnityHDRP = (?:^|/)Unity\.RenderPipelines\.HighDefinition\.(?:Config\.Runtime|Runtime)\.dll$
UnityHybridRenderer = (?:^|/)Unity\.Rendering\.Hybrid\.dll$
UnityIL2CPP = (?:^|/)il2cpp_data/Metadata/global-metadata\.dat$
UnityIL2CPPNet = (?:^|/)il2cpp_data/Resources/System\.Private\.CoreLib\.dll-resources\.dat$
UnityMultiplayerServices = (?:^|/)Unity\.Services\.Multiplay(?:er)?\.dll$
UnityURP = (?:^|/)Unity\.RenderPipelines\.Universal\.Runtime\.dll$
V8 = (?:^|/)v8\.dll$
Expand Down
48 changes: 48 additions & 0 deletions tests/types/SDK.UnityCoreCLR.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
!!!!_Data/Managed/Unity.Private.Scripting.dll
!!!_Data/Managed/Unity.Private.Scripting.dll
!!_Data/Managed/Unity.Private.Scripting.dll
!_Data/Managed/Unity.Private.Scripting.dll
/!!!!_Data/Managed/Unity.Private.Scripting.dll
/!!!_Data/Managed/Unity.Private.Scripting.dll
/!!_Data/Managed/Unity.Private.Scripting.dll
/!_Data/Managed/Unity.Private.Scripting.dll
/7777_Data/Managed/Unity.Private.Scripting.dll
/777_Data/Managed/Unity.Private.Scripting.dll
/77_Data/Managed/Unity.Private.Scripting.dll
/7_Data/Managed/Unity.Private.Scripting.dll
/@@@@_Data/Managed/Unity.Private.Scripting.dll
/@@@_Data/Managed/Unity.Private.Scripting.dll
/@@_Data/Managed/Unity.Private.Scripting.dll
/@_Data/Managed/Unity.Private.Scripting.dll
/Contents/Data/Managed/Unity.Private.Scripting.dll
/Contents/Resources/Data/Managed/Unity.Private.Scripting.dll
/YYYY_Data/Managed/Unity.Private.Scripting.dll
/YYY_Data/Managed/Unity.Private.Scripting.dll
/YY_Data/Managed/Unity.Private.Scripting.dll
/Y_Data/Managed/Unity.Private.Scripting.dll
/x_Data/Managed/Unity.Private.Scripting.dll
/xx_Data/Managed/Unity.Private.Scripting.dll
/xxx_Data/Managed/Unity.Private.Scripting.dll
/xxxx_Data/Managed/Unity.Private.Scripting.dll
7777_Data/Managed/Unity.Private.Scripting.dll
777_Data/Managed/Unity.Private.Scripting.dll
77_Data/Managed/Unity.Private.Scripting.dll
7_Data/Managed/Unity.Private.Scripting.dll
@@@@_Data/Managed/Unity.Private.Scripting.dll
@@@_Data/Managed/Unity.Private.Scripting.dll
@@_Data/Managed/Unity.Private.Scripting.dll
@_Data/Managed/Unity.Private.Scripting.dll
Contents/Data/Managed/Unity.Private.Scripting.dll
Contents/Resources/Data/Managed/Unity.Private.Scripting.dll
Game.app/Contents/Resources/Data/Managed/Unity.Private.Scripting.dll
Game_Data/Managed/Unity.Private.Scripting.dll
My project (1)_Data/Managed/Unity.Private.Scripting.dll
Sub/Folder/Game_Data/Managed/Unity.Private.Scripting.dll
YYYY_Data/Managed/Unity.Private.Scripting.dll
YYY_Data/Managed/Unity.Private.Scripting.dll
YY_Data/Managed/Unity.Private.Scripting.dll
Y_Data/Managed/Unity.Private.Scripting.dll
x_Data/Managed/Unity.Private.Scripting.dll
xx_Data/Managed/Unity.Private.Scripting.dll
xxx_Data/Managed/Unity.Private.Scripting.dll
xxxx_Data/Managed/Unity.Private.Scripting.dll
5 changes: 5 additions & 0 deletions tests/types/SDK.UnityIL2CPPNet.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/il2cpp_data/Resources/System.Private.CoreLib.dll-resources.dat
Game.app/Contents/Resources/Data/il2cpp_data/Resources/System.Private.CoreLib.dll-resources.dat
Game_Data/il2cpp_data/Resources/System.Private.CoreLib.dll-resources.dat
Sub/Folder/Game_Data/il2cpp_data/Resources/System.Private.CoreLib.dll-resources.dat
il2cpp_data/Resources/System.Private.CoreLib.dll-resources.dat
11 changes: 11 additions & 0 deletions tests/types/_NonMatchingTests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ _tyrano_data.savv
_tyrano_data_sav
_tyrano-data.av
_tyrano-data.sa
Game_Data/notil2cpp_data/Resources/System.Private.CoreLib.dll-resources.dat
FreeImage.dl
FreeImage.s
folder/soundbankinfo.xml
Expand All @@ -278,6 +279,7 @@ phaser.dl
haser.dll
phaser_dll
ui.hdllf
Game_Data/Resources/System.Private.CoreLib.dll-resources.dat
ffalcoengine.dll
falcoengine_dll
falcoengine.dl
Expand Down Expand Up @@ -364,6 +366,7 @@ xaudio2_9redist_dll
ajs/rpg_core.js
js/rpg_core.jssss
js/rmmz_core.jssss
System.Private.CoreLib.dll-resources.dat
ajs/rmmz_core.js
Sub/Folder/RPT_RT.exeeee
Sub/Folder/js/rpg_core.jssss
Expand Down Expand Up @@ -416,6 +419,7 @@ iw_00_iwd
code_post_gfx.f
common.f
common_zm.f
Game_Data/Managed/Unity_Private_Scripting.dll
iw_00.iw
commonzm.ff
common_m.ff
Expand Down Expand Up @@ -486,6 +490,7 @@ mss32.dl
mss64.dl
ss16.dll
ss32.dll
Bee/artifacts/WinPlayerBuildProgram/ManagedStripped/Unity.Private.Scripting.dll
ss64.dll
mss16_dll
mss32_dll
Expand Down Expand Up @@ -677,6 +682,7 @@ sub/dir/Cry3DEngine.dllf
sub/dir/CryRenderD3D11.dllf
sub/dir/CryRenderD3D12.dllf
sub/dir/CryRenderVulkan.dllf
Bee/artifacts/WinPlayerBuildProgram/il2cppOutput/data/Resources/System.Private.CoreLib.dll-resources.dat
sub/dir/CryD3DCompilerStub.dllf
sub/dir/engine.pakf
TP3Helper.ex
Expand Down Expand Up @@ -786,6 +792,7 @@ sub/folder/asnd_a.ogg
sndf_whatever.ogg
sndf_a.ogg
sub/folder/sndf_whatever.ogg
Game_Data/il2cpp_data/Resources/System_Private_CoreLib_dll-resources_dat
sub/folder/sndf_a.ogg
snd_.ogg
sub/folder/snd_.ogg
Expand Down Expand Up @@ -847,6 +854,7 @@ s3client.
s3client_win32.
rts3client.dll
rts3client_win32.dll
Game_Data/Managed/Unity.Private.Scripting.dlll
Outsider_Strategist/data.dt
Outsider_Strategist/data_dts
Outsider_Strategist/ata.dts
Expand Down Expand Up @@ -948,6 +956,7 @@ notactuallyAntiCheatExpert
AntiCheatExpert.whatever
AceAntibotClient
notactuallyAceAntibotClient
Game_Data/il2cpp_data/Resources/System.Private.CoreLib.dll-resources.datt
AceAntibotClient.whatever
ffx_fsr2_api_x42.dll
Binaries/ffx_fsr2_api_x64.dlll
Expand Down Expand Up @@ -1221,6 +1230,7 @@ coccos-js/cc_a9323_js
sub/dir/coccos-js/cc_a9323.jsf
PartyyWin7.dll
PartyXboxxLive.dll
Unity.Private.Scripting.dll
chroome_elf.dll
chrome_elf
libbcef.so
Expand Down Expand Up @@ -1346,6 +1356,7 @@ abcth_dnh.def
th_dnh_def
Engine/Binarisdes/ThirdParty/PhysX3/Win64/VS2015/NvClothdaasdPROFILE_x64.dlsdaasl
Engine/Binarieasds/ThirdParty/PhysX3/Win64/VS2015/NvCloth_asdx64.dasdll
Game_BackUpThisFolder_ButDontShipItWithYourGame/Managed/Unity.Private.Scripting.dll
Engisdane/Binaries/ThirdParty/PhysX3/Win32/VS2015/NvClotsshPROFILE_x86.dlsdasdl
Engine/Binasdries/ThirdParty/PhysX3/Win32/VS2015/NvsClosth_x86.dasdasdll
th_dnh.definitive
Expand Down