i need help in my assignment

i need help in my assignment

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

The University of Queensland
School of Information Technology and Electrical Engineering

Semester Two, 20

1

3
COMP2310 / COMP7231 – Assignment 2

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

Due: 11:10pm 6 September, 2013
Marks: 50

Weighting: 25% of your overall assignment mark (CSSE2310)

Introduction

The aim of this assessment is to develop and test your skills using the gdb debugger. This exercise will solving
puzzles (called phases) about the behaviour of a program called the Binary Bomb. You must “defuse” each
phase by entering the correct passphrase. You will need to deduce this passphrase by examining the bomb
progam’s operation in gdb. You will be given marks for the number of phases you solve correctly and the
number of attempts you take to do so. This assignment must be done on moss. The Binary Bomb will run on
any other system. The operation of the bomb will be demoed in lectures.

This is an individual assignment. You should feel free to discuss aspects of C programming and the assign-
ment specification with fellow students. Do not discuss your methods for solving the specific problems
given in the assignment however. You should not actively help (or seek help from) other students with the
exercises.

Important programs

• getbomb – retrieves your version of the bomb. If you run this command it will give you the same bomb
(or an updated bomb with the same answers as the one you had).

• bomb – executes the bomb and prompts for the passphrase to defuse the current phase. It takes as a
parameter, the name of the phase you wish to attempt:

– demo1
– demo2
– demo3
– phase1

– phase2
– phase3
– phase4
– phase5

– phase6
– phase7
– phase8
– phase9

– phase10

The demo phases do not affect your mark, so practice on them to ensure you understand what is happening.
You may attempt the phases in any order and do not need to complete one before attempting another.

You can also start the bomb with the status argument. This will report your history so far.

Your attempt will not be recorded until you answer Y to “Are you sure”. You can quit/kill/restart the
bomb at any time before this with no penalty. We recommend that you run your bomb inside
gdb.

Marks

Your attempts will be recorded automatically when you run the bomb on moss. Each phase of the bomb is
worth a maximum of 5 marks. The mark you receive for each phase depends on the number of attempts you
make to defuse that phase. Specifically, if it takes n attempts to defuse a phase, then your mark will be:

5 × 0.9n−1

Bomb Tips

• Remember that you must enter input before a phase starts to run.

• You should be familiar with the commands p, break, run, cont, next, step, up, and conditional break-
points.

• This is not a race. It is very easy to make silly mistakes due to lack of concentration.

• You may believe the comments written in the bomb.

1

Still stressed with your coursework?
Get quality coursework help from an expert!