Address not found in the image

  • 现象

去用:

/Users/crifan/dev/DevSrc/iOS/symbol/restore-symbol/HeiTanBc/restore-symbol/restore-symbol YouTube -o YouTube_objcBlockSymbol -j
 block_symbol.json

去恢复Block符号表,但报错:

2022-04-20 20:35:09.565 restore-symbol[17780:328585] Address(100eaf5a8) not found in the image
  • 原因

block的符号表的输入文件中,包含无效的地址的条目

{
  "name": "-[YTYouTubeUserDefaultsKeysProvider userSpecificSettingKeys]_block", 
  "address": "0x100EAF5A8"
 },

其中的:0x100EAF5A8无法识别

解决办法:

删除这个条目,另存为新的json文件,(比如block_symbol_removedInvalid.json)再重新执行

/Users/crifan/dev/DevSrc/iOS/symbol/restore-symbol/HeiTanBc/restore-symbol/restore-symbol YouTube -o YouTube_objcBlockSymbol -j block_symbol_removedInvalid.json

results matching ""

    No results matching ""