disassembling

Refactoring dissassembled code

You write a function and, looking at the resulting assembly, you see it can be improved. You would like to keep the function you wrote, for readability, but you would like to substitute your own assembly for the compiler's. Is there any way to establish a relationship between your high-livel language function and the new assembly? ...

How can I dump an entire assembly to source files using reflector?

Is there a way to dump an entire assemblies source to files using reflector? ...

Is there a way to prevent Reflector from being able to reflect my source code?

Hi Guys, Is there a way (reliable and preferably not commercial) to prevent from Reflector to reflect my source code??? Thanks, Adi ...

Does the VS disassembly window show the whole EXE?

A client is running my company's program and it is halting before it gets anywhere. They sent this information from the Windows Event Log: faulting module program.exe, version 1.2.3.4, fault address 0x00054321. We don't have much else to go on so as a last ditch effort I've been trying to see if I can find where that position is in a ...

Fact check: how vulnerable are .NET apps to decompilation?

I came across this post on the MSMobiles.com blog that says the following, among other things: .Net is great in so many ways but for commercial apps? No way! Anybody can just look at your source code. A high end obfuscator will help a lot but any determined hacker will fix your code in less than a day. I know this from sa...

What are some resources for learning MSIL?

Can someone please give me a link to a tutorial or answer how to read msil. I think once I learn how to read this it could be a very useful tool. ...

Reverse Engineering old paint programs.

I've got a couple of really old MSDos based paint programs. They work on palette indexed image buffers. They have a number of spectacular shape drawing tools, brushes and effects that simply do not exist in any modern paint program- Particularly not whilst staying within the "bounds" of a low color palette indexed image. I would like to ...

How do I see a disassembly of the machine code generated by the .net JITer?

How do I see a disassembly of the machine code generated by the .net JITer? The Show disassembly window menu option is no where to be found. Even the tool bar button for it is in the disabled state. If I recall correctly the disassembly can indeed be seen but one must resort to some trick, unfortunately I don't remember what that trick w...

How can an application load a DLL without its name?

I have disassembled a VB6 application that calls a function in a DLL library, but I can't find any reference to the DLL in the disassembly. How can the calling code load this DLL? It is dynamically linked, as I can observe the effects of removing and replacing the DLL. I'm using IDA Pro Free, the calling application is a VB6 app, and ...

How can I see the Assembly code for a C++ Program ?

How can I see the Assembly code for a C++ Program ? What are the popular tools to do this ? ...

Are there any good VB/C# x86 disassembler libraries?

I'm looking for a library that will disassemble x86 code into some sort of object model that I can then use to write routines that analyze the code. I'm not interested in a library that converts x86 code to text disassembly--I've found more than a few of those, but they're not that useful since I want to do some work on top of the code t...

Problem with Reflector and Automatic Properties

I've just disassembled a project to debug it using Reflector, but it seems to balk at decoding the 'compile results' of automatic properties, e.g. the next line gives me a syntax error. I've tried fixing these manually, but every time I fix one, more appear. private string <GLDescription>k__BackingField; Is there anything I can do ab...

How to write a disassembler?

I'm interested in writing an x86 dissembler as an educational project. The only real resource I have found is Spiral Space's, "How to write a disassembler". While this gives a nice high level description of the various components of a disassembler, I'm interested in some more detailed resources. I've also taken a quick look at NASM'...

How does the MethodImplAttribute work in .NET?

I was investigating some framework code (the System.AppDomain.GetDynamicDir method) and this was all the assembler showed: [MethodImpl(MethodImplOptions.InternalCall)] private extern string GetDynamicDir(); What happens when this method is called? I don't mean this specific method, but methods with this attribute in general. ...

linux disassembler

Hi how can I write just a simple disassembler for linux from scratches? Are there any libs to use? I need something that "just works". thank in advanced ...

Wanted a tool for decompiling obfuscated .NET code

Hello. I need a tool to decompile obfuscated .NET code. Yes, I know about Reflector and its plugins (FileDisassemble, FileGenerator). But they create VS project which won't compile. For an example the decompiled code contains: private sealed class d__0 : IEnumerator, IEnumerator, IDisposable { private int <>1...

Is it possible to disassamble Visual FoxPro 9.0 exe file ?

Hi I have a legacy FoxPro exe application. Source codes are not available (it was written in outsourcing and source codes have been never delivered). There is a request to write exactly the same application in C# and then develop new features. Requirements are outdated as usual. While we can see what application does on UI, we also wa...

How can I force GDB to disassemble?

Hi! I'm trying to disassemble a program to see a syscall assembly instruction (the INT instruction, I believe) and the handler with GDB and have written a little program (see below) for it that opens and closes a file. I was able to follow the call to fopen with GDB until it executed a call. When I tried to tell GDB "disassemble 0x...."...

How can I view the differences between two DLLs?

Is there a way to view the difference between two binary DLL files? I have PDBs for both. Ideally I'd like to see: What functions have been added What functions have been removed What functions have been modified (with a diff of the disassembly) What other entries (static variables, resources, etc) have been added/removed/modified ...

Getting IL code from DLL binary file

Hi Fellows, I am studding IL. I like .Net Reflector tool from RedGate (Lutz initially). I already have Serge Lidin’s and Ecma-335 books. It looks like these things are all we have to work with IL (except ILAsm and ILDasm, of course). My task is to parse assembly binary file and get IL code. It is obvious that the assembly is a binar...