Something went wrong. Try again.
A simple debugger
Something went wrong. Try again.
12345678910111213141516const std = @import("std");const macho = @import("macho.zig");
const debugger = @import("debugger.zig");
pub fn main() !void { const magic = @intFromEnum(macho.Magic.mh_magic_64); std.debug.assert(magic == 0xfeedfacf); std.debug.assert(magic != 0);
const pid = try debugger.launchSuspended("../hello");
std.debug.print("pid: {}\n", .{pid});}