Lab2 - ICS 2011 Lab2: Defusing a Binary Bomb Hand out: Thu....

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ICS 2011 Lab2: Defusing a Binary Bomb Hand out: Thu. Apr. 28 Final Deadline: Fri. May 20 16:00 No Extension! Online Test: after lab3 1. Introduction The nefarious Dr. Evil has planted a slew of “binary bombs” on our machines. A binary bomb is a program that consists of a sequence of phases. Each phase expects you to type a particular string on stdin. If you type the correct string, then the phase is defused and the bomb proceeds to the next phase. Otherwise, the bomb explodes by printing "BOOM!!!" and then terminating. The bomb is defused when every phase has been defused. There are too many bombs for us to deal with, so we are giving each student a bomb to defuse. Your mission, whom you have no choice but to accept, is to defuse your bomb before the due date. Good luck, and welcome to the bomb squad! 2. Logistics You should work individually in solving the problems for this assignment. Any clarifications and revisions to the assignment will be posted on the BBS FDU_Software and send to you by email. 3. Get Your Bomb Each student will attempt to defuse his/her own personalized bomb. The bomb is generated for each student such that everybody does a different job. Each bomb is a Linux binary executable file that has been compiled from a C program. To obtain your bomb like Lab1, except that the name of lab is “lab2”. You will get the following three files in the directory “lab2”: README : Identifies the bomb and its owners. bomb : The executable binary bomb. bomb.c : Source file with the bomb’s main routine. After getting your own bomb, you must _ FIRSTLY _ check README that the bomb owner is not anybody else. If README says that the bomb owner is somebody else, please contact your TA. Or else you could not receive your credits from the auto-grader. 4. Defuse Your Bomb
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/19/2011 for the course CS 000 taught by Professor Jing during the Fall '10 term at Fudan University.

Page1 / 3

Lab2 - ICS 2011 Lab2: Defusing a Binary Bomb Hand out: Thu....

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online