Reputation: 21
what are executable formats and what is the use of them? ex-PE format,com format,ms dos format why they are necessary and what information does they contain?
Upvotes: 1
Views: 689
Reputation: 11
PE (Portable Executable) is the file format for .exe, .dll, .sys, etc...
The PE files contain the code(program) and additional information(eg.: import and exports tables, .dlls ,resource management) wrapped inside it. Program Loader interprets the information and map the file to the memory and load shared libraries that are need.
Upvotes: 1