Is it possible to make a debugger like OllyDbg using C# ? I mean debug VC++, Delphi, Borland? Or make something like IDA (debugger) ?
Asked
Active
Viewed 288 times
-4
-
The only thing you can't do, as far as I know, is make kernel stuff, as the .NET framework is not available at that level. For the rest, only your skill and time are a limiting factor. – MicroVirus Oct 30 '15 at 19:53
-
@MicroVirus ty very much :) ♥♥♥ – xebim Nov 01 '15 at 10:20
-
@MicroVirus, you better answer saying: the only think you can do is the UI. A debugger like OllyDbg without any KERNEL or CPU function is not a debugger anyway... See my comments below and show me how access CPU and STACK registers using ONLY .NET. – David BS Nov 01 '15 at 19:58
1 Answers
-2
No.
.NET Framework languages as C# and VB.NET are not the best choice to conduct it. You will have a LOT of work to get information from CPU, libraries and so forth. You will must to implement so many procedures to direct-call DLL´s and hardware, that it could be impossible in some scenarios.
To make a debug and get Ring-0 and other CPU and OS features, should be better to utilize C, C++ or even pure Assembly.

David BS
- 1,822
- 1
- 19
- 35
-
-
@MicroVirus, how get CPU-Register and Stack-Register info and, in other way, how set INT5 or RING-0 step using ONLY .NET? It´s simply IMPOSSIBLE! You will have to access other native-code libraries to get these information (if possible without change the debbugged registers!). So, I continue thinking about lack of performance and a lot of code and link among libraries, all of them, uneccessary if doing the entore job in ASM or C/C++. – David BS Nov 01 '15 at 19:56
-
1I really can't understand these stupidly down votes in stackoverflow. always users with high scores give other users down votes! – Amir Mar 14 '16 at 20:40