Jethro Grassie
4d8ef87936
pageProtect when missing pthread_jit_write_protect_np
2021-11-13 08:53:57 -05:00
Jethro Grassie
31b9b0f8fc
Add runtime checks
2021-11-12 20:59:19 -05:00
Jethro Grassie
c7973839fa
Fix apple-non-arm jit guard
2021-11-12 14:50:41 -05:00
Howard Chu
ae2c241a96
Fix #216 - MacOS JIT privs are not ARM-specific
2021-11-06 20:07:11 +00:00
Howard Chu
d9b7e8c25d
Faster W^X policy for apple silicon macs
2021-05-20 20:35:18 +01:00
selsta
7c172f746f
virtual_memory: add MAP_JIT on macOS
2020-06-28 17:29:41 +02:00
tevador
708a4e50c5
Fix compilation and JIT support on NetBSD:
...
1. Disable hugepages (not supported).
2. Force W^X (required).
3. When allocating JIT memory, PROT_EXEC must be reserved
in order to set the pages executable later.
2020-06-28 16:16:20 +02:00
ston1th
f3ded36061
Fixed mmap on OpenBSD
...
OpenBSD's mmap does not support `MAP_HUGETLB` and `MAP_POPULATE`.
2019-10-20 10:36:46 +02:00
tevador and GitHub
67010ab554
Optional W^X policy for JIT pages ( #112 )
2019-08-25 13:47:40 +02:00
tevador and GitHub
c433f6d3a8
Fix: hardcoded JIT code buffer size ( #98 )
...
* code buffer size is calculated based on RandomX parameters
* added a maximum value constraint for program size and superscalar latency
* reduced the x86 code size of memory instructions by 1 byte
* disclaimer note in configuration documentation
2019-07-09 20:27:10 +02:00
tevador and GitHub
118f3054ea
Large page support for FreeBSD ( #74 )
2019-06-22 15:55:31 +02:00
tevador
1276d67d2f
Fix build on Cygwin/MinGW
2019-05-18 19:30:28 +02:00
tevador
2706a8b753
Relicensed under the 3-clause BSD license
2019-05-18 14:21:47 +02:00
tevador
a78429202b
Query for LargePageMinimum on Windows
2019-05-06 18:18:52 +02:00
tevador
d7eefce583
Removed capital letters from filenames
2019-04-20 16:53:06 +02:00