Decorator for registering new GEF (sub-)command to GDB.
(cls: Type["GenericCommand"])
| 4423 | |
| 4424 | @deprecated("Use `register()`, and inherit from `GenericCommand` instead") |
| 4425 | def register_command(cls: Type["GenericCommand"]) -> Type["GenericCommand"]: |
| 4426 | """Decorator for registering new GEF (sub-)command to GDB.""" |
| 4427 | return cls |
| 4428 | |
| 4429 | @deprecated("") |
| 4430 | def register_priority_command(cls: Type["GenericCommand"]) -> Type["GenericCommand"]: |
nothing calls this directly
no outgoing calls
no test coverage detected