karan shaarma
karan shaarma

Reputation: 21

what is portable executable format and why we need it?

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

Answers (1)

Dinesh D
Dinesh D

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

Related Questions