Obtaining non-exported symbol from kernel on runtime (without the debug symbols)
Obtaining non-exported symbol from kernel on runtime (without the debug symbols)
- Subject: Obtaining non-exported symbol from kernel on runtime (without the debug symbols)
- From: "John D." <email@hidden>
- Date: Sat, 13 Dec 2008 05:15:11 +0100
Hi,
I'm working on a college project and I would like to access some
non-exported API. For example chgproccnt and kld_file_lookupsymbol. I
want to be able to obtain a symbol address from a kernel extension,
say, of the mach_kernel file. This could come handy but apparently
none of the useful API is available to extensions. Has anyone done
anything similar or can provide a suggestion to access
kld_file_lookupsymbol() without using static addresses (to avoid
version-specific builds, since Apple can change it anytime).
Thanks!
John.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden