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.
18 lines
339 B
Python
18 lines
339 B
Python
from __future__ import annotations
|
|
|
|
import os
|
|
from dataclasses import dataclass
|
|
|
|
BASE_PATH = os.path.join("docs", "functions")
|
|
|
|
|
|
@dataclass
|
|
class ExtractedFunction:
|
|
name: str
|
|
signature: str
|
|
docstring: str
|
|
|
|
|
|
def extracted_filename(debugger: str) -> str:
|
|
return os.path.join("scripts", "_docs", debugger + "_functions.json")
|