| 5420 | _syntax_ = f"{_cmdline_} [list|edit <StructureName>|show <StructureName>]|<StructureName> 0xADDRESS]" |
| 5421 | |
| 5422 | def __init__(self) -> None: |
| 5423 | super().__init__(prefix=True) |
| 5424 | self["struct_path"] = (str(pathlib.Path(gef.config["gef.tempdir"]) / "structs"), "Path to store/load the structure ctypes files") |
| 5425 | self["max_depth"] = (4, "Maximum level of recursion supported") |
| 5426 | self["structure_name"] = ("bold blue", "Color of the structure name") |
| 5427 | self["structure_type"] = ("bold red", "Color of the attribute type") |
| 5428 | self["structure_size"] = ("green", "Color of the attribute size") |
| 5429 | return |
| 5430 | |
| 5431 | @parse_arguments({"type": "", "address": ""}, {}) |
| 5432 | def do_invoke(self, *_: Any, **kwargs: Dict[str, Any]) -> None: |