drgn/tests/helpers
Omar Sandoval 38939cce5e helpers: add decorators to use the default program
To simplify converting helpers to allow omitting the prog argument, add
a couple of decorators that take care all of the messy details.

@takes_program_or_default is based on an example from Stephen Brennan,
and the rest handle progressively more complex calling conventions.

Also update drgndoc to be aware of these decorators and add some
boilerplate to the generated documentation.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2023-11-30 14:44:51 -08:00
..
common helpers: add decorators to use the default program 2023-11-30 14:44:51 -08:00
__init__.py Add tests for Linux helpers 2019-11-22 16:38:52 -08:00