disassembly

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 ...

x86: Possible to debug-break when a particular pointer-to-string is pushed on the stack?

Hi, I am debugging a third-party DLL for which I don't have the source code. This DLL maintains a pool of strings. I want to trap the earliest occurrence at which one of these strings is passed into a function...any function at all... In other words, I want to detect when a pointer-to-a-null-terminated-string having a certain format is...

Function pointer incorrect in Visual Studio 2005, code starts at 1 byte offset

...

Tool to compare .dlls and disassemble the differences?

Does anyone know a decent tool that will compare two different versions of the same dll and extract the differences? thanks ...

Determining Which Compiler Built a Win32 PE

How can one determine which C or C++ compiler was used to build a particular Windows executable or DLL? Some compilers leave behind version strings in the final executable, but this seems to be rarer on Windows than on Linux. Specifically, I'm interested in distinguishing between Visual C++ and the various MinGW compilers (usually fairl...

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'...

Why do people disassemble .NET (CLR) binaries?

I'm somewhat new to .NET but not new to programming, and I'm somewhat puzzled at the trend and excitement about disassembling compiled .NET code. It seems pointless. The high-level ease of use of .NET is the reason I use it. I've written C and real (hardware processor) assembly in environments with limited resources. That was the rea...

Where do Label_ markers come from in Reflector and how to decipher them?

I'm trying to understand a method using the disassembly feature of Reflector. As anyone that's used this tool will know, certain code is displayed with C# labels that were (presumably) not used in the original source. In the 110 line method I'm looking at there are 11 label statements. Random snippet examples: Label_0076: if (enume...

What is the C# equivalent to JAD?

What is the C# equivalent to Java's JAD and is there a VS plugin similar to Eclipse's JadClipse? ...

How can I see parse tree, intermediate code, optimization code and assembly code during COMPILATION ?

I am studying Compilers course, compilation of program follows below steps Lexical analysis Syntax analysis Semantic analysis Intermediate code generation Code optimization Target code generation. How can I see output of each step e.g I want to see parse tree after syntax analysis. I am compiling program on Linux machine with GCC co...

In which scenario it is useful to use Disassembly language while debugging

Hi I have following basic questions : When we should involve disassembly in debugging How to interpret disassembly, For example below what does each segment stands for 00637CE3 8B 55 08 mov edx,dword ptr [arItem] 00637CE6 52 push edx 00637CE7 6A 00 push 0...

Determine source language from a binary?

I responded to another question about developing for the iPhone in non-Objective-C languages, and I made the assertion that using, say, C# to write for the iPhone would strike an Apple reviewer wrong. I was speaking largely about UI elements differing between the ObjC and C# libraries in question, but a commenter made an interesting poin...

How can I jump relative to the PC using the gnu assembler for AVR?

I have a binary file that I've disassembled using avr-objcopy. The interrupt vector table looks like: 00000000 : ; VECTOR TABLE 0: 13 c0 rjmp .+38 ; 0x28, RESET 2: b8 c1 rjmp .+880 ; 0x374, INT0 4: fd cf rjmp .-6 ; 0x0 6: fc cf rjmp .-8 ; 0x0 8: fb cf ...

How to make gdb show the orignal non-mangling function name on diassembly model?

void outputString(const char *str) { cout << "outputString(const char *str) : " << str << endl; } turns out to be Dump of assembler code for function _Z12outputStringPKc: 0x004013ee <_Z12outputStringPKc+0>: push ebp 0x004013ef <_Z12outputStringPKc+1>: mov ebp,esp 0x004013f1 <_Z12outputStringPKc+3>: sub esp,0x8 0x004...

Error : There is no source code available for the current location.

Hi I added the AjaxControlToolKit's Sample dll file as reference to my web application. I used Mask text boxes on my pages. While debug the application first it asked me to open MaskedEditExtender.cs file. So i just serach it from my physical location and copied it in Bin folder of solution. well ... now it is not asking for open that f...

Making a simple assembly emulator

Dear All, I am working on project that is detecting unknown Viruses, so i am going to build my small emulator that emulates the assembly code of the executable so i can detect whether it is a virus or not by emulating it to virtual registers then observing what happens. so i need help in getting the code of every assembly instruction in...

Retrieving address of a function from ExE or Bin file

Which program can you recommend for me if I want to retrieve dissasembled code and absolute addresses of functions placed in exe file or binary file ?? ...

How can I know what this does?

I got this piece of Assembly code extracted from some piece of software, but unfortunately I don't know anything of assembler and the bits I touched of Assembler was back in the Commodore Amiga with the 68000. Can anybody guide me on how I could understand this code without me needing to learn assembler from scratch, or just tell me wha...

Reverse engineering and patching a DirectX game?

Background I am playing Imperishable Night, one of the Touhou series of games. The shoot button is 'z', moving slower is 'shift', and the arrow keys move. Unfortunately for me, using shift-z ghosts my right arrow key, so I can't move to the right while shooting. This ghosting happens in all applications, and switching keyboards fixes...

What's "Disassembly" page when i trace my ASP.NET WebApp ?

Hi I have a ClassLibrary in my ASP.NET Web Application solution , Recently when i do some changes in that ClassLibrary and rebuilt that , That doesn't affect the solution . While debuging and tracing instead of going into method of that ClassLibrary , i face "Disassembly" page . I delete Temporary ASP.NET File's folder and Removed ...