What does executable file actually contain?

前端 未结 5 1384
梦谈多话
梦谈多话 2020-12-08 08:01

What does executable actually contain ? .. Does it contain instructions to processor in the form of Opcode and Operands ? If so why we have different executables for differe

5条回答
  •  猫巷女王i
    2020-12-08 08:43

    An Executable file contains several blobs of data and instructions on how the datas should be loaded into memory. Some of these sections happen to contain machine code that can be executed. Other sections contain program data, resources, relocation information, import information etc.

提交回复
热议问题