.OBJ - File Extension for Object Code Files

Q

File extension OBJ is used for object files generated by compilers from source code files. An OBJ sample file is provided.

✍: FYIcenter.com

A

File Extension: .OBJ

File Content: Object code.

What is OBJ? OBJ is a short name for object code, which is generated by a compiler from a source code file. Object files are also called binaries.

OBJ is the file extension for files storing object codes.

Object files are machine dependent, because they contain machine codes. Object files may also contain application data, relocation information, and program symbols.

Multiple object files are linked together to generate executable code by linker programs.

.OBJ files are binary files. Here are the first 128 bytes of a sample OBJ file dumped in HEX values:

7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 .ELF............
01 00 03 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
34 01 00 00 00 00 00 00 34 00 00 00 00 00 28 00 4.......4.......
08 00 07 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
55 89 e5 81 ec 00 00 00 00 90 b8 00 00 00 00 50 U..............P
e8 fc ff ff ff 83 c4 04 c9 c3 00 00 00 00 00 00 ................
48 65 6c 6c 6f 20 77 6f 72 6c 64 21 0a 00 00 00 Hello.world.....
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................

OBJ sample file: Click sample.obj to download.

2012-07-01, 2462👍, 0💬