Skip to content

Rust wrappers for making diagnostic system calls on macOS

License

Notifications You must be signed in to change notification settings

DinoBytes/macos_diagcall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

macos_diagcall

Rust wrappers for making diagnostic system calls on macOS

Enabling Diagnostic Syscalls

The functions in this library will fail without diagnostic calls being enabled.

Modify the Kernel Flags portion of "/Library/Preferences/SystemConfiguration/com.apple.Boot.plist" to look like this:

<key>Kernel Flags</key>
 <string>diag=0x00000008</string> 

Reboot.

Other boot args may be present and other configurations are possible. The important part is that the bit above be set. (https://sethc23.github.io/wiki/OSX/Mac_OS_X_and_iOS_Internals_To_the_Apple's_Core.pdf page 294)

About

Rust wrappers for making diagnostic system calls on macOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages