Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any concept in c++ like reflector in .Net?

i like to get code from c++ dll ,i know we easily get from .Net dll by reflector. Is there any method available in c++ for this?

Thanks In Advance

like image 424
ratty Avatar asked Sep 15 '10 07:09

ratty


People also ask

What is reflector in C#?

Reflection provides objects (of type Type) that describe assemblies, modules, and types. You can use reflection to dynamically create an instance of a type, bind the type to an existing object, or get the type from an existing object and invoke its methods or access its fields and properties.

Is .NET Reflector free?

Development started after Red Gate announced that the free version of . NET Reflector would cease to exist by end of February 2011. Update: JetBrains has released dotPeek, its free .

How do I use dotnet reflector?

NET Reflector, you will be asked pick a version of the NET Framework to populate the assembly list. When you want to browse an assembly, all you will need to do is to run NET Reflector, drag the file from Windows explorer and drop it onto NET Reflector. You can also open and .exe, . dll or .

How do I decompile a DLL using net reflector?

net reflector doesn't allow to add your dll to decompile, I recommend you to write a new post to Relector . NET forum:http://forums.reflector.net/ for a better and quicker response. In addition, we can use other tools to decompile your Dll: 1.


2 Answers

C++ is compiled directly to machine code. There's no intermediary language as in .NET. There are some C++ disassemblers you may take a look at. Hex-Rays decompiler is particularly good.

like image 181
Darin Dimitrov Avatar answered Sep 24 '22 22:09

Darin Dimitrov


I believe you are talking about unmanaged C++. In that case, it is not possible. C++ is compiled into machine code unlike the managed languages which compile into an intermediate language which contain the metadata about the code which got compiled.

like image 25
Naveen Avatar answered Sep 26 '22 22:09

Naveen