[SOLVED] CPE457-Lab 3 STRUCTURES AND CALLING CONVENTIONS

20.99 $

Programming resource
Digital learning resource
Category:
Practical programming resource
Suitable for guided study and reference
Tutor guidance available when needed

Description

5/5 - (1 vote)

The ability of a reverse engineer to identify the use of structures and calling conventions will greatly enhance their ability to analyze a program from disassembly. This lab will require the student to identify the use of structures, create custom structures in IDA Pro and identify calling conventions.

 

Lab – Complete the following tasks

  1. Identify the use of the structure, what is the size of the structure?
  2. Create a structure in IDA that represents the identified structure. Ensure that each member of your structure aligns with how it is used in the program.
  3. Rename the members to something appropriate based off of your analysis.
  4. In IDA View-A, add the structure offsets for each variable used.

There is a single regular function called in main, what calling convention does it use? What does it expect as an argument?

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.