aigebiu
V2EX  ›  macOS

如何解析未导出的 OS X 内核符号

  •  
  •   aigebiu · Jul 10, 2016 · 2272 views
    This topic created in 3619 days ago, the information mentioned may be changed or developed.
    找到了这篇文章 http://ho.ax/posts/2012/02/resolving-kernel-symbols/ 但不适用于新的内核了 好像是 LINKEDIT offset 的计算方法问题……
    aigebiu
        1
    aigebiu  
    OP
       Jul 10, 2016
    唔好吧 找到了一个 fork ( https://github.com/rc0r/KernelResolver ) 没有用固定的 0xffffff8000200000 做起始地址 而是暴力试出来…… 这个版本在 10.10.5 上能测试通过
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1034 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 18:08 · PVG 02:08 · LAX 11:08 · JFK 14:08
    ♥ Do have faith in what you're doing.