Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 716 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 716 Bytes

SharpNativeDLL

NativeAOT assisted native .NET DLL injection

This is an example project to inject a NAOT compiled native .NET DLL. It implements a custom UnmanagedCallersOnly DllMain entrypoint which handles DLL_PROCESS_ATTACH protocol, and can be modified to further accept other protocols.

REQUIREMENTS: .NET 7

Limitations

The limitations for this particular implementation is outlined in the official documentation for NativeAOT

The most notable limitation is that it is bound to x64 and ARM64 architectures.

Screenshot