Skip to main content
added 24 characters in body
Source Link

This is assembly code that can catch debugger with int 3 :

MOV ECX, ExceptionHandler

MOV DWORD PTR FS:[0], ExceptionHandler

INT3
      ///there is debugger!!!

ExceptionHandler:
       ////no debugger

When programmer write a C program , which code he write that compile to this trap?

I use Windows with x86

This is assembly code that can catch debugger with int 3 :

MOV ECX, ExceptionHandler

MOV DWORD PTR FS:[0], ExceptionHandler

INT3
      ///there is debugger!!!

ExceptionHandler:
       ////no debugger

When programmer write a C program , which code he write that compile to this trap?

This is assembly code that can catch debugger with int 3 :

MOV ECX, ExceptionHandler

MOV DWORD PTR FS:[0], ExceptionHandler

INT3
      ///there is debugger!!!

ExceptionHandler:
       ////no debugger

When programmer write a C program , which code he write that compile to this trap?

I use Windows with x86

Source Link

How int3 looks like in C

This is assembly code that can catch debugger with int 3 :

MOV ECX, ExceptionHandler

MOV DWORD PTR FS:[0], ExceptionHandler

INT3
      ///there is debugger!!!

ExceptionHandler:
       ////no debugger

When programmer write a C program , which code he write that compile to this trap?