+ 3
How can i find the binarycodes of compiled programs (c or java)?
what i meant is i want to see the 1 and 0s of my program that i created in java or c (the machine language)
2 Respuestas
0
If you really want to see 1 and 0s, open the file you want to look at with a hex editor.
E.g. the hex plugin for Notepad++.
But the jar files haven't got machine language in them, just the .exe files. (There are also other extensions for machine language, but typically, it's .exe.) You can see the machine language code in 1 and 0s using the hex editor again.
But it might make more sense to view them in Assembly code. To find a tool to do that, look at google. I'm too lazy. ( ;
+ 1
1s and 0s are seen by the hardware. You might need virtual box or similar tool running your program. Then, you might need debug information or such other diagnostic information from the virtual machine. The OS sees an ELF file for Linux, which it then loads for the kernel to schedule and submit to the CPU.