winappdbg icon indicating copy to clipboard operation
winappdbg copied to clipboard

Catching Exception for 64 Bit Process

Open debasishm89 opened this issue 7 years ago • 1 comments

Hi, Wanted to know if we catch Access Violation Exception for 64 bit process as the same way we do for 32 bit processes ?

def AVHandler(event): #self
	code = event.get_event_code()	
	if event.get_event_code() == win32.EXCEPTION_DEBUG_EVENT and event.is_last_chance():
		print event.get_event_code()
		print 'Crashed'

Above code seems missing some crashes for me.

Any help suggestion will be appreciated!

TIA,

debasishm89 avatar Jul 30 '18 06:07 debasishm89

Hi!

It should work exactly the same as in 32 bits, since that part is really handled by the Win32 API. Can you post a full example so I can try to reproduce the missing crashes issue?

Thanks! /Mario

On Mon, Jul 30, 2018 at 8:17 AM Debasish Mandal [email protected] wrote:

Hi, Wanted to know if we catch Access Violation Exception for 64 bit process as the same way we do for 32 bit processes ?

def AVHandler(event): #self code = event.get_event_code() if event.get_event_code() == win32.EXCEPTION_DEBUG_EVENT and event.is_last_chance(): print event.get_event_code() print 'Crashed'

Above code seems missing some crashes for me.

Any help suggestion will be appreciated!

TIA,

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MarioVilas/winappdbg/issues/43, or mute the thread https://github.com/notifications/unsubscribe-auth/AAN6U-03YrKcQ4JQ4WWyiqJ31gPy44Y8ks5uLqUSgaJpZM4Vl1tY .

-- “There's a reason we separate military and the police: one fights the enemy of the state, the other serves and protects the people. When the military becomes both, then the enemies of the state tend to become the people.”

MarioVilas avatar Aug 16 '18 10:08 MarioVilas