Files
Extract_code/README.md
2024-10-15 11:04:51 +08:00

23 lines
632 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
`extract_c.py``idapython`脚本需要配合使用idat64使用需要被其他脚本调用使用
`test.py`是调用`extract_c.py`的脚本,使用提取的时候都是用`test.py`来提取
执行命令
```
python test.py -e idat64_path file <Extract_Functions>
python test.py -h
```
![image-20241015110234709](assets/image-20241015110234709.png)
提取结果保存在`result`文件夹下
```
提取c的文件格式为 提取二进制文件名+_extract.c
提取汇编的文件格式为 提取二进制文件名+_+函数名+.asm
```
![image-20241015110309821](assets/image-20241015110309821.png)