- #1
pairofstrings
- 411
- 7
I want to open any given program and look at it's coding, can anyone tell me how it can be done?
uart said:How about a Hex Editor ?
-Job- said:In my experience, C and C++ programs are much more difficult to reverse engineer
DaveC426913 said:That's because, in some cases, even the language itself is little more than memory allocations and pointers and incomprehensible at the best of times.
256bits said:A 1 million byte .exe file debugged would print out on paper - approximately 100000 pages give or take.
The OP has to know internals of the operating system, DLL's, threads, assembly and machine code of the CPU, drivers, ...
I have tried disassembly of .com programs on 8086's and that is just about impossible. Com programs were limited to 64k data segment and 64k program segment but you still had to worry about the operating system access from the program. As the system was DOS, there was no oddball threading and other stuff that Windows programs do nowadays.
chiro said:I guess it depends on what you want to do.
That's assuming that you can fit only 10 bytes on a page.256bits said:A 1 million byte .exe file debugged would print out on paper - approximately 100000 pages give or take.
Not necessarily. I had a disassembler about 20 years ago, and I was able to disassemble and modify several .com and .exe files.256bits said:The OP has to know internals of the operating system, DLL's, threads, assembly and machine code of the CPU, drivers, ...
I have tried disassembly of .com programs on 8086's and that is just about impossible.
256bits said:Com programs were limited to 64k data segment and 64k program segment but you still had to worry about the operating system access from the program. As the system was DOS, there was no oddball threading and other stuff that Windows programs do nowadays.
Mark44 said:I had a disassembler about 20 years ago, and I was able to disassemble and modify several .com and .exe files.
pairofstrings said:Can you name the disassembler? Is it powerful enough to handle complex softwares? How does it work?
IIRC, the name was MD86, but I don't think they're in business any longer.pairofstrings said:Can you name the disassembler? Is it powerful enough to handle complex softwares? How does it work?
Opening and examining software code allows you to understand how a program works, identify any potential bugs or security vulnerabilities, and make modifications or improvements if needed.
To open software code, you will need a text editor or integrated development environment (IDE) that supports the programming language in which the software was written. The code can usually be found in the program's installation folder or by using a shortcut key within the program itself.
No, in most cases, modifying the code of a software program is not allowed without the permission of the software's creator or company. It is important to respect copyright and licensing laws when it comes to making changes to software code.
When looking at software code, you should pay attention to the structure and organization of the code, any comments or documentation that may be included, and any potential security vulnerabilities or bugs. It is also important to have a basic understanding of the programming language in order to make sense of the code.
While having a basic understanding of programming can be helpful, it is not always necessary to have extensive knowledge in order to examine software code. With some research and patience, anyone can learn to read and understand the code of a software program.