Remove `pwndbg.lldblib` (#2453)

pull/2456/head
Matt. 1 year ago committed by GitHub
parent b5e865430a
commit d6a39fc983
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,15 +0,0 @@
from __future__ import annotations
from typing import Any
import lldb
def register_class_as_cmd(debugger: lldb.SBDebugger, cmd: str, handler: Any, path: str = None):
name = path
if not name:
mod = handler.__module__
name = handler.__qualname__
name = f"{mod if mod else ''}.{name}"
debugger.HandleCommand(f"command script add -c {name} -s synchronous {cmd}")
Loading…
Cancel
Save