fireeye / pywintrace

ETW Python Library
Apache License 2.0
267 stars 59 forks source link

Callback functions stop returning anything #40

Open JasonX7 opened 1 year ago

JasonX7 commented 1 year ago

The provider below was returning stuff a few hours ago when I was testing it. But it stopped returing anything after I rerun it a few hours later, any thoughts?

def some_func():

    providers = [etw.ProviderInfo('Microsoft-Windows-Win32k', etw.GUID("{8C416C79-D49B-4F01-A467-E56D3AA8234C}"))]

    job = etw.ETW( providers=providers, event_callback=lambda x: print(x))

    job.start()

    time.sleep(10)

    job.stop()