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(...)
For some analyses it would be nice to only instrument and analyze specific functions.
This can either be done by
pre_callandpost_call, e.g.pre_call_openor