MCPcopy Create free account
hub / github.com/HexHive/NASS / register_command

Function register_command

tools/gef.py:4425–4427  ·  view source on GitHub ↗

Decorator for registering new GEF (sub-)command to GDB.

(cls: Type["GenericCommand"])

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected