Click here to Skip to main content
15,441,629 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
i decompiled an exe using different decompilers but i am unable to find main method in the decompiled code. What can be the reason??
Posted
Comments
[no name] 30-Jun-12 9:11am    
Personally I don't see how you would expect anyone to be able to answer this since you did not post any relevant information that would enable anyone to provide an answer. The possible reasons are many. You actually decompiled a DLL not an exe. The code is obfuscated. The main method was not name "main". You did not look hard enough. You did not know what it is that you are looking for. The decompiler was set not to look for a main method. And on and on.
Sergey Alexandrovich Kryukov 30-Jun-12 14:11pm     CRLF
Good points. --SA
sp1786 1-Jul-12 23:53pm     CRLF
Thanks for the points. The answers: 1. You actually decompiled a DLL not an exe Ans. It is an EXE 2. The code is obfuscated Ans/Query. How to identify obfuscated code? 3.The main method was not name "main". You did not look hard enough. And. I have used a number of decompilers including reflector, dotpeek etc. The decompiled output contained only classes. These classes are named as $ArrayType$$$iu00$$aqw.cs quit.cs struct1.cs $UnnamedClass$0xf0p9y646$88$.cs etc And all these classes contains is internal structures internal struct Atquit { } and interfaces Help me find main method and let me know the information u require to guide me further
sp1786 1-Jul-12 23:53pm     CRLF
Thanks for the points. The answers: 1. You actually decompiled a DLL not an exe Ans. It is an EXE 2. The code is obfuscated Ans/Query. How to identify obfuscated code? 3.The main method was not name "main". You did not look hard enough. And. I have used a number of decompilers including reflector, dotpeek etc. The decompiled output contained only classes. These classes are named as $ArrayType$$$iu00$$aqw.cs quit.cs struct1.cs $UnnamedClass$0xf0p9y646$88$.cs etc And all these classes contains is internal structures internal struct Atquit { } and interfaces Help me find main method and let me know the information u require to guide me further
Sergey Alexandrovich Kryukov 2-Jul-12 18:20pm     CRLF
What are you talking about? Classes cannot have the named *.cs, it would not compile. It could be *.cs files, not classes. --SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900