Skip to content

Instantly share code, notes, and snippets.

@Torrekie
Torrekie / session.h
Last active January 18, 2025 19:37
Guessed Apple's private ktrace API <ktrace/session.h>
#ifndef _KTRACE_SESSION_H_
#define _KTRACE_SESSION_H_
#include <inttypes.h>
#include <os/base.h>
#include <sys/types.h>
#include <sys/cdefs.h>
#include <sys/kdebug.h>
#include <dispatch/dispatch.h>
@Torrekie
Torrekie / llvm-apple@12.rb
Created February 14, 2022 09:56
Terrible homebrew formulae script for installing Apple's LLVM fork with swift enabled
# Patches are modified from https://github.com/ProcursusTeam/Procursus
# Formulae modified from homebrew llvm@12
class LlvmAppleAT12 < Formula
desc ""
homepage ""
url "https://github.com/apple/llvm-project/archive/swift-5.5-RELEASE.tar.gz"
sha256 "87955764fb6cd83cb24e0421f249ce3fc817400edd3c0015eb840fe7fd7cf5e3"
license ""
keg_only :provided_by_macos