k***@gmail.com
2018-12-20 15:10:24 UTC
Hello folks,
I'm trying to decode a binary built with WATCOM Linker 10.6 for QNX 4.
The binary doesn't seem to have an ELF header (I don't see an "ELF" magic bytes in header). I'm hoping someone here can point me to documentation/specification that I can use to understand the format.
I inspected 3 different executables and the first 64 bytes are as follows (question marks indicate the bytes that differ between the 3 executables):
00000000: 0000 3800 0000 9001 1600 8201 0000 0000 ..8.............
00000010: 0100 0100 0100 0000 0000 0000 0000 ???? ..............??
00000020: 0000 0080 0000 0010 0000 00a0 0000 0000 ................
00000030: 0000 0000 0000 ???? 0020 ???? 0000 ???? ......??. ??..??
The linker map file for the simple C program has the following:
WATCOM Linker Version 10.6
Copyright by WATCOM International Corp. 1985, 1996. All rights reserved.
Created on: 00/10/13 16:27:51
Executable Image: test.x
creating a QNX 386 executable
But googling for "QNX executable format" or "QNX 386 executable" didn't get me any relevant hits.
Any help/hints much appreciated!
Thanks
Karthick
I'm trying to decode a binary built with WATCOM Linker 10.6 for QNX 4.
The binary doesn't seem to have an ELF header (I don't see an "ELF" magic bytes in header). I'm hoping someone here can point me to documentation/specification that I can use to understand the format.
I inspected 3 different executables and the first 64 bytes are as follows (question marks indicate the bytes that differ between the 3 executables):
00000000: 0000 3800 0000 9001 1600 8201 0000 0000 ..8.............
00000010: 0100 0100 0100 0000 0000 0000 0000 ???? ..............??
00000020: 0000 0080 0000 0010 0000 00a0 0000 0000 ................
00000030: 0000 0000 0000 ???? 0020 ???? 0000 ???? ......??. ??..??
The linker map file for the simple C program has the following:
WATCOM Linker Version 10.6
Copyright by WATCOM International Corp. 1985, 1996. All rights reserved.
Created on: 00/10/13 16:27:51
Executable Image: test.x
creating a QNX 386 executable
But googling for "QNX executable format" or "QNX 386 executable" didn't get me any relevant hits.
Any help/hints much appreciated!
Thanks
Karthick