<story><title>Debugging macOS Kernel Using VirtualBox</title><url>https://klue.github.io/blog/2017/04/macos_kernel_debugging_vbox/</url></story><parent_chain><item><author>jordigh</author><text>Is this completely allowed? I&amp;#x27;m probably misinformed, but I thought either certain debugging calls or certain kinds of virtualisation were disallowed by Apple. The fact that this kind of tutorial using virtualbox exists makes me think that someone is trying to work around something. I thought you weren&amp;#x27;t allowed to debug parts of macOS. Are there absolutely no limits, legal or technical?</text></item></parent_chain><comment><author>xenadu02</author><text>From &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;ssl.apple.com&amp;#x2F;legal&amp;#x2F;sla&amp;#x2F;docs&amp;#x2F;macOS1012.pdf&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;ssl.apple.com&amp;#x2F;legal&amp;#x2F;sla&amp;#x2F;docs&amp;#x2F;macOS1012.pdf&lt;/a&gt;, you are in fact allowed to run macOS in a VM so long as you do so on Apple hardware:&lt;p&gt;(iii) to install, use and run up to two (2) additional copies or instances of the Apple Software within virtual operating system environments on each Mac Computer you own or control that is already running the Apple Software, for purposes of: (a) software development; (b) testing during software development; (c) using macOS Server; or (d) personal, non-commercial use.</text></comment>
<story><title>Debugging macOS Kernel Using VirtualBox</title><url>https://klue.github.io/blog/2017/04/macos_kernel_debugging_vbox/</url></story><parent_chain><item><author>jordigh</author><text>Is this completely allowed? I&amp;#x27;m probably misinformed, but I thought either certain debugging calls or certain kinds of virtualisation were disallowed by Apple. The fact that this kind of tutorial using virtualbox exists makes me think that someone is trying to work around something. I thought you weren&amp;#x27;t allowed to debug parts of macOS. Are there absolutely no limits, legal or technical?</text></item></parent_chain><comment><author>klue07</author><text>Author here. Nothing in the post is illegal.&lt;p&gt;Apple allows 3rd party kernel extensions so naturally you would need to be able to debug the kernel. In my post, I link plenty of official Apple documentation that provide information on how to debug the kernel.</text></comment>