Courtesy of [Wine Bugzilla #46842][1].
Microsoft Debugging Tools for Windows installed in WINEPREFIX. Get them [here (64-bit)][2] and [here (32-bit)][3].
Set native overrides:
This text is the section about OS X Yosemite (which also works for macOS Sierra) from https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x
The last time i visited this link it was dead (403), so I cloned it here from the latest snapshot in Archive.org's Wayback Machine https://web.archive.org/web/20170523131633/https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/
| (* | |
| The zero_pad function taken from: | |
| http://www.nineboxes.net/2009/10/an-applescript-function-to-zero-pad-integers/ | |
| *) | |
| on zero_pad(value, string_length) | |
| set string_zeroes to "" | |
| set digits_to_pad to string_length - (length of (value as string)) | |
| if digits_to_pad > 0 then | |
| repeat digits_to_pad times | |
| set string_zeroes to string_zeroes & "0" as string |
| // | |
| // main.m | |
| // EndpointSecurityDemo | |
| // | |
| // Created by Omar Ikram on 17/06/2019 - macOS Catalina 10.15 Beta 1 (19A471t) | |
| // Updated by Omar Ikram on 15/08/2019 - macOS Catalina 10.15 Beta 5 (19A526h) | |
| // Updated by Omar Ikram on 01/12/2019 - macOS Catalina 10.15 (19A583) | |
| // Updated by Omar Ikram on 31/01/2021 - macOS Big Sur 11.1 (20C69) | |
| // Updated by Omar Ikram on 07/05/2021 - macOS Big Sur 11.3.1 (20E241) | |
| // Updated by Omar Ikram on 04/07/2021 - macOS Monterey 12 Beta 2 (21A5268h) |
| #include <stdio.h> | |
| #include <syslog.h> | |
| #include <stdlib.h> | |
| __attribute__((constructor)) | |
| static void customConstructor(int argc, const char **argv) | |
| { | |
| setuid(0); | |
| system("id"); | |
| printf("Hello from dylib!\n"); |
| #! /bin/bash | |
| # Simple Utility Script for allowing debug of hardened macOS apps. | |
| # This is useful mostly for plug-in developer that would like keep developing without turning SIP off. | |
| # Credit for idea goes to (McMartin): https://forum.juce.com/t/apple-gatekeeper-notarised-distributables/29952/57?u=ttg | |
| # Update 2022-03-10: Based on Fabian's feedback, add capability to inject DYLD for sanitizers. | |
| # | |
| # Please note: | |
| # - Modern Logic (on M1s) uses `AUHostingService` which resides within the system thus not patchable and REQUIRES to turn-off SIP. | |
| # - Some hosts uses separate plug-in scanning or sandboxing. | |
| # if that's the case, it's required to patch those (if needed) and attach debugger to them instead. |
| # Distributed under the OSI-approved BSD 3-Clause License. See accompanying | |
| # file Copyright.txt or https://cmake.org/licensing for details. | |
| #.rst: | |
| # FindOpenMP | |
| # ---------- | |
| # | |
| # Finds OpenMP support | |
| # | |
| # This module can be used to detect OpenMP support in a compiler. If |