Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XNU to iOS/OSX KernelCache Import #3889

Open
turnerrocks1 opened this issue Jan 20, 2022 · 0 comments
Open

XNU to iOS/OSX KernelCache Import #3889

turnerrocks1 opened this issue Jan 20, 2022 · 0 comments

Comments

@turnerrocks1
Copy link

So when taking a function such as undefined8 ipc_object_insert_send_right (undefined,undefined,undefined);
I go to the data types of ghidra and see that ipc_space_t and kern_return_t types are defined automatically in ghidra but it doesn't seem to be supplied. Luckily Most of the Kernel itself is open-sourced by apple under xnu. Looking at the source code the right definition for that would be kern_return_t ipc_object_insert_send_right(ipc_space_t space, mach_port_name_t name, mach_msg_type_name_t msgt_name);. Which is weird in my opinion as using ida 7.6 pro it seems to automatically fill in the type for the variables. Can you make a feature that allows importation of said XNU Source code. I see there is already a feature for parsing C source to programs but it doesn't seem to work with importing xnu source files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants