From dfa21f9ad7915ee5c56038efb90a5c417e43913b Mon Sep 17 00:00:00 2001 From: Matt <4922458+mbrla0@users.noreply.github.com> Date: Mon, 11 Aug 2025 16:44:36 -0300 Subject: [PATCH] Disable go-based x86 test for windbg commands on LLDB --- tests/library/dbg/tests/test_windbg.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/library/dbg/tests/test_windbg.py b/tests/library/dbg/tests/test_windbg.py index 3d9da67a5..da3cc17dc 100644 --- a/tests/library/dbg/tests/test_windbg.py +++ b/tests/library/dbg/tests/test_windbg.py @@ -2,6 +2,8 @@ from __future__ import annotations import re +import pytest + from ....host import Controller from . import get_binary from . import pwndbg_test @@ -323,6 +325,13 @@ async def test_windbg_commands_x86(ctrl: Controller) -> None: like dq, dw, db, ds etc. """ import pwndbg + from pwndbg.dbg import DebuggerType + + if pwndbg.dbg.name() == DebuggerType.LLDB: + pytest.skip( + "LLDB does not properly support Go, and fails to resolve expressions such as `$esp`" + ) + return await ctrl.launch(X86_BINARY)