Source code from binary file in momentics ide

Is there any possibility that i can get source code from binary file which is generated through qnx momentics ide.

If what you are asking is whether there is a program that will de-compile machine code back to ‘C’ or C++, no. If it were possible, the names of local variables in the code would be made up. External variables might be available if they were part of the load module.

A very tedius job would be to convert the source code to ASM and then manually build a higher level language program that would do the same.

Back in the early QNX 2 days, if you didn’t run the code through the optimizer, it was so regular that converting back to ‘C’ could probably have been automated. Compiler technology has gotten a lot more sophisticated since then.

It still depends on the specific case. Could you describe it in more detail, such as the operating system architecture in use (QNX, QNX6, QNX7, etc.), the hardware architecture (x86, x64, ARM, etc.), whether it’s a standalone file or linked with libraries? For executable files using dynamic libraries, it’s quite challenging. Could you upload or send it to me so I can analyze it for you? I can review it and assist you.