Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
lldb
/
6a994034b8135945915b421140e484b5c9614cbb
/
examples
/
python
/
crashlog.py
40819bf
<rdar://problem/12087275>
by Greg Clayton
· 13 years ago
a838b42
Enable the "symbolicate" interactive command to symbolicate all crash logs if no indexes are supplied. This can be handy to use as:
by Greg Clayton
· 13 years ago
007f73a
Show source by default for the first 4 frames of the crash thread. Also added options to allow showing source for all frames (--source-frames=NFRAMES) and for all threads (--source-all).
by Greg Clayton
· 13 years ago
aa7df34
Added the ability to see source context with each frame in the "crashlog" command with the "--source-context" (-C for short to match grep) option.
by Greg Clayton
· 13 years ago
dcf5614
Make the interactive command interpreter build into the "crashlog" command work correctly when run inside LLDB. Before this fix the "cmd.Cmd" object was trying to read from stdin itself and it was competing without command interpreter for the bytes.
by Greg Clayton
· 13 years ago
2b69a2b
Listen to the "--verbose" flag when running "crashlog" and if verbose is enabled, then dump full paths to source files and modules.
by Greg Clayton
· 13 years ago
ca1500f
Added a "save_crashlog" command to the lldb.macosx.crashlog package that allow you to dump your current process state out to a crash log file. This will dump all of the target module information with all load addresses, UUID values, and shared library paths, as well as all thread stacks and the crash log header. This will make it easy for us to save the current state of a process and then reload it later into LLDB.
by Greg Clayton
· 13 years ago
1b62f59
Cleaned up some stuff in symbolication where we can now lazily get images when symbolicating after loading a crash log file.
by Greg Clayton
· 13 years ago
a3368dd
Added the ability to run "symbolicate [options] <crashlog-index>" in interactive mode.
by Greg Clayton
· 13 years ago
eb4cd8d
Make sure to subtract one from the PC when doing the symbolication of stack frames when it isn't the zero'th frame.
by Greg Clayton
· 13 years ago
35f62f8
Fixed an exception when parsing crash logs.
by Greg Clayton
· 13 years ago
d8056e2
Modified the symbolication.Image object to store its uuid as a uuid.UUID object and made an accessor for getting a normalized UUID value out of the image object.
by Greg Clayton
· 13 years ago
2bb4de3
Make crashlog.py more robust when dealing with the "Version: ..." header from the crash log file.
by Johnny Chen
· 13 years ago
9d01042
Added an interactive mode to the "crashlog" command so that we can look at multiple crash logs at once and do some data mining. Added an interactive command prompt that allows you to do:
by Greg Clayton
· 13 years ago
a889aee
Fix the following error when importing crashlog.py from a Python interactive session:
by Johnny Chen
· 13 years ago
4e46867
Fix AttributeError when using crashlog with verbose mode.
by Johnny Chen
· 13 years ago
1dae6f3
Remove the "-x" from the finish-swig-Python-LLDB.sh shell options so it doesn't print out all of the commands when executing the shell script.
by Greg Clayton
· 13 years ago
6f2f0ab
Now that we have an LLDB package, make the "lldb.macosx.crashlog" module work with all of the new module paths.
by Greg Clayton
· 13 years ago
4c983c8
Fixed some issues with symbolicating things. Fixed symbolication.add_module() to not use the resolved_path before we have tried to locate it. Fixed crashlog.locate_module_and_debug_symbols() to return true and false correctly.
by Greg Clayton
· 13 years ago
3d39f83
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.
by Greg Clayton
· 13 years ago
002945c
Added a fix to the crash log script that allows you to locate and load a binary from any location and _then_ do the symbolication. Something like:
by Greg Clayton
· 13 years ago
2c1fdd0
Added options to specify how many instructions before and after the frame
by Greg Clayton
· 14 years ago
223e808
Use the "shlex" module to parse the command line that was passed down into
by Greg Clayton
· 14 years ago
a3698c6
Fixed it so the "--help" option works for the crashlog command. Corrected and
by Greg Clayton
· 14 years ago
f7fb733
Fixed a global reference that should have been a reference to a class variable.
by Sean Callanan
· 14 years ago
e9ee550
Make the script work again from the command line as long as the PYTHONPATH
by Greg Clayton
· 14 years ago
cd79312
More fixed to verify if a file in the crash log is installed in the current
by Greg Clayton
· 14 years ago
8077a53
Improved the regular expressions to handle "+" characters being at the front
by Greg Clayton
· 14 years ago
01f7c96
Modified the symbolicate-crash.py so it can be imported into python as a
by Greg Clayton
· 14 years ago