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

Method format_matrix

tools/gef.py:4638–4645  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

4636
4637 @property
4638 def format_matrix(self) -> Dict[int, Tuple[str, str, str]]:
4639 # `gef.arch.endianness` is a runtime property, should not be defined as a class property
4640 return {
4641 8: (f"{gef.arch.endianness}B", "char", "db"),
4642 16: (f"{gef.arch.endianness}H", "short", "dw"),
4643 32: (f"{gef.arch.endianness}I", "int", "dd"),
4644 64: (f"{gef.arch.endianness}Q", "long long", "dq"),
4645 }
4646
4647 @only_if_gdb_running
4648 @parse_arguments({"location": "$pc", }, {("--length", "-l"): 256, "--bitlen": 0, "--lang": "py", "--clip": True,})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected