site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dean Reece writes:
If the symbol you want is not global (lower-case type specifier in the nm output), or has been stripped out of the target kext entirely, then there isn't really anything you can do.
If the symbol is not global, but still present, would it work to call it via a function pointer initialized to the correct address? Eg, does the "global" property mean anything once the module is relocated? I vaguely remember a trick somebody here used to play with Linux. There was some function that wasn't exported that his module needed to call. So he had a wrapper script for his module that groveled around in kernel memory to find the function, then passed its address to his module, which used it in a function pointer. I don't remember if it was global or non global though.. Drew _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com