Question: Assembly bomb diffusing question. Please explain all the steps As with the bomblab, you have to devise the inputs to this program. There are multiple
Assembly bomb diffusing question. Please explain all the steps


As with the bomblab, you have to devise the inputs to this program. There are multiple inputs that solve this phase named foo Identify all the inputs that would defuse this phase. The function explode bomb has the same behavior as in bomblab. The function sscanf has the following prototype: int sscanf (const char str, const char *format sscanf reads its input from the character string pointed to by s It returns the number of input items tr. successfully matched to the format and assigned. An example usage is sscanf (ptr, "%d %d %d", &a, & b, &c) The function prototype of the phase is as follows: void foo (chart input); Further, the bomblab designer has ensured that this phase can indeed be diffused without requiring gdb. To help the students the bomblab designer has also annotated the assembly code. The required ASCII table for alphabets and numbers is provided for reference. ASCII code Character ASCII code Character 48 65 49 66 50 67 51 68 52 69 53 70 54 71 72 55 56 73 74 57
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
