hanchenye-llvm-project/lldb/examples/python
Sean Callanan d181730aa5 Added a stress-tester for LLDB's disassembler.
Right now it only works on Mac OS X, but other
platforms would just need to add their own
implementation of AddLLDBToSysPathOn*().

The stress-tester has two modes:

Used with --bytes N --random, the stress-tester
generates random instructions of length N and
runs them through the disassembler.  This is
suitable for architectures like Intel where it
is combinatorially infeasible to run through the
entire space of possible instructions.

Used with --bytes N and no arguments (or --start
S --stride T), the stress-tester tests the
disassembler with a monotonically increasing
sequence of instructions.

The --start and --stride arguments are intended
for use in multiprocessing environments.  Give
each core an ID from 0 .. T-1, pass the ID in as
the --start, and use T as the stride, and you
can launch one copy of the stress-tester on each
core you have available.

llvm-svn: 154143
2012-04-06 00:04:36 +00:00
..
cmdtemplate.py Added a 'gdbremote' python module that adds two commands: start_gdb_log and end_gdb_log. 2012-01-26 02:56:24 +00:00
crashlog.py Added a platform agnostic symbolication python module that can be used by any targets. Then modified the darwin "crashlog.py" to use this agnostic info and the new functionality and classes. 2012-04-03 21:35:43 +00:00
delta.py Fixed up the command so that it doesn't dump the first arguments when run from the command line which was causing this script to dump the script itself. 2012-03-23 00:01:02 +00:00
disasm-stress-test.py Added a stress-tester for LLDB's disassembler. 2012-04-06 00:04:36 +00:00
disasm.py Add usage docstring to SBValue.h, and minor update of docstrings for SBValueList.h. 2011-07-15 00:27:47 +00:00
gdbremote.py When running this from the command line, don't pass the python script file itself to be disassembled. 2012-03-29 01:40:28 +00:00
sbvalue.py Added a new lldb.SBValue helper module that has two classes: 2012-01-30 19:32:25 +00:00
symbolication.py Added a platform agnostic symbolication python module that can be used by any targets. Then modified the darwin "crashlog.py" to use this agnostic info and the new functionality and classes. 2012-04-03 21:35:43 +00:00