SeedV / SeedLang

An embeddable and visualizable scripting engine for .Net and Unity.
https://seedv.github.io/SeedLang/
Apache License 2.0
9 stars 1 forks source link

Secure SeedLang when Unity Managed Code Stripping is on #60

Open wixette opened 2 years ago

wixette commented 2 years ago

See https://github.com/wixette/isb/issues/7

How to automate a process to ensure that SeedLang has no such issue?

wixette commented 2 years ago

Unity strips unused code when compiling IL to CPP. See https://docs.unity3d.com/Manual/ManagedCodeStripping.html

For the code that uses C# Reflection to instantiate a class instance, invoke a method, or access field, Unity could category them as unused code.

Questions: