Obtaining non-exported symbol from kernel on runtime (without the debug symbols)
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=wxN9hvX1x5a1koY/v0ymM0URLSAPFfzWdPBhzAjbMOo=; b=SM7oJ/l5FA7usELRi9w0tETz/hzc14hHW1GAHoGD+gfInE5qiHx6Uu9O94sT0hPXbG z8oxonfh+k7tj0ch9xX8SSlO36HVgNbNDGr1DxaloFMMg/Y4gD51oKGlA1LV1/8y8T+H r/t7lfs8rZ2AzDQQVu+KnUtiVoUm/ZkmBcvxQ= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=UUQYIH7rJjr/zrpH3CsbZ7fVpjHb7j/ko3eWXZQTiPdY0+tJ/SvqHWUg7sYWWCmwk/ mgGqhi06qA5ylVIWkY5uuFlH8dUFxbs4jqqKjO528h8W2J3wQlgDRMJ3Ynqv+p4NtZCa Ij/oB/J27b9PZJqVKZM8tjjoOeoX5mXfbVgBw= 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 (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
participants (1)
-
John D.