Instance Propertynmggithub.kass 3.2.4MachCore
recipes
The recipes in the voucher.
var recipes: [Mach.VoucherAttributeRecipe] { get throws }
The recipes in the voucher.
var recipes: [Mach.VoucherAttributeRecipe] { get throws }
s8MachCore0A0V7VoucherC7recipesSayAC0C15AttributeRecipeVGvp
What are these?3MV4K
import MachCore
The core module for interacting with the Mach kernel.
class Voucher
A voucher.
struct Mach
The Mach kernel.
struct VoucherAttributeRecipe
A voucher attribute recipe.
func recipe(forKey key: Mach.VoucherAttributeKey) throws -> mach_voucher_attr_recipe_t
Gets a recipe from the voucher.
convenience init(recipes: consuming [Mach.VoucherAttributeRecipe]) throws
Creates a new voucher with the given recipes.
override class var Nil: `Self` { get }
A voucher that represents no voucher.
func executeCommand(key: Mach.VoucherAttributeKey, command: any Mach.VoucherAttributeCommand, input: BitwiseCopyable? = nil) throws -> Data?
Executes a command on the voucher.