Answer the question
In order to leave comments, you need to log in
How to read specific bytes from a file using C language?
I have the name of an executable file in the ELF format. I need to read from the header the address of the entry point, which, according to wikipedia, is stored from 24 to 28 bytes. If the task itself is interesting, here is https://stepik.org/lesson/44344/step/13?unit=22153.
Answer the question
In order to leave comments, you need to log in
These functions will help: fopen fseek fread fclose
If this does not help, then programming is clearly not for you - either quit or [cut by Roskomnadzor].
I need to read the entry point address from the header
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question