mirror of https://github.com/pwndbg/pwndbg.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
409 B
Python
20 lines
409 B
Python
from __future__ import annotations
|
|
|
|
import os
|
|
from dataclasses import dataclass
|
|
|
|
BASE_PATH = os.path.join("docs", "configuration")
|
|
|
|
|
|
@dataclass
|
|
class ExtractedParam:
|
|
name: str
|
|
# Scope is calculated from the json
|
|
# scope: str
|
|
set_show_doc: str
|
|
help_docstring: str
|
|
|
|
|
|
def extracted_filename(debugger: str) -> str:
|
|
return os.path.join("scripts", "_docs", debugger + "_configuration.json")
|