| | |
Programming .exe files directly
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
![]() |
>Is it possible to open notepad and type some gibberish and save it as a .exe file and run it?
If you want to work out the machine code for your system that would be equivalent for a properly assembled executable, then figure out what combination of keyboard characters will give you that machine code...I suppose it might be possible to do this if Notepad doesn't add anything in the process of saving the file as an executable.
If you want to work out the machine code for your system that would be equivalent for a properly assembled executable, then figure out what combination of keyboard characters will give you that machine code...I suppose it might be possible to do this if Notepad doesn't add anything in the process of saving the file as an executable.
Not in Notepad, no. In a hex editor, maybe with a ton of patience. But an exe generally has a header record and sections with headers before them and the like. Try using DUMPBIN on a small exe and see how much crud is in there.
Using a hex editor you could modify an existing exe, but even that would take more patience than its worth.
That's why the compilers were invented, after all!
Using a hex editor you could modify an existing exe, but even that would take more patience than its worth.
That's why the compilers were invented, after all!
![]() |
Similar Threads
- where to get compilers (Computer Science)
- Anyone has used dotfucaster(decompiler) for .net .exe files (VB.NET)
- IE won't load page with exe files (Web Browsers)
Other Threads in the Computer Science Forum
- Previous Thread: Is there a program that creates DFA from expression
- Next Thread: Math/computerscience Log Problem- Helpppp
| Thread Tools | Search this Thread |
ai algorithm algorithms amazon assignment assignments automata battery bigbrother binary bizarre bletchleypark blogging bomb business cern codebreaker compiler computer computers computerscience computertrackingsoftware connect conversion csc data dataanalysis dataintepretation development dfa dissertation dissertationthesis dissertationtopic ebook energy extensions floatingpoint foreclosure foreclosuresoftware fuel gadgets geeks givemetehcodez government graphics hardware history homeowners homeworkassignment homeworkhelp humor ibm idea ideas internet iphone ipod itcontracts jobs kindle laser laws linkbait lsmeans mainframes mining mobileapplication msaccess nano netbeans news os p2p piracy piratebay principles programming rasterizer research sam-being-cute sas science security sex simulation software spying sql stephenfry study supercomputer sweden technology textfield turing turingtest two'scompliment virus warehouse ww2






