Skip to content

Only track selected functions #32

@AryazE

Description

@AryazE

For some analyses it would be nice to only instrument and analyze specific functions.
This can either be done by

  • appending the name to pre_call and post_call, e.g. pre_call_open or
  • adding decorators, e.g.
@only(functions=['open', 'close'])
def pre_call(...)
...

@except(functions=['read', 'write'])
def post_call(...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions