[pcre-dev] [Bug 2334] "make test" reports test failures when…

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Old-Topics: [pcre-dev] [Bug 2334] New: "make test" reports test failures when running on macOS (x86_64)
Subject: [pcre-dev] [Bug 2334] "make test" reports test failures when running on macOS (x86_64)
https://bugs.exim.org/show_bug.cgi?id=2334

--- Comment #43 from Rich Siegel <siegel@???> ---
(In reply to Zoltan Herczeg from comment #42)
> Well, the best way to do it would be providing an API which allows setting a
> custom executable memory allocator for JIT. But I think for most people this
> would not make things simpler.


Agreed.

> Is it possible to detect "hardened runtime" feature during runtime? Because
> we could simply not use MAP_JIT if it is not set (I suspect it is not set
> for lnav).


Yes - I can write code that will return whether the current executable is built
with the hardened runtime -or- sandboxed. I will do so and add it here as an
attachment. (I'll get it done as soon as I can, but it will probably take a
couple of days to fit in with my work schedule.)

Note that when targeting macOS this will require you to link against a couple
of system frameworks, so it will be necessary to change the build configuration
scripts to take that into account. (I don't know how to do that, but I assume
someone does :-) and I can tell you what option flags to add to clang.)

--
You are receiving this mail because:
You are on the CC list for the bug.