Question: Multi - dimensional arrays are allocated in row - major order. That is , all of the elements of a row are stored contiguously starting

Multi-dimensional arrays are allocated in row-major order. That is, all of the elements of a row are stored contiguously starting from the first row. In this level, there are three 2-dimensional arrays of long integers that are each square with varying dimensions. Locate the function that inserts DEADBEEF into each of the three arrays. In the first array, it is placed at location [15][15]. In the second array, it is placed at location [20][20]. Finally, in the third array, it is placed at location [25][25]. Use objdump and the array indexing formula to calculate the dimension of each array. The password to unlock the level is the decimal number AABBCC where AA is the 2-digit dimension of the first array, BB is the 2-digit dimension of the second array, and CC is the 2-digit dimension of the third array. For example, if the dimensions of the three arrays is 30x30,40x40, and 50x50, then the password is 304050.
Contents of section .data is just the question text written above
Contents of section .bss is useless, completely blank
Contents of section .rodata:
40200001000200257300456e74657220746865....%s.Enter the
4020102070617373776f72643a2000256c6400 password: .%ld.
40202054727920616761696e2e00476f6f6420 Try again..Good
4020304a6f622e 00 Job..

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!