#!/usr/bin/env python3

"""
Run LLDB in a pty.

This will allow to inject server commands not exposing them
to a user.
"""

import re

from base_proxy import BaseProxy
from typing import AnyStr


class LldbProxy(BaseProxy):
    """The PTY proxy for LLDB."""

    def __init__(self):
        """ctor."""
        super().__init__("LLDB")
        self.prompt = re.compile(rb"\(lldb\) (\(lldb\) )?")

    def get_prompt(self) -> re.Pattern[AnyStr]:
        return self.prompt


if __name__ == '__main__':
    LldbProxy().run()

e5504c765798d2a224026c0bd27b119a606571bc
<mask token>


class LldbProxy(BaseProxy):
    <mask token>
    <mask token>
    <mask token>


<mask token>

<mask token>


class LldbProxy(BaseProxy):
    <mask token>

    def __init__(self):
        """ctor."""
        super().__init__('LLDB')
        self.prompt = re.compile(b'\\(lldb\\) (\\(lldb\\) )?')

    def get_prompt(self) ->re.Pattern[AnyStr]:
        return self.prompt


<mask token>

<mask token>


class LldbProxy(BaseProxy):
    """The PTY proxy for LLDB."""

    def __init__(self):
        """ctor."""
        super().__init__('LLDB')
        self.prompt = re.compile(b'\\(lldb\\) (\\(lldb\\) )?')

    def get_prompt(self) ->re.Pattern[AnyStr]:
        return self.prompt


<mask token>

<mask token>
import re
from base_proxy import BaseProxy
from typing import AnyStr


class LldbProxy(BaseProxy):
    """The PTY proxy for LLDB."""

    def __init__(self):
        """ctor."""
        super().__init__('LLDB')
        self.prompt = re.compile(b'\\(lldb\\) (\\(lldb\\) )?')

    def get_prompt(self) ->re.Pattern[AnyStr]:
        return self.prompt


if __name__ == '__main__':
    LldbProxy().run()

#!/usr/bin/env python3

"""
Run LLDB in a pty.

This will allow to inject server commands not exposing them
to a user.
"""

import re

from base_proxy import BaseProxy
from typing import AnyStr


class LldbProxy(BaseProxy):
    """The PTY proxy for LLDB."""

    def __init__(self):
        """ctor."""
        super().__init__("LLDB")
        self.prompt = re.compile(rb"\(lldb\) (\(lldb\) )?")

    def get_prompt(self) -> re.Pattern[AnyStr]:
        return self.prompt


if __name__ == '__main__':
    LldbProxy().run()
