Skip to content

profiler ¤

Utilities for profiling pwndbg.

Functions:

Attributes:

parser module-attribute ¤

parser = ArgumentParser(
    description="\nUtilities for profiling Pwndbg.\n\nCheck out the `./profiling` folder for other useful utilities.\nUse `./profiling/print_stats.py` to generate a report from a `.pstats` file.\n"
)

subparsers module-attribute ¤

subparsers = add_subparsers(dest='command')

parser_start module-attribute ¤

parser_start = add_parser('start', description='Starts the profiler.')

parser_stop module-attribute ¤

parser_stop = add_parser(
    "stop", description="Stop the profiler and save the results."
)

profiler ¤

profiler(command, file='pwndbg.pstats') -> None