Rewrite bindings to .NET 9 - #20
Open
AeonLucid wants to merge 5 commits into
Open
Conversation
AeonLucid
marked this pull request as ready for review
August 8, 2025 03:51
|
@AeonLucid Hello, This addition could be valuable for enhancing RPC capabilities within the .NET bindings. |
AeonLucid
force-pushed
the
rewrite-net-core
branch
from
August 23, 2025 20:08
b4377f3 to
b147b1a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a rewrite to support .NET 9, in this pull request I'll descibe the set up of the repository.
I tried my best to follow the standard of the other frida repositories so it can be integrated in the build system.
The project is divided into three libraries.
Closes #16
Build system
For windows it's important to build with
-mdflag, for example.\configure.bat --host=windows-x86_64-md.Frida.NET
This is a wrapper around the bindings to improve developer experience. The gir.core bindings are not pretty to work with. The result is that a developer can write this code and it just works.
Frida.NET.Bindings
These are bindings generated by gir.core/GirTool from the
Frida-1.0.girfile.They are ran through the helper.py script to make everything
internal. This is to not clutter the namespace and confuse the developer. The internals are only visible to theFrida.NETlibrary.Frida.NET.Runtime.*
This contains the
Frida.dll,Frida.dyliborFrida.sofile depending on the operating system.