You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The whole purpose of MemoryModule.NET is to load native libraries without touching the disk. The target binary might be some embedded resource, or a file downloaded from the internet.
The functions you showed are just simple wrappers around MacOS's native dlopen and dlsym, which requires libraries to be present on disk.
Activity
GGLaunch commentedon Feb 9, 2022
try it
trungnt2910 commentedon Feb 9, 2022
Which library is that?
GGLaunch commentedon Feb 11, 2022
@trungnt2910 https://docs.microsoft.com/zh-cn/dotnet/api/system.runtime.interopservices.nativelibrary?view=net-5.0 https://github.com/dotnet/runtime/blob/3ae87395f638a533f37b8e3385f6d3f199a72f4f/src/libraries/System.Private.CoreLib/src/System/Runtime/InteropServices/NativeLibrary.cs
trungnt2910 commentedon Feb 11, 2022
Oh, that function.
The whole purpose of MemoryModule.NET is to load native libraries without touching the disk. The target binary might be some embedded resource, or a file downloaded from the internet.
The functions you showed are just simple wrappers around MacOS's native
dlopenanddlsym, which requires libraries to be present on disk.