Skip to content

Can we trace all open() calls? #121

Description

@qlibp

As said in the doc, there's a flag named builtin in Filtering session, but I still can't get it tracing open() calls with the following snippet.

import hunter
hunter.trace(hunter.Q(builtin=True, function="open", action=hunter.CallPrinter))

f = open("test_trace.py", "r")
lines = f.readlines()
print(lines[0])
f.close()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions