Verify the default cache line size for android targets
"""
-from __future__ import print_function
import lldb
Test that we can listen to modules loaded events.
"""
-from __future__ import print_function
import lldb
Test that breakpoints in an IT instruction don't fire if their condition is
false.
"""
-from __future__ import print_function
import lldb
Test that breakpoints correctly work in an thumb function in an arbitrary
named codesection.
"""
-from __future__ import print_function
import lldb
"""Test that the 'add-dsym', aka 'target symbols add', command informs the user about success or failure."""
-from __future__ import print_function
import os
Test that apropos env doesn't crash trying to touch the process plugin command
"""
-from __future__ import print_function
import lldb
Test the command history mechanism
"""
-from __future__ import print_function
import lldb
Test that an alias can reference other aliases without crashing.
"""
-from __future__ import print_function
import lldb
Test lldb Python commands.
"""
-from __future__ import print_function
import sys
import lldb
-from __future__ import print_function
import lldb
"""Test custom import command to import files by path."""
-from __future__ import print_function
import lldb
"""Check that we handle an ImportError in a special way when command script importing files."""
-from __future__ import print_function
import lldb
Test lldb Python commands.
"""
-from __future__ import print_function
import lldb
Test that lldb command "command source" works correctly.
"""
-from __future__ import print_function
import lldb
Test some lldb command abbreviations.
"""
-from __future__ import print_function
import lldb
Test to ensure SBFrame::Disassemble produces SOME output
"""
-from __future__ import print_function
import lldb
Ticket: https://llvm.org/bugs/show_bug.cgi?id=26790
"""
-from __future__ import print_function
import lldb
Test calling an expression without a target.
"""
-from __future__ import print_function
import lldb
Tests calling builtin functions using expression evaluation.
"""
-from __future__ import print_function
import lldb
Test calling std::String member functions.
"""
-from __future__ import print_function
import lldb
Test calling a function, stopping in the call, continue and gather the result on stop.
"""
-from __future__ import print_function
import lldb
"""
-from __future__ import print_function
import lldb
Test calling a function that hits a signal set to auto-restart, make sure the call completes.
"""
-from __future__ import print_function
import lldb
Test calling a function that throws an ObjC exception, make sure that it doesn't propagate the exception.
"""
-from __future__ import print_function
import lldb
-from __future__ import print_function
import lldb
Test the lldb command line completion mechanism for the 'expr' command.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test that --allow-jit=false does disallow JITting:
"""
-from __future__ import print_function
import lldb
"""Test that we are able to evaluate expressions when the inferior is blocked in a syscall"""
-from __future__ import print_function
-
-
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
Test calling an expression with errors that a FixIt can fix.
"""
-from __future__ import print_function
import lldb
Test using LLDB data formatters with frozen objects coming from the expression parser.
"""
-from __future__ import print_function
import lldb
Test the IR interpreter
"""
-from __future__ import print_function
import unittest2
expected in a SyntheticChildrenProvider
"""
-from __future__ import print_function
import lldb
-from __future__ import print_function
import lldb
Test expression command options.
"""
-from __future__ import print_function
import lldb
Test that we can p *objcObject
"""
-from __future__ import print_function
import lldb
Test that we can have persistent pointer variables
"""
-from __future__ import print_function
import lldb
Test that nested persistent types work.
"""
-from __future__ import print_function
import lldb
Test that lldb persistent types works correctly.
"""
-from __future__ import print_function
import lldb
Test that lldb persistent variables works correctly.
"""
-from __future__ import print_function
import lldb
Test that the po command acts correctly.
"""
-from __future__ import print_function
import lldb
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test the robustness of lldb expression parser.
"""
-from __future__ import print_function
import lldb
The evaluating printf(...) after break stop and then up a stack frame.
"""
-from __future__ import print_function
import lldb
Test example snippets from the lldb 'help expression' output.
"""
-from __future__ import print_function
import lldb
Test that LLDB can emit JIT objects when the appropriate setting is enabled
"""
-from __future__ import print_function
import os
import lldb
-from __future__ import print_function
import lldb
Throw some expression commands with quotes at lldb.
"""
-from __future__ import print_function
import unittest2
Test some more expression commands.
"""
-from __future__ import print_function
import lldb
Test calling a function that waits a while, and make sure the timeout option to expr works.
"""
-from __future__ import print_function
import lldb
Test top-level expressions.
"""
-from __future__ import print_function
import unittest2
The expression parser's type search only looks in the current compilation unit for types.
"""
-from __future__ import print_function
import lldb
Test stopping at a breakpoint in an expression, and unwinding from there.
"""
-from __future__ import print_function
import unittest2
absent weak symbols from a dylib.
"""
-from __future__ import print_function
import os
-from __future__ import print_function
import lldb
Test the output of `frame diagnose` for an array access
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test the output of `frame diagnose` for dereferencing a bad reference
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test the output of `frame diagnose` for a subexpression of a complicated expression
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test the output of `frame diagnose` for dereferencing a function argument
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test the output of `frame diagnose` for dereferencing a function's return value
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test the output of `frame diagnose` for dereferencing `this`
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test the output of `frame diagnose` for calling virtual methods
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test the output of `frame diagnose` for dereferencing a local variable
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test the output of `frame diagnose` for calling virtual methods
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test the SB API SBFrame::GuessLanguage.
"""
-from __future__ import print_function
import lldb
Make sure the frame variable -g, -a, and -l flags work.
"""
-from __future__ import print_function
import lldb
See also CommandInterpreter::OutputFormattedHelpText().
"""
-from __future__ import print_function
import os
Test lldb logging. This test just makes sure logging doesn't crash, and produces some output.
"""
-from __future__ import print_function
import os
Test some lldb platform commands.
"""
-from __future__ import print_function
import lldb
Test the lldb platform Python API.
"""
-from __future__ import print_function
import lldb
Test process list.
"""
-from __future__ import print_function
import os
Test process attach/resume.
"""
-from __future__ import print_function
import lldb
Test process attach.
"""
-from __future__ import print_function
import os
Test denied process attach.
"""
-from __future__ import print_function
import time
"""
Test that argdumper is a viable launching strategy.
"""
-from __future__ import print_function
import os
Test lldb's quit command.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test the Intel(R) MPX registers.
"""
-from __future__ import print_function
import lldb
Test the Intel(R) MPX bound violation signal.
"""
-from __future__ import print_function
import lldb
Test Intel(R) MPX registers do not get overwritten by AVX data.
"""
-from __future__ import print_function
import lldb
Test lldb settings command.
"""
-from __future__ import print_function
import os
Test quoting of arguments to lldb commands
"""
-from __future__ import print_function
Test some target commands: create, list, select, variable.
"""
-from __future__ import print_function
import os
import stat
import tempfile
combinations.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
"""
Test that using a non-existent architecture name does not crash LLDB.
"""
-from __future__ import print_function
import lldb
Test that stop hooks trigger on "step-out"
"""
-from __future__ import print_function
import lldb
Test lldb watchpoint that uses '-s size' to watch a pointed location with size.
"""
-from __future__ import print_function
import re
Test my first lldb watchpoint.
"""
-from __future__ import print_function
import lldb
on any of the bytes, half-word, or word. This is only for ARM/AArch64 targets.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test handling of cases when a single instruction triggers multiple watchpoints
"""
-from __future__ import print_function
import lldb
"""Test stepping over watchpoints."""
-from __future__ import print_function
import lldb
Test that a variable watchpoint should only hit when in scope.
"""
-from __future__ import print_function
import unittest2
Test watchpoint list, enable, disable, and delete commands.
"""
-from __future__ import print_function
import lldb
Test 'watchpoint command'.
"""
-from __future__ import print_function
import lldb
Test 'watchpoint command'.
"""
-from __future__ import print_function
import os
Test watchpoint modify command to set condition on a watchpoint.
"""
-from __future__ import print_function
import lldb
Test displayed value of a vector variable while doing watchpoint operations
"""
-from __future__ import print_function
import lldb
Test lldb watchpoint that uses 'watchpoint set -w write -s size' to watch a pointed location with size.
"""
-from __future__ import print_function
import lldb
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
verified to match the expected number of events.
"""
-from __future__ import print_function
import unittest2
from __future__ import absolute_import
-from __future__ import print_function
# System modules
from distutils.version import LooseVersion
-from __future__ import print_function
from __future__ import absolute_import
# System modules
Test that the lldb driver's batch mode works correctly.
"""
-from __future__ import print_function
import lldb
Test some lldb command abbreviations and aliases for proper resolution.
"""
-from __future__ import print_function
-
-
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
many commands remain available even after we add/delete commands in the future.
"""
-from __future__ import print_function
import lldb
"""Test breaking inside functions defined within a BSD archive file libfoo.a."""
-from __future__ import print_function
import lldb
Test that ASan memory history provider returns correct stack traces
"""
-from __future__ import print_function
import lldb
Test the AddressSanitizer runtime support for report breakpoint and data extraction.
"""
-from __future__ import print_function
import json
Test whether a process started by lldb has no extra file descriptors open.
"""
-from __future__ import print_function
import lldb
Test that backticks without a target should work (not infinite looping).
"""
-from __future__ import print_function
import lldb
Test address breakpoints set with shared library of SBAddress work correctly.
"""
-from __future__ import print_function
import lldb
Test that breakpoints set on a bad address say they are bad.
"""
-from __future__ import print_function
import lldb
Test that the breakpoint auto-continue flag works correctly.
"""
-from __future__ import print_function
import lldb
Test setting a breakpoint by line and column.
"""
-from __future__ import print_function
import lldb
Test lldb breakpoint command add/list/delete.
"""
-from __future__ import print_function
import lldb
Test _regexp-break command which uses regular expression matching to dispatch to other built in breakpoint commands.
"""
-from __future__ import print_function
import os
Test breakpoint conditions with 'breakpoint modify -c <expr> id'.
"""
-from __future__ import print_function
-
-
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
Test breakpoint hit count features.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb breakpoint ids.
"""
-from __future__ import print_function
import lldb
Test breakpoint ignore count features.
"""
-from __future__ import print_function
import lldb
parser.
"""
-from __future__ import print_function
import lldb
Test breakpoint commands for a breakpoint ID with multiple locations.
"""
-from __future__ import print_function
import lldb
Test breakpoint names.
"""
-from __future__ import print_function
import os
Test breakpoint command for different options.
"""
-from __future__ import print_function
import lldb
"""
Test breakpoint command with AT_comp_dir set to symbolic link.
"""
-from __future__ import print_function
import os
Test that we handle breakpoints on consecutive instructions correctly.
"""
-from __future__ import print_function
import unittest2
Test that you can set breakpoint and hit the C++ language exception breakpoint
"""
-from __future__ import print_function
import lldb
Test embedded breakpoints, like `asm int 3;` in x86 or or `__debugbreak` on Windows.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test breakpoint commands set before we have a target
"""
-from __future__ import print_function
import lldb
Test that we can hit breakpoints in global constructors
"""
-from __future__ import print_function
import lldb
Test hardware breakpoints for multiple threads.
"""
-from __future__ import print_function
import lldb
another source file) works correctly.
"""
-from __future__ import print_function
import lldb
parser.
"""
-from __future__ import print_function
import shutil
Test require hardware breakpoints.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test setting breakpoints using a scripted resolver
"""
-from __future__ import print_function
-
-
import os
import lldb
import lldbsuite.test.lldbutil as lldbutil
Test breakpoint serialization.
"""
-from __future__ import print_function
-
-
import os
import lldb
from lldbsuite.test.decorators import *
This test just tests the source file & function restrictions.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
and eStopReasonPlanComplete when breakpoint's condition fails.
"""
-from __future__ import print_function
import unittest2
import lldb
Test the lldb command line completion mechanism.
"""
-from __future__ import print_function
import os
"""
# System imports
-from __future__ import print_function
# LLDB imports
from lldbsuite.test import darwin_log
targets.
"""
-from __future__ import print_function
import lldb
targets.
"""
-from __future__ import print_function
import lldb
targets.
"""
-from __future__ import print_function
import lldb
targets.
"""
-from __future__ import print_function
import lldb
import re
targets.
"""
-from __future__ import print_function
import lldb
targets.
"""
-from __future__ import print_function
import lldb
targets.
"""
-from __future__ import print_function
import lldb
targets.
"""
-from __future__ import print_function
import lldb
"""
# System imports
-from __future__ import print_function
# LLDB imports
targets.
"""
-from __future__ import print_function
import lldb
targets.
"""
-from __future__ import print_function
import lldb
import re
targets.
"""
-from __future__ import print_function
import lldb
targets.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
-
-
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
-
-
import os
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
corruption).
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Check if changing Format on an SBValue correctly propagates that new format to children as it should
"""
-from __future__ import print_function
import lldb
Test that the user can input a format but it will not prevail over summary format's choices.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test that ValueObjectPrinter does not cause an infinite loop when a reference to a struct that contains a pointer to itself is printed.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Check for an issue where capping does not work because the Target pointer appears to be changing behind our backs
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test that the user can input a format but it will not prevail over summary format's choices.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test lldb data formatter subsystem.
"""
-from __future__ import print_function
import lldb
Test that breakpoint works correctly in the presence of dead-code stripping.
"""
-from __future__ import print_function
import lldb
Test process attach when executable was deleted.
"""
-from __future__ import print_function
import os
Test that dynamic values update their child count correctly
"""
-from __future__ import print_function
import lldb
"""
Test some lldb command abbreviations.
"""
-from __future__ import print_function
import lldb
-from __future__ import print_function
import lldb
from lldbsuite.test.lldbtest import *
from lldbsuite.test.decorators import *
-from __future__ import print_function
import lldb
from lldbsuite.test.lldbtest import *
from lldbsuite.test.decorators import *
-from __future__ import print_function
import lldb
from lldbsuite.test.lldbtest import *
from lldbsuite.test.decorators import *
-from __future__ import print_function
import lldb
from lldbsuite.test.lldbtest import *
from lldbsuite.test.decorators import *
Make sure the !N and !-N commands work properly.
"""
-from __future__ import print_function
import lldb
"""Test lldb reloads the inferior after it was changed during the session."""
-from __future__ import print_function
import time
"""Test that lldb functions correctly after the inferior has crashed."""
-from __future__ import print_function
import lldb
"""Test that lldb steps correctly after the inferior has crashed."""
-from __future__ import print_function
import lldb
from lldbsuite.test import lldbutil
"""Test that lldb functions correctly after the inferior has crashed while in a recursive routine."""
-from __future__ import print_function
import lldb
"""Test that lldb steps correctly after the inferior has crashed while in a recursive routine."""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
"""Test stepping over and into inlined functions."""
-from __future__ import print_function
import lldb
"""Test for the JITLoaderGDB interface"""
-from __future__ import print_function
import unittest2
import os
Test that SBProcess.LoadImageUsingPaths works correctly.
"""
-from __future__ import print_function
import os
Test the use of setjmp/longjmp for non-local goto operations in a single-threaded inferior.
"""
-from __future__ import print_function
import lldb
Test the 'memory region' command.
"""
-from __future__ import print_function
import lldb
Test the MemoryCache L1 flush.
"""
-from __future__ import print_function
import lldb
Test the 'memory find' command.
"""
-from __future__ import print_function
import lldb
Test the 'memory read' command.
"""
-from __future__ import print_function
import lldb
"""Test evaluating expressions which ref. index variable 'i' which just goes
from out of scope to in scope when stopped at the breakpoint."""
-from __future__ import print_function
import lldb
foreign-architecture object files.
"""
-from __future__ import print_function
import os.path
"""
Test some lldb command abbreviations.
"""
-from __future__ import print_function
import lldb
Test that the Python operating system plugin works correctly
"""
-from __future__ import print_function
import os
Test signal reporting when debugging with linux core files.
"""
-from __future__ import print_function
import lldb
Test signal reporting when debugging with linux core files.
"""
-from __future__ import print_function
import lldb
Test basics of mach core file debugging.
"""
-from __future__ import print_function
import lldb
Test basics of Minidump debugging.
"""
-from __future__ import print_function
from six import iteritems
import shutil
Test basics of Minidump debugging.
"""
-from __future__ import print_function
from six import iteritems
Test basics of mini dump debugging.
"""
-from __future__ import print_function
from six import iteritems
get the 32-bit register contexts.
"""
-from __future__ import print_function
from six import iteritems
-from __future__ import print_function
import unittest2
import lldb
"""Test that we handle inferiors which change their process group"""
-from __future__ import print_function
import os
Test saving a core file (or mini dump).
"""
-from __future__ import print_function
import os
import lldb
Test the ptr_refs tool on Darwin
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
"""
Test that argdumper is a viable launching strategy.
"""
-from __future__ import print_function
import lldb
Test getting return-values correctly when stepping out
"""
-from __future__ import print_function
import lldb
Set the contents of variables and registers using raw data
"""
-from __future__ import print_function
import lldb
"""Test that lldb command 'process signal SIGUSR1' to send a signal to the inferior works."""
-from __future__ import print_function
import lldb
"""Test that we can unwind out of a SIGABRT handler"""
-from __future__ import print_function
"""Test that we can debug inferiors that handle SIGSEGV by themselves"""
-from __future__ import print_function
"""Test that we handle inferiors that send signals to themselves"""
-from __future__ import print_function
import lldb
Test thread step-in, step-over and step-out work with the "Avoid no debug" option.
"""
-from __future__ import print_function
an id(). Other parts of the test running infrastructure are counting on this.
"""
-from __future__ import print_function
from lldbsuite.test.lldbtest import TestBase
class TestIdTestCase(TestBase):
Test number of threads.
"""
-from __future__ import print_function
import lldb
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
Test that step-inst over a crash behaves correctly.
"""
-from __future__ import print_function
import lldb
Test thread creation after process attach.
"""
-from __future__ import print_function
import lldb
Test number of threads.
"""
-from __future__ import print_function
import lldb
Test number of threads.
"""
-from __future__ import print_function
import lldb
Test number of threads.
"""
-from __future__ import print_function
import lldb
Test jumping to different places.
"""
-from __future__ import print_function
import lldb
Test number of threads.
"""
-from __future__ import print_function
import lldb
Test number of threads.
"""
-from __future__ import print_function
import lldb
Test thread states.
"""
-from __future__ import print_function
import unittest2
Test stepping out from a function in a multi-threaded program.
"""
-from __future__ import print_function
import lldb
"""Test stepping over vrs. hitting breakpoints & subsequent stepping in various forms."""
-from __future__ import print_function
import lldb
Test number of threads.
"""
-from __future__ import print_function
import lldb
Test that we obey thread conditioned breakpoints.
"""
-from __future__ import print_function
import lldb
conditioned breakpoints simultaneously
"""
-from __future__ import print_function
import lldb
Check that types only get completed when necessary.
"""
-from __future__ import print_function
import lldb
Test type lookup command.
"""
-from __future__ import print_function
import lldb
Test that we can backtrace correctly from Non ABI functions on the stack
"""
-from __future__ import print_function
import lldb
be at the end of the stack.
"""
-from __future__ import print_function
import lldb
Verify that the hash computing logic for ValueObject's values can't crash us.
"""
-from __future__ import print_function
import lldb
Make sure the getting a variable path works and doesn't crash.
"""
-from __future__ import print_function
import lldb
Test how lldb reacts to wrong commands
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
"""Tests that a FAIL is detected by the testbot."""
-from __future__ import print_function
import lldbsuite.test.lldbtest as lldbtest
-from __future__ import print_function
from lldbsuite.test import lldbtest
from lldbsuite.test import decorators
Do not mark them as flakey as, at this time, flakey tests will
run twice, thus causing the second run to succeed."""
-from __future__ import print_function
import rerun_base
"""Tests that an exceptional exit is detected by the testbot."""
-from __future__ import print_function
import os
import signal
"""Tests that an exceptional exit is detected by the testbot."""
-from __future__ import print_function
import atexit
import os
-from __future__ import print_function
import os
"""Test that anonymous structs/unions are transparent to member access"""
-from __future__ import print_function
import lldb
"""Test breakpoint by file/line number; and list variables with array types."""
-from __future__ import print_function
import lldb
"""Show bitfields and check that they display correctly."""
-from __future__ import print_function
import lldb
"""Test that lldb can invoke blocks and access variables inside them"""
-from __future__ import print_function
import unittest2
"""Test that conflicting symbols in different shared libraries work correctly"""
-from __future__ import print_function
import lldb
"""Check that compiler-generated constant values work correctly"""
-from __future__ import print_function
import lldb
"""Look up enum type information and check for correct display."""
-from __future__ import print_function
import lldb
Make sure FindTypes finds struct types with the struct prefix.
"""
-from __future__ import print_function
import lldb
"""Test that forward declaration of a data structure gets resolved correctly."""
-from __future__ import print_function
import lldb
"""Test variable with function ptr type and that break on the function works."""
-from __future__ import print_function
import lldb
"""Show global variables and check that they do indeed have global scopes."""
-from __future__ import print_function
from lldbsuite.test.decorators import *
CU's. Assert that that is true.
"""
-from __future__ import print_function
import lldb
it didn't read the value as an unsigned.
"""
-from __future__ import print_function
from lldbsuite.test.decorators import *
"""Test that importing modules in C works as expected."""
-from __future__ import print_function
import os
"""Test settings and readings of program variables."""
-from __future__ import print_function
import lldb
"""Test that types defined in shared libraries work correctly."""
-from __future__ import print_function
import unittest2
"""Test that types defined in shared libraries with stripped symbols work correctly."""
-from __future__ import print_function
import unittest2
"""Test the 'step target' feature."""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
"""Test stepping over vrs. hitting breakpoints & subsequent stepping in various forms."""
-from __future__ import print_function
import lldb
Test thread stepping features in combination with frame select.
"""
-from __future__ import print_function
import lldb
"""Test that thread-local storage can be read correctly."""
-from __future__ import print_function
import unittest2
"""Look up type information for typedefs of same name at different lexical scope and check for correct display."""
-from __future__ import print_function
import lldb
Test lldb breakpoint command for CPP methods & functions in a namespace.
"""
-from __future__ import print_function
import lldb
Test that the C++11 support for char16_t and char32_t works correctly.
"""
-from __future__ import print_function
import lldb
Test that C++ supports char8_t correctly.
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test display and Python APIs on file and class static variables.
"""
-from __future__ import print_function
import lldb
"""Test breakpoint on a class constructor; and variable list the this object."""
-from __future__ import print_function
import os
dynamic value calculator doesn't confuse them
"""
-from __future__ import print_function
import lldb
Use lldb Python API to test dynamic values in C++
"""
-from __future__ import print_function
import lldb
"""Look up enum type information and check for correct display."""
-from __future__ import print_function
import lldb
Test lldb exception breakpoint command for CPP.
"""
-from __future__ import print_function
import lldb
"""Test that C++ global variables can be inspected by name and also their mangled name."""
-from __future__ import print_function
from lldbsuite.test.decorators import *
"""Test variable lookup when stopped in inline functions."""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
"""Test that importing modules in C++ works as expected."""
-from __future__ import print_function
import unittest2
import lldb
Test the printing of anonymous and named namespace variables.
"""
-from __future__ import print_function
import lldb
Test the printing of anonymous and named namespace variables.
"""
-from __future__ import print_function
import lldb
"""Test that forward declarations don't cause bogus conflicts in namespaced types"""
-from __future__ import print_function
import unittest2
Test that variables with signed types display correctly.
"""
-from __future__ import print_function
import lldb
Tests that C++ member and static variables have correct layout and scope.
"""
-from __future__ import print_function
import unittest2
Test stepping into std::function
"""
-from __future__ import print_function
import lldb
Test some expressions involving STL data types.
"""
-from __future__ import print_function
import unittest2
Test that we work properly with classes with the trivial_abi attribute
"""
-from __future__ import print_function
import lldb
Test that we can lookup types correctly in the expression parser
"""
-from __future__ import print_function
import lldb
Test that the expression parser returns proper Unicode strings.
"""
-from __future__ import print_function
import lldb
Test that template instaniations of std::vector<long> and <short> in the same module have the correct types.
"""
-from __future__ import print_function
import lldb
Test that variables with unsigned types display correctly.
"""
-from __future__ import print_function
import lldb
Test C++ virtual function and virtual inheritance.
"""
-from __future__ import print_function
-
import os
import re
import lldb
Test that C++ supports wchar_t correctly.
"""
-from __future__ import print_function
import lldb
"""Test that lldb works correctly on compile units form different languages."""
-from __future__ import print_function
import re
"""Test printing ivars and ObjC objects captured in blocks that are made in methods of an ObjC class."""
-from __future__ import print_function
-
-
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
"""Test that types defined in shared libraries work correctly."""
-from __future__ import print_function
import lldb
Test lldb Obj-C exception support.
"""
-from __future__ import print_function
import lldb
"""Test that a forward-declared class works when its complete definition is in a library"""
-from __future__ import print_function
import lldb
parser.
"""
-from __future__ import print_function
import lldb
Test more expression command sequences with objective-c.
"""
-from __future__ import print_function
import lldb
Test more expression command sequences with objective-c.
"""
-from __future__ import print_function
import lldb
Test more expression command sequences with objective-c.
"""
-from __future__ import print_function
import lldb
Test more expression command sequences with objective-c.
"""
-from __future__ import print_function
import lldb
Test that Objective-C methods from the runtime work correctly.
"""
-from __future__ import print_function
import lldb
Test symbol table access for main.m.
"""
-from __future__ import print_function
-
-
-
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
"""Test that a global ObjC object found before the process is started updates correctly."""
-from __future__ import print_function
import lldb
"""Test that hidden ivars in a shared library are visible from the main executable."""
-from __future__ import print_function
import unittest2
Test that dynamically discovered ivars of type IMP do not crash LLDB
"""
-from __future__ import print_function
-from __future__ import print_function
import unittest2
import os
"""Test that importing modules in Objective-C works as expected."""
-from __future__ import print_function
import unittest2
"""Test that the clang modules cache directory can be controlled."""
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import unittest2
import os
"""Test that DWARF types are trusted over module types"""
-from __future__ import print_function
import unittest2
"""Test that inline functions from modules are imported correctly"""
-from __future__ import print_function
-from __future__ import print_function
import unittest2
import os
"""Test that importing modules in Objective-C works as expected."""
-from __future__ import print_function
import unittest2
Make sure that ivars of Objective-C++ classes are visible in LLDB.
"""
-from __future__ import print_function
import lldb
Use lldb Python API to test base class resolution for ObjC classes
"""
-from __future__ import print_function
import lldb
"""Test that the expression parser doesn't get confused by 'id' and 'Class'"""
-from __future__ import print_function
import lldb
Use lldb Python API to make sure the dynamic checkers are doing their jobs.
"""
-from __future__ import print_function
import lldb
Test that we are able to properly report a usable dynamic type
"""
-from __future__ import print_function
import lldb
Use lldb Python API to test dynamic values in ObjC
"""
-from __future__ import print_function
import lldb
"""Test printing ObjC objects that use unbacked properties - so that the static ivar offsets are incorrect."""
-from __future__ import print_function
import lldb
"""Test printing ObjC objects that use unbacked properties - so that the static ivar offsets are incorrect."""
-from __future__ import print_function
import lldb
"""Test that the Objective-C syntax for dictionary/array literals and indexing works"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
"""Test that the Objective-C syntax for dictionary/array literals and indexing works"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
"""Test that the Objective-C syntax for dictionary/array literals and indexing works"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
optimized it into a register.
"""
-from __future__ import print_function
import lldb
Use lldb Python API to verify that expression evaluation for property references uses the correct getters and setters
"""
-from __future__ import print_function
import lldb
"""Test calling functions in static methods with a stripped binary."""
-from __future__ import print_function
import lldb
"""Test calling functions in static methods."""
-from __future__ import print_function
import lldb
"""Test passing structs to Objective-C methods."""
-from __future__ import print_function
import lldb
"""Test calling functions in class methods."""
-from __future__ import print_function
import lldb
"""Test calling methods on super."""
-from __future__ import print_function
import lldb
Test the ptr_refs tool on Darwin with Objective-C
"""
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
Test that objective-c method returning BOOL works correctly.
"""
-from __future__ import print_function
import lldb
Test that CoreFoundation classes CFGregorianDate and CFRange are not improperly uniqued
"""
-from __future__ import print_function
import lldb
Test that we do not attempt to make a dynamic type for a 'const char*'
"""
-from __future__ import print_function
import lldb
Test that we are able to find out how many children NSWindow has
"""
-from __future__ import print_function
import lldb
"""Test that types defined in shared libraries work correctly."""
-from __future__ import print_function
import lldb
"""Test that we properly vend children for a single entry NSDictionary"""
-from __future__ import print_function
import unittest2
'__builtin_trap' intrinsic, which GCC (4.6) encodes to an illegal opcode.
"""
-from __future__ import print_function
import lldb
over a thread creation instruction.
"""
-from __future__ import print_function
import lldb
-from __future__ import print_function
from __future__ import absolute_import
# System modules
"""Test that the 'add-dsym', aka 'target symbols add', succeeds in the middle of debug session."""
-from __future__ import print_function
import lldb
"""Test breaking inside functions defined within a BSD archive file libfoo.a."""
-from __future__ import print_function
import lldb
Make sure we can find the binary inside an app bundle.
"""
-from __future__ import print_function
import lldb
"""Test that a dSYM can be found when a binary is in a bundle hnd has dots in the filename."""
-from __future__ import print_function
#import unittest2
import os.path
"""Test that a dSYM can be found when a binary is in a deep bundle with multiple pathname components."""
-from __future__ import print_function
#import unittest2
from time import sleep
Test that we read the function starts section.
"""
-from __future__ import print_function
import lldb
"""Test stepping and setting breakpoints in indirect and re-exported symbols."""
-from __future__ import print_function
import lldb
"""Test that corefiles with an LC_NOTE "kern ver str" load command is used."""
-from __future__ import print_function
import os
Test loading of a kext binary.
"""
-from __future__ import print_function
import lldb
targets.
"""
-from __future__ import print_function
import lldb
import platform
Test that debug symbols have the correct order as specified by the order file.
"""
-from __future__ import print_function
import re
"""Test function call thread safety."""
-from __future__ import print_function
import lldb
"""Test that we get thread names when interrupting a process."""
-from __future__ import print_function
import time
"""Test aspects of lldb commands on universal binaries."""
-from __future__ import print_function
import unittest2
Read in a library with a version number of 0.0.0, make sure we produce a good version.
"""
-from __future__ import print_function
import lldb
-from __future__ import print_function
import lldbsuite.test.lldbtest as lldbtest
from builder_base import *
Test SBBreakpoint APIs.
"""
-from __future__ import print_function
-
-
import lldb
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
Test SBType APIs to fetch member function types.
"""
-from __future__ import print_function
import lldb
Test lldb Python API for file handles.
"""
-from __future__ import print_function
import os
import io
"""Test that SBFrame::FindValue finds things but does not duplicate the entire variables list"""
-from __future__ import print_function
import lldb
"""Test Python APIs for target (launch and attach), breakpoint, and process."""
-from __future__ import print_function
import os
Test that we embed the swig version into the lldb module
"""
-from __future__ import print_function
"""
import os
Test SBprocess and SBThread APIs with printing of the stack traces using lldbutil.
"""
-from __future__ import print_function
import lldb
Test SBTarget APIs.
"""
-from __future__ import print_function
import unittest2
Test SBType for ObjC classes.
"""
-from __future__ import print_function
import lldb
"""Test reading c-strings from memory via SB API."""
-from __future__ import print_function
import os
import lldb
Check that SBValue.GetValueAsSigned() does the right thing for a 32-bit -1.
"""
-from __future__ import print_function
import lldb
"""Test the SBData APIs."""
-from __future__ import print_function
from math import fabs
Test SBLaunchInfo
"""
-from __future__ import print_function
from lldbsuite.test.lldbtest import *
Test some SBStructuredData API.
"""
-from __future__ import print_function
import lldb
"""Test SBValue::Persist"""
-from __future__ import print_function
import lldb
Test SBSection APIs.
"""
-from __future__ import print_function
from lldbsuite.test.decorators import *
Test SBProcess APIs, including ReadMemory(), WriteMemory(), and others.
"""
-from __future__ import print_function
import lldb
Test SBSymbolContext APIs.
"""
-from __future__ import print_function
import lldb
Test some SBValue APIs.
"""
-from __future__ import print_function
import lldb
-from __future__ import print_function
import lldb
from lldbsuite.test.decorators import *
"""Test SBValue::GetValueDidChange"""
-from __future__ import print_function
import lldb
Describe the purpose of the test class here.
"""
-from __future__ import print_function
import lldb
correctly and points inside the default test build directory.
"""
-from __future__ import print_function
import lldb
import lldbsuite.test.lldbutil as lldbutil
Test that the lldb editline handling is configured correctly.
"""
-from __future__ import print_function
import lldb
"""
from __future__ import absolute_import
-from __future__ import print_function
# System modules
import inspect
Tests the process_control module.
"""
-from __future__ import print_function
# System imports.
import os
-from __future__ import print_function
import gdbremote_testcase
-from __future__ import print_function
import gdbremote_testcase
-from __future__ import print_function
# lldb test suite imports
from lldbsuite.test.decorators import *
-from __future__ import print_function
import gdbremote_testcase
-from __future__ import print_function
import json
import gdbremote_testcase
-from __future__ import print_function
-from __future__ import print_function
import gdbremote_testcase
-from __future__ import print_function
import json
import re
-from __future__ import print_function
-from __future__ import print_function
import gdbremote_testcase
from lldbsuite.test.decorators import *
-from __future__ import print_function
import json
import re
-from __future__ import print_function
import gdbremote_testcase
-from __future__ import print_function
import gdbremote_testcase
-from __future__ import print_function
import gdbremote_testcase
-from __future__ import print_function
import time
-from __future__ import print_function
import gdbremote_testcase
# This test makes sure that lldb-server supports and properly handles
# QPassSignals GDB protocol package.
-from __future__ import print_function
import gdbremote_testcase
from lldbsuite.test.decorators import *
-from __future__ import print_function
import unittest2
-from __future__ import print_function
import gdbremote_testcase
from lldbsuite.test.decorators import *
Test lldb-vscode setBreakpoints request
"""
-from __future__ import print_function
import unittest2
import vscode
Test lldb-vscode setBreakpoints request
"""
-from __future__ import print_function
import unittest2
import vscode
Test lldb-vscode setBreakpoints request
"""
-from __future__ import print_function
import unittest2
import vscode
Test lldb-vscode setBreakpoints request
"""
-from __future__ import print_function
import unittest2
import vscode
Test lldb-vscode completions request
"""
-from __future__ import print_function
import lldbvscode_testcase
import unittest2
Test lldb-vscode setBreakpoints request
"""
-from __future__ import print_function
import unittest2
import vscode
-from __future__ import print_function
from lldbsuite.test.lldbtest import *
import os
Test lldb-vscode setBreakpoints request
"""
-from __future__ import print_function
import unittest2
import vscode
Test lldb-vscode setBreakpoints request
"""
-from __future__ import print_function
import unittest2
import vscode
Test that variables of integer basic types are displayed correctly.
"""
-from __future__ import print_function
import AbstractBase
Test that variables of floating point types are displayed correctly.
"""
-from __future__ import print_function
import AbstractBase
Test that variable expressions of floating point types are evaluated correctly.
"""
-from __future__ import print_function
import AbstractBase
Test that variables of floating point types are displayed correctly.
"""
-from __future__ import print_function
import AbstractBase
Test that variable expressions of floating point types are evaluated correctly.
"""
-from __future__ import print_function
import AbstractBase
Test that recursive types are handled correctly.
"""
-from __future__ import print_function
import lldb