problem about ollydbg-Collection of common programming errors


  • Boris GuĂ©ry
    c assembly x86 ollydbg
    The following codeint _main() {return 0;}Compiled using the command:gcc -s -nostdlib -nostartfiles 01-simple.c -o01-simple.exegcc version 4.4.1 (TDM-1 mingw32)OllyDbg produced this output:Can you explain what happens here? Analysis so far:// these two seems to be an idiom: PUSH EBP // places EBP on stack MOV EBP, ESP // overwrites EBP with ESPMOV EAX, 0 // EAX = 0LEAVE // == mov esp, ebp// pop ebp// according to // http://en.wikipedia.org/wiki/X86_instruction_listings

  • David Kernin
    c++ debugging assembly ollydbg seh
    I’ve just created a new vc++ exe with this simple code:#include<stdio.h> #include<string.h> #include<windows.h>int ExceptionHandler(void); int main(int argc,char *argv[]){char temp[512];printf(“Application launched”);try {throw “error”;} catch (… ) {ExceptionHandler(); } return 0; } int ExceptionHandler(void) {printf(“Exception”);return 0; }The app is extremely simple, and an exe file depending on kernel32.dll and MSVCR100D.dll is created.When I try to import and debug it i

  • Rusty Horse
    plugins ollydbg
    I am having troubles finding any plugins for my newest Olly. Any ideas where to search? I need to solve some anti debugging techniques where the Olly crash.

  • David Kernin
    debugging x86 x86-64 ollydbg
    I’m trying to follow the execution instructions of a simple program I compiled with C++ (it calculates some prime numbers then exits) in a debugger (ollydbg) but I have several questions:Why the first instruction isn’t the entry point of the “CODE” section? It is different As soon as I “step over” a few instructions the debugger crashes and writes “Single step event at ntdll.someaddress, press shift+F7/F8/F9 to pass the exception to the program” and crashes. If I run the program without stepping

  • Muppet
    python debugging hdf5 ollydbg h5py
    I have a problem that I seriously spent months on now!Essentially I am running code that requires to read from and save to HD5 files. I am using h5py for this.It’s very hard to debug because the problem (whatever it is) only occurs in like 5% of the cases (each run takes several hours) and when it gets there it crashes python completely so debugging with python itself is impossible. Using simple logs it’s also impossible to pinpoint to the exact crashing situation – it appears to be very random,

  • Tim Post
    windows debugging process cracking ollydbg
    Windows 7 x64 & OllyDbg 1.10I just start to learn debugging technology, and try to debug a demo programm called ‘crack_me.exe’ using OllyDbg. But I meet with a problem as follows:I set a breakpoint in ‘crack_me.exe’ and press F9 to run the program, but Windows alert a dialogue (My OS is in Chinese): http://farm8.staticflickr.com/7235/7271918964_b9562f0615.jpgGeneral meanning:crack_me.exe has stopped work.Windows can connect to Internet and find a solution to this problem.Connect to Internet

Web site is in building