From 2a6d78c70beda45cac379a2ba3f461870378009d Mon Sep 17 00:00:00 2001 From: eugeneyang Date: Sat, 27 Aug 2016 20:41:23 +0800 Subject: [PATCH] README --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f0180c7..b6db2af 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,34 @@ # restore-symbol -A tool to restore symbol table for iOS app. + +A reverse engineering tool to restore stripped symbol table for iOS app. Example: restore symbol for Alipay ![](https://raw.githubusercontent.com/tobefuturer/restore-symbol/master/picture/after_restore.jpeg) -## How to make +## How to use +- 1. Download source code and compile + ``` + git clone --recursive https://github.com/tobefuturer/restore-symbol.git cd restore-symbol && make ./restore-symbol + ``` -## How to use -- 1. Scan all oc method using class-dump. - 2. Search block symbol in IDA to get json symbol file, using script([`search_oc_block/ida_search_block.py`](https://github.com/tobefuturer/restore-symbol/blob/master/search_oc_block/ida_search_block.py)) . ![](http://blog.imjun.net/2016/08/25/iOS%E7%AC%A6%E5%8F%B7%E8%A1%A8%E6%81%A2%E5%A4%8D-%E9%80%86%E5%90%91%E6%94%AF%E4%BB%98%E5%AE%9D/ida_result_position.png) ![](http://blog.imjun.net/2016/08/25/iOS%E7%AC%A6%E5%8F%B7%E8%A1%A8%E6%81%A2%E5%A4%8D-%E9%80%86%E5%90%91%E6%94%AF%E4%BB%98%E5%AE%9D/ida_result_sample.jpg) -- 3. Use restore-symbol to inject symbols into mach o file. +- 3. Use command line tool(restore-symbol) to inject oc method symbols and block symbols into mach o file. + ``` -./restore-symbol ./origin_AlipayWallet -o ./AlipayWallet_with_symbol -j block_symbol.json + +./restore-symbol /pathto/origin_mach_o_file -o /pathto/mach_o_with_symbol -j /pathto/block_symbol.json + ```