From 37c02a5a1b0a502d984e4507da4c88277270ce61 Mon Sep 17 00:00:00 2001 From: Matt <4922458+mbrla0@users.noreply.github.com> Date: Mon, 11 Aug 2025 12:37:44 -0300 Subject: [PATCH] Update TLS tests to handle LLDB failing to resolve %GS on LLDB --- tests/library/dbg/tests/test_command_tls.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/library/dbg/tests/test_command_tls.py b/tests/library/dbg/tests/test_command_tls.py index 3bc259a4a..d1fb6d522 100644 --- a/tests/library/dbg/tests/test_command_tls.py +++ b/tests/library/dbg/tests/test_command_tls.py @@ -17,6 +17,11 @@ TLS_I386_BINARY = get_binary("tls.i386.out") async def test_tls_address_and_command(ctrl: Controller, binary: str): import pwndbg.aglib.tls import pwndbg.aglib.vmmap + from pwndbg.dbg import DebuggerType + + if pwndbg.dbg.name() == DebuggerType.LLDB and binary == TLS_I386_BINARY: + pytest.skip("TLS commands are flaky in LLDB on i386") + return await launch_to(ctrl, binary, "break_here")