
ALT Screenshot of the VirtualApple app. A window for “test.vmapple” is open, and a modal for configuration is presented. At the top is a slider for “CPU count:” going from 1-10, currently set to 4. Below it is a slider for “Memory:” going from 1 GB to 32 GB, currently set to 8 GB. Under that is a section for “Boot:” with two checkboxes, “Into Recovery” and “Halt on Panic”, deselected and selected respectively. The last section is “Debug:” and it has a checkbox for “Run GDB stub on port” and a text field next to it filled out with 5555. Below the checkbox is this caption: Starting a virtual machine with the GDB stub requires passing an entitlement check (run by the VirtualMachine XPC service) against this process for the com.apple.private.virtualization entitlement. Finally, at the bottom right is a highlighted “Save” button.
![Two overlapping windows. In the background is a Virtualization.framework-based macOS Monterey VM. In the foreground is an iTerm window with three tabs; the first is running a binary called “endpoint_security”, the second lldb, and the third also lldb. The last tab is focused and it is connected to the GDB stub. Here’s the content: (lldb) bt * thread #1, name = 'CPU1', stop reason = signal SIGSTOP * frame #0: 0xfffffe001fe6c1f0 kernel.release.vmapple`cpu_idle at cpu.c:568:2 [opt] frame #1: 0xfffffe001fd7f000 kernel.release.vmapple`processor_idle [inlined] machine_idle at machine_routines.c:326:2 [opt] frame #2: 0xfffffe001fd7effc kernel.release.vmapple`processor_idle(thread=0x0000000000000000, processor=0xfffffe002240ad08) at sched_prim.c:6031:3 [opt] frame #3: 0xfffffe001fd7f238 kernel.release.vmapple`idle_thread(parameter=<unavailable>, result=<unavailable>) at sched_prim.c:6121:24 [opt] frame #4: 0xfffffe001fd0f62c kernel.release.vmapple`Call_continuation + 204](https://pbs.twimg.com/media/E5WUElWVkAAShTb.jpg?name=small&format=webp)
ALT Two overlapping windows. In the background is a Virtualization.framework-based macOS Monterey VM. In the foreground is an iTerm window with three tabs; the first is running a binary called “endpoint_security”, the second lldb, and the third also lldb. The last tab is focused and it is connected to the GDB stub. Here’s the content: (lldb) bt * thread #1, name = 'CPU1', stop reason = signal SIGSTOP * frame #0: 0xfffffe001fe6c1f0 kernel.release.vmapple`cpu_idle at cpu.c:568:2 [opt] frame #1: 0xfffffe001fd7f000 kernel.release.vmapple`processor_idle [inlined] machine_idle at machine_routines.c:326:2 [opt] frame #2: 0xfffffe001fd7effc kernel.release.vmapple`processor_idle(thread=0x0000000000000000, processor=0xfffffe002240ad08) at sched_prim.c:6031:3 [opt] frame #3: 0xfffffe001fd7f238 kernel.release.vmapple`idle_thread(parameter=<unavailable>, result=<unavailable>) at sched_prim.c:6121:24 [opt] frame #4: 0xfffffe001fd0f62c kernel.release.vmapple`Call_continuation + 204





















