Question: in c 02) Write a C prints whether it is an ELF file or not. In case it is an ELE file, it prints its

in c
02) Write a C prints whether it is an ELF file or not. In case it is an ELE file, it prints its class program that takes a file name as a command line argument. The program (ELF32 or then it prints the object type (relocatable, shared or executable file). Save your file as hw3q2. You have to use only system level 1/O functions to check the ELF structure of the file contents. Also, you have to use the seek function. Include the source file to the report. Show the compila files. Show your tests in the report. tion commands in your report. Moreover, test your run several times with all kinds of 02) Write a C prints whether it is an ELF file or not. In case it is an ELE file, it prints its class program that takes a file name as a command line argument. The program (ELF32 or then it prints the object type (relocatable, shared or executable file). Save your file as hw3q2. You have to use only system level 1/O functions to check the ELF structure of the file contents. Also, you have to use the seek function. Include the source file to the report. Show the compila files. Show your tests in the report. tion commands in your report. Moreover, test your run several times with all kinds of
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
