CSAPP-labs/LAB3-bomblab/实验基本内容与要求.txt

6 lines
570 B
Plaintext
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.

本次实验为熟悉汇编程序及其调试方法的实验。
实验内容包含2个文件bomb可执行文件和bomb.cc源文件
实验主题内容为:
程序运行在linux环境中。程序运行中有6个关卡6个phase每个phase需要用户在终端上输入特定的字符或者数字才能通关否则会引爆炸弹那么如何才能知道输入什么内容呢这需要你使用gdb工具反汇编出汇编代码结合c语言文件找到每个关卡的入口函数。然后分析汇编代码找到在每个phase程序段中引导程序跳转到“explode_bomb”程序段的地方并分析其成功跳转的条件以此为突破口寻找应该在命令行输入何种字符通关。
实验需要用到gdb工具可到网上查找gdb使用方法和参数。