Comments (1)
On MacOS 10.14 (Mojave) and above, Apple restricts the use of mmap with protections PROT_EXEC and PROT_WRITE.
According to the official documentation, using the MAP_JIT flag should still work, but for some reason, it results in an EADDRESS.
Porting Just-In-Time Compilers to Apple Silicon
That's necessary to allocate a native code to prepare delegate.
Jitex/src/Jitex/Utils/MemoryHelper.cs
Lines 33 to 45 in 666c73a
We will need to find another way to bypass this restriction.
from jitex.
Related Issues (20)
- ForceRecompile not working with virtual methods
- Virtual pointers are overwriting ctor
- Add support to event after method compiled
- Support for .NET 6.0
- can not catch Assembly.GetCallingAssembly().GetManifestResourceStream() HOT 4
- Add support to intercept call when is a ctor
- Can Jitex still intercept methods that have already been JIT-compiled? HOT 9
- Intercept method with multiple ret instructions
- Handling exception on intercept method
- Add support to .NET 7
- Add support to disable R2R on mac
- Add support to .NET 8 HOT 2
- Any chance for x86? HOT 13
- Add support to .NET 9 HOT 1
- Internal CLR Error on .NET 7-windows HOT 3
- How to Inject the lib to an Aseembly? HOT 2
- Hook Encoding.GetString
- classes and methods that inherit from MarshalByRefObject
- Need help
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jitex.